mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-04 14:46:42 +00:00
Refactor: use pnpm catalog (#49)
* refactor: more packages moved to use catalog * chore: version update * refactor: fix a import path
This commit is contained in:
parent
470f8a210d
commit
1b8a99d897
@ -30,7 +30,7 @@
|
||||
"debug": "^4.3.6",
|
||||
"fs-extra": "^11.2.0",
|
||||
"inquirer": "^10.1.2",
|
||||
"valibot": "^1.0.0-beta.10"
|
||||
"valibot": "catalog:"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
|
@ -27,7 +27,7 @@
|
||||
"commander": "^12.1.0",
|
||||
"fs-extra": "^11.2.0",
|
||||
"handlebars": "^4.7.8",
|
||||
"valibot": "^1.0.0-beta.10"
|
||||
"valibot": "catalog:"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
|
@ -14,6 +14,7 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@iconify/svelte": "catalog:",
|
||||
"@formkit/auto-animate": "^0.8.2",
|
||||
"@kksh/extension": "workspace:*",
|
||||
"@kksh/supabase": "workspace:*",
|
||||
@ -21,10 +22,25 @@
|
||||
"@kksh/utils": "workspace:*",
|
||||
"@std/semver": "npm:@jsr/std__semver@^1.0.3",
|
||||
"@tanstack/table-core": "^8.20.5",
|
||||
"@tauri-apps/api": "^2.1.1",
|
||||
"@tauri-apps/api": "catalog:",
|
||||
"tauri-plugin-user-input-api": "workspace:*",
|
||||
"@tauri-apps/plugin-shell": "^2.2.0",
|
||||
"@tauri-apps/plugin-stronghold": "^2.2.0",
|
||||
"@tauri-apps/cli": "catalog:",
|
||||
"@tauri-apps/plugin-deep-link": "catalog:",
|
||||
"@tauri-apps/plugin-dialog": "catalog:",
|
||||
"@tauri-apps/plugin-fs": "catalog:",
|
||||
"@tauri-apps/plugin-global-shortcut": "catalog:",
|
||||
"@tauri-apps/plugin-http": "catalog:",
|
||||
"@tauri-apps/plugin-log": "catalog:",
|
||||
"@tauri-apps/plugin-notification": "catalog:",
|
||||
"@tauri-apps/plugin-os": "catalog:",
|
||||
"@tauri-apps/plugin-process": "catalog:",
|
||||
"@tauri-apps/plugin-shell": "catalog:",
|
||||
"@tauri-apps/plugin-store": "catalog:",
|
||||
"@tauri-apps/plugin-updater": "catalog:",
|
||||
"@tauri-apps/plugin-upload": "catalog:",
|
||||
"@tauri-apps/plugin-stronghold": "catalog:",
|
||||
"tauri-plugin-clipboard-api": "catalog:",
|
||||
"tauri-plugin-shellx-api": "catalog:",
|
||||
"dompurify": "^3.2.3",
|
||||
"gsap": "^3.12.5",
|
||||
"kkrpc": "^0.0.13",
|
||||
@ -32,33 +48,37 @@
|
||||
"pretty-bytes": "^6.1.1",
|
||||
"semver": "^7.6.3",
|
||||
"svelte-sonner": "^0.3.28",
|
||||
"sveltekit-superforms": "^2.22.1",
|
||||
"tauri-plugin-clipboard-api": "^2.1.11",
|
||||
"uuid": "^11.0.3"
|
||||
"sveltekit-superforms": "catalog:",
|
||||
"uuid": "^11.0.4",
|
||||
"zod": "catalog:"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kksh/types": "workspace:*",
|
||||
"@sveltejs/adapter-static": "^3.0.6",
|
||||
"@sveltejs/kit": "^2.12.1",
|
||||
"@sveltejs/adapter-static": "^3.0.8",
|
||||
"@sveltejs/kit": "^2.15.1",
|
||||
"@kksh/api": "workspace:*",
|
||||
"@kksh/svelte5": "catalog:",
|
||||
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
||||
"@tailwindcss/aspect-ratio": "^0.4.2",
|
||||
"@tailwindcss/container-queries": "^0.1.1",
|
||||
"@tailwindcss/forms": "^0.5.9",
|
||||
"@tailwindcss/typography": "^0.5.15",
|
||||
"@tauri-apps/cli": "^2.1.0",
|
||||
"@types/bun": "latest",
|
||||
"@tauri-apps/cli": "catalog:",
|
||||
"@types/bun": "catalog:",
|
||||
"@types/semver": "^7.5.8",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"bits-ui": "1.0.0-next.72",
|
||||
"clsx": "^2.1.1",
|
||||
"lucide-svelte": "^0.468.0",
|
||||
"svelte-radix": "^2.0.1",
|
||||
"tailwind-merge": "^2.5.5",
|
||||
"tailwind-variants": "^0.3.0",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"bits-ui": "catalog:",
|
||||
"clsx": "catalog:",
|
||||
"svelte": "catalog:",
|
||||
"lucide-svelte": "catalog:",
|
||||
"svelte-radix": "catalog:",
|
||||
"tailwind-merge": "catalog:",
|
||||
"tailwind-variants": "catalog:",
|
||||
"tailwindcss": "catalog:",
|
||||
"tailwindcss-animate": "catalog:",
|
||||
"tslib": "^2.8.1",
|
||||
"typescript": "^5.6.3",
|
||||
"vite": "^6.0.3"
|
||||
"typescript": "^5.7.2",
|
||||
"valibot": "catalog:",
|
||||
"vite": "^6.0.7"
|
||||
}
|
||||
}
|
||||
|
37
package.json
37
package.json
@ -11,48 +11,19 @@
|
||||
"format": "prettier --write \"**/*.{ts,tsx,md,svelte}\""
|
||||
},
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.27.11",
|
||||
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
|
||||
"@kksh/api": "workspace:*",
|
||||
"@kksh/svelte5": "0.1.10",
|
||||
"prettier": "^3.4.2",
|
||||
"prettier-plugin-svelte": "^3.3.2",
|
||||
"prettier-plugin-tailwindcss": "^0.6.9",
|
||||
"svelte": "^5.16.2",
|
||||
"svelte-check": "^4.1.1",
|
||||
"turbo": "^2.3.3",
|
||||
"valibot": "catalog:",
|
||||
"typescript": "5.7.2"
|
||||
},
|
||||
"packageManager": "pnpm@9.15.2",
|
||||
"packageManager": "pnpm@9.15.3",
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
},
|
||||
"dependencies": {
|
||||
"@changesets/cli": "^2.27.11",
|
||||
"@iconify/svelte": "^4.2.0",
|
||||
"@supabase/supabase-js": "^2.47.10",
|
||||
"@tauri-apps/api": "^2.2.0",
|
||||
"@tauri-apps/cli": "^2.2.2",
|
||||
"@tauri-apps/plugin-deep-link": "^2.2.0",
|
||||
"@tauri-apps/plugin-dialog": "^2.2.0",
|
||||
"@tauri-apps/plugin-fs": "^2.2.0",
|
||||
"@tauri-apps/plugin-global-shortcut": "^2.2.0",
|
||||
"@tauri-apps/plugin-http": "^2.2.0",
|
||||
"@tauri-apps/plugin-log": "^2.2.0",
|
||||
"@tauri-apps/plugin-notification": "^2.2.0",
|
||||
"@tauri-apps/plugin-os": "^2.2.0",
|
||||
"@tauri-apps/plugin-process": "2.2.0",
|
||||
"@tauri-apps/plugin-shell": "^2.2.0",
|
||||
"@tauri-apps/plugin-store": "^2.2.0",
|
||||
"@tauri-apps/plugin-updater": "^2.3.0",
|
||||
"@tauri-apps/plugin-upload": "https://gitpkg.vercel.app/HuakunShen/tauri-plugins-workspace/plugins/upload?69b198b0ccba269fe7622a95ec6a33ae392bff03",
|
||||
"supabase": "^2.2.1",
|
||||
"tauri-plugin-network-api": "workspace:*",
|
||||
"tauri-plugin-keyring-api": "workspace:*",
|
||||
"tauri-plugin-shellx-api": "^2.0.14",
|
||||
"tauri-plugin-system-info-api": "workspace:*",
|
||||
"valibot": "^1.0.0-beta.10",
|
||||
"zod": "^3.24.1"
|
||||
},
|
||||
"workspaces": [
|
||||
"apps/*",
|
||||
"packages/*",
|
||||
@ -62,4 +33,4 @@
|
||||
"vendors/tauri-plugin-network",
|
||||
"vendors/tauri-plugin-system-info"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -41,32 +41,32 @@
|
||||
"typescript": "^5.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "^2.2.0",
|
||||
"@tauri-apps/cli": "^2.2.2",
|
||||
"@tauri-apps/plugin-deep-link": "^2.2.0",
|
||||
"@tauri-apps/plugin-dialog": "^2.2.0",
|
||||
"@tauri-apps/plugin-fs": "^2.2.0",
|
||||
"@tauri-apps/plugin-global-shortcut": "^2.2.0",
|
||||
"@tauri-apps/plugin-http": "^2.2.0",
|
||||
"@tauri-apps/plugin-log": "^2.2.0",
|
||||
"@tauri-apps/plugin-notification": "^2.2.0",
|
||||
"@tauri-apps/plugin-os": "^2.2.0",
|
||||
"@tauri-apps/plugin-process": "2.2.0",
|
||||
"@tauri-apps/plugin-shell": "^2.2.0",
|
||||
"@tauri-apps/plugin-store": "^2.2.0",
|
||||
"@tauri-apps/plugin-updater": "^2.3.0",
|
||||
"@tauri-apps/plugin-upload": "https://gitpkg.vercel.app/HuakunShen/tauri-plugins-workspace/plugins/upload?69b198b0ccba269fe7622a95ec6a33ae392bff03",
|
||||
"kkrpc": "^0.0.13",
|
||||
"lodash": "^4.17.21",
|
||||
"@tauri-apps/api": "catalog:",
|
||||
"@tauri-apps/cli": "catalog:",
|
||||
"@tauri-apps/plugin-deep-link": "catalog:",
|
||||
"@tauri-apps/plugin-dialog": "catalog:",
|
||||
"@tauri-apps/plugin-fs": "catalog:",
|
||||
"@tauri-apps/plugin-global-shortcut": "catalog:",
|
||||
"@tauri-apps/plugin-http": "catalog:",
|
||||
"@tauri-apps/plugin-log": "catalog:",
|
||||
"@tauri-apps/plugin-notification": "catalog:",
|
||||
"@tauri-apps/plugin-os": "catalog:",
|
||||
"@tauri-apps/plugin-process": "catalog:",
|
||||
"@tauri-apps/plugin-shell": "catalog:",
|
||||
"@tauri-apps/plugin-store": "catalog:",
|
||||
"@tauri-apps/plugin-updater": "catalog:",
|
||||
"@tauri-apps/plugin-upload": "catalog:",
|
||||
"kkrpc": "catalog:",
|
||||
"lodash": "catalog:",
|
||||
"minimatch": "^10.0.1",
|
||||
"node-fetch": "^3.3.2",
|
||||
"semver": "^7.6.3",
|
||||
"svelte-sonner": "^0.3.28",
|
||||
"tauri-api-adapter": "^0.3.16",
|
||||
"tauri-plugin-network-api": "2.0.5",
|
||||
"tauri-plugin-shellx-api": "^2.0.14",
|
||||
"tauri-plugin-system-info-api": "2.0.8",
|
||||
"valibot": "^1.0.0-beta.10"
|
||||
"svelte-sonner": "catalog:",
|
||||
"tauri-api-adapter": "catalog:",
|
||||
"tauri-plugin-network-api": "catalog:",
|
||||
"tauri-plugin-shellx-api": "catalog:",
|
||||
"tauri-plugin-system-info-api": "catalog:",
|
||||
"valibot": "catalog:"
|
||||
},
|
||||
"files": [
|
||||
"src",
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Icon } from "@kksh/api/models"
|
||||
import * as v from "valibot"
|
||||
import { Icon } from "../models/icon"
|
||||
|
||||
/***
|
||||
* Correspond to `extensions` table in supabase
|
||||
|
@ -17,7 +17,13 @@
|
||||
"@kksh/api": "workspace:*",
|
||||
"@kksh/supabase": "workspace:*",
|
||||
"@std/semver": "npm:@jsr/std__semver@^1.0.3",
|
||||
"uuid": "^11.0.3"
|
||||
"@tauri-apps/api": "catalog:",
|
||||
"@tauri-apps/plugin-fs": "catalog:",
|
||||
"@tauri-apps/plugin-log": "catalog:",
|
||||
"@tauri-apps/plugin-dialog": "catalog:",
|
||||
"@tauri-apps/plugin-upload": "catalog:",
|
||||
"uuid": "^11.0.4",
|
||||
"zod": "catalog:"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5.0.0"
|
||||
|
@ -24,6 +24,6 @@
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.583.0",
|
||||
"@kksh/api": "workspace:*",
|
||||
"valibot": "^1.0.0-beta.10"
|
||||
"valibot": "catalog:"
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,10 @@
|
||||
"@kksh/ci": "workspace:*",
|
||||
"@types/bun": "latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"valibot": "catalog:"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5.0.0"
|
||||
"typescript": "^5.7.2"
|
||||
}
|
||||
}
|
||||
|
@ -49,14 +49,14 @@
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^4.0.1",
|
||||
"@tsconfig/svelte": "^5.0.4",
|
||||
"svelte": "^5.2.7",
|
||||
"svelte-check": "^4.0.9",
|
||||
"svelte": "^5.16.3",
|
||||
"svelte-check": "^4.1.1",
|
||||
"tslib": "^2.8.1",
|
||||
"typescript": "~5.6.3",
|
||||
"vite": "^5.4.11",
|
||||
"vite": "^6.0.7",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"postcss": "^8.4.49",
|
||||
"tailwindcss": "^3.4.15"
|
||||
"tailwindcss": "^3.4.17"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
|
@ -6,7 +6,8 @@
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest"
|
||||
"@kksh/api": "workspace:*",
|
||||
"@types/bun": "catalog:"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5.0.0"
|
||||
|
@ -34,26 +34,27 @@
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@iconify/svelte": "^4.1.0",
|
||||
"@iconify/svelte": "catalog:",
|
||||
"@kksh/api": "workspace:*",
|
||||
"@kksh/svelte5": "^0.1.10",
|
||||
"@types/bun": "latest",
|
||||
"bits-ui": "1.0.0-next.72",
|
||||
"clsx": "^2.1.1",
|
||||
"@kksh/svelte5": "catalog:",
|
||||
"@types/bun": "catalog:",
|
||||
"@tauri-apps/plugin-dialog": "catalog:",
|
||||
"bits-ui": "catalog:",
|
||||
"clsx": "catalog:",
|
||||
"formsnap": "2.0.0-next.1",
|
||||
"lucide-svelte": "^0.468.0",
|
||||
"lucide-svelte": "catalog:",
|
||||
"mode-watcher": "^0.5.0",
|
||||
"paneforge": "1.0.0-next.1",
|
||||
"shiki": "^1.24.2",
|
||||
"svelte-radix": "^2.0.1",
|
||||
"svelte-sonner": "^0.3.28",
|
||||
"sveltekit-superforms": "^2.22.1",
|
||||
"tailwind-merge": "^2.5.5",
|
||||
"tailwind-variants": "^0.3.0",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"tauri-plugin-shellx-api": "^2.0.14",
|
||||
"zod": "^3.24.1"
|
||||
"paneforge": "1.0.0-next.2",
|
||||
"shiki": "^1.26.1",
|
||||
"svelte-radix": "catalog:",
|
||||
"svelte-sonner": "catalog:",
|
||||
"sveltekit-superforms": "catalog:",
|
||||
"tailwind-merge": "catalog:",
|
||||
"tailwind-variants": "catalog:",
|
||||
"tailwindcss": "catalog:",
|
||||
"tailwindcss-animate": "catalog:",
|
||||
"tauri-plugin-shellx-api": "catalog:",
|
||||
"zod": "catalog:"
|
||||
},
|
||||
"dependencies": {
|
||||
"@formkit/auto-animate": "^0.8.2",
|
||||
|
6235
pnpm-lock.yaml
generated
6235
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -10,3 +10,45 @@ packages:
|
||||
- "vendors/tauri-plugin-user-input"
|
||||
- "vendors/kkrpc/packages/kkrpc"
|
||||
|
||||
catalog:
|
||||
"@tauri-apps/api": ^2.2.0
|
||||
"@tauri-apps/cli": ^2.2.2
|
||||
"@tauri-apps/plugin-deep-link": ^2.2.0
|
||||
"@tauri-apps/plugin-dialog": ^2.2.0
|
||||
"@tauri-apps/plugin-fs": ^2.2.0
|
||||
"@tauri-apps/plugin-global-shortcut": ^2.2.0
|
||||
"@tauri-apps/plugin-http": ^2.2.0
|
||||
"@tauri-apps/plugin-log": ^2.2.0
|
||||
"@tauri-apps/plugin-notification": ^2.2.0
|
||||
"@tauri-apps/plugin-os": ^2.2.0
|
||||
"@tauri-apps/plugin-process": 2.2.0
|
||||
"@tauri-apps/plugin-shell": ^2.2.0
|
||||
"@tauri-apps/plugin-store": ^2.2.0
|
||||
"@tauri-apps/plugin-updater": ^2.3.1
|
||||
"@tauri-apps/plugin-upload": https://gitpkg.vercel.app/HuakunShen/tauri-plugins-workspace/plugins/upload?69b198b0ccba269fe7622a95ec6a33ae392bff03
|
||||
"@tauri-apps/plugin-stronghold": ^2.2.0
|
||||
"tauri-plugin-clipboard-api": ^2.1.11
|
||||
valibot: ^1.0.0-beta.10
|
||||
kkrpc: ^0.0.12
|
||||
lodash: ^4.17.21
|
||||
svelte-sonner: ^0.3.28
|
||||
tauri-api-adapter: ^0.3.16
|
||||
tauri-plugin-network-api: 2.0.5
|
||||
tauri-plugin-shellx-api: ^2.0.14
|
||||
tauri-plugin-system-info-api: 2.0.8
|
||||
bits-ui: 1.0.0-next.77
|
||||
lucide-svelte: ^0.469.0
|
||||
sveltekit-superforms: ^2.22.1
|
||||
tailwind-merge: ^2.6.0
|
||||
svelte: ^5.16.3
|
||||
svelte-radix: ^2.0.1
|
||||
clsx: ^2.1.1
|
||||
"@kksh/svelte5": ^0.1.10
|
||||
"@iconify/svelte": ^4.2.0
|
||||
"@types/bun": latest
|
||||
tailwind-variants: ^0.3.0
|
||||
tailwindcss: ^3.4.17
|
||||
tailwindcss-animate: ^1.0.7
|
||||
zod: ^3.24.1
|
||||
supabase: ^2.2.1
|
||||
"@supabase/supabase-js": ^2.47.10
|
||||
|
Loading…
x
Reference in New Issue
Block a user