wip: support vite
正在显示
build/script/changelog.ts
deleted
100644 → 0
build/vite/hm.ts
deleted
100644 → 0
build/vite/plugin/gzip.ts
0 → 100644
build/vite/plugin/gzip/compress.ts
deleted
100644 → 0
build/vite/plugin/gzip/index.ts
deleted
100644 → 0
build/vite/plugin/gzip/types.ts
deleted
100644 → 0
build/vite/plugin/importContext.ts
0 → 100644
{ | ||
"name": "vben-admin", | ||
"version": "2.0.0-rc.15", | ||
"version": "2.0.0-rc.16", | ||
"scripts": { | ||
"bootstrap": "yarn install", | ||
"serve": "cross-env vite --mode=development", | ||
"build": "cross-env vite build --mode=production && esno ./build/script/postBuild.ts", | ||
"build:site": "cross-env SITE=true npm run build ", | ||
"serve": "cross-env vite ", | ||
"build": "cross-env vite build && esno ./build/script/postBuild.ts", | ||
"build:no-cache": "yarn clean:cache && npm run build", | ||
"typecheck": "vuedx-typecheck .", | ||
"report": "cross-env REPORT=true npm run build ", | ||
"preview": "npm run build && esno ./build/script/preview.ts", | ||
"preview:dist": "esno ./build/script/preview.ts", | ||
"log": "esno ./build/script/changelog.ts", | ||
"log": "conventional-changelog -p custom-config -i CHANGELOG.md -s -r 0", | ||
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite_opt_cache", | ||
"clean:lib": "npx rimraf node_modules", | ||
"ls-lint": "npx ls-lint", | ||
"lint:eslint": "eslint --fix --ext \"src/**/*.{vue,less,css,scss}\"", | ||
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", | ||
"lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | ||
... | ... | @@ -22,7 +19,7 @@ |
}, | ||
"dependencies": { | ||
"@iconify/iconify": "^2.0.0-rc.5", | ||
"@vueuse/core": "^4.0.2", | ||
"@vueuse/core": "^4.0.5", | ||
"ant-design-vue": "^2.0.0-rc.8", | ||
"apexcharts": "^3.23.1", | ||
"axios": "^0.21.1", | ||
... | ... | @@ -34,26 +31,27 @@ |
"nprogress": "^0.2.0", | ||
"path-to-regexp": "^6.2.0", | ||
"qrcode": "^1.4.4", | ||
"sortablejs": "^1.12.0", | ||
"sortablejs": "^1.13.0", | ||
"vditor": "^3.7.5", | ||
"vue": "^3.0.5", | ||
"vue-i18n": "9.0.0-beta.14", | ||
"vue-i18n": "^9.0.0-rc.1", | ||
"vue-router": "^4.0.2", | ||
"vue-types": "^3.0.1", | ||
"vuex": "^4.0.0-rc.2", | ||
"vuex-module-decorators": "^1.0.1", | ||
"xlsx": "^0.16.9", | ||
"zxcvbn": "^4.4.2" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.12.10", | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@iconify/json": "^1.1.282", | ||
"@iconify/json": "^1.1.283", | ||
"@ls-lint/ls-lint": "^1.9.2", | ||
"@purge-icons/generated": "^0.4.1", | ||
"@purge-icons/generated": "^0.5.0", | ||
"@types/echarts": "^4.9.3", | ||
"@types/fs-extra": "^9.0.6", | ||
"@types/globrex": "^0.1.0", | ||
"@types/http-proxy": "^1.17.4", | ||
"@types/koa-static": "^4.0.1", | ||
"@types/lodash-es": "^4.17.4", | ||
"@types/mockjs": "^1.0.3", | ||
... | ... | @@ -65,10 +63,13 @@ |
"@types/zxcvbn": "^4.4.0", | ||
"@typescript-eslint/eslint-plugin": "^4.12.0", | ||
"@typescript-eslint/parser": "^4.12.0", | ||
"@vitejs/plugin-legacy": "^1.1.0", | ||
"@vitejs/plugin-vue": "^1.0.4", | ||
"@vitejs/plugin-vue-jsx": "^1.0.1", | ||
"@vue/compiler-sfc": "^3.0.5", | ||
"@vuedx/typecheck": "^0.4.1", | ||
"@vuedx/typescript-plugin-vue": "^0.4.1", | ||
"autoprefixer": "^9.8.6", | ||
"autoprefixer": "^10.2.1", | ||
"commitizen": "^4.2.2", | ||
"conventional-changelog-cli": "^2.1.1", | ||
"conventional-changelog-custom-config": "^0.3.1", | ||
... | ... | @@ -82,14 +83,15 @@ |
"esno": "^0.4.0", | ||
"fs-extra": "^9.0.1", | ||
"globrex": "^0.1.2", | ||
"husky": "^4.3.6", | ||
"husky": "^4.3.7", | ||
"koa-static": "^5.0.0", | ||
"less": "^4.0.0", | ||
"lint-staged": "^10.5.3", | ||
"portfinder": "^1.0.28", | ||
"postcss-import": "^12.0.1", | ||
"postcss-import": "^14.0.0", | ||
"prettier": "^2.2.1", | ||
"rimraf": "^3.0.2", | ||
"rollup-plugin-gzip": "^2.5.0", | ||
"rollup-plugin-visualizer": "^4.1.2", | ||
"stylelint": "^13.8.0", | ||
"stylelint-config-prettier": "^8.0.2", | ||
... | ... | @@ -98,11 +100,12 @@ |
"tasksfile": "^5.1.1", | ||
"ts-node": "^9.1.0", | ||
"typescript": "^4.1.3", | ||
"vite": "^1.0.0-rc.13", | ||
"vite-plugin-html": "^1.0.0-beta.2", | ||
"vite-plugin-mock": "^1.0.9", | ||
"vite-plugin-purge-icons": "^0.4.5", | ||
"vite-plugin-pwa": "^0.2.1", | ||
"vite": "^2.0.0-beta.15", | ||
"vite-plugin-html": "^2.0.0-beta.5", | ||
"vite-plugin-import-context": "^1.0.0-rc.1", | ||
"vite-plugin-mock": "^2.0.0-beta.1", | ||
"vite-plugin-purge-icons": "^0.5.0", | ||
"vite-plugin-pwa": "^0.3.2", | ||
"vue-eslint-parser": "^7.3.0", | ||
"yargs": "^16.2.0" | ||
}, | ||
... | ... |
src/layouts/page/index.tsx
deleted
100644 → 0
src/layouts/page/index.vue
0 → 100644
src/locales/getMessage.ts
0 → 100644
src/locales/helper.ts
0 → 100644
src/router/helper/dynamicImport.ts
deleted
100644 → 0
差异被折叠。
点击展开。
差异被折叠。
点击展开。
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
请
注册
或者
登录
后发表评论