feat: 添加 preview 环境配置及 CI、版本号 tip、依赖升级
正在显示
.env.preview
0 → 100644
... | @@ -26,6 +26,7 @@ | ... | @@ -26,6 +26,7 @@ |
"dev": "vite", | "dev": "vite", | ||
"build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts", | "build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts", | ||
"build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts", | "build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts", | ||
"build:preview": "cross-env vite build --mode preview && esno ./build/script/postBuild.ts", | |||
"build:no-cache": "pnpm clean:cache && npm run build", | "build:no-cache": "pnpm clean:cache && npm run build", | ||
"report": "cross-env REPORT=true npm run build", | "report": "cross-env REPORT=true npm run build", | ||
"type:check": "vue-tsc --noEmit --skipLibCheck", | "type:check": "vue-tsc --noEmit --skipLibCheck", | ||
... | @@ -55,28 +56,28 @@ | ... | @@ -55,28 +56,28 @@ |
"@ant-design/colors": "^6.0.0", | "@ant-design/colors": "^6.0.0", | ||
"@ant-design/icons-vue": "^6.1.0", | "@ant-design/icons-vue": "^6.1.0", | ||
"@iconify/iconify": "^2.2.1", | "@iconify/iconify": "^2.2.1", | ||
"@logicflow/core": "^1.1.21", | "@logicflow/core": "^1.1.22", | ||
"@logicflow/extension": "^1.1.21", | "@logicflow/extension": "^1.1.22", | ||
"@vue/runtime-core": "^3.2.37", | "@vue/runtime-core": "^3.2.37", | ||
"@vue/shared": "^3.2.37", | "@vue/shared": "^3.2.37", | ||
"@vueuse/core": "^8.7.5", | "@vueuse/core": "^8.9.4", | ||
"@vueuse/shared": "^8.7.5", | "@vueuse/shared": "^8.9.4", | ||
"@zxcvbn-ts/core": "^2.0.1", | "@zxcvbn-ts/core": "^2.0.3", | ||
"ant-design-vue": "^3.2.9", | "ant-design-vue": "^3.2.10", | ||
"axios": "^0.26.1", | "axios": "^0.26.1", | ||
"codemirror": "^5.65.6", | "codemirror": "^5.65.7", | ||
"cropperjs": "^1.5.12", | "cropperjs": "^1.5.12", | ||
"crypto-js": "^4.1.1", | "crypto-js": "^4.1.1", | ||
"dayjs": "^1.11.3", | "dayjs": "^1.11.4", | ||
"echarts": "^5.3.3", | "echarts": "^5.3.3", | ||
"intro.js": "^5.1.0", | "intro.js": "^5.1.0", | ||
"lodash-es": "^4.17.21", | "lodash-es": "^4.17.21", | ||
"mockjs": "^1.1.0", | "mockjs": "^1.1.0", | ||
"nprogress": "^0.2.0", | "nprogress": "^0.2.0", | ||
"path-to-regexp": "^6.2.1", | "path-to-regexp": "^6.2.1", | ||
"pinia": "^2.0.14", | "pinia": "^2.0.17", | ||
"print-js": "^1.6.0", | "print-js": "^1.6.0", | ||
"qrcode": "^1.5.0", | "qrcode": "^1.5.1", | ||
"qs": "^6.11.0", | "qs": "^6.11.0", | ||
"resize-observer-polyfill": "^1.5.1", | "resize-observer-polyfill": "^1.5.1", | ||
"showdown": "^2.1.0", | "showdown": "^2.1.0", | ||
... | @@ -84,16 +85,16 @@ | ... | @@ -84,16 +85,16 @@ |
"tinymce": "^5.10.5", | "tinymce": "^5.10.5", | ||
"vditor": "^3.8.15", | "vditor": "^3.8.15", | ||
"vue": "^3.2.37", | "vue": "^3.2.37", | ||
"vue-i18n": "^9.1.10", | "vue-i18n": "^9.2.0", | ||
"vue-json-pretty": "^2.1.1", | "vue-json-pretty": "^2.1.1", | ||
"vue-router": "^4.0.16", | "vue-router": "^4.1.3", | ||
"vue-types": "^4.1.1", | "vue-types": "^4.2.1", | ||
"xlsx": "^0.18.5" | "xlsx": "^0.18.5" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@commitlint/cli": "^17.0.3", | "@commitlint/cli": "^17.0.3", | ||
"@commitlint/config-conventional": "^17.0.3", | "@commitlint/config-conventional": "^17.0.3", | ||
"@iconify/json": "^2.1.72", | "@iconify/json": "^2.1.86", | ||
"@purge-icons/generated": "^0.8.1", | "@purge-icons/generated": "^0.8.1", | ||
"@types/codemirror": "^5.60.5", | "@types/codemirror": "^5.60.5", | ||
"@types/crypto-js": "^4.1.1", | "@types/crypto-js": "^4.1.1", | ||
... | @@ -102,29 +103,29 @@ | ... | @@ -102,29 +103,29 @@ |
"@types/intro.js": "^3.0.2", | "@types/intro.js": "^3.0.2", | ||
"@types/lodash-es": "^4.17.6", | "@types/lodash-es": "^4.17.6", | ||
"@types/mockjs": "^1.0.6", | "@types/mockjs": "^1.0.6", | ||
"@types/node": "^18.0.1", | "@types/node": "^18.6.3", | ||
"@types/nprogress": "^0.2.0", | "@types/nprogress": "^0.2.0", | ||
"@types/qrcode": "^1.4.2", | "@types/qrcode": "^1.4.2", | ||
"@types/qs": "^6.9.7", | "@types/qs": "^6.9.7", | ||
"@types/showdown": "^1.9.4", | "@types/showdown": "^1.9.4", | ||
"@types/sortablejs": "^1.13.0", | "@types/sortablejs": "^1.13.0", | ||
"@typescript-eslint/eslint-plugin": "^5.30.4", | "@typescript-eslint/eslint-plugin": "^5.31.0", | ||
"@typescript-eslint/parser": "^5.30.4", | "@typescript-eslint/parser": "^5.31.0", | ||
"@vitejs/plugin-legacy": "^1.8.2", | "@vitejs/plugin-legacy": "^2.0.0", | ||
"@vitejs/plugin-vue": "^2.3.3", | "@vitejs/plugin-vue": "^3.0.1", | ||
"@vitejs/plugin-vue-jsx": "^1.3.10", | "@vitejs/plugin-vue-jsx": "^1.3.10", | ||
"@vue/compiler-sfc": "3.2.31", | "@vue/compiler-sfc": "3.2.31", | ||
"@vue/test-utils": "^2.0.2", | "@vue/test-utils": "^2.0.2", | ||
"autoprefixer": "^10.4.7", | "autoprefixer": "^10.4.8", | ||
"commitizen": "^4.2.4", | "commitizen": "^4.2.5", | ||
"conventional-changelog-cli": "^2.2.2", | "conventional-changelog-cli": "^2.2.2", | ||
"cross-env": "^7.0.3", | "cross-env": "^7.0.3", | ||
"cz-conventional-changelog": "^3.3.0", | "cz-conventional-changelog": "^3.3.0", | ||
"dotenv": "^16.0.1", | "dotenv": "^16.0.1", | ||
"eslint": "^8.19.0", | "eslint": "^8.21.0", | ||
"eslint-config-prettier": "^8.5.0", | "eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.2.1", | "eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-vue": "^9.1.1", | "eslint-plugin-vue": "^9.3.0", | ||
"esno": "^0.14.1", | "esno": "^0.14.1", | ||
"fs-extra": "^10.1.0", | "fs-extra": "^10.1.0", | ||
"husky": "^7.0.4", | "husky": "^7.0.4", | ||
... | @@ -133,14 +134,14 @@ | ... | @@ -133,14 +134,14 @@ |
"lint-staged": "12.3.7", | "lint-staged": "12.3.7", | ||
"npm-run-all": "^4.1.5", | "npm-run-all": "^4.1.5", | ||
"picocolors": "^1.0.0", | "picocolors": "^1.0.0", | ||
"pont-engine": "^1.3.2", | "pont-engine": "^1.3.3", | ||
"postcss": "^8.4.14", | "postcss": "^8.4.14", | ||
"postcss-html": "^1.4.1", | "postcss-html": "^1.5.0", | ||
"postcss-less": "^6.0.0", | "postcss-less": "^6.0.0", | ||
"prettier": "^2.7.1", | "prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | "rimraf": "^3.0.2", | ||
"rollup": "^2.75.7", | "rollup": "^2.77.2", | ||
"rollup-plugin-visualizer": "^5.6.0", | "rollup-plugin-visualizer": "^5.7.1", | ||
"sort-package-json": "^1.57.0", | "sort-package-json": "^1.57.0", | ||
"stylelint": "^14.9.1", | "stylelint": "^14.9.1", | ||
"stylelint-config-prettier": "^9.0.3", | "stylelint-config-prettier": "^9.0.3", | ||
... | @@ -148,27 +149,28 @@ | ... | @@ -148,27 +149,28 @@ |
"stylelint-config-recommended-vue": "^1.4.0", | "stylelint-config-recommended-vue": "^1.4.0", | ||
"stylelint-config-standard": "^26.0.0", | "stylelint-config-standard": "^26.0.0", | ||
"stylelint-order": "^5.0.0", | "stylelint-order": "^5.0.0", | ||
"ts-node": "^10.8.2", | "terser": "^5.14.2", | ||
"ts-node": "^10.9.1", | |||
"typescript": "^4.7.4", | "typescript": "^4.7.4", | ||
"unplugin-auto-import": "^0.7.2", | "unplugin-auto-import": "^0.10.3", | ||
"vite": "^2.9.13", | "vite": "^3.0.4", | ||
"vite-plugin-compression": "^0.5.1", | "vite-plugin-compression": "^0.5.1", | ||
"vite-plugin-html": "^3.2.0", | "vite-plugin-html": "^3.2.0", | ||
"vite-plugin-mkcert": "^1.7.2", | "vite-plugin-mkcert": "^1.9.0", | ||
"vite-plugin-mock": "^2.9.6", | "vite-plugin-mock": "^2.9.6", | ||
"vite-plugin-optimize-persist": "^0.1.2", | "vite-plugin-optimize-persist": "^0.1.2", | ||
"vite-plugin-package-config": "^0.1.1", | "vite-plugin-package-config": "^0.1.1", | ||
"vite-plugin-purge-icons": "^0.8.1", | "vite-plugin-purge-icons": "^0.8.2", | ||
"vite-plugin-pwa": "^0.12.2", | "vite-plugin-pwa": "^0.12.3", | ||
"vite-plugin-style-import": "^2.0.0", | "vite-plugin-style-import": "^2.0.0", | ||
"vite-plugin-svg-icons": "^2.0.1", | "vite-plugin-svg-icons": "^2.0.1", | ||
"vite-plugin-theme": "^0.8.6", | "vite-plugin-theme": "^0.8.6", | ||
"vite-plugin-vue-setup-extend": "^0.4.0", | "vite-plugin-vue-setup-extend": "^0.4.0", | ||
"vite-plugin-windicss": "^1.8.6", | "vite-plugin-windicss": "^1.8.7", | ||
"vue-eslint-parser": "^9.0.3", | "vue-eslint-parser": "^9.0.3", | ||
"vue-tsc": "^0.38.2" | "vue-tsc": "^0.39.4" | ||
}, | }, | ||
"engines": { | "engines": { | ||
"node": "^12 || >=14" | "node": ">=14" | ||
} | } | ||
} | } |
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
请
注册
或者
登录
后发表评论