ソースを参照

chore: update deps

vben 9 ヶ月 前
コミット
9b98b3190e

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

@@ -45,6 +45,6 @@
     "dayjs": "^1.11.12",
     "pinia": "2.1.7",
     "vue": "^3.4.35",
-    "vue-router": "^4.4.0"
+    "vue-router": "^4.4.1"
   }
 }

+ 1 - 0
apps/web-antd/src/router/routes/modules/demos.ts

@@ -161,6 +161,7 @@ const routes: RouteRecordRaw[] = [
                   import(
                     '#/views/demos/features/hide-menu-children/children.vue'
                   ),
+                meta: { title: 'HideChildrenInMenuChildrenDemo' },
               },
             ],
           },

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

@@ -42,10 +42,10 @@
     "@vben/utils": "workspace:*",
     "@vueuse/core": "^10.11.0",
     "dayjs": "^1.11.12",
-    "element-plus": "^2.7.6",
+    "element-plus": "^2.7.8",
     "pinia": "2.1.7",
-    "vue": "^3.4.34",
-    "vue-router": "^4.4.0"
+    "vue": "^3.4.35",
+    "vue-router": "^4.4.1"
   },
   "devDependencies": {
     "unplugin-element-plus": "^0.8.0"

+ 1 - 1
apps/web-ele/src/router/routes/modules/vben.ts

@@ -65,7 +65,7 @@ const routes: RouteRecordRaw[] = [
       },
       {
         name: 'VbenAntd',
-        path: '/vben-admin/aned',
+        path: '/vben-admin/antd',
         component: IFrameView,
         meta: {
           badgeType: 'dot',

+ 7 - 4
apps/web-ele/vite.config.mts

@@ -1,13 +1,16 @@
 import { defineConfig } from '@vben/vite-config';
-import ElementPlus from 'unplugin-element-plus/vite'
+
+import ElementPlus from 'unplugin-element-plus/vite';
 
 export default defineConfig(async () => {
   return {
     application: {},
     vite: {
-      plugins: [ElementPlus({
-        format:"esm"
-      })],
+      plugins: [
+        ElementPlus({
+          format: 'esm',
+        }),
+      ],
       server: {
         proxy: {
           '/api': {

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

@@ -44,6 +44,6 @@
     "naive-ui": "^2.39.0",
     "pinia": "2.1.7",
     "vue": "^3.4.35",
-    "vue-router": "^4.4.0"
+    "vue-router": "^4.4.1"
   }
 }

+ 1 - 1
apps/web-naive/src/router/routes/modules/vben.ts

@@ -55,7 +55,7 @@ const routes: RouteRecordRaw[] = [
       },
       {
         name: 'VbenAntd',
-        path: '/vben-admin/aned',
+        path: '/vben-admin/antd',
         component: IFrameView,
         meta: {
           badgeType: 'dot',

+ 3 - 3
internal/lint-configs/eslint-config/package.json

@@ -27,15 +27,15 @@
     }
   },
   "dependencies": {
-    "eslint-config-turbo": "^2.0.10",
+    "eslint-config-turbo": "^2.0.11",
     "eslint-plugin-command": "^0.2.3",
     "eslint-plugin-import-x": "^3.1.0"
   },
   "devDependencies": {
     "@eslint/js": "^9.8.0",
     "@types/eslint": "^9.6.0",
-    "@typescript-eslint/eslint-plugin": "^7.18.0",
-    "@typescript-eslint/parser": "^7.18.0",
+    "@typescript-eslint/eslint-plugin": "^8.0.0",
+    "@typescript-eslint/parser": "^8.0.0",
     "eslint": "^9.8.0",
     "eslint-config-prettier": "^9.1.0",
     "eslint-plugin-eslint-comments": "^3.2.0",

+ 3 - 14
internal/lint-configs/eslint-config/src/configs/typescript.ts

@@ -40,22 +40,10 @@ export async function typescript(): Promise<Linter.FlatConfig[]> {
           },
         ],
 
-        '@typescript-eslint/ban-types': 'error',
         '@typescript-eslint/consistent-type-definitions': ['warn', 'interface'],
-        '@typescript-eslint/explicit-function-return-type': 'off',
+        '@typescript-eslint/explicit-function-rkeyword-spacingeturn-type':
+          'off',
         '@typescript-eslint/explicit-module-boundary-types': 'off',
-        '@typescript-eslint/keyword-spacing': [
-          'error',
-          {
-            after: true,
-            before: true,
-            overrides: {
-              case: { after: true },
-              return: { after: true },
-              throw: { after: true },
-            },
-          },
-        ],
         '@typescript-eslint/no-empty-function': [
           'error',
           {
@@ -65,6 +53,7 @@ export async function typescript(): Promise<Linter.FlatConfig[]> {
         '@typescript-eslint/no-explicit-any': 'off',
         '@typescript-eslint/no-namespace': 'off',
         '@typescript-eslint/no-non-null-assertion': 'error',
+        '@typescript-eslint/no-unused-expressions': 'off',
         '@typescript-eslint/no-unused-vars': [
           'error',
           {

+ 2 - 2
internal/vite-config/src/typing.ts

@@ -116,9 +116,9 @@ interface LibraryPluginOptions extends CommonPluginOptions {
   injectLibCss?: boolean;
 }
 
-interface ApplicationOptions extends ApplicationPluginOptions {}
+type ApplicationOptions = ApplicationPluginOptions;
 
-interface LibraryOptions extends LibraryPluginOptions {}
+type LibraryOptions = LibraryPluginOptions;
 
 type DefineApplicationOptions = (config?: ConfigEnv) => Promise<{
   application?: ApplicationOptions;

+ 3 - 4
package.json

@@ -59,7 +59,7 @@
     "@changesets/cli": "^2.27.7",
     "@ls-lint/ls-lint": "^2.2.3",
     "@types/jsdom": "^21.1.7",
-    "@types/node": "^22.0.0",
+    "@types/node": "^22.0.2",
     "@vben/commitlint-config": "workspace:*",
     "@vben/eslint-config": "workspace:*",
     "@vben/lint-staged-config": "workspace:*",
@@ -78,7 +78,7 @@
     "is-ci": "^3.0.1",
     "jsdom": "^24.1.1",
     "rimraf": "^6.0.1",
-    "turbo": "^2.0.10",
+    "turbo": "^2.0.11",
     "typescript": "^5.5.4",
     "unbuild": "^2.0.0",
     "vite": "^5.3.5",
@@ -93,8 +93,7 @@
   "pnpm": {
     "peerDependencyRules": {
       "allowedVersions": {
-        "eslint": "*",
-        "@typescript-eslint/eslint-plugin": "*"
+        "eslint": "*"
       }
     },
     "overrides": {

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

@@ -35,7 +35,7 @@
   },
   "dependencies": {
     "@iconify/vue": "^4.1.2",
-    "lucide-vue-next": "^0.417.0",
+    "lucide-vue-next": "^0.418.0",
     "vue": "^3.4.35"
   }
 }

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

@@ -39,6 +39,6 @@
   },
   "dependencies": {
     "vue": "^3.4.35",
-    "vue-router": "^4.4.0"
+    "vue-router": "^4.4.1"
   }
 }

+ 2 - 2
packages/@core/base/typings/src/basic.d.ts

@@ -3,9 +3,9 @@ interface BasicOption {
   value: string;
 }
 
-interface SelectOption extends BasicOption {}
+type SelectOption = BasicOption;
 
-interface TabOption extends BasicOption {}
+type TabOption = BasicOption;
 
 interface BasicUserInfo {
   /**

+ 1 - 0
packages/@core/base/typings/vue-router.d.ts

@@ -4,5 +4,6 @@ import type { RouteMeta as IRouteMeta } from '@vben-core/typings';
 import 'vue-router';
 
 declare module 'vue-router' {
+  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
   interface RouteMeta extends IRouteMeta {}
 }

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

@@ -48,7 +48,7 @@
     "@vben-core/typings": "workspace:*",
     "@vueuse/core": "^10.11.0",
     "class-variance-authority": "^0.7.0",
-    "lucide-vue-next": "^0.417.0",
+    "lucide-vue-next": "^0.418.0",
     "radix-vue": "^1.9.2",
     "vue": "^3.4.35"
   }

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

@@ -29,7 +29,7 @@
     "@vueuse/integrations": "^10.11.0",
     "qrcode": "^1.5.3",
     "vue": "^3.4.35",
-    "vue-router": "^4.4.0"
+    "vue-router": "^4.4.1"
   },
   "devDependencies": {
     "@types/qrcode": "^1.5.5"

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

@@ -26,7 +26,7 @@
     "@vben/types": "workspace:*",
     "@vben/utils": "workspace:*",
     "vue": "^3.4.35",
-    "vue-router": "^4.4.0",
+    "vue-router": "^4.4.1",
     "watermark-js-plus": "^1.5.2"
   }
 }

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

@@ -34,6 +34,6 @@
     "@vben/utils": "workspace:*",
     "@vueuse/core": "^10.11.0",
     "vue": "^3.4.35",
-    "vue-router": "^4.4.0"
+    "vue-router": "^4.4.1"
   }
 }

+ 1 - 1
packages/stores/package.json

@@ -25,6 +25,6 @@
     "pinia": "2.1.7",
     "pinia-plugin-persistedstate": "^3.2.1",
     "vue": "^3.4.35",
-    "vue-router": "^4.4.0"
+    "vue-router": "^4.4.1"
   }
 }

+ 1 - 0
packages/types/global.d.ts

@@ -3,6 +3,7 @@ import type { RouteMeta as IRouteMeta } from '@vben-core/typings';
 import 'vue-router';
 
 declare module 'vue-router' {
+  // eslint-disable-next-line @typescript-eslint/no-empty-object-type
   interface RouteMeta extends IRouteMeta {}
 }
 

+ 1 - 1
packages/types/package.json

@@ -22,6 +22,6 @@
   "dependencies": {
     "@vben-core/typings": "workspace:*",
     "vue": "^3.4.35",
-    "vue-router": "^4.4.0"
+    "vue-router": "^4.4.1"
   }
 }

+ 1 - 1
packages/utils/package.json

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

ファイルの差分が大きいため隠しています
+ 239 - 168
pnpm-lock.yaml


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません