feat(deps): update vite version to 5.x (#3508)

This commit is contained in:
xingyu 2024-01-06 09:19:52 +08:00 committed by GitHub
parent d709dd67b5
commit e6c7b5f928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 467 additions and 744 deletions

View File

@ -181,8 +181,8 @@
"*.env": "$(capture).env.*",
"CHANGELOG.md": "CHANGELOG*",
"package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,README*,.npmrc,.browserslistrc",
".eslintrc.js": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.js,.prettierrc.js,.stylelintrc.js"
".eslintrc.cjs": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.*,.prettierrc.*,.stylelintrc.*"
},
"terminal.integrated.scrollback": 10000,
"nuxt.isNuxtApp": false
}
}

View File

@ -2,6 +2,7 @@
"name": "server",
"version": "1.0.0",
"license": "MIT",
"type": "module",
"scripts": {
"compile": "rimraf ./dist && tsup ./index.ts --dts --format cjs,esm ",
"prod": "npx pm2 start ecosystem.config.js --env production",

View File

@ -12,6 +12,7 @@
"directory": "internal/eslint-config"
},
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",

View File

@ -12,6 +12,7 @@
"directory": "internal/stylelint-config"
},
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
@ -31,7 +32,7 @@
"stub": "pnpm unbuild --stub"
},
"devDependencies": {
"postcss": "^8.4.32",
"postcss": "^8.4.33",
"postcss-html": "^1.5.0",
"postcss-less": "^6.0.0",
"postcss-scss": "^4.0.9",
@ -41,7 +42,7 @@
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-config-standard-scss": "^12.0.0",
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.0"
}

View File

@ -4,7 +4,7 @@
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"strict": true,
"declaration": true,
"noImplicitOverride": true,

View File

@ -12,6 +12,7 @@
"directory": "internal/ts-config"
},
"license": "MIT",
"type": "module",
"files": [
"base.json",
"node.json",
@ -20,6 +21,6 @@
],
"dependencies": {
"@types/node": "^20.10.6",
"vite": "^4.5.1"
"vite": "^5.0.10"
}
}

View File

@ -12,6 +12,7 @@
"directory": "internal/vite-config"
},
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
@ -31,12 +32,12 @@
"stub": "pnpm unbuild --stub"
},
"dependencies": {
"@ant-design/colors": "^7.0.1",
"vite": "^4.5.1"
"@ant-design/colors": "^7.0.2",
"vite": "^5.0.10"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@vitejs/plugin-vue": "^4.6.2",
"@vitejs/plugin-vue": "^5.0.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"ant-design-vue": "^4.0.8",
"dayjs": "^1.11.10",
@ -46,7 +47,7 @@
"picocolors": "^1.0.0",
"pkg-types": "^1.0.3",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.69.6",
"sass": "^1.69.7",
"unocss": "0.58.3",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-dts": "^3.7.0",

View File

@ -15,6 +15,7 @@
"email": "anncwb@126.com",
"url": "https://github.com/anncwb"
},
"type": "module",
"scripts": {
"bootstrap": "pnpm install",
"build": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 pnpm vite build",
@ -72,11 +73,11 @@
"@logicflow/core": "^1.2.18",
"@logicflow/extension": "^1.2.19",
"@vben/hooks": "workspace:*",
"@vue/shared": "^3.4.3",
"@vue/shared": "^3.4.5",
"@vueuse/core": "^10.7.1",
"@zxcvbn-ts/core": "^3.0.4",
"ant-design-vue": "^4.0.8",
"axios": "^1.6.3",
"axios": "^1.6.4",
"codemirror": "^5.65.16",
"cropperjs": "^1.6.1",
"crypto-js": "^4.2.0",
@ -99,7 +100,7 @@
"tinymce": "^5.10.9",
"unocss": "0.58.3",
"vditor": "^3.9.8",
"vue": "^3.4.3",
"vue": "^3.4.5",
"vue-i18n": "^9.8.0",
"vue-json-pretty": "^2.3.0",
"vue-router": "^4.2.5",
@ -111,9 +112,9 @@
"xlsx": "^0.18.5"
},
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@iconify/json": "^2.2.163",
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@iconify/json": "^2.2.164",
"@purge-icons/generated": "^0.10.0",
"@types/codemirror": "^5.60.15",
"@types/crypto-js": "^4.2.1",
@ -129,7 +130,7 @@
"@vben/ts-config": "workspace:*",
"@vben/types": "workspace:*",
"@vben/vite-config": "workspace:*",
"@vue/compiler-sfc": "^3.4.3",
"@vue/compiler-sfc": "^3.4.5",
"@vue/test-utils": "^2.4.3",
"cross-env": "^7.0.3",
"cz-git": "^1.8.0",
@ -139,10 +140,10 @@
"prettier": "^3.1.1",
"prettier-plugin-packagejson": "^2.4.8",
"rimraf": "^5.0.5",
"turbo": "^1.11.2",
"turbo": "^1.11.3",
"typescript": "^5.3.3",
"unbuild": "^2.0.0",
"vite": "^4.5.1",
"vite": "^5.0.10",
"vite-plugin-mock": "^2.9.6",
"vue-tsc": "^1.8.27"
},

View File

@ -12,6 +12,7 @@
},
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"default": "./src/index.ts"
@ -31,7 +32,7 @@
"dependencies": {
"@vueuse/core": "^10.7.1",
"lodash-es": "^4.17.21",
"vue": "^3.4.3"
"vue": "^3.4.5"
},
"devDependencies": {
"@vben/types": "workspace:*"

View File

@ -12,6 +12,7 @@
},
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"default": "./src/index.ts"

1160
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -31,6 +31,9 @@ export default defineApplicationConfig({
rewrite: (path) => path.replace(new RegExp(`^/upload`), ''),
},
},
warmup: {
clientFiles: ['./index.html', './src/{views,components}/*'],
},
},
},
});