chore: update deps

pull/48/MERGE
vben 2024-08-01 00:06:36 +08:00
parent 546ff7caeb
commit 9b98b3190e
24 changed files with 305 additions and 240 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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/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/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': [ '@typescript-eslint/no-empty-function': [
'error', 'error',
{ {
@ -65,6 +53,7 @@ export async function typescript(): Promise<Linter.FlatConfig[]> {
'@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-namespace': 'off', '@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-non-null-assertion': 'error', '@typescript-eslint/no-non-null-assertion': 'error',
'@typescript-eslint/no-unused-expressions': 'off',
'@typescript-eslint/no-unused-vars': [ '@typescript-eslint/no-unused-vars': [
'error', 'error',
{ {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

File diff suppressed because it is too large Load Diff