Commit f2442280f6a3db3a0df425c561823b6f998cabd8

Authored by vben
1 parent 43503d59

chore: update deps

package.json
... ... @@ -46,7 +46,7 @@
46 46 "devDependencies": {
47 47 "@commitlint/cli": "^11.0.0",
48 48 "@commitlint/config-conventional": "^11.0.0",
49   - "@iconify/json": "^1.1.289",
  49 + "@iconify/json": "^1.1.290",
50 50 "@ls-lint/ls-lint": "^1.9.2",
51 51 "@purge-icons/generated": "^0.5.2",
52 52 "@types/echarts": "^4.9.3",
... ... @@ -64,7 +64,7 @@
64 64 "@typescript-eslint/eslint-plugin": "^4.14.0",
65 65 "@typescript-eslint/parser": "^4.14.0",
66 66 "@vitejs/plugin-legacy": "^1.2.1",
67   - "@vitejs/plugin-vue": "^1.1.0",
  67 + "@vitejs/plugin-vue": "^1.1.1",
68 68 "@vitejs/plugin-vue-jsx": "^1.0.2",
69 69 "@vue/compiler-sfc": "^3.0.5",
70 70 "@vuedx/typecheck": "^0.6.0",
... ... @@ -98,7 +98,7 @@
98 98 "stylelint-order": "^4.1.0",
99 99 "ts-node": "^9.1.1",
100 100 "typescript": "^4.1.3",
101   - "vite": "2.0.0-beta.36",
  101 + "vite": "2.0.0-beta.44",
102 102 "vite-plugin-html": "^2.0.0-beta.6",
103 103 "vite-plugin-mock": "^2.0.0-rc.2",
104 104 "vite-plugin-purge-icons": "^0.5.2",
... ...
src/main.ts
... ... @@ -19,6 +19,7 @@ registerGlobComp(app);
19 19  
20 20 // Multilingual configuration
21 21 setupI18n(app);
  22 +
22 23 // Configure routing
23 24 setupRouter(app);
24 25  
... ...
vite.config.ts
... ... @@ -29,6 +29,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
29 29 const isBuild = command === 'build';
30 30  
31 31 return {
  32 + base: VITE_PUBLIC_PATH,
32 33 root,
33 34 alias: {
34 35 '/@/': `${pathResolve('src')}/`,
... ... @@ -41,7 +42,6 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
41 42 },
42 43 },
43 44 build: {
44   - base: VITE_PUBLIC_PATH,
45 45 polyfillDynamicImport: VITE_LEGACY,
46 46 terserOptions: {
47 47 compress: {
... ...
yarn.lock
... ... @@ -1184,10 +1184,10 @@
1184 1184 dependencies:
1185 1185 cross-fetch "^3.0.6"
1186 1186  
1187   -"@iconify/json@^1.1.289":
1188   - version "1.1.289"
1189   - resolved "https://registry.npmjs.org/@iconify/json/-/json-1.1.289.tgz#ae9dac0fc022bfee52c69903e26d02387c0c0afa"
1190   - integrity sha512-KZBT4ypgNiCHzfUxqutisZGU3Bs14xX+/YPAGY6yt0/xTld+CB8W5w8mZMdPfjZHsdygYnR1iHNEJfAuR9BkKg==
  1187 +"@iconify/json@^1.1.290":
  1188 + version "1.1.290"
  1189 + resolved "https://registry.npmjs.org/@iconify/json/-/json-1.1.290.tgz#14a568464f7d21fe644540aba29f3fa52a9c4080"
  1190 + integrity sha512-CZkFvzNvAk56No7gWldVCDrh+tz8zmCA0bBH0UDf4APVFwxofR/Ri7vPWB1Lj9fTiMlavYYGkz0oTIWYTH+CyQ==
1191 1191  
1192 1192 "@intlify/core-base@9.0.0-beta.16":
1193 1193 version "9.0.0-beta.16"
... ... @@ -1840,10 +1840,10 @@
1840 1840 "@vue/babel-plugin-jsx" "^1.0.1"
1841 1841 hash-sum "^2.0.0"
1842 1842  
1843   -"@vitejs/plugin-vue@^1.1.0":
1844   - version "1.1.0"
1845   - resolved "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-1.1.0.tgz#8ae0b11388897b07259c9e5198c0e3fb5e4b37d9"
1846   - integrity sha512-ExlAt3nb3PB31jV9AgRZSMoGd+aQRU53fc/seghV8/l0JCzaX2mqlgpG8iytWkRxbBPgtAx4TpCPdiVKnTFT/A==
  1843 +"@vitejs/plugin-vue@^1.1.1":
  1844 + version "1.1.1"
  1845 + resolved "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-1.1.1.tgz#6eccd9aa0a2c3365048bf82b9fee437e995ae15d"
  1846 + integrity sha512-Oia369l4L4Wd6hW0paQ1OUsPbGHd85KQllismua65C45xMu40og5lzGreSuGEtW+6yB0I5FyLrC7tk5yCucHwA==
1847 1847  
1848 1848 "@vue/babel-helper-vue-transform-on@^1.0.0":
1849 1849 version "1.0.0"
... ... @@ -3121,11 +3121,6 @@ conventional-changelog-core@^4.2.1:
3121 3121 shelljs "^0.8.3"
3122 3122 through2 "^4.0.0"
3123 3123  
3124   -conventional-changelog-custom-config@^0.3.1:
3125   - version "0.3.1"
3126   - resolved "https://registry.npmjs.org/conventional-changelog-custom-config/-/conventional-changelog-custom-config-0.3.1.tgz#4a6433138d602a2b7ecc81729feb6fa1855bff7b"
3127   - integrity sha512-d4Lre8VZll1SVRmpoUe/LSj8Ge8QOt7u8MQyGz8vu/H/KiWf5rvdYkBo5z268QvkUrF43eI64QxVcqd9XOLsew==
3128   -
3129 3124 conventional-changelog-ember@^2.0.9:
3130 3125 version "2.0.9"
3131 3126 resolved "https://registry.npmjs.org/conventional-changelog-ember/-/conventional-changelog-ember-2.0.9.tgz#619b37ec708be9e74a220f4dcf79212ae1c92962"
... ... @@ -3736,16 +3731,16 @@ esbuild-register@^1.2.1:
3736 3731 source-map-support "^0.5.19"
3737 3732 strip-json-comments "^3.1.1"
3738 3733  
3739   -esbuild@^0.8.26:
3740   - version "0.8.31"
3741   - resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.8.31.tgz#c21e7adb3ad283c951a53de7ad64a5ae2df2ed34"
3742   - integrity sha512-7EIU0VdUxltwivjVezX3HgeNzeIVR1snkrAo57WdUnuBMykdzin5rTrxwCDM6xQqj0RL/HjOEm3wFr2ijHKeaA==
3743   -
3744 3734 esbuild@^0.8.29:
3745 3735 version "0.8.30"
3746 3736 resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.8.30.tgz#3d057ff9ffe6d5d30bccb0afe8cc92a2e69622d3"
3747 3737 integrity sha512-gCJQYUMO9QNrfpNOIiCnFoX41nWiPFCvURBQF+qWckyJ7gmw2xCShdKCXvS+RZcQ5krcxEOLIkzujqclePKhfw==
3748 3738  
  3739 +esbuild@^0.8.34:
  3740 + version "0.8.34"
  3741 + resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.8.34.tgz#16b4ac58f74c821d2c5a8c2f0585ca96a38ab4e6"
  3742 + integrity sha512-tnr0V1ooakYr1aRLXQLzCn2GVG1kBTW3FWpRyC+NgrR3ntsouVpJOlTOV0BS4YLATx3/c+x3h/uBq9lWJlUAtQ==
  3743 +
3749 3744 escalade@^3.1.1:
3750 3745 version "3.1.1"
3751 3746 resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
... ... @@ -8368,12 +8363,12 @@ vite-plugin-style-import@^0.4.6:
8368 8363 "@rollup/pluginutils" "^4.1.0"
8369 8364 change-case "^4.1.2"
8370 8365  
8371   -vite@2.0.0-beta.36:
8372   - version "2.0.0-beta.36"
8373   - resolved "https://registry.npmjs.org/vite/-/vite-2.0.0-beta.36.tgz#ccecac854ded0b7c0fe14c52c0460e1c23a9c70b"
8374   - integrity sha512-+Q/Twq1/tpNQIZl0HSFTqiEuP7lXj+6H/f9q63+s5I2K/sqgSUajL3PL7W9uUUIv9dYpJ1eLqkO42ppH9w9Ldw==
  8366 +vite@2.0.0-beta.44:
  8367 + version "2.0.0-beta.44"
  8368 + resolved "https://registry.npmjs.org/vite/-/vite-2.0.0-beta.44.tgz#df3846160066a121d85dbc8ec11c9fa9a71347f2"
  8369 + integrity sha512-NTzmP7HEKDg3J5r3I22f87jK3ugPVEU81BQ8hWn3hNWU0msCziUlj7aHwItSUEbQA+ymqO3TBO2fN7Aa+OKckQ==
8375 8370 dependencies:
8376   - esbuild "^0.8.26"
  8371 + esbuild "^0.8.34"
8377 8372 postcss "^8.2.1"
8378 8373 resolve "^1.19.0"
8379 8374 rollup "^2.35.1"
... ... @@ -8396,9 +8391,9 @@ vscode-web-custom-data@^0.3.2:
8396 8391 integrity sha512-GGZ99dJbARyh6rv03dXZImGlP5WvNG382A3nIt0yX1uyqBa558L/klHWcgEJzcVkG4t16OQWwPedMR3JkeD2Qg==
8397 8392  
8398 8393 vue-demi@latest:
8399   - version "0.4.5"
8400   - resolved "https://registry.npmjs.org/vue-demi/-/vue-demi-0.4.5.tgz#ea422a4468cb6321a746826a368a770607f87791"
8401   - integrity sha512-51xf1B6hV2PfjnzYHO/yUForFCRQ49KS8ngQb5T6l1HDEmfghTFtsxtRa5tbx4eqQsH76ll/0gIxuf1gei0ubw==
  8394 + version "0.6.0"
  8395 + resolved "https://registry.npmjs.org/vue-demi/-/vue-demi-0.6.0.tgz#e314282f704cb449119b9fd002cbbc0e39f591fe"
  8396 + integrity sha512-8GEJa0mHJpYJeGeq5fD1pJct2kfdl30PHfmL1NaJ97mgKPyKojlIRt/3inGBK4Y0ylCI6T5vOo3chwpqDOq/Hw==
8402 8397  
8403 8398 vue-eslint-parser@^7.4.1:
8404 8399 version "7.4.1"
... ...