mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-20 10:59:21 +08:00
chore: upgrade the vite version to 5.x
This commit is contained in:
parent
16f2e1ad2f
commit
3810f269bf
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@ -14,15 +14,15 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Setup Node.js 18.18.2
|
||||
- name: Setup Node.js 20.10.0
|
||||
uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: 18.18.2
|
||||
node-version: 20.10.0
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8.10.2
|
||||
version: 8.11.0
|
||||
|
||||
- name: Build
|
||||
run: pnpm install && pnpm build:prod
|
||||
|
43
package.json
43
package.json
@ -11,6 +11,7 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/un-pany/v3-admin-vite.git"
|
||||
},
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build:stage": "vue-tsc --noEmit && vite build --mode staging",
|
||||
@ -24,10 +25,10 @@
|
||||
"test": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@element-plus/icons-vue": "2.1.0",
|
||||
"axios": "1.6.0",
|
||||
"@element-plus/icons-vue": "2.3.1",
|
||||
"axios": "1.6.2",
|
||||
"dayjs": "1.11.10",
|
||||
"element-plus": "2.4.2",
|
||||
"element-plus": "2.4.3",
|
||||
"js-cookie": "3.0.5",
|
||||
"lodash-es": "4.17.21",
|
||||
"mitt": "3.0.1",
|
||||
@ -37,7 +38,7 @@
|
||||
"path-to-regexp": "6.2.1",
|
||||
"pinia": "2.1.7",
|
||||
"screenfull": "6.0.2",
|
||||
"vue": "3.3.8",
|
||||
"vue": "3.3.9",
|
||||
"vue-router": "4.2.5",
|
||||
"vxe-table": "4.4.1",
|
||||
"vxe-table-plugin-element": "3.0.7",
|
||||
@ -45,33 +46,33 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/js-cookie": "3.0.6",
|
||||
"@types/lodash-es": "4.17.11",
|
||||
"@types/node": "20.9.0",
|
||||
"@types/lodash-es": "4.17.12",
|
||||
"@types/node": "20.10.2",
|
||||
"@types/nprogress": "0.2.3",
|
||||
"@types/path-browserify": "1.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "6.10.0",
|
||||
"@typescript-eslint/parser": "6.10.0",
|
||||
"@vitejs/plugin-vue": "4.4.0",
|
||||
"@vitejs/plugin-vue-jsx": "3.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "6.13.1",
|
||||
"@typescript-eslint/parser": "6.13.1",
|
||||
"@vitejs/plugin-vue": "4.5.1",
|
||||
"@vitejs/plugin-vue-jsx": "3.1.0",
|
||||
"@vue/eslint-config-prettier": "8.0.0",
|
||||
"@vue/eslint-config-typescript": "12.0.0",
|
||||
"@vue/test-utils": "2.4.1",
|
||||
"eslint": "8.53.0",
|
||||
"@vue/test-utils": "2.4.3",
|
||||
"eslint": "8.55.0",
|
||||
"eslint-plugin-prettier": "5.0.1",
|
||||
"eslint-plugin-vue": "9.18.1",
|
||||
"eslint-plugin-vue": "9.19.2",
|
||||
"husky": "8.0.3",
|
||||
"jsdom": "22.1.0",
|
||||
"lint-staged": "15.0.2",
|
||||
"prettier": "3.0.3",
|
||||
"jsdom": "23.0.1",
|
||||
"lint-staged": "15.1.0",
|
||||
"prettier": "3.1.0",
|
||||
"sass": "1.69.5",
|
||||
"typescript": "5.2.2",
|
||||
"unocss": "0.57.2",
|
||||
"vite": "4.5.0",
|
||||
"typescript": "5.3.2",
|
||||
"unocss": "0.57.7",
|
||||
"vite": "5.0.4",
|
||||
"vite-plugin-svg-icons": "2.0.1",
|
||||
"vite-svg-loader": "4.0.0",
|
||||
"vite-svg-loader": "5.1.0",
|
||||
"vitest": "0.34.6",
|
||||
"vue-eslint-parser": "9.3.2",
|
||||
"vue-tsc": "1.8.22"
|
||||
"vue-tsc": "1.8.24"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{vue,js,jsx,ts,tsx}": [
|
||||
|
1651
pnpm-lock.yaml
generated
1651
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,9 @@
|
||||
/** 配置项文档:https://prettier.io/docs/en/configuration.html */
|
||||
module.exports = {
|
||||
/**
|
||||
* 配置项文档:https://prettier.io/docs/en/configuration.html
|
||||
* @type {import("prettier").Config}
|
||||
*/
|
||||
|
||||
export default {
|
||||
/** 每一行的宽度 */
|
||||
printWidth: 120,
|
||||
/** Tab 键的空格数 */
|
||||
|
@ -22,8 +22,6 @@ export default (configEnv: ConfigEnv): UserConfigExport => {
|
||||
}
|
||||
},
|
||||
server: {
|
||||
/** 是否开启 HTTPS */
|
||||
https: false,
|
||||
/** 设置 host: true 才可以使用 Network 的形式,以 IP 访问项目 */
|
||||
host: true, // host: "0.0.0.0"
|
||||
/** 端口号 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user