mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 00:26:20 +08:00
chore: update deps (#3602)
* chore: up vue 3.4.13 antdv 4.1.0 * fix: stylelint * chore: update deps * feat: vite-html * fix: eslint * fix: type check --------- Co-authored-by: invalid w <wangjuesix@gmail.com>
This commit is contained in:
@@ -37,14 +37,14 @@
|
|||||||
"stub": "pnpm unbuild --stub"
|
"stub": "pnpm unbuild --stub"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
||||||
"@typescript-eslint/parser": "^6.17.0",
|
"@typescript-eslint/parser": "^7.0.1",
|
||||||
"eslint": "^8.56.0",
|
"eslint": "^8.56.0",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-plugin-import": "^2.29.1",
|
"eslint-plugin-import": "^2.29.1",
|
||||||
"eslint-plugin-prettier": "^5.1.2",
|
"eslint-plugin-prettier": "^5.1.3",
|
||||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
"eslint-plugin-simple-import-sort": "^12.0.0",
|
||||||
"eslint-plugin-vue": "^9.19.2",
|
"eslint-plugin-vue": "^9.21.1",
|
||||||
"vue-eslint-parser": "^9.3.2"
|
"vue-eslint-parser": "^9.4.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -32,12 +32,12 @@
|
|||||||
"stub": "pnpm unbuild --stub"
|
"stub": "pnpm unbuild --stub"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"postcss": "^8.4.33",
|
"postcss": "^8.4.35",
|
||||||
"postcss-html": "^1.5.0",
|
"postcss-html": "^1.6.0",
|
||||||
"postcss-less": "^6.0.0",
|
"postcss-less": "^6.0.0",
|
||||||
"postcss-scss": "^4.0.9",
|
"postcss-scss": "^4.0.9",
|
||||||
"prettier": "^3.1.1",
|
"prettier": "^3.2.5",
|
||||||
"stylelint": "^16.1.0",
|
"stylelint": "^16.2.1",
|
||||||
"stylelint-config-property-sort-order-smacss": "^10.0.0",
|
"stylelint-config-property-sort-order-smacss": "^10.0.0",
|
||||||
"stylelint-config-recommended-scss": "^14.0.0",
|
"stylelint-config-recommended-scss": "^14.0.0",
|
||||||
"stylelint-config-recommended-vue": "^1.5.0",
|
"stylelint-config-recommended-vue": "^1.5.0",
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
"node-server.json"
|
"node-server.json"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/node": "^20.10.6",
|
"@types/node": "^20.11.19",
|
||||||
"vite": "^5.0.10"
|
"vite": "^5.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -33,25 +33,25 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/colors": "^7.0.2",
|
"@ant-design/colors": "^7.0.2",
|
||||||
"vite": "^5.0.10"
|
"vite": "^5.1.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/fs-extra": "^11.0.4",
|
"@types/fs-extra": "^11.0.4",
|
||||||
"@vitejs/plugin-vue": "^5.0.2",
|
"@vitejs/plugin-vue": "^5.0.4",
|
||||||
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
||||||
"ant-design-vue": "^4.0.8",
|
"ant-design-vue": "^4.1.2",
|
||||||
"dayjs": "^1.11.10",
|
"dayjs": "^1.11.10",
|
||||||
"dotenv": "^16.3.1",
|
"dotenv": "^16.4.4",
|
||||||
"fs-extra": "^11.2.0",
|
"fs-extra": "^11.2.0",
|
||||||
"less": "^4.2.0",
|
"less": "^4.2.0",
|
||||||
"picocolors": "^1.0.0",
|
"picocolors": "^1.0.0",
|
||||||
"pkg-types": "^1.0.3",
|
"pkg-types": "^1.0.3",
|
||||||
"rollup-plugin-visualizer": "^5.12.0",
|
"rollup-plugin-visualizer": "^5.12.0",
|
||||||
"sass": "^1.69.7",
|
"sass": "^1.71.0",
|
||||||
"unocss": "0.58.3",
|
"unocss": "0.58.5",
|
||||||
"vite-plugin-compression": "^0.5.1",
|
"vite-plugin-compression": "^0.5.1",
|
||||||
"vite-plugin-dts": "^3.7.0",
|
"vite-plugin-dts": "^3.7.2",
|
||||||
"vite-plugin-html": "^3.2.1",
|
"vite-plugin-html": "^3.2.2",
|
||||||
"vite-plugin-mock": "^2.9.6",
|
"vite-plugin-mock": "^2.9.6",
|
||||||
"vite-plugin-purge-icons": "^0.10.0",
|
"vite-plugin-purge-icons": "^0.10.0",
|
||||||
"vite-plugin-svg-icons": "^2.0.1"
|
"vite-plugin-svg-icons": "^2.0.1"
|
||||||
|
@@ -8,7 +8,6 @@ import { createHtmlPlugin } from 'vite-plugin-html';
|
|||||||
export function configHtmlPlugin({ isBuild }: { isBuild: boolean }) {
|
export function configHtmlPlugin({ isBuild }: { isBuild: boolean }) {
|
||||||
const htmlPlugin: PluginOption[] = createHtmlPlugin({
|
const htmlPlugin: PluginOption[] = createHtmlPlugin({
|
||||||
minify: isBuild,
|
minify: isBuild,
|
||||||
viteNext: true,
|
|
||||||
});
|
});
|
||||||
return htmlPlugin;
|
return htmlPlugin;
|
||||||
}
|
}
|
||||||
|
54
package.json
54
package.json
@@ -70,14 +70,14 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/icons-vue": "^7.0.1",
|
"@ant-design/icons-vue": "^7.0.1",
|
||||||
"@iconify/iconify": "^3.1.1",
|
"@iconify/iconify": "^3.1.1",
|
||||||
"@logicflow/core": "^1.2.18",
|
"@logicflow/core": "^1.2.22",
|
||||||
"@logicflow/extension": "^1.2.19",
|
"@logicflow/extension": "^1.2.22",
|
||||||
"@vben/hooks": "workspace:*",
|
"@vben/hooks": "workspace:*",
|
||||||
"@vue/shared": "^3.4.5",
|
"@vue/shared": "^3.4.19",
|
||||||
"@vueuse/core": "^10.7.1",
|
"@vueuse/core": "^10.7.2",
|
||||||
"@zxcvbn-ts/core": "^3.0.4",
|
"@zxcvbn-ts/core": "^3.0.4",
|
||||||
"ant-design-vue": "^4.0.8",
|
"ant-design-vue": "^4.1.2",
|
||||||
"axios": "^1.6.4",
|
"axios": "^1.6.7",
|
||||||
"codemirror": "^5.65.16",
|
"codemirror": "^5.65.16",
|
||||||
"cropperjs": "^1.6.1",
|
"cropperjs": "^1.6.1",
|
||||||
"crypto-js": "^4.2.0",
|
"crypto-js": "^4.2.0",
|
||||||
@@ -96,54 +96,54 @@
|
|||||||
"qs": "^6.11.2",
|
"qs": "^6.11.2",
|
||||||
"resize-observer-polyfill": "^1.5.1",
|
"resize-observer-polyfill": "^1.5.1",
|
||||||
"showdown": "^2.1.0",
|
"showdown": "^2.1.0",
|
||||||
"sortablejs": "^1.15.1",
|
"sortablejs": "^1.15.2",
|
||||||
"tinymce": "^5.10.9",
|
"tinymce": "^5.10.9",
|
||||||
"unocss": "0.58.3",
|
"unocss": "^0.58.5",
|
||||||
"vditor": "^3.9.8",
|
"vditor": "^3.9.9",
|
||||||
"vue": "3.3.4",
|
"vue": "^3.4.19",
|
||||||
"vue-i18n": "^9.8.0",
|
"vue-i18n": "^9.9.1",
|
||||||
"vue-json-pretty": "^2.3.0",
|
"vue-json-pretty": "^2.3.0",
|
||||||
"vue-router": "^4.2.5",
|
"vue-router": "^4.2.5",
|
||||||
"vue-types": "^5.1.1",
|
"vue-types": "^5.1.1",
|
||||||
"vuedraggable": "^4.1.0",
|
"vuedraggable": "^4.1.0",
|
||||||
"vxe-table": "^4.5.17",
|
"vxe-table": "^4.5.18",
|
||||||
"vxe-table-plugin-export-xlsx": "^3.1.0",
|
"vxe-table-plugin-export-xlsx": "^4.0.1",
|
||||||
"xe-utils": "^3.5.14",
|
"xe-utils": "^3.5.20",
|
||||||
"xlsx": "^0.18.5"
|
"xlsx": "^0.18.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^18.4.4",
|
"@commitlint/cli": "^18.6.1",
|
||||||
"@commitlint/config-conventional": "^18.4.4",
|
"@commitlint/config-conventional": "^18.6.2",
|
||||||
"@iconify/json": "^2.2.164",
|
"@iconify/json": "^2.2.183",
|
||||||
"@purge-icons/generated": "^0.10.0",
|
"@purge-icons/generated": "^0.10.0",
|
||||||
"@types/codemirror": "^5.60.15",
|
"@types/codemirror": "^5.60.15",
|
||||||
"@types/crypto-js": "^4.2.1",
|
"@types/crypto-js": "^4.2.2",
|
||||||
"@types/lodash-es": "^4.17.12",
|
"@types/lodash-es": "^4.17.12",
|
||||||
"@types/mockjs": "^1.0.10",
|
"@types/mockjs": "^1.0.10",
|
||||||
"@types/nprogress": "^0.2.3",
|
"@types/nprogress": "^0.2.3",
|
||||||
"@types/qrcode": "^1.5.5",
|
"@types/qrcode": "^1.5.5",
|
||||||
"@types/qs": "^6.9.11",
|
"@types/qs": "^6.9.11",
|
||||||
"@types/showdown": "^2.0.6",
|
"@types/showdown": "^2.0.6",
|
||||||
"@types/sortablejs": "^1.15.7",
|
"@types/sortablejs": "^1.15.8",
|
||||||
"@vben/eslint-config": "workspace:*",
|
"@vben/eslint-config": "workspace:*",
|
||||||
"@vben/stylelint-config": "workspace:*",
|
"@vben/stylelint-config": "workspace:*",
|
||||||
"@vben/ts-config": "workspace:*",
|
"@vben/ts-config": "workspace:*",
|
||||||
"@vben/types": "workspace:*",
|
"@vben/types": "workspace:*",
|
||||||
"@vben/vite-config": "workspace:*",
|
"@vben/vite-config": "workspace:*",
|
||||||
"@vue/compiler-sfc": "^3.4.5",
|
"@vue/compiler-sfc": "^3.4.19",
|
||||||
"@vue/test-utils": "^2.4.3",
|
"@vue/test-utils": "^2.4.4",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"cz-git": "^1.8.0",
|
"cz-git": "^1.8.0",
|
||||||
"czg": "^1.8.0",
|
"czg": "^1.8.0",
|
||||||
"husky": "^8.0.3",
|
"husky": "^9.0.11",
|
||||||
"lint-staged": "15.2.0",
|
"lint-staged": "15.2.2",
|
||||||
"prettier": "^3.1.1",
|
"prettier": "^3.2.5",
|
||||||
"prettier-plugin-packagejson": "^2.4.8",
|
"prettier-plugin-packagejson": "^2.4.11",
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"turbo": "^1.11.3",
|
"turbo": "^1.12.4",
|
||||||
"typescript": "^5.3.3",
|
"typescript": "^5.3.3",
|
||||||
"unbuild": "^2.0.0",
|
"unbuild": "^2.0.0",
|
||||||
"vite": "^5.0.10",
|
"vite": "^5.1.3",
|
||||||
"vite-plugin-mock": "^2.9.6",
|
"vite-plugin-mock": "^2.9.6",
|
||||||
"vue-tsc": "^1.8.27"
|
"vue-tsc": "^1.8.27"
|
||||||
},
|
},
|
||||||
|
@@ -30,9 +30,9 @@
|
|||||||
"lint": "pnpm eslint ."
|
"lint": "pnpm eslint ."
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vueuse/core": "^10.7.1",
|
"@vueuse/core": "^10.7.2",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"vue": "3.3.4"
|
"vue": "^3.4.19"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vben/types": "workspace:*"
|
"@vben/types": "workspace:*"
|
||||||
|
3509
pnpm-lock.yaml
generated
3509
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -6,8 +6,7 @@
|
|||||||
.ant-tree {
|
.ant-tree {
|
||||||
.ant-tree-checkbox {
|
.ant-tree-checkbox {
|
||||||
margin-block-start: 0;
|
margin-block-start: 0;
|
||||||
margin-inline-start: 4px;
|
margin-inline: 4px 4px;
|
||||||
margin-inline-end: 4px;
|
|
||||||
|
|
||||||
& + span {
|
& + span {
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
|
@@ -14,9 +14,8 @@ type ResolveProp<T> = ExtractPropTypes<{
|
|||||||
key: { type: T; required: true };
|
key: { type: T; required: true };
|
||||||
}>['key'];
|
}>['key'];
|
||||||
type ResolvePropType<T> = ResolveProp<T> extends { type: infer V } ? V : ResolveProp<T>;
|
type ResolvePropType<T> = ResolveProp<T> extends { type: infer V } ? V : ResolveProp<T>;
|
||||||
type ResolvePropTypeWithReadonly<T> = Readonly<T> extends Readonly<Array<infer A>>
|
type ResolvePropTypeWithReadonly<T> =
|
||||||
? ResolvePropType<A[]>
|
Readonly<T> extends Readonly<Array<infer A>> ? ResolvePropType<A[]> : ResolvePropType<T>;
|
||||||
: ResolvePropType<T>;
|
|
||||||
|
|
||||||
type IfUnknown<T, V> = [unknown] extends [T] ? V : T;
|
type IfUnknown<T, V> = [unknown] extends [T] ? V : T;
|
||||||
|
|
||||||
|
@@ -128,7 +128,6 @@ export const accountFormSchema: FormSchema[] = [
|
|||||||
componentProps: {
|
componentProps: {
|
||||||
fieldNames: {
|
fieldNames: {
|
||||||
label: 'deptName',
|
label: 'deptName',
|
||||||
key: 'id',
|
|
||||||
value: 'id',
|
value: 'id',
|
||||||
},
|
},
|
||||||
getPopupContainer: () => document.body,
|
getPopupContainer: () => document.body,
|
||||||
|
@@ -77,7 +77,6 @@ export const formSchema: FormSchema[] = [
|
|||||||
componentProps: {
|
componentProps: {
|
||||||
fieldNames: {
|
fieldNames: {
|
||||||
label: 'deptName',
|
label: 'deptName',
|
||||||
key: 'id',
|
|
||||||
value: 'id',
|
value: 'id',
|
||||||
},
|
},
|
||||||
getPopupContainer: () => document.body,
|
getPopupContainer: () => document.body,
|
||||||
|
@@ -105,7 +105,6 @@ export const formSchema: FormSchema[] = [
|
|||||||
componentProps: {
|
componentProps: {
|
||||||
fieldNames: {
|
fieldNames: {
|
||||||
label: 'menuName',
|
label: 'menuName',
|
||||||
key: 'id',
|
|
||||||
value: 'id',
|
value: 'id',
|
||||||
},
|
},
|
||||||
getPopupContainer: () => document.body,
|
getPopupContainer: () => document.body,
|
||||||
|
Reference in New Issue
Block a user