Skip to content

Commit

Permalink
chore: 同步完整版代码
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Jul 3, 2024
1 parent c6b0aa2 commit c0f3dcb
Show file tree
Hide file tree
Showing 7 changed files with 1,021 additions and 830 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.13.1
v20.15.0
12 changes: 12 additions & 0 deletions build/plugins.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { cdn } from "./cdn";
import vue from "@vitejs/plugin-vue";
import { pathResolve } from "./utils";
import { viteBuildInfo } from "./info";
import svgLoader from "vite-svg-loader";
import type { PluginOption } from "vite";
import checker from "vite-plugin-checker";
import vueJsx from "@vitejs/plugin-vue-jsx";
import Inspector from "vite-plugin-vue-inspector";
import { configCompressPlugin } from "./compress";
Expand All @@ -22,6 +24,16 @@ export function getPluginsList(
vue(),
// jsx、tsx语法支持
vueJsx(),
checker({
typescript: true,
vueTsc: true,
eslint: {
lintCommand: `eslint ${pathResolve("../{src,mock,build}/**/*.{vue,js,ts,tsx}")}`,
useFlatConfig: true
},
terminal: false,
enableBuild: false
}),
// 按下Command(⌘)+Shift(⇧),然后点击页面元素会自动打开本地IDE并跳转到对应的代码位置
Inspector(),
viteBuildInfo(),
Expand Down
39 changes: 20 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,80 +56,81 @@
"animate.css": "^4.1.1",
"axios": "^1.7.2",
"dayjs": "^1.11.11",
"echarts": "^5.5.0",
"element-plus": "^2.7.5",
"echarts": "^5.5.1",
"element-plus": "^2.7.6",
"js-cookie": "^3.0.5",
"localforage": "^1.10.0",
"mitt": "^3.0.1",
"nprogress": "^0.2.0",
"path": "^0.12.7",
"pinia": "^2.1.7",
"pinyin-pro": "^3.22.0",
"qs": "^6.12.1",
"pinyin-pro": "^3.23.0",
"qs": "^6.12.2",
"responsive-storage": "^2.2.0",
"sortablejs": "^1.15.2",
"vue": "^3.4.27",
"vue-router": "^4.3.3",
"vue-tippy": "^6.4.1",
"vue": "^3.4.31",
"vue-router": "^4.4.0",
"vue-tippy": "^6.4.4",
"vue-types": "^5.1.2"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/types": "^19.0.3",
"@eslint/js": "^9.4.0",
"@eslint/js": "^9.6.0",
"@faker-js/faker": "^8.4.1",
"@iconify-icons/ep": "^1.2.12",
"@iconify-icons/ri": "^1.2.10",
"@iconify/vue": "^4.1.2",
"@pureadmin/theme": "^3.2.0",
"@types/gradient-string": "^1.1.6",
"@types/js-cookie": "^3.0.6",
"@types/node": "^20.14.2",
"@types/node": "^20.14.9",
"@types/nprogress": "^0.2.3",
"@types/qs": "^6.9.15",
"@types/sortablejs": "^1.15.8",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-vue": "^5.0.5",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"autoprefixer": "^10.4.19",
"boxen": "^7.1.1",
"cssnano": "^7.0.2",
"eslint": "^9.4.0",
"cssnano": "^7.0.3",
"eslint": "^9.6.0",
"eslint-config-prettier": "^9.1.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.26.0",
"eslint-plugin-vue": "^9.27.0",
"gradient-string": "^2.0.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"postcss": "^8.4.38",
"postcss": "^8.4.39",
"postcss-html": "^1.7.0",
"postcss-import": "^16.1.0",
"postcss-scss": "^4.0.9",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.5",
"sass": "^1.77.6",
"stylelint": "^16.6.1",
"stylelint-config-recess-order": "^5.0.1",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-prettier": "^5.0.0",
"svgo": "^3.3.2",
"tailwindcss": "^3.4.4",
"typescript": "^5.4.5",
"vite": "^5.3.0",
"typescript": "^5.5.3",
"vite": "^5.3.2",
"vite-plugin-cdn-import": "^1.0.1",
"vite-plugin-checker": "^0.7.0",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-fake-server": "^2.1.1",
"vite-plugin-remove-console": "^2.2.0",
"vite-plugin-router-warn": "^1.0.0",
"vite-plugin-vue-inspector": "^5.1.2",
"vite-svg-loader": "^5.1.0",
"vue-eslint-parser": "^9.4.3",
"vue-tsc": "^1.8.27"
"vue-tsc": "^2.0.24"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0",
Expand Down
Loading

0 comments on commit c0f3dcb

Please sign in to comment.