Преглед на файлове

chore: use pnpm catalog (#4437)

* feat: use pnpm catalog

* fix: lint error
Vben преди 7 месеца
родител
ревизия
56bdb8f606
променени са 41 файла, в които са добавени 1012 реда и са изтрити 380 реда
  1. 4 4
      apps/backend-mock/package.json
  2. 6 6
      apps/web-antd/package.json
  3. 7 7
      apps/web-ele/package.json
  4. 5 5
      apps/web-naive/package.json
  5. 8 8
      docs/package.json
  6. 5 5
      internal/lint-configs/commitlint-config/package.json
  7. 23 24
      internal/lint-configs/eslint-config/package.json
  8. 2 2
      internal/lint-configs/prettier-config/package.json
  9. 14 14
      internal/lint-configs/stylelint-config/package.json
  10. 13 13
      internal/node-utils/package.json
  11. 13 13
      internal/tailwind-config/package.json
  12. 1 1
      internal/tsconfig/package.json
  13. 24 24
      internal/vite-config/package.json
  14. 23 23
      package.json
  15. 3 3
      packages/@core/base/icons/package.json
  16. 12 12
      packages/@core/base/shared/package.json
  17. 2 2
      packages/@core/base/typings/package.json
  18. 5 5
      packages/@core/composables/package.json
  19. 2 2
      packages/@core/preferences/package.json
  20. 6 6
      packages/@core/ui-kit/form-ui/package.json
  21. 2 2
      packages/@core/ui-kit/layout-ui/package.json
  22. 2 2
      packages/@core/ui-kit/menu-ui/package.json
  23. 2 2
      packages/@core/ui-kit/popup-ui/package.json
  24. 7 7
      packages/@core/ui-kit/shadcn-ui/package.json
  25. 2 2
      packages/@core/ui-kit/tabs-ui/package.json
  26. 1 1
      packages/effects/access/package.json
  27. 5 5
      packages/effects/common-ui/package.json
  28. 1 1
      packages/effects/common-ui/src/components/captcha/point-selection-captcha.vue
  29. 3 3
      packages/effects/hooks/package.json
  30. 3 3
      packages/effects/layouts/package.json
  31. 3 3
      packages/effects/plugins/package.json
  32. 2 2
      packages/effects/request/package.json
  33. 3 3
      packages/locales/package.json
  34. 4 4
      packages/stores/package.json
  35. 2 2
      packages/types/package.json
  36. 1 1
      packages/utils/package.json
  37. 7 7
      playground/package.json
  38. 603 132
      pnpm-lock.yaml
  39. 175 13
      pnpm-workspace.yaml
  40. 2 2
      scripts/turbo-run/package.json
  41. 4 4
      scripts/vsh/package.json

+ 4 - 4
apps/backend-mock/package.json

@@ -10,11 +10,11 @@
     "start": "nitro dev"
   },
   "dependencies": {
-    "jsonwebtoken": "^9.0.2",
-    "nitropack": "^2.9.7"
+    "jsonwebtoken": "catalog:",
+    "nitropack": "catalog:"
   },
   "devDependencies": {
-    "@types/jsonwebtoken": "^9.0.7",
-    "h3": "^1.12.0"
+    "@types/jsonwebtoken": "catalog:",
+    "h3": "catalog:"
   }
 }

+ 6 - 6
apps/web-antd/package.json

@@ -40,11 +40,11 @@
     "@vben/styles": "workspace:*",
     "@vben/types": "workspace:*",
     "@vben/utils": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "ant-design-vue": "^4.2.4",
-    "dayjs": "^1.11.13",
-    "pinia": "2.2.2",
-    "vue": "^3.5.6",
-    "vue-router": "^4.4.5"
+    "@vueuse/core": "catalog:",
+    "ant-design-vue": "catalog:",
+    "dayjs": "catalog:",
+    "pinia": "catalog:",
+    "vue": "catalog:",
+    "vue-router": "catalog:"
   }
 }

+ 7 - 7
apps/web-ele/package.json

@@ -40,14 +40,14 @@
     "@vben/styles": "workspace:*",
     "@vben/types": "workspace:*",
     "@vben/utils": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "dayjs": "^1.11.13",
-    "element-plus": "^2.8.3",
-    "pinia": "2.2.2",
-    "vue": "^3.5.6",
-    "vue-router": "^4.4.5"
+    "@vueuse/core": "catalog:",
+    "dayjs": "catalog:",
+    "element-plus": "catalog:",
+    "pinia": "catalog:",
+    "vue": "catalog:",
+    "vue-router": "catalog:"
   },
   "devDependencies": {
-    "unplugin-element-plus": "^0.8.0"
+    "unplugin-element-plus": "catalog:"
   }
 }

+ 5 - 5
apps/web-naive/package.json

@@ -40,10 +40,10 @@
     "@vben/styles": "workspace:*",
     "@vben/types": "workspace:*",
     "@vben/utils": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "naive-ui": "^2.39.0",
-    "pinia": "2.2.2",
-    "vue": "^3.5.6",
-    "vue-router": "^4.4.5"
+    "@vueuse/core": "catalog:",
+    "naive-ui": "catalog:",
+    "pinia": "catalog:",
+    "vue": "catalog:",
+    "vue-router": "catalog:"
   }
 }

+ 8 - 8
docs/package.json

@@ -11,16 +11,16 @@
     "@vben-core/shadcn-ui": "workspace:*",
     "@vben/common-ui": "workspace:*",
     "@vben/styles": "workspace:*",
-    "lucide-vue-next": "^0.441.0",
-    "medium-zoom": "^1.1.0",
-    "radix-vue": "^1.9.5",
-    "vitepress-plugin-group-icons": "^1.2.4"
+    "lucide-vue-next": "catalog:",
+    "medium-zoom": "catalog:",
+    "radix-vue": "catalog:",
+    "vitepress-plugin-group-icons": "catalog:"
   },
   "devDependencies": {
-    "@nolebase/vitepress-plugin-git-changelog": "^2.5.0",
+    "@nolebase/vitepress-plugin-git-changelog": "catalog:",
     "@vben/vite-config": "workspace:*",
-    "@vite-pwa/vitepress": "^0.5.3",
-    "vitepress": "^1.3.4",
-    "vue": "^3.5.6"
+    "@vite-pwa/vitepress": "catalog:",
+    "vitepress": "catalog:",
+    "vue": "catalog:"
   }
 }

+ 5 - 5
internal/lint-configs/commitlint-config/package.json

@@ -23,11 +23,11 @@
     }
   },
   "dependencies": {
-    "@commitlint/cli": "^19.5.0",
-    "@commitlint/config-conventional": "^19.5.0",
+    "@commitlint/cli": "catalog:",
+    "@commitlint/config-conventional": "catalog:",
     "@vben/node-utils": "workspace:*",
-    "commitlint-plugin-function-rules": "^4.0.0",
-    "cz-git": "^1.9.4",
-    "czg": "^1.9.4"
+    "commitlint-plugin-function-rules": "catalog:",
+    "cz-git": "catalog:",
+    "czg": "catalog:"
   }
 }

+ 23 - 24
internal/lint-configs/eslint-config/package.json

@@ -27,31 +27,30 @@
     }
   },
   "dependencies": {
-    "eslint-config-turbo": "^2.1.2",
-    "eslint-plugin-command": "^0.2.5",
-    "eslint-plugin-import-x": "^4.2.1"
+    "eslint-config-turbo": "catalog:",
+    "eslint-plugin-command": "catalog:",
+    "eslint-plugin-import-x": "catalog:"
   },
   "devDependencies": {
-    "@eslint/js": "^9.10.0",
-    "@types/eslint": "^9.6.1",
-    "@typescript-eslint/eslint-plugin": "^8.6.0",
-    "@typescript-eslint/parser": "^8.6.0",
-    "eslint": "^9.10.0",
-    "eslint-config-prettier": "^9.1.0",
-    "eslint-plugin-eslint-comments": "^3.2.0",
-    "eslint-plugin-jsdoc": "^50.2.3",
-    "eslint-plugin-jsonc": "^2.16.0",
-    "eslint-plugin-n": "^17.10.3",
-    "eslint-plugin-no-only-tests": "^3.3.0",
-    "eslint-plugin-perfectionist": "^3.6.0",
-    "eslint-plugin-prettier": "^5.2.1",
-    "eslint-plugin-regexp": "^2.6.0",
-    "eslint-plugin-unicorn": "^55.0.0",
-    "eslint-plugin-unused-imports": "^4.1.4",
-    "eslint-plugin-vitest": "^0.5.4",
-    "eslint-plugin-vue": "^9.28.0",
-    "globals": "^15.9.0",
-    "jsonc-eslint-parser": "^2.4.0",
-    "vue-eslint-parser": "^9.4.3"
+    "@eslint/js": "catalog:",
+    "@types/eslint": "catalog:",
+    "@typescript-eslint/eslint-plugin": "catalog:",
+    "@typescript-eslint/parser": "catalog:",
+    "eslint": "catalog:",
+    "eslint-plugin-eslint-comments": "catalog:",
+    "eslint-plugin-jsdoc": "catalog:",
+    "eslint-plugin-jsonc": "catalog:",
+    "eslint-plugin-n": "catalog:",
+    "eslint-plugin-no-only-tests": "catalog:",
+    "eslint-plugin-perfectionist": "catalog:",
+    "eslint-plugin-prettier": "catalog:",
+    "eslint-plugin-regexp": "catalog:",
+    "eslint-plugin-unicorn": "catalog:",
+    "eslint-plugin-unused-imports": "catalog:",
+    "eslint-plugin-vitest": "catalog:",
+    "eslint-plugin-vue": "catalog:",
+    "globals": "catalog:",
+    "jsonc-eslint-parser": "catalog:",
+    "vue-eslint-parser": "catalog:"
   }
 }

+ 2 - 2
internal/lint-configs/prettier-config/package.json

@@ -22,7 +22,7 @@
     }
   },
   "dependencies": {
-    "prettier": "^3.3.3",
-    "prettier-plugin-tailwindcss": "^0.6.6"
+    "prettier": "catalog:",
+    "prettier-plugin-tailwindcss": "catalog:"
   }
 }

+ 14 - 14
internal/lint-configs/stylelint-config/package.json

@@ -23,21 +23,21 @@
     }
   },
   "dependencies": {
-    "@stylistic/stylelint-plugin": "^3.0.1",
-    "stylelint-config-recess-order": "^5.1.0",
-    "stylelint-scss": "^6.6.0"
+    "@stylistic/stylelint-plugin": "catalog:",
+    "stylelint-config-recess-order": "catalog:",
+    "stylelint-scss": "catalog:"
   },
   "devDependencies": {
-    "postcss": "^8.4.47",
-    "postcss-html": "^1.7.0",
-    "postcss-scss": "^4.0.9",
-    "prettier": "^3.3.3",
-    "stylelint": "^16.9.0",
-    "stylelint-config-recommended": "^14.0.1",
-    "stylelint-config-recommended-scss": "^14.1.0",
-    "stylelint-config-recommended-vue": "^1.5.0",
-    "stylelint-config-standard": "^36.0.1",
-    "stylelint-order": "^6.0.4",
-    "stylelint-prettier": "^5.0.2"
+    "postcss": "catalog:",
+    "postcss-html": "catalog:",
+    "postcss-scss": "catalog:",
+    "prettier": "catalog:",
+    "stylelint": "catalog:",
+    "stylelint-config-recommended": "catalog:",
+    "stylelint-config-recommended-scss": "catalog:",
+    "stylelint-config-recommended-vue": "catalog:",
+    "stylelint-config-standard": "catalog:",
+    "stylelint-order": "catalog:",
+    "stylelint-prettier": "catalog:"
   }
 }

+ 13 - 13
internal/node-utils/package.json

@@ -28,20 +28,20 @@
     }
   },
   "dependencies": {
-    "@changesets/git": "^3.0.1",
-    "@manypkg/get-packages": "^2.2.2",
-    "chalk": "^5.3.0",
-    "consola": "^3.2.3",
-    "dayjs": "^1.11.13",
-    "execa": "^9.4.0",
-    "find-up": "^7.0.0",
-    "nanoid": "^5.0.7",
-    "ora": "^8.1.0",
-    "pkg-types": "^1.2.0",
-    "prettier": "^3.3.3",
-    "rimraf": "^6.0.1"
+    "@changesets/git": "catalog:",
+    "@manypkg/get-packages": "catalog:",
+    "chalk": "catalog:",
+    "consola": "catalog:",
+    "dayjs": "catalog:",
+    "execa": "catalog:",
+    "find-up": "catalog:",
+    "nanoid": "catalog:",
+    "ora": "catalog:",
+    "pkg-types": "catalog:",
+    "prettier": "catalog:",
+    "rimraf": "catalog:"
   },
   "devDependencies": {
-    "@types/chalk": "^2.2.0"
+    "@types/chalk": "catalog:"
   }
 }

+ 13 - 13
internal/tailwind-config/package.json

@@ -46,21 +46,21 @@
     "tailwindcss": "^3.4.3"
   },
   "dependencies": {
-    "@iconify/json": "^2.2.250",
-    "@iconify/tailwind": "^1.1.3",
-    "@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
-    "@tailwindcss/typography": "^0.5.15",
-    "autoprefixer": "^10.4.20",
-    "cssnano": "^7.0.6",
-    "postcss": "^8.4.47",
-    "postcss-antd-fixes": "^0.2.0",
-    "postcss-import": "^16.1.0",
-    "postcss-preset-env": "^10.0.3",
-    "tailwindcss": "^3.4.12",
-    "tailwindcss-animate": "^1.0.7"
+    "@iconify/json": "catalog:",
+    "@iconify/tailwind": "catalog:",
+    "@tailwindcss/nesting": "catalog:",
+    "@tailwindcss/typography": "catalog:",
+    "autoprefixer": "catalog:",
+    "cssnano": "catalog:",
+    "postcss": "catalog:",
+    "postcss-antd-fixes": "catalog:",
+    "postcss-import": "catalog:",
+    "postcss-preset-env": "catalog:",
+    "tailwindcss": "catalog:",
+    "tailwindcss-animate": "catalog:"
   },
   "devDependencies": {
-    "@types/postcss-import": "^14.0.3",
+    "@types/postcss-import": "catalog:",
     "@vben/node-utils": "workspace:*"
   }
 }

+ 1 - 1
internal/tsconfig/package.json

@@ -20,6 +20,6 @@
   ],
   "dependencies": {
     "@vben/types": "workspace:*",
-    "vite": "^5.4.6"
+    "vite": "catalog:"
   }
 }

+ 24 - 24
internal/vite-config/package.json

@@ -27,32 +27,32 @@
     }
   },
   "dependencies": {
-    "@intlify/unplugin-vue-i18n": "^5.0.0",
-    "@jspm/generator": "^2.3.1",
-    "archiver": "^7.0.1",
-    "cheerio": "1.0.0",
-    "get-port": "^7.1.0",
-    "html-minifier-terser": "^7.2.0",
-    "nitropack": "^2.9.7",
-    "resolve.exports": "^2.0.2",
-    "vite-plugin-lib-inject-css": "^2.1.1",
-    "vite-plugin-pwa": "^0.20.5",
-    "vite-plugin-vue-devtools": "^7.4.5"
+    "@intlify/unplugin-vue-i18n": "catalog:",
+    "@jspm/generator": "catalog:",
+    "archiver": "catalog:",
+    "cheerio": "catalog:",
+    "get-port": "catalog:",
+    "html-minifier-terser": "catalog:",
+    "nitropack": "catalog:",
+    "resolve.exports": "catalog:",
+    "vite-plugin-lib-inject-css": "catalog:",
+    "vite-plugin-pwa": "catalog:",
+    "vite-plugin-vue-devtools": "catalog:"
   },
   "devDependencies": {
-    "@types/archiver": "^6.0.2",
-    "@types/html-minifier-terser": "^7.0.2",
+    "@types/archiver": "catalog:",
+    "@types/html-minifier-terser": "catalog:",
     "@vben/node-utils": "workspace:*",
-    "@vitejs/plugin-vue": "^5.1.4",
-    "@vitejs/plugin-vue-jsx": "^4.0.1",
-    "dayjs": "^1.11.13",
-    "dotenv": "^16.4.5",
-    "rollup": "^4.21.3",
-    "rollup-plugin-visualizer": "^5.12.0",
-    "sass": "^1.79.1",
-    "vite": "^5.4.6",
-    "vite-plugin-compression": "^0.5.1",
-    "vite-plugin-dts": "4.2.1",
-    "vite-plugin-html": "^3.2.2"
+    "@vitejs/plugin-vue": "catalog:",
+    "@vitejs/plugin-vue-jsx": "catalog:",
+    "dayjs": "catalog:",
+    "dotenv": "catalog:",
+    "rollup": "catalog:",
+    "rollup-plugin-visualizer": "catalog:",
+    "sass": "catalog:",
+    "vite": "catalog:",
+    "vite-plugin-compression": "catalog:",
+    "vite-plugin-dts": "catalog:",
+    "vite-plugin-html": "catalog:"
   }
 }

+ 23 - 23
package.json

@@ -61,10 +61,10 @@
     "version": "pnpm exec changeset version && pnpm install --no-frozen-lockfile"
   },
   "devDependencies": {
-    "@changesets/changelog-github": "^0.5.0",
-    "@changesets/cli": "^2.27.8",
-    "@types/jsdom": "^21.1.7",
-    "@types/node": "^22.5.5",
+    "@changesets/changelog-github": "catalog:",
+    "@changesets/cli": "catalog:",
+    "@types/jsdom": "catalog:",
+    "@types/node": "catalog:",
     "@vben/commitlint-config": "workspace:*",
     "@vben/eslint-config": "workspace:*",
     "@vben/prettier-config": "workspace:*",
@@ -74,25 +74,25 @@
     "@vben/turbo-run": "workspace:*",
     "@vben/vite-config": "workspace:*",
     "@vben/vsh": "workspace:*",
-    "@vitejs/plugin-vue": "^5.1.4",
-    "@vitejs/plugin-vue-jsx": "^4.0.1",
-    "@vue/test-utils": "^2.4.6",
-    "autoprefixer": "^10.4.20",
-    "cross-env": "^7.0.3",
-    "cspell": "^8.14.4",
-    "husky": "^9.1.6",
-    "is-ci": "^3.0.1",
-    "jsdom": "^25.0.0",
-    "lint-staged": "^15.2.10",
-    "rimraf": "^6.0.1",
-    "tailwindcss": "^3.4.12",
-    "turbo": "^2.1.2",
-    "typescript": "^5.6.2",
-    "unbuild": "^2.0.0",
-    "vite": "^5.4.6",
-    "vitest": "^2.1.1",
-    "vue": "^3.5.6",
-    "vue-tsc": "^2.1.6"
+    "@vitejs/plugin-vue": "catalog:",
+    "@vitejs/plugin-vue-jsx": "catalog:",
+    "@vue/test-utils": "catalog:",
+    "autoprefixer": "catalog:",
+    "cross-env": "catalog:",
+    "cspell": "catalog:",
+    "husky": "catalog:",
+    "is-ci": "catalog:",
+    "jsdom": "catalog:",
+    "lint-staged": "catalog:",
+    "rimraf": "catalog:",
+    "tailwindcss": "catalog:",
+    "turbo": "catalog:",
+    "typescript": "catalog:",
+    "unbuild": "catalog:",
+    "vite": "catalog:",
+    "vitest": "catalog:",
+    "vue": "catalog:",
+    "vue-tsc": "catalog:"
   },
   "engines": {
     "node": ">=20",

+ 3 - 3
packages/@core/base/icons/package.json

@@ -34,8 +34,8 @@
     }
   },
   "dependencies": {
-    "@iconify/vue": "^4.1.2",
-    "lucide-vue-next": "^0.441.0",
-    "vue": "^3.5.6"
+    "@iconify/vue": "catalog:",
+    "lucide-vue-next": "catalog:",
+    "vue": "catalog:"
   }
 }

+ 12 - 12
packages/@core/base/shared/package.json

@@ -69,19 +69,19 @@
     }
   },
   "dependencies": {
-    "@ctrl/tinycolor": "^4.1.0",
-    "@tanstack/vue-store": "^0.5.5",
-    "@vue/reactivity": "^3.5.6",
-    "@vue/shared": "^3.5.6",
-    "clsx": "^2.1.1",
-    "defu": "^6.1.4",
-    "lodash.clonedeep": "^4.5.0",
-    "nprogress": "^0.2.0",
-    "tailwind-merge": "^2.5.2",
-    "theme-colors": "^0.1.0"
+    "@ctrl/tinycolor": "catalog:",
+    "@tanstack/vue-store": "catalog:",
+    "@vue/reactivity": "catalog:",
+    "@vue/shared": "catalog:",
+    "clsx": "catalog:",
+    "defu": "catalog:",
+    "lodash.clonedeep": "catalog:",
+    "nprogress": "catalog:",
+    "tailwind-merge": "catalog:",
+    "theme-colors": "catalog:"
   },
   "devDependencies": {
-    "@types/lodash.clonedeep": "^4.5.9",
-    "@types/nprogress": "^0.2.3"
+    "@types/lodash.clonedeep": "catalog:",
+    "@types/nprogress": "catalog:"
   }
 }

+ 2 - 2
packages/@core/base/typings/package.json

@@ -38,7 +38,7 @@
     }
   },
   "dependencies": {
-    "vue": "^3.5.6",
-    "vue-router": "^4.4.5"
+    "vue": "catalog:",
+    "vue-router": "catalog:"
   }
 }

+ 5 - 5
packages/@core/composables/package.json

@@ -36,12 +36,12 @@
   },
   "dependencies": {
     "@vben-core/shared": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "radix-vue": "^1.9.5",
-    "sortablejs": "^1.15.3",
-    "vue": "^3.5.6"
+    "@vueuse/core": "catalog:",
+    "radix-vue": "catalog:",
+    "sortablejs": "catalog:",
+    "vue": "catalog:"
   },
   "devDependencies": {
-    "@types/sortablejs": "^1.15.8"
+    "@types/sortablejs": "catalog:"
   }
 }

+ 2 - 2
packages/@core/preferences/package.json

@@ -31,7 +31,7 @@
   "dependencies": {
     "@vben-core/shared": "workspace:*",
     "@vben-core/typings": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "vue": "^3.5.6"
+    "@vueuse/core": "catalog:",
+    "vue": "catalog:"
   }
 }

+ 6 - 6
packages/@core/ui-kit/form-ui/package.json

@@ -40,11 +40,11 @@
     "@vben-core/composables": "workspace:*",
     "@vben-core/shadcn-ui": "workspace:*",
     "@vben-core/shared": "workspace:*",
-    "@vee-validate/zod": "^4.13.2",
-    "@vueuse/core": "^11.1.0",
-    "vee-validate": "^4.13.2",
-    "vue": "^3.5.6",
-    "zod": "^3.23.8",
-    "zod-defaults": "^0.1.3"
+    "@vee-validate/zod": "catalog:",
+    "@vueuse/core": "catalog:",
+    "vee-validate": "catalog:",
+    "vue": "catalog:",
+    "zod": "catalog:",
+    "zod-defaults": "catalog:"
   }
 }

+ 2 - 2
packages/@core/ui-kit/layout-ui/package.json

@@ -41,7 +41,7 @@
     "@vben-core/icons": "workspace:*",
     "@vben-core/shadcn-ui": "workspace:*",
     "@vben-core/typings": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "vue": "^3.5.6"
+    "@vueuse/core": "catalog:",
+    "vue": "catalog:"
   }
 }

+ 2 - 2
packages/@core/ui-kit/menu-ui/package.json

@@ -42,7 +42,7 @@
     "@vben-core/shadcn-ui": "workspace:*",
     "@vben-core/shared": "workspace:*",
     "@vben-core/typings": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "vue": "^3.5.6"
+    "@vueuse/core": "catalog:",
+    "vue": "catalog:"
   }
 }

+ 2 - 2
packages/@core/ui-kit/popup-ui/package.json

@@ -41,7 +41,7 @@
     "@vben-core/icons": "workspace:*",
     "@vben-core/shadcn-ui": "workspace:*",
     "@vben-core/shared": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "vue": "^3.5.6"
+    "@vueuse/core": "catalog:",
+    "vue": "catalog:"
   }
 }

+ 7 - 7
packages/@core/ui-kit/shadcn-ui/package.json

@@ -40,16 +40,16 @@
     }
   },
   "dependencies": {
-    "@radix-icons/vue": "^1.0.0",
+    "@radix-icons/vue": "catalog:",
     "@vben-core/composables": "workspace:*",
     "@vben-core/icons": "workspace:*",
     "@vben-core/shared": "workspace:*",
     "@vben-core/typings": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "class-variance-authority": "^0.7.0",
-    "lucide-vue-next": "^0.441.0",
-    "radix-vue": "^1.9.5",
-    "vee-validate": "^4.13.2",
-    "vue": "^3.5.6"
+    "@vueuse/core": "catalog:",
+    "class-variance-authority": "catalog:",
+    "lucide-vue-next": "catalog:",
+    "radix-vue": "catalog:",
+    "vee-validate": "catalog:",
+    "vue": "catalog:"
   }
 }

+ 2 - 2
packages/@core/ui-kit/tabs-ui/package.json

@@ -42,7 +42,7 @@
     "@vben-core/shadcn-ui": "workspace:*",
     "@vben-core/shared": "workspace:*",
     "@vben-core/typings": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "vue": "^3.5.6"
+    "@vueuse/core": "catalog:",
+    "vue": "catalog:"
   }
 }

+ 1 - 1
packages/effects/access/package.json

@@ -24,6 +24,6 @@
     "@vben/stores": "workspace:*",
     "@vben/types": "workspace:*",
     "@vben/utils": "workspace:*",
-    "vue": "^3.5.6"
+    "vue": "catalog:"
   }
 }

+ 5 - 5
packages/effects/common-ui/package.json

@@ -27,12 +27,12 @@
     "@vben/icons": "workspace:*",
     "@vben/locales": "workspace:*",
     "@vben/types": "workspace:*",
-    "@vueuse/integrations": "^11.1.0",
-    "qrcode": "^1.5.4",
-    "vue": "^3.5.6",
-    "vue-router": "^4.4.5"
+    "@vueuse/integrations": "catalog:",
+    "qrcode": "catalog:",
+    "vue": "catalog:",
+    "vue-router": "catalog:"
   },
   "devDependencies": {
-    "@types/qrcode": "^1.5.5"
+    "@types/qrcode": "catalog:"
   }
 }

+ 1 - 1
packages/effects/common-ui/src/components/captcha/point-selection-captcha.vue

@@ -5,7 +5,7 @@ import { RotateCw } from '@vben/icons';
 import { $t } from '@vben/locales';
 import { VbenButton, VbenIconButton } from '@vben-core/shadcn-ui';
 
-import { CaptchaCard } from '.';
+import CaptchaCard from './captcha-card.vue';
 import { useCaptchaPoints } from './hooks/useCaptchaPoints';
 
 const props = withDefaults(defineProps<PointSelectionCaptchaProps>(), {

+ 3 - 3
packages/effects/hooks/package.json

@@ -25,8 +25,8 @@
     "@vben/stores": "workspace:*",
     "@vben/types": "workspace:*",
     "@vben/utils": "workspace:*",
-    "vue": "^3.5.6",
-    "vue-router": "^4.4.5",
-    "watermark-js-plus": "^1.5.6"
+    "vue": "catalog:",
+    "vue-router": "catalog:",
+    "watermark-js-plus": "catalog:"
   }
 }

+ 3 - 3
packages/effects/layouts/package.json

@@ -35,8 +35,8 @@
     "@vben/stores": "workspace:*",
     "@vben/types": "workspace:*",
     "@vben/utils": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "vue": "^3.5.6",
-    "vue-router": "^4.4.5"
+    "@vueuse/core": "catalog:",
+    "vue": "catalog:",
+    "vue-router": "catalog:"
   }
 }

+ 3 - 3
packages/effects/plugins/package.json

@@ -21,8 +21,8 @@
   },
   "dependencies": {
     "@vben/preferences": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "echarts": "^5.5.1",
-    "vue": "^3.5.6"
+    "@vueuse/core": "catalog:",
+    "echarts": "catalog:",
+    "vue": "catalog:"
   }
 }

+ 2 - 2
packages/effects/request/package.json

@@ -22,9 +22,9 @@
   "dependencies": {
     "@vben/locales": "workspace:*",
     "@vben/utils": "workspace:*",
-    "axios": "^1.7.7"
+    "axios": "catalog:"
   },
   "devDependencies": {
-    "axios-mock-adapter": "^2.0.0"
+    "axios-mock-adapter": "catalog:"
   }
 }

+ 3 - 3
packages/locales/package.json

@@ -20,9 +20,9 @@
     }
   },
   "dependencies": {
-    "@intlify/core-base": "^10.0.1",
+    "@intlify/core-base": "catalog:",
     "@vben-core/composables": "workspace:*",
-    "vue": "^3.5.6",
-    "vue-i18n": "^10.0.1"
+    "vue": "catalog:",
+    "vue-i18n": "catalog:"
   }
 }

+ 4 - 4
packages/stores/package.json

@@ -22,9 +22,9 @@
   "dependencies": {
     "@vben-core/shared": "workspace:*",
     "@vben-core/typings": "workspace:*",
-    "pinia": "2.2.2",
-    "pinia-plugin-persistedstate": "^4.0.2",
-    "vue": "^3.5.6",
-    "vue-router": "^4.4.5"
+    "pinia": "catalog:",
+    "pinia-plugin-persistedstate": "catalog:",
+    "vue": "catalog:",
+    "vue-router": "catalog:"
   }
 }

+ 2 - 2
packages/types/package.json

@@ -21,7 +21,7 @@
   },
   "dependencies": {
     "@vben-core/typings": "workspace:*",
-    "vue": "^3.5.6",
-    "vue-router": "^4.4.5"
+    "vue": "catalog:",
+    "vue-router": "catalog:"
   }
 }

+ 1 - 1
packages/utils/package.json

@@ -24,6 +24,6 @@
   "dependencies": {
     "@vben-core/shared": "workspace:*",
     "@vben-core/typings": "workspace:*",
-    "vue-router": "^4.4.5"
+    "vue-router": "catalog:"
   }
 }

+ 7 - 7
playground/package.json

@@ -26,7 +26,7 @@
     "#/*": "./src/*"
   },
   "dependencies": {
-    "@tanstack/vue-query": "^5.56.2",
+    "@tanstack/vue-query": "catalog:",
     "@vben/access": "workspace:*",
     "@vben/common-ui": "workspace:*",
     "@vben/constants": "workspace:*",
@@ -41,11 +41,11 @@
     "@vben/styles": "workspace:*",
     "@vben/types": "workspace:*",
     "@vben/utils": "workspace:*",
-    "@vueuse/core": "^11.1.0",
-    "ant-design-vue": "^4.2.4",
-    "dayjs": "^1.11.13",
-    "pinia": "2.2.2",
-    "vue": "^3.5.6",
-    "vue-router": "^4.4.5"
+    "@vueuse/core": "catalog:",
+    "ant-design-vue": "catalog:",
+    "dayjs": "catalog:",
+    "pinia": "catalog:",
+    "vue": "catalog:",
+    "vue-router": "catalog:"
   }
 }

Файловите разлики са ограничени, защото са твърде много
+ 603 - 132
pnpm-lock.yaml


+ 175 - 13
pnpm-workspace.yaml

@@ -1,14 +1,176 @@
 packages:
-  - "internal/*"
-  - "internal/lint-configs/*"
-  - "packages/*"
-  - "packages/@core/base/*"
-  - "packages/@core/ui-kit/*"
-  - "packages/@core/forward/*"
-  - "packages/@core/*"
-  - "packages/effects/*"
-  - "packages/business/*"
-  - "apps/*"
-  - "scripts/*"
-  - "docs"
-  - "playground"
+  - internal/*
+  - internal/lint-configs/*
+  - packages/*
+  - packages/@core/base/*
+  - packages/@core/ui-kit/*
+  - packages/@core/forward/*
+  - packages/@core/*
+  - packages/effects/*
+  - packages/business/*
+  - apps/*
+  - scripts/*
+  - docs
+  - playground
+catalog:
+  "@changesets/changelog-github": ^0.5.0
+  "@changesets/cli": ^2.27.8
+  "@changesets/git": ^3.0.1
+  "@clack/prompts": ^0.7.0
+  "@commitlint/cli": ^19.5.0
+  "@commitlint/config-conventional": ^19.5.0
+  "@ctrl/tinycolor": ^4.1.0
+  "@eslint/js": ^9.10.0
+  "@iconify/json": ^2.2.250
+  "@iconify/tailwind": ^1.1.3
+  "@iconify/vue": ^4.1.2
+  "@intlify/core-base": ^10.0.1
+  "@intlify/unplugin-vue-i18n": ^5.0.0
+  "@jspm/generator": ^2.3.1
+  "@manypkg/get-packages": ^2.2.2
+  "@nolebase/vitepress-plugin-git-changelog": ^2.5.0
+  "@radix-icons/vue": ^1.0.0
+  "@stylistic/stylelint-plugin": ^3.0.1
+  "@tailwindcss/nesting": 0.0.0-insiders.565cd3e
+  "@tailwindcss/typography": ^0.5.15
+  "@tanstack/vue-query": ^5.56.2
+  "@tanstack/vue-store": ^0.5.5
+  "@types/archiver": ^6.0.2
+  "@types/chalk": ^2.2.0
+  "@types/eslint": ^9.6.1
+  "@types/html-minifier-terser": ^7.0.2
+  "@types/jsdom": ^21.1.7
+  "@types/jsonwebtoken": ^9.0.7
+  "@types/lodash.clonedeep": ^4.5.9
+  "@types/node": ^22.5.5
+  "@types/nprogress": ^0.2.3
+  "@types/postcss-import": ^14.0.3
+  "@types/qrcode": ^1.5.5
+  "@types/sortablejs": ^1.15.8
+  "@typescript-eslint/eslint-plugin": ^8.6.0
+  "@typescript-eslint/parser": ^8.6.0
+  "@vee-validate/zod": ^4.13.2
+  "@vite-pwa/vitepress": ^0.5.3
+  "@vitejs/plugin-vue": ^5.1.4
+  "@vitejs/plugin-vue-jsx": ^4.0.1
+  "@vue/reactivity": ^3.5.6
+  "@vue/shared": ^3.5.6
+  "@vue/test-utils": ^2.4.6
+  "@vueuse/core": ^11.1.0
+  "@vueuse/integrations": ^11.1.0
+  ant-design-vue: ^4.2.5
+  archiver: ^7.0.1
+  autoprefixer: ^10.4.20
+  axios: ^1.7.7
+  axios-mock-adapter: ^2.0.0
+  cac: ^6.7.14
+  chalk: ^5.3.0
+  cheerio: 1.0.0
+  circular-dependency-scanner: ^2.3.0
+  class-variance-authority: ^0.7.0
+  clsx: ^2.1.1
+  commitlint-plugin-function-rules: ^4.0.0
+  consola: ^3.2.3
+  cross-env: ^7.0.3
+  cspell: ^8.14.4
+  cssnano: ^7.0.6
+  cz-git: ^1.9.4
+  czg: ^1.9.4
+  dayjs: ^1.11.13
+  defu: ^6.1.4
+  depcheck: ^1.4.7
+  dotenv: ^16.4.5
+  echarts: ^5.5.1
+  element-plus: ^2.8.3
+  eslint: ^9.10.0
+  eslint-config-turbo: ^2.1.2
+  eslint-plugin-command: ^0.2.5
+  eslint-plugin-eslint-comments: ^3.2.0
+  eslint-plugin-import-x: ^4.2.1
+  eslint-plugin-jsdoc: ^50.2.4
+  eslint-plugin-jsonc: ^2.16.0
+  eslint-plugin-n: ^17.10.3
+  eslint-plugin-no-only-tests: ^3.3.0
+  eslint-plugin-perfectionist: ^3.6.0
+  eslint-plugin-prettier: ^5.2.1
+  eslint-plugin-regexp: ^2.6.0
+  eslint-plugin-unicorn: ^55.0.0
+  eslint-plugin-unused-imports: ^4.1.4
+  eslint-plugin-vitest: ^0.5.4
+  eslint-plugin-vue: ^9.28.0
+  execa: ^9.4.0
+  find-up: ^7.0.0
+  get-port: ^7.1.0
+  globals: ^15.9.0
+  h3: ^1.12.0
+  html-minifier-terser: ^7.2.0
+  husky: ^9.1.6
+  is-ci: ^3.0.1
+  jsdom: ^25.0.0
+  jsonc-eslint-parser: ^2.4.0
+  jsonwebtoken: ^9.0.2
+  lint-staged: ^15.2.10
+  lodash.clonedeep: ^4.5.0
+  lucide-vue-next: ^0.441.0
+  medium-zoom: ^1.1.0
+  naive-ui: ^2.39.0
+  nanoid: ^5.0.7
+  nitropack: ^2.9.7
+  nprogress: ^0.2.0
+  ora: ^8.1.0
+  pinia: 2.2.2
+  pinia-plugin-persistedstate: ^4.0.2
+  pkg-types: ^1.2.0
+  postcss: ^8.4.47
+  postcss-antd-fixes: ^0.2.0
+  postcss-html: ^1.7.0
+  postcss-import: ^16.1.0
+  postcss-preset-env: ^10.0.3
+  postcss-scss: ^4.0.9
+  prettier: ^3.3.3
+  prettier-plugin-tailwindcss: ^0.6.6
+  publint: ^0.2.11
+  qrcode: ^1.5.4
+  radix-vue: ^1.9.6
+  resolve.exports: ^2.0.2
+  rimraf: ^6.0.1
+  rollup: ^4.22.0
+  rollup-plugin-visualizer: ^5.12.0
+  sass: ^1.79.1
+  sortablejs: ^1.15.3
+  stylelint: ^16.9.0
+  stylelint-config-recess-order: ^5.1.0
+  stylelint-config-recommended: ^14.0.1
+  stylelint-config-recommended-scss: ^14.1.0
+  stylelint-config-recommended-vue: ^1.5.0
+  stylelint-config-standard: ^36.0.1
+  stylelint-order: ^6.0.4
+  stylelint-prettier: ^5.0.2
+  stylelint-scss: ^6.7.0
+  tailwind-merge: ^2.5.2
+  tailwindcss: ^3.4.12
+  tailwindcss-animate: ^1.0.7
+  theme-colors: ^0.1.0
+  turbo: ^2.1.2
+  typescript: ^5.6.2
+  unbuild: ^2.0.0
+  unplugin-element-plus: ^0.8.0
+  vee-validate: ^4.13.2
+  vite: ^5.4.6
+  vite-plugin-compression: ^0.5.1
+  vite-plugin-dts: 4.2.1
+  vite-plugin-html: ^3.2.2
+  vite-plugin-lib-inject-css: ^2.1.1
+  vite-plugin-pwa: ^0.20.5
+  vite-plugin-vue-devtools: ^7.4.5
+  vitepress: ^1.3.4
+  vitepress-plugin-group-icons: ^1.2.4
+  vitest: ^2.1.1
+  vue: ^3.5.6
+  vue-eslint-parser: ^9.4.3
+  vue-i18n: ^10.0.1
+  vue-router: ^4.4.5
+  vue-tsc: ^2.1.6
+  watermark-js-plus: ^1.5.6
+  zod: ^3.23.8
+  zod-defaults: ^0.1.3

+ 2 - 2
scripts/turbo-run/package.json

@@ -22,8 +22,8 @@
     "./package.json": "./package.json"
   },
   "dependencies": {
-    "@clack/prompts": "^0.7.0",
+    "@clack/prompts": "catalog:",
     "@vben/node-utils": "workspace:*",
-    "cac": "^6.7.14"
+    "cac": "catalog:"
   }
 }

+ 4 - 4
scripts/vsh/package.json

@@ -23,9 +23,9 @@
   },
   "dependencies": {
     "@vben/node-utils": "workspace:*",
-    "cac": "^6.7.14",
-    "circular-dependency-scanner": "^2.3.0",
-    "depcheck": "^1.4.7",
-    "publint": "^0.2.11"
+    "cac": "catalog:",
+    "circular-dependency-scanner": "catalog:",
+    "depcheck": "catalog:",
+    "publint": "catalog:"
   }
 }

Някои файлове не бяха показани, защото твърде много файлове са промени