From 0732a8d8532638d64d2f092c4e0fd35ff5bfed72 Mon Sep 17 00:00:00 2001 From: vben Date: Sat, 25 May 2024 09:47:15 +0800 Subject: [PATCH] chore: format code --- apps/antd-view/package.json | 10 ++- .../commitlint-config/package.json | 4 +- .../lint-configs/eslint-config/package.json | 6 +- .../eslint-config/src/configs/jsonc.ts | 6 +- .../lint-staged-config/package.json | 4 +- .../lint-configs/prettier-config/package.json | 4 +- .../stylelint-config/package.json | 4 +- internal/node-utils/package.json | 4 +- internal/tailwind-config/package.json | 4 +- internal/tsconfig/package.json | 4 +- internal/vite-config/package.json | 4 +- .../vite-config/src/config/application.ts | 2 +- package.json | 46 ++++++------ .../shared/design-tokens/package.json | 4 +- .../@vben-core/shared/design/package.json | 8 +-- .../@vben-core/shared/iconify/package.json | 6 +- .../@vben-core/shared/toolkit/package.json | 10 ++- .../@vben-core/shared/typings/package.json | 6 +- .../@vben-core/uikit/layout-ui/package.json | 8 +-- .../@vben-core/uikit/menu-ui/package.json | 8 +-- .../@vben-core/uikit/shadcn-ui/package.json | 6 +- .../@vben-core/uikit/tabs-ui/package.json | 8 +-- packages/business/common-ui/package.json | 8 +-- packages/business/layouts/package.json | 8 +-- packages/constants/package.json | 6 +- packages/hooks/package.json | 8 +-- packages/icons/package.json | 4 +- packages/locales/package.json | 10 ++- packages/preference/package.json | 6 +- packages/stores/package.json | 8 +-- packages/styles/package.json | 6 +- packages/types/package.json | 6 +- packages/utils/package.json | 6 +- pnpm-lock.yaml | 71 ++++++++++--------- 34 files changed, 125 insertions(+), 188 deletions(-) diff --git a/apps/antd-view/package.json b/apps/antd-view/package.json index 8e8c5087..29e68dbc 100644 --- a/apps/antd-view/package.json +++ b/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": { diff --git a/internal/lint-configs/commitlint-config/package.json b/internal/lint-configs/commitlint-config/package.json index 4d939ec7..3fb21fae 100644 --- a/internal/lint-configs/commitlint-config/package.json +++ b/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" }, diff --git a/internal/lint-configs/eslint-config/package.json b/internal/lint-configs/eslint-config/package.json index 6ca02bf1..823fe3f4 100644 --- a/internal/lint-configs/eslint-config/package.json +++ b/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", diff --git a/internal/lint-configs/eslint-config/src/configs/jsonc.ts b/internal/lint-configs/eslint-config/src/configs/jsonc.ts index f9af22e9..722ec705 100644 --- a/internal/lint-configs/eslint-config/src/configs/jsonc.ts +++ b/internal/lint-configs/eslint-config/src/configs/jsonc.ts @@ -66,12 +66,12 @@ function sortPackageJson(): Linter.FlatConfig { order: [ 'publisher', 'name', - 'version', - 'private', 'description', + 'version', + 'author', + 'private', 'displayName', 'type', - 'author', 'license', 'funding', 'homepage', diff --git a/internal/lint-configs/lint-staged-config/package.json b/internal/lint-configs/lint-staged-config/package.json index 67f03a10..65ecc88e 100644 --- a/internal/lint-configs/lint-staged-config/package.json +++ b/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" }, diff --git a/internal/lint-configs/prettier-config/package.json b/internal/lint-configs/prettier-config/package.json index f647435a..9a3535df 100644 --- a/internal/lint-configs/prettier-config/package.json +++ b/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" }, diff --git a/internal/lint-configs/stylelint-config/package.json b/internal/lint-configs/stylelint-config/package.json index 13db7102..e6f47b21 100644 --- a/internal/lint-configs/stylelint-config/package.json +++ b/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" }, diff --git a/internal/node-utils/package.json b/internal/node-utils/package.json index c75c544e..39f63950 100644 --- a/internal/node-utils/package.json +++ b/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" }, diff --git a/internal/tailwind-config/package.json b/internal/tailwind-config/package.json index 5ee39454..84f9dc52 100644 --- a/internal/tailwind-config/package.json +++ b/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" diff --git a/internal/tsconfig/package.json b/internal/tsconfig/package.json index 242189c9..81ef8d3d 100644 --- a/internal/tsconfig/package.json +++ b/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", diff --git a/internal/vite-config/package.json b/internal/vite-config/package.json index dca40c2c..485579ff 100644 --- a/internal/vite-config/package.json +++ b/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" }, diff --git a/internal/vite-config/src/config/application.ts b/internal/vite-config/src/config/application.ts index d69e81ff..80246ec8 100644 --- a/internal/vite-config/src/config/application.ts +++ b/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}/*'], }, }, }; diff --git a/package.json b/package.json index 57d397ef..1d84226d 100644 --- a/package.json +++ b/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", - "vben", - "vue", - "vue3", - "vue admin", "monorepo", - "turbo" + "turbo", + "vben", + "vben admin", + "vue", + "vue admin", + "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", diff --git a/packages/@vben-core/shared/design-tokens/package.json b/packages/@vben-core/shared/design-tokens/package.json index a128d288..0c9f841a 100644 --- a/packages/@vben-core/shared/design-tokens/package.json +++ b/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", diff --git a/packages/@vben-core/shared/design/package.json b/packages/@vben-core/shared/design/package.json index 2f23d6cb..e7118004 100644 --- a/packages/@vben-core/shared/design/package.json +++ b/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", diff --git a/packages/@vben-core/shared/iconify/package.json b/packages/@vben-core/shared/iconify/package.json index c7c0bc84..53d5e88d 100644 --- a/packages/@vben-core/shared/iconify/package.json +++ b/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" } } diff --git a/packages/@vben-core/shared/toolkit/package.json b/packages/@vben-core/shared/toolkit/package.json index 90ea2c36..5ca3a098 100644 --- a/packages/@vben-core/shared/toolkit/package.json +++ b/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" } }, diff --git a/packages/@vben-core/shared/typings/package.json b/packages/@vben-core/shared/typings/package.json index 8b7772ac..6659fe83 100644 --- a/packages/@vben-core/shared/typings/package.json +++ b/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" } } diff --git a/packages/@vben-core/uikit/layout-ui/package.json b/packages/@vben-core/uikit/layout-ui/package.json index f4b30cee..812114f9 100644 --- a/packages/@vben-core/uikit/layout-ui/package.json +++ b/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" } } diff --git a/packages/@vben-core/uikit/menu-ui/package.json b/packages/@vben-core/uikit/menu-ui/package.json index 7a0c10bb..a1a0be13 100644 --- a/packages/@vben-core/uikit/menu-ui/package.json +++ b/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" } } diff --git a/packages/@vben-core/uikit/shadcn-ui/package.json b/packages/@vben-core/uikit/shadcn-ui/package.json index 6b0b619e..99cd41ae 100644 --- a/packages/@vben-core/uikit/shadcn-ui/package.json +++ b/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" } } diff --git a/packages/@vben-core/uikit/tabs-ui/package.json b/packages/@vben-core/uikit/tabs-ui/package.json index ac2766a7..194bdd18 100644 --- a/packages/@vben-core/uikit/tabs-ui/package.json +++ b/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" } } diff --git a/packages/business/common-ui/package.json b/packages/business/common-ui/package.json index fc49bc8e..d8bbd7cc 100644 --- a/packages/business/common-ui/package.json +++ b/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": { diff --git a/packages/business/layouts/package.json b/packages/business/layouts/package.json index 807234a1..79d39e87 100644 --- a/packages/business/layouts/package.json +++ b/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": { diff --git a/packages/constants/package.json b/packages/constants/package.json index 1c1a24ea..e9b4f89c 100644 --- a/packages/constants/package.json +++ b/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" } }, diff --git a/packages/hooks/package.json b/packages/hooks/package.json index 18d2fc1d..63763850 100644 --- a/packages/hooks/package.json +++ b/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" } } diff --git a/packages/icons/package.json b/packages/icons/package.json index 0a44d68a..a959d1bf 100644 --- a/packages/icons/package.json +++ b/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" ], diff --git a/packages/locales/package.json b/packages/locales/package.json index 6482fcd0..587f44ae 100644 --- a/packages/locales/package.json +++ b/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" } } diff --git a/packages/preference/package.json b/packages/preference/package.json index 9dcdab20..fa4d2659 100644 --- a/packages/preference/package.json +++ b/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" } } diff --git a/packages/stores/package.json b/packages/stores/package.json index c9f0fa79..6112ca9f 100644 --- a/packages/stores/package.json +++ b/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" } } diff --git a/packages/styles/package.json b/packages/styles/package.json index dcee5a90..dfa6bd5f 100644 --- a/packages/styles/package.json +++ b/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" } }, diff --git a/packages/types/package.json b/packages/types/package.json index 5029c343..9349142f 100644 --- a/packages/types/package.json +++ b/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" } } diff --git a/packages/utils/package.json b/packages/utils/package.json index b4e36826..f80d8eb9 100644 --- a/packages/utils/package.json +++ b/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" } }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f7d2c198..bb4ed93a 100644 --- a/pnpm-lock.yaml +++ b/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