-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e195c8
commit 10e68d6
Showing
18 changed files
with
2,253 additions
and
2,301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ dist-ssr | |
*.local | ||
.eslintcache | ||
report.html | ||
vite.config.*.timestamp* | ||
|
||
yarn.lock | ||
npm-debug.log* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v20.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,26 @@ | |
"name": "vue-pure-admin", | ||
"version": "4.5.0", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"dev": "NODE_OPTIONS=--max-old-space-size=4096 vite", | ||
"serve": "pnpm dev", | ||
"build": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build && generate-version-file", | ||
"build:staging": "rimraf dist && vite build --mode staging", | ||
"report": "rimraf dist && vite build", | ||
"preview": "vite preview", | ||
"preview:build": "pnpm build && vite preview", | ||
"typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck", | ||
"svgo": "svgo -f src/assets/svg -o src/assets/svg", | ||
"cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML", | ||
"clean:cache": "rimraf .eslintcache && rimraf node_modules && pnpm install", | ||
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix", | ||
"lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"", | ||
"lint:stylelint": "stylelint --cache --fix \"**/*.{html,vue,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | ||
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint", | ||
"prepare": "husky install", | ||
"preinstall": "npx only-allow pnpm" | ||
}, | ||
"keywords": [ | ||
"vue-pure-admin", | ||
"element-plus", | ||
|
@@ -13,38 +33,19 @@ | |
"vite" | ||
], | ||
"homepage": "https://github.com/pure-admin/vue-pure-admin", | ||
"bugs": { | ||
"url": "https://github.com/pure-admin/vue-pure-admin/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/pure-admin/vue-pure-admin.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/pure-admin/vue-pure-admin/issues" | ||
}, | ||
"license": "MIT", | ||
"author": { | ||
"name": "xiaoxian521", | ||
"email": "[email protected]", | ||
"url": "https://github.com/xiaoxian521" | ||
}, | ||
"scripts": { | ||
"dev": "NODE_OPTIONS=--max-old-space-size=4096 vite", | ||
"serve": "pnpm dev", | ||
"build": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build && generate-version-file", | ||
"build:staging": "rimraf dist && vite build --mode staging", | ||
"report": "rimraf dist && vite build", | ||
"preview": "vite preview", | ||
"preview:build": "pnpm build && vite preview", | ||
"typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck", | ||
"svgo": "svgo -f src/assets/svg -o src/assets/svg", | ||
"cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML", | ||
"clean:cache": "rimraf .eslintcache && rimraf node_modules && pnpm install", | ||
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix", | ||
"lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"", | ||
"lint:stylelint": "stylelint --cache --fix \"**/*.{html,vue,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | ||
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint", | ||
"prepare": "husky install", | ||
"preinstall": "npx only-allow pnpm" | ||
}, | ||
"dependencies": { | ||
"@amap/amap-jsapi-loader": "^1.0.1", | ||
"@howdyjs/mouse-menu": "2.0.9", | ||
|
@@ -53,19 +54,19 @@ | |
"@pureadmin/descriptions": "^1.2.0", | ||
"@pureadmin/table": "^2.3.4", | ||
"@pureadmin/utils": "^1.9.10", | ||
"@vueuse/core": "^10.5.0", | ||
"@vueuse/core": "^10.6.0", | ||
"@vueuse/motion": "^2.0.0", | ||
"@wangeditor/editor": "^5.1.23", | ||
"@wangeditor/editor-for-vue": "^5.1.12", | ||
"@zxcvbn-ts/core": "^3.0.4", | ||
"animate.css": "^4.1.1", | ||
"axios": "^1.6.0", | ||
"axios": "^1.6.1", | ||
"china-area-data": "^5.0.1", | ||
"cropperjs": "^1.6.1", | ||
"dayjs": "^1.11.10", | ||
"echarts": "^5.4.3", | ||
"el-table-infinite-scroll": "^3.0.3", | ||
"element-plus": "^2.4.1", | ||
"element-plus": "^2.4.2", | ||
"intro.js": "^7.2.0", | ||
"js-cookie": "^3.0.5", | ||
"jsbarcode": "^3.11.5", | ||
|
@@ -81,56 +82,57 @@ | |
"qs": "^6.11.2", | ||
"responsive-storage": "^2.2.0", | ||
"sortablejs": "^1.15.0", | ||
"swiper": "^11.0.3", | ||
"swiper": "^11.0.4", | ||
"typeit": "^8.7.1", | ||
"v-contextmenu": "3.0.0", | ||
"v3-infinite-loading": "^1.3.1", | ||
"version-rocket": "^1.7.0", | ||
"vue": "^3.3.7", | ||
"vue-i18n": "^9.6.2", | ||
"version-rocket": "^1.7.1", | ||
"vue": "^3.3.8", | ||
"vue-i18n": "^9.6.5", | ||
"vue-json-pretty": "^2.2.4", | ||
"vue-pdf-embed": "^1.2.1", | ||
"vue-router": "^4.2.5", | ||
"vue-tippy": "^6.3.1", | ||
"vue-types": "^5.1.1", | ||
"vue-virtual-scroller": "2.0.0-beta.8", | ||
"vue-waterfall-plugin-next": "^2.2.4", | ||
"vue-waterfall-plugin-next": "^2.2.6", | ||
"vue3-danmaku": "^1.6.0", | ||
"vuedraggable": "^4.1.0", | ||
"wavesurfer.js": "^7.4.2", | ||
"wavesurfer.js": "^7.4.5", | ||
"xgplayer": "^3.0.9", | ||
"xlsx": "^0.18.5" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.7.2", | ||
"@commitlint/config-conventional": "^17.7.0", | ||
"@commitlint/cli": "^18.2.0", | ||
"@commitlint/config-conventional": "^18.1.0", | ||
"@faker-js/faker": "^8.2.0", | ||
"@iconify-icons/ep": "^1.2.12", | ||
"@iconify-icons/ri": "^1.2.10", | ||
"@iconify/vue": "^4.1.1", | ||
"@intlify/unplugin-vue-i18n": "^1.4.0", | ||
"@intlify/unplugin-vue-i18n": "^1.5.0", | ||
"@pureadmin/theme": "^3.2.0", | ||
"@types/intro.js": "^5.1.2", | ||
"@types/js-cookie": "^3.0.4", | ||
"@types/node": "^20.8.2", | ||
"@types/intro.js": "^5.1.4", | ||
"@types/js-cookie": "^3.0.6", | ||
"@types/node": "^20.9.0", | ||
"@types/nprogress": "0.2.0", | ||
"@types/qrcode": "^1.5.2", | ||
"@types/qs": "^6.9.8", | ||
"@types/sortablejs": "^1.15.3", | ||
"@typescript-eslint/eslint-plugin": "^6.7.4", | ||
"@typescript-eslint/parser": "^6.7.4", | ||
"@vitejs/plugin-vue": "^4.4.0", | ||
"@types/qrcode": "^1.5.5", | ||
"@types/qs": "^6.9.10", | ||
"@types/sortablejs": "^1.15.5", | ||
"@typescript-eslint/eslint-plugin": "^6.10.0", | ||
"@typescript-eslint/parser": "^6.10.0", | ||
"@vitejs/plugin-vue": "^4.4.1", | ||
"@vitejs/plugin-vue-jsx": "^3.0.2", | ||
"@vue/eslint-config-prettier": "^8.0.0", | ||
"@vue/eslint-config-typescript": "^12.0.0", | ||
"autoprefixer": "^10.4.16", | ||
"cloc": "^2.11.0", | ||
"cssnano": "^6.0.1", | ||
"eslint": "^8.50.0", | ||
"eslint-plugin-prettier": "^5.0.0", | ||
"eslint": "^8.53.0", | ||
"eslint-define-config": "^1.24.1", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"eslint-plugin-vue": "^9.18.1", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^14.0.1", | ||
"lint-staged": "^15.0.2", | ||
"picocolors": "^1.0.0", | ||
"postcss": "^8.4.31", | ||
"postcss-html": "^1.5.0", | ||
|
@@ -139,24 +141,23 @@ | |
"prettier": "^3.0.3", | ||
"rimraf": "^5.0.5", | ||
"rollup-plugin-visualizer": "^5.9.2", | ||
"sass": "^1.69.0", | ||
"sass": "^1.69.5", | ||
"sass-loader": "^13.3.2", | ||
"stylelint": "^15.10.3", | ||
"stylelint": "^15.11.0", | ||
"stylelint-config-html": "^1.1.0", | ||
"stylelint-config-recess-order": "^4.3.0", | ||
"stylelint-config-recommended": "^13.0.0", | ||
"stylelint-config-recommended-scss": "^13.0.0", | ||
"stylelint-config-recommended-scss": "^13.1.0", | ||
"stylelint-config-recommended-vue": "^1.5.0", | ||
"stylelint-config-standard": "^34.0.0", | ||
"stylelint-config-standard-scss": "^11.0.0", | ||
"stylelint-config-standard-scss": "^11.1.0", | ||
"stylelint-order": "^6.0.3", | ||
"stylelint-prettier": "^4.0.2", | ||
"stylelint-scss": "^5.2.1", | ||
"svgo": "^3.0.2", | ||
"stylelint-scss": "^5.3.1", | ||
"svgo": "^3.0.3", | ||
"tailwindcss": "^3.3.5", | ||
"terser": "^5.24.0", | ||
"typescript": "^5.2.2", | ||
"vite": "^4.5.0", | ||
"vite": "5.0.0-beta.17", | ||
"vite-plugin-cdn-import": "^0.3.5", | ||
"vite-plugin-compression": "^0.5.1", | ||
"vite-plugin-fake-server": "^2.0.0", | ||
|
@@ -165,6 +166,11 @@ | |
"vue-eslint-parser": "^9.3.2", | ||
"vue-tsc": "^1.8.22" | ||
}, | ||
"engines": { | ||
"node": "^18.0.0 || >=20.0.0", | ||
"pnpm": ">=8.6.10" | ||
}, | ||
"packageManager": "[email protected]", | ||
"pnpm": { | ||
"peerDependencyRules": { | ||
"ignoreMissing": [ | ||
|
Oops, something went wrong.
10e68d6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
推荐使用
node V18.18.2
或node V20 LTS
或node V21
以及pnpm V8.6.10
版本或pnpm最新版
来运行本平台(当然这些版本不是固定的,可以随着官方推荐的长期维护版本自行安装)点击查看更多细节
10e68d6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
通过在 discord vite频道 询问得知
"vite": "5.0.0-beta.17"
类似于RC
准正式版本,基本不会有break change
平台才决定合并该功能到主分支
从性能来讲,这次
vite5
最大的两个亮点:server.warmup.clientFiles
配置可使页面首次加载变快数倍hmr
变快数倍