Browse Source

chore: format code

vben 10 months ago
parent
commit
0732a8d853
34 changed files with 122 additions and 185 deletions
  1. 4 6
      apps/antd-view/package.json
  2. 1 3
      internal/lint-configs/commitlint-config/package.json
  3. 2 4
      internal/lint-configs/eslint-config/package.json
  4. 2 2
      internal/lint-configs/eslint-config/src/configs/jsonc.ts
  5. 1 3
      internal/lint-configs/lint-staged-config/package.json
  6. 1 3
      internal/lint-configs/prettier-config/package.json
  7. 1 3
      internal/lint-configs/stylelint-config/package.json
  8. 1 3
      internal/node-utils/package.json
  9. 1 3
      internal/tailwind-config/package.json
  10. 1 3
      internal/tsconfig/package.json
  11. 1 3
      internal/vite-config/package.json
  12. 1 1
      internal/vite-config/src/config/application.ts
  13. 19 23
      package.json
  14. 1 3
      packages/@vben-core/shared/design-tokens/package.json
  15. 3 5
      packages/@vben-core/shared/design/package.json
  16. 2 4
      packages/@vben-core/shared/iconify/package.json
  17. 4 6
      packages/@vben-core/shared/toolkit/package.json
  18. 2 4
      packages/@vben-core/shared/typings/package.json
  19. 3 5
      packages/@vben-core/uikit/layout-ui/package.json
  20. 3 5
      packages/@vben-core/uikit/menu-ui/package.json
  21. 2 4
      packages/@vben-core/uikit/shadcn-ui/package.json
  22. 3 5
      packages/@vben-core/uikit/tabs-ui/package.json
  23. 3 5
      packages/business/common-ui/package.json
  24. 3 5
      packages/business/layouts/package.json
  25. 2 4
      packages/constants/package.json
  26. 3 5
      packages/hooks/package.json
  27. 1 3
      packages/icons/package.json
  28. 4 6
      packages/locales/package.json
  29. 2 4
      packages/preference/package.json
  30. 3 5
      packages/stores/package.json
  31. 2 4
      packages/styles/package.json
  32. 2 4
      packages/types/package.json
  33. 2 4
      packages/utils/package.json
  34. 36 35
      pnpm-lock.yaml

+ 4 - 6
apps/antd-view/package.json

@@ -1,12 +1,12 @@
 {
   "name": "@vben/antd-view",
-  "version": "4.0.0-alpha.1",
-  "type": "module",
+  "version": "5.0.0-alpha.1",
   "author": {
     "name": "vben",
     "email": "anncwb@126.com",
     "url": "https://github.com/anncwb"
   },
+  "type": "module",
   "license": "MIT",
   "homepage": "https://github.com/vbenjs/vue-vben-admin",
   "repository": {
@@ -14,9 +14,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "apps/vben-admin"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm vite build",
     "dev": "pnpm vite",
@@ -39,7 +37,7 @@
     "ant-design-vue": "^4.2.1",
     "axios": "^1.7.2",
     "dayjs": "^1.11.11",
-    "vue": "^3.4.27",
+    "vue": "3.4.27",
     "vue-router": "^4.3.2"
   },
   "devDependencies": {

+ 1 - 3
internal/lint-configs/commitlint-config/package.json

@@ -10,9 +10,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "internal/lint-configs/commitlint-config"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "stub": "pnpm unbuild --stub"
   },

+ 2 - 4
internal/lint-configs/eslint-config/package.json

@@ -10,9 +10,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "internal/lint-configs/eslint-config"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "stub": "pnpm unbuild --stub"
   },
@@ -44,7 +42,7 @@
     "eslint-plugin-eslint-comments": "^3.2.0",
     "eslint-plugin-i": "^2.29.1",
     "eslint-plugin-jsdoc": "^48.2.6",
-    "eslint-plugin-jsonc": "^2.15.1",
+    "eslint-plugin-jsonc": "^2.16.0",
     "eslint-plugin-n": "^17.7.0",
     "eslint-plugin-no-only-tests": "^3.1.0",
     "eslint-plugin-perfectionist": "^2.10.0",

+ 2 - 2
internal/lint-configs/eslint-config/src/configs/jsonc.ts

@@ -66,12 +66,12 @@ function sortPackageJson(): Linter.FlatConfig {
           order: [
             'publisher',
             'name',
+            'description',
             'version',
+            'author',
             'private',
-            'description',
             'displayName',
             'type',
-            'author',
             'license',
             'funding',
             'homepage',

+ 1 - 3
internal/lint-configs/lint-staged-config/package.json

@@ -10,9 +10,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "internal/lint-configs/lint-staged-config"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "stub": "pnpm unbuild --stub"
   },

+ 1 - 3
internal/lint-configs/prettier-config/package.json

@@ -10,9 +10,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "internal/lint-configs/prettier-config"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "stub": "pnpm unbuild --stub"
   },

+ 1 - 3
internal/lint-configs/stylelint-config/package.json

@@ -10,9 +10,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "internal/lint-configs/stylelint-config"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "stub": "pnpm unbuild --stub"
   },

+ 1 - 3
internal/node-utils/package.json

@@ -10,9 +10,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "internal/node-utils"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "stub": "pnpm unbuild --stub"
   },

+ 1 - 3
internal/tailwind-config/package.json

@@ -10,9 +10,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "internal/tailwind-config"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm unbuild",
     "stub": "pnpm unbuild --stub"

+ 1 - 3
internal/tsconfig/package.json

@@ -10,9 +10,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "internal/tsconfig"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "files": [
     "base.json",
     "library.json",

+ 1 - 3
internal/vite-config/package.json

@@ -10,9 +10,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "internal/vite-config"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "stub": "pnpm unbuild --stub"
   },

+ 1 - 1
internal/vite-config/src/config/application.ts

@@ -88,7 +88,7 @@ function defineApplicationConfig(options: DefineAppcationOptions = {}) {
         host: true,
         warmup: {
           // 预热文件
-          clientFiles: ['./index.html', './src/{views}/*'],
+          clientFiles: ['./index.html', './src/{views,layouts}/*'],
         },
       },
     };

+ 19 - 23
package.json

@@ -1,52 +1,47 @@
 {
   "name": "vben-admin",
-  "version": "4.0.0-alpha.1",
-  "private": true,
-  "type": "module",
+  "version": "5.0.0-alpha.1",
   "author": {
     "name": "vben",
     "email": "anncwb@126.com",
     "url": "https://github.com/anncwb"
   },
+  "private": true,
+  "type": "module",
   "license": "MIT",
   "homepage": "https://github.com/vbenjs/vue-vben-admin",
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/vbenjs/vue-vben-admin.git"
-  },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "repository": "vbenjs/vue-vben-admin.git",
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "keywords": [
-    "vben admin",
+    "monorepo",
+    "turbo",
     "vben",
+    "vben admin",
     "vue",
-    "vue3",
     "vue admin",
-    "monorepo",
-    "turbo"
+    "vue3"
   ],
   "scripts": {
-    "changeset": "pnpm exec changeset",
-    "version": "pnpm exec changeset version && pnpm install --no-frozen-lockfile",
     "bootstrap": "pnpm install",
     "build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 turbo build && pnpm install -s",
-    "clean": "vsh clean",
+    "build:docker": "./build-local-docker-image.sh",
+    "changeset": "pnpm exec changeset",
     "check": "pnpm run check:dep && pnpm run check:circular && pnpm run check:type",
     "check:circular": "vsh check-circular",
     "check:dep": "vsh check-dep",
     "check:type": "turbo run typecheck",
+    "clean": "vsh clean",
     "commit": "czg",
     "dev": "turbo run dev --parallel",
-    "preinstall": "npx only-allow pnpm",
-    "postinstall": "turbo run stub",
-    "lint": "vsh lint && pnpm run check:circular",
-    "publint": "vsh publint",
     "format": "vsh lint --format",
+    "lint": "vsh lint && pnpm run check:circular",
+    "postinstall": "turbo run stub",
+    "preinstall": "npx only-allow pnpm",
     "prepare": "is-ci || husky",
+    "publint": "vsh publint",
     "reinstall": "pnpm clean --del-lock && pnpm bootstrap",
     "test": "vitest",
-    "build:docker": "./build-local-docker-image.sh"
+    "version": "pnpm exec changeset version && pnpm install --no-frozen-lockfile"
   },
   "devDependencies": {
     "@changesets/cli": "^2.27.3",
@@ -84,7 +79,8 @@
   "pnpm": {
     "overrides": {
       "@ctrl/tinycolor": "4.1.0",
-      "clsx": "2.1.1"
+      "clsx": "2.1.1",
+      "vue": "3.4.27"
     },
     "neverBuiltDependencies": [
       "canvas",

+ 1 - 3
packages/@vben-core/shared/design-tokens/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/@vben-core/shared/design-tokens"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm vite build",
     "dts": "vue-tsc --declaration --emitDeclarationOnly --declarationDir dist",

+ 3 - 5
packages/@vben-core/shared/design/package.json

@@ -9,13 +9,11 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/@vben-core/shared/design"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm unbuild",
-    "stub": "pnpm unbuild --stub",
-    "prepublishOnly": "npm run build"
+    "prepublishOnly": "npm run build",
+    "stub": "pnpm unbuild --stub"
   },
   "files": [
     "dist",

+ 2 - 4
packages/@vben-core/shared/iconify/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/@vben-core/iconify"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "files": [
     "dist"
   ],
@@ -27,6 +25,6 @@
   },
   "dependencies": {
     "@iconify/vue": "^4.1.2",
-    "vue": "^3.4.27"
+    "vue": "3.4.27"
   }
 }

+ 4 - 6
packages/@vben-core/shared/toolkit/package.json

@@ -9,12 +9,10 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/@vben-core/shared/toolkit"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
-    "stub": "pnpm unbuild --stub",
-    "build": "pnpm unbuild"
+    "build": "pnpm unbuild",
+    "stub": "pnpm unbuild --stub"
   },
   "files": [
     "dist"
@@ -27,8 +25,8 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     }
   },

+ 2 - 4
packages/@vben-core/shared/typings/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/@vben-core/shared/typings"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm unbuild",
     "stub": "pnpm build --stub"
@@ -41,7 +39,7 @@
     }
   },
   "dependencies": {
-    "vue": "^3.4.27",
+    "vue": "3.4.27",
     "vue-router": "^4.3.2"
   }
 }

+ 3 - 5
packages/@vben-core/uikit/layout-ui/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/@vben-core/uikit/layout-ui"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm vite build",
     "prepublishOnly": "npm run build"
@@ -29,8 +27,8 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     }
   },
@@ -49,6 +47,6 @@
     "@vben-core/toolkit": "workspace:*",
     "@vben-core/typings": "workspace:*",
     "@vueuse/core": "^10.9.0",
-    "vue": "^3.4.27"
+    "vue": "3.4.27"
   }
 }

+ 3 - 5
packages/@vben-core/uikit/menu-ui/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/@vben-core/uikit/menu-ui"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm vite build",
     "prepublishOnly": "npm run build"
@@ -29,8 +27,8 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     }
   },
@@ -49,6 +47,6 @@
     "@vben-core/toolkit": "workspace:*",
     "@vben-core/typings": "workspace:*",
     "@vueuse/core": "^10.9.0",
-    "vue": "^3.4.27"
+    "vue": "3.4.27"
   }
 }

+ 2 - 4
packages/@vben-core/uikit/shadcn-ui/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/@vben-core/uikit/shadcn-ui"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm vite build",
     "prepublishOnly": "npm run build"
@@ -52,7 +50,7 @@
     "clsx": "2.1.1",
     "radix-vue": "^1.8.1",
     "tailwind-merge": "^2.3.0",
-    "vue": "^3.4.27",
+    "vue": "3.4.27",
     "vue-sonner": "^1.1.2"
   }
 }

+ 3 - 5
packages/@vben-core/uikit/tabs-ui/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/@vben-core/uikit/tabs-ui"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm vite build",
     "prepublishOnly": "npm run build"
@@ -29,8 +27,8 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     }
   },
@@ -48,6 +46,6 @@
     "@vben-core/shadcn-ui": "workspace:*",
     "@vben-core/toolkit": "workspace:*",
     "@vben-core/typings": "workspace:*",
-    "vue": "^3.4.27"
+    "vue": "3.4.27"
   }
 }

+ 3 - 5
packages/business/common-ui/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/business/common-ui"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm vite build",
     "prepublishOnly": "npm run build"
@@ -29,8 +27,8 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     }
   },
@@ -55,7 +53,7 @@
     "@vueuse/core": "^10.9.0",
     "@vueuse/integrations": "^10.9.0",
     "qrcode": "^1.5.3",
-    "vue": "^3.4.27",
+    "vue": "3.4.27",
     "vue-router": "^4.3.2"
   },
   "devDependencies": {

+ 3 - 5
packages/business/layouts/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/business/layouts"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm vite build",
     "prepublishOnly": "npm run build"
@@ -29,8 +27,8 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     }
   },
@@ -53,7 +51,7 @@
     "@vben/locales": "workspace:*",
     "@vben/preference": "workspace:*",
     "@vben/stores": "workspace:*",
-    "vue": "^3.4.27",
+    "vue": "3.4.27",
     "vue-router": "^4.3.2"
   },
   "devDependencies": {

+ 2 - 4
packages/constants/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/constants"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm unbuild",
     "stub": "pnpm unbuild --stub"
@@ -29,8 +27,8 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     }
   },

+ 3 - 5
packages/hooks/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/hooks"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm unbuild",
     "stub": "pnpm unbuild --stub"
@@ -29,8 +27,8 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     }
   },
@@ -43,7 +41,7 @@
     }
   },
   "dependencies": {
-    "vue": "^3.4.27",
+    "vue": "3.4.27",
     "vue-hooks-plus": "^2.1.0"
   }
 }

+ 1 - 3
packages/icons/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/icons"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "files": [
     "dist"
   ],

+ 4 - 6
packages/locales/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/locales"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm unbuild",
     "stub": "pnpm unbuild --stub"
@@ -29,16 +27,16 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     },
     "./langs/*": {
       "default": "./dist/langs/*"
     },
     "./helper": {
-      "development": "./src/helper.ts",
       "types": "./src/helper.ts",
+      "development": "./src/helper.ts",
       "default": "./dist/helper.mjs"
     }
   },
@@ -53,7 +51,7 @@
   "dependencies": {
     "@intlify/core-base": "^9.13.1",
     "@vben-core/typings": "workspace:*",
-    "vue": "^3.4.27",
+    "vue": "3.4.27",
     "vue-i18n": "^9.13.1"
   }
 }

+ 2 - 4
packages/preference/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/preference"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm unbuild",
     "stub": "pnpm unbuild --stub"
@@ -37,6 +35,6 @@
     "@vben-core/toolkit": "workspace:*",
     "@vben-core/typings": "workspace:*",
     "@vueuse/core": "^10.9.0",
-    "vue": "^3.4.27"
+    "vue": "3.4.27"
   }
 }

+ 3 - 5
packages/stores/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/stores"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm unbuild",
     "stub": "pnpm unbuild --stub"
@@ -29,8 +27,8 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     }
   },
@@ -47,7 +45,7 @@
     "@vben-core/typings": "workspace:*",
     "pinia": "2.1.7",
     "pinia-plugin-persistedstate": "^3.2.1",
-    "vue": "^3.4.27",
+    "vue": "3.4.27",
     "vue-router": "^4.3.2"
   }
 }

+ 2 - 4
packages/styles/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/styles"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm vite build",
     "prepublishOnly": "npm run build"
@@ -26,8 +24,8 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     }
   },

+ 2 - 4
packages/types/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/types"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm unbuild",
     "stub": "pnpm build --stub"
@@ -45,7 +43,7 @@
   },
   "dependencies": {
     "@vben-core/typings": "workspace:*",
-    "vue": "^3.4.27",
+    "vue": "3.4.27",
     "vue-router": "^4.3.2"
   }
 }

+ 2 - 4
packages/utils/package.json

@@ -9,9 +9,7 @@
     "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
     "directory": "packages/utils"
   },
-  "bugs": {
-    "url": "https://github.com/vbenjs/vue-vben-admin/issues"
-  },
+  "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
   "scripts": {
     "build": "pnpm unbuild",
     "stub": "pnpm unbuild --stub"
@@ -29,8 +27,8 @@
   },
   "exports": {
     ".": {
-      "development": "./src/index.ts",
       "types": "./src/index.ts",
+      "development": "./src/index.ts",
       "default": "./dist/index.mjs"
     }
   },

+ 36 - 35
pnpm-lock.yaml

@@ -7,6 +7,7 @@ settings:
 overrides:
   '@ctrl/tinycolor': 4.1.0
   clsx: 2.1.1
+  vue: 3.4.27
 
 importers:
 
@@ -139,7 +140,7 @@ importers:
         specifier: ^1.11.11
         version: 1.11.11
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
       vue-router:
         specifier: ^4.3.2
@@ -201,8 +202,8 @@ importers:
         specifier: ^48.2.6
         version: 48.2.6(eslint@8.57.0)
       eslint-plugin-jsonc:
-        specifier: ^2.15.1
-        version: 2.15.1(eslint@8.57.0)
+        specifier: ^2.16.0
+        version: 2.16.0(eslint@8.57.0)
       eslint-plugin-n:
         specifier: ^17.7.0
         version: 17.7.0(eslint@8.57.0)
@@ -455,7 +456,7 @@ importers:
         specifier: ^4.1.2
         version: 4.1.2(vue@3.4.27(typescript@5.4.5))
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
 
   packages/@vben-core/shared/toolkit:
@@ -483,7 +484,7 @@ importers:
   packages/@vben-core/shared/typings:
     dependencies:
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
       vue-router:
         specifier: ^4.3.2
@@ -510,7 +511,7 @@ importers:
         specifier: ^10.9.0
         version: 10.9.0(vue@3.4.27(typescript@5.4.5))
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
 
   packages/@vben-core/uikit/menu-ui:
@@ -534,7 +535,7 @@ importers:
         specifier: ^10.9.0
         version: 10.9.0(vue@3.4.27(typescript@5.4.5))
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
 
   packages/@vben-core/uikit/shadcn-ui:
@@ -567,7 +568,7 @@ importers:
         specifier: ^2.3.0
         version: 2.3.0
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
       vue-sonner:
         specifier: ^1.1.2
@@ -591,7 +592,7 @@ importers:
         specifier: workspace:*
         version: link:../../shared/typings
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
 
   packages/business/common-ui:
@@ -624,7 +625,7 @@ importers:
         specifier: ^1.5.3
         version: 1.5.3
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
       vue-router:
         specifier: ^4.3.2
@@ -670,7 +671,7 @@ importers:
         specifier: workspace:*
         version: link:../../stores
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
       vue-router:
         specifier: ^4.3.2
@@ -685,7 +686,7 @@ importers:
   packages/hooks:
     dependencies:
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
       vue-hooks-plus:
         specifier: ^2.1.0
@@ -706,7 +707,7 @@ importers:
         specifier: workspace:*
         version: link:../@vben-core/shared/typings
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
       vue-i18n:
         specifier: ^9.13.1
@@ -724,7 +725,7 @@ importers:
         specifier: ^10.9.0
         version: 10.9.0(vue@3.4.27(typescript@5.4.5))
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
 
   packages/stores:
@@ -742,7 +743,7 @@ importers:
         specifier: ^3.2.1
         version: 3.2.1(pinia@2.1.7(typescript@5.4.5)(vue@3.4.27(typescript@5.4.5)))
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
       vue-router:
         specifier: ^4.3.2
@@ -763,7 +764,7 @@ importers:
         specifier: workspace:*
         version: link:../@vben-core/shared/typings
       vue:
-        specifier: ^3.4.27
+        specifier: 3.4.27
         version: 3.4.27(typescript@5.4.5)
       vue-router:
         specifier: ^4.3.2
@@ -812,7 +813,7 @@ packages:
   '@ant-design/icons-vue@7.0.1':
     resolution: {integrity: sha512-eCqY2unfZK6Fe02AwFlDHLfoyEFreP6rBwAZMIJ1LugmfMiVgwWDYlp1YsRugaPtICYOabV1iWxXdP12u9U43Q==}
     peerDependencies:
-      vue: '>=3.0.3'
+      vue: 3.4.27
 
   '@antfu/ni@0.21.12':
     resolution: {integrity: sha512-2aDL3WUv8hMJb2L3r/PIQWsTLyq7RQr3v9xD16fiz6O8ys1xEyLhhTOv8gxtZvJiTzjTF5pHoArvRdesGL1DMQ==}
@@ -1821,7 +1822,7 @@ packages:
   '@iconify/vue@4.1.2':
     resolution: {integrity: sha512-CQnYqLiQD5LOAaXhBrmj1mdL2/NCJvwcC4jtW2Z8ukhThiFkLDkutarTOV2trfc9EXqUqRs0KqXOL9pZ/IyysA==}
     peerDependencies:
-      vue: '>=3'
+      vue: 3.4.27
 
   '@internationalized/date@3.5.4':
     resolution: {integrity: sha512-qoVJVro+O0rBaw+8HPjUB1iH8Ihf8oziEnqMnvhJUSuVIrHOuZ6eNLHNvzXJKUvAtaDiqMnRlg8Z2mgh09BlUw==}
@@ -1992,7 +1993,7 @@ packages:
   '@radix-icons/vue@1.0.0':
     resolution: {integrity: sha512-gKWWk9tTK/laDRRNe5KLLR8A0qUwx4q4+DN8Fq48hJ904u78R82ayAO3TrxbNLgyn2D0h6rRiGdLzQWj7rPcvA==}
     peerDependencies:
-      vue: '>= 3'
+      vue: 3.4.27
 
   '@rollup/plugin-alias@5.1.0':
     resolution: {integrity: sha512-lpA3RZ9PdIG7qqhEfv79tBffNaoDuukFDrmhLqg9ifv99u/ehn+lOg30x2zmhf8AQqQUZaMk/B9fZraQ6/acDQ==}
@@ -2192,7 +2193,7 @@ packages:
   '@tanstack/vue-virtual@3.5.0':
     resolution: {integrity: sha512-wvRQ8sFxn/NDr3WvI5XabhFovZ5MBmpEck2GHpTxYunmV63Ovpl30lRu6W5BPQo35a1GqDZ+Pvzlz6WDWRNqqw==}
     peerDependencies:
-      vue: ^2.7.0 || ^3.0.0
+      vue: 3.4.27
 
   '@tootallnate/once@1.1.2':
     resolution: {integrity: sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==}
@@ -2349,14 +2350,14 @@ packages:
     engines: {node: ^14.18.0 || >=16.0.0}
     peerDependencies:
       vite: ^4.0.0 || ^5.0.0
-      vue: ^3.0.0
+      vue: 3.4.27
 
   '@vitejs/plugin-vue@5.0.4':
     resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==}
     engines: {node: ^18.0.0 || >=20.0.0}
     peerDependencies:
       vite: ^5.0.0
-      vue: ^3.2.25
+      vue: 3.4.27
 
   '@vitest/expect@1.6.0':
     resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==}
@@ -2443,7 +2444,7 @@ packages:
   '@vue/devtools-kit@7.2.1':
     resolution: {integrity: sha512-Wak/fin1X0Q8LLIfCAHBrdaaB+R6IdpSXsDByPHbQ3BmkCP0/cIo/oEGp9i0U2+gEqD4L3V9RDjNf1S34DTzQQ==}
     peerDependencies:
-      vue: ^3.0.0
+      vue: 3.4.27
 
   '@vue/devtools-shared@7.2.1':
     resolution: {integrity: sha512-PCJF4UknJmOal68+X9XHyVeQ+idv0LFujkTOIW30+GaMJqwFVN9LkQKX4gLqn61KkGMdJTzQ1bt7EJag3TI6AA==}
@@ -2621,7 +2622,7 @@ packages:
     resolution: {integrity: sha512-3u6fmfCEJ5AFTsYhogP8lJ/vcqiAJO16o+gGQkWYRGLl0NxmY4hje4cPyv+pcxpeJgcG0vNEmkb1vVHKcnxd+g==}
     engines: {node: '>=12.22.0'}
     peerDependencies:
-      vue: '>=3.2.0'
+      vue: 3.4.27
 
   any-promise@1.3.0:
     resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}
@@ -3640,8 +3641,8 @@ packages:
     peerDependencies:
       eslint: ^7.0.0 || ^8.0.0 || ^9.0.0
 
-  eslint-plugin-jsonc@2.15.1:
-    resolution: {integrity: sha512-PVFrqIJa8BbM/e828RSn0SwB/Z5ye+2LDuy2XqG6AymNgPsfApRRcznsbxP7VrjdLEU4Nb+g9n/d6opyp0jp9A==}
+  eslint-plugin-jsonc@2.16.0:
+    resolution: {integrity: sha512-Af/ZL5mgfb8FFNleH6KlO4/VdmDuTqmM+SPnWcdoWywTetv7kq+vQe99UyQb9XO3b0OWLVuTH7H0d/PXYCMdSg==}
     engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
     peerDependencies:
       eslint: '>=6.0.0'
@@ -5303,7 +5304,7 @@ packages:
     peerDependencies:
       '@vue/composition-api': ^1.4.0
       typescript: '>=4.4.4'
-      vue: ^2.6.14 || ^3.3.0
+      vue: 3.4.27
     peerDependenciesMeta:
       '@vue/composition-api':
         optional: true
@@ -5888,7 +5889,7 @@ packages:
   radix-vue@1.8.1:
     resolution: {integrity: sha512-DFyUt2vc/89tpSHiJvv7Qb/Qs8zVxq2g7q4kuuDV46fmDmSC3mnV3hdSAYruU7k/KvoDpS3sd99kLGRtuG63Rw==}
     peerDependencies:
-      vue: '>= 3.2.0'
+      vue: 3.4.27
 
   radix3@1.1.2:
     resolution: {integrity: sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==}
@@ -6782,7 +6783,7 @@ packages:
       esbuild: '*'
       rollup: '>=3'
       vite: '>=3'
-      vue: '>=2.7 || >=3.2.13'
+      vue: 3.4.27
       webpack: ^4 || ^5
     peerDependenciesMeta:
       '@nuxt/kit':
@@ -7024,7 +7025,7 @@ packages:
     hasBin: true
     peerDependencies:
       '@vue/composition-api': ^1.0.0-rc.1
-      vue: ^3.0.0-0 || ^2.6.0
+      vue: 3.4.27
     peerDependenciesMeta:
       '@vue/composition-api':
         optional: true
@@ -7038,18 +7039,18 @@ packages:
   vue-hooks-plus@2.1.0:
     resolution: {integrity: sha512-UkwmyoFX8WlfHgkqgDJ1jTLvVohtspRR8JFIZYCAgG01nqYVxoTiHZbEhOdIMH1Ba0CxP/xL26knT1+a2w5JpQ==}
     peerDependencies:
-      vue: ^3.2.25
+      vue: 3.4.27
 
   vue-i18n@9.13.1:
     resolution: {integrity: sha512-mh0GIxx0wPtPlcB1q4k277y0iKgo25xmDPWioVVYanjPufDBpvu5ySTjP5wOrSvlYQ2m1xI+CFhGdauv/61uQg==}
     engines: {node: '>= 16'}
     peerDependencies:
-      vue: ^3.0.0
+      vue: 3.4.27
 
   vue-router@4.3.2:
     resolution: {integrity: sha512-hKQJ1vDAZ5LVkKEnHhmm1f9pMiWIBNGF5AwU67PdH7TyXCj/a4hTccuUuYCAMgJK6rO/NVYtQIEN3yL8CECa7Q==}
     peerDependencies:
-      vue: ^3.2.0
+      vue: 3.4.27
 
   vue-sonner@1.1.2:
     resolution: {integrity: sha512-yg4f5s0a3oiiI7cNvO0Dajux1Y7s04lxww3vnQtnwQawJ3KqaKA9RIRMdI9wGTosRGIOwgYFniFRGl4+IuKPZw==}
@@ -7073,7 +7074,7 @@ packages:
     resolution: {integrity: sha512-IwUC0Aq2zwaXqy74h4WCvFCUtoV0iSWr0snWnE9TnU18S66GAQyqQbRf2qfJtUuiFsBf6qp0MEwdonlwznlcrw==}
     engines: {node: '>=10.15.0'}
     peerDependencies:
-      vue: ^3.0.0
+      vue: 3.4.27
 
   vue@3.4.27:
     resolution: {integrity: sha512-8s/56uK6r01r1icG/aEOHqyMVxd1bkYcSe9j8HcKtr/xTOFWvnzIVTehNW+5Yt89f+DLBe4A569pnZLS5HzAMA==}
@@ -10463,7 +10464,7 @@ snapshots:
     transitivePeerDependencies:
       - supports-color
 
-  eslint-plugin-jsonc@2.15.1(eslint@8.57.0):
+  eslint-plugin-jsonc@2.16.0(eslint@8.57.0):
     dependencies:
       '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0)
       eslint: 8.57.0