From 8a3f47d6b81c5d1876f3731ba11f0c160d3a883a Mon Sep 17 00:00:00 2001 From: vben Date: Tue, 1 Jun 2021 21:30:56 +0800 Subject: [PATCH] chore: adjust setting --- .vscode/settings.json | 14 +- build/vite/plugin/index.ts | 8 +- build/vite/plugin/windicss.ts | 12 -- package.json | 22 +-- src/main.ts | 6 +- yarn.lock | 289 +++++++++++++++++----------------- 6 files changed, 168 insertions(+), 183 deletions(-) delete mode 100644 build/vite/plugin/windicss.ts diff --git a/.vscode/settings.json b/.vscode/settings.json index de65cd7a..8dc3d5fd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -102,10 +102,6 @@ // ================ Eslint =================== // =========================================== "eslint.alwaysShowStatus": true, - "eslint.options": { - "plugins": ["html", "vue", "javascript", "jsx", "typescript"], - "extensions": [".js", ".jsx", ".ts", ".tsx", ".vue"] - }, "eslint.validate": [ "javascript", "typescript", @@ -119,7 +115,7 @@ // =========================================== "vetur.experimental.templateInterpolationService": true, "vetur.format.options.tabSize": 2, - "vetur.format.defaultFormatter.html": "js-beautify-html", + "vetur.format.defaultFormatter.html": "prettier", "vetur.format.defaultFormatter.scss": "prettier", "vetur.format.defaultFormatter.css": "prettier", "vetur.format.defaultFormatter.ts": "prettier-tslint", @@ -128,18 +124,10 @@ "vetur.format.defaultFormatterOptions": { "js-beautify-html": { "wrap_attributes": "force-expand-multiline" - }, - "prettier": { - "eslintIntegration": true, - "arrowParens": "always", - "semi": false, - "singleQuote": true } }, "liveServer.settings.donotShowInfoMsg": true, - "terminal.integrated.rendererType": "dom", "telemetry.enableCrashReporter": false, - "telemetry.enableTelemetry": false, "workbench.settings.enableNaturalLanguageSearch": false, "path-intellisense.mappings": { "/@/": "${workspaceRoot}/src" diff --git a/build/vite/plugin/index.ts b/build/vite/plugin/index.ts index 286b07a3..ce4e15fc 100644 --- a/build/vite/plugin/index.ts +++ b/build/vite/plugin/index.ts @@ -4,7 +4,8 @@ import vue from '@vitejs/plugin-vue'; import vueJsx from '@vitejs/plugin-vue-jsx'; import legacy from '@vitejs/plugin-legacy'; -import PurgeIcons from 'vite-plugin-purge-icons'; +import purgeIcons from 'vite-plugin-purge-icons'; +import windiCSS from 'vite-plugin-windicss'; import { configHtmlPlugin } from './html'; import { configPwaConfig } from './pwa'; @@ -14,7 +15,6 @@ import { configStyleImportPlugin } from './styleImport'; import { configVisualizerConfig } from './visualizer'; import { configThemePlugin } from './theme'; import { configImageminPlugin } from './imagemin'; -import { configWindiCssPlugin } from './windicss'; import { configSvgIconsPlugin } from './svgSprite'; import { configHmrPlugin } from './hmr'; @@ -47,13 +47,13 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) { vitePlugins.push(configSvgIconsPlugin(isBuild)); // vite-plugin-windicss - vitePlugins.push(configWindiCssPlugin()); + vitePlugins.push(windiCSS()); // vite-plugin-mock VITE_USE_MOCK && vitePlugins.push(configMockPlugin(isBuild)); // vite-plugin-purge-icons - vitePlugins.push(PurgeIcons()); + vitePlugins.push(purgeIcons()); // vite-plugin-style-import vitePlugins.push(configStyleImportPlugin(isBuild)); diff --git a/build/vite/plugin/windicss.ts b/build/vite/plugin/windicss.ts deleted file mode 100644 index c972c9cc..00000000 --- a/build/vite/plugin/windicss.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { Plugin } from 'vite'; - -import windiCSS from 'vite-plugin-windicss'; - -export function configWindiCssPlugin(): Plugin[] { - return windiCSS({ - safelist: 'no-select', - preflight: { - enableAll: true, - }, - }); -} diff --git a/package.json b/package.json index 1b81c92f..38f095fa 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "bootstrap": "yarn install", "serve": "npm run dev", - "dev": "cross-env --max_old_space_size=4096 vite", + "dev": "vite", "build": "vite build && esno ./build/script/postBuild.ts", "build:no-cache": "yarn clean:cache && npm run build", "report": "cross-env REPORT=true npm run build", @@ -33,8 +33,8 @@ }, "dependencies": { "@iconify/iconify": "^2.0.1", - "@logicflow/core": "^0.4.10", - "@logicflow/extension": "^0.4.10", + "@logicflow/core": "^0.4.11", + "@logicflow/extension": "^0.4.12", "@vueuse/core": "^4.11.2", "@zxcvbn-ts/core": "^0.3.0", "ant-design-vue": "2.1.2", @@ -76,11 +76,11 @@ "@types/qrcode": "^1.4.0", "@types/qs": "^6.9.6", "@types/sortablejs": "^1.10.6", - "@typescript-eslint/eslint-plugin": "^4.25.0", - "@typescript-eslint/parser": "^4.25.0", - "@vitejs/plugin-legacy": "^1.4.0", - "@vitejs/plugin-vue": "^1.2.2", - "@vitejs/plugin-vue-jsx": "^1.1.4", + "@typescript-eslint/eslint-plugin": "^4.26.0", + "@typescript-eslint/parser": "^4.26.0", + "@vitejs/plugin-legacy": "^1.4.1", + "@vitejs/plugin-vue": "^1.2.3", + "@vitejs/plugin-vue-jsx": "^1.1.5", "@vue/compiler-sfc": "3.0.11", "autoprefixer": "^10.2.6", "commitizen": "^4.2.4", @@ -115,15 +115,15 @@ "vite-plugin-compression": "^0.2.5", "vite-plugin-html": "^2.0.7", "vite-plugin-imagemin": "^0.3.2", - "vite-plugin-mock": "^2.7.0-beta.1", + "vite-plugin-mock": "^2.7.0", "vite-plugin-purge-icons": "^0.7.0", "vite-plugin-pwa": "^0.7.3", "vite-plugin-style-import": "^0.10.1", - "vite-plugin-svg-icons": "^0.6.2", + "vite-plugin-svg-icons": "^0.7.0", "vite-plugin-theme": "^0.8.1", "vite-plugin-windicss": "^0.16.7", "vue-eslint-parser": "^7.6.0", - "vue-tsc": "^0.1.6" + "vue-tsc": "^0.1.7" }, "resolutions": { "//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it", diff --git a/src/main.ts b/src/main.ts index 5dc38df5..f8442951 100644 --- a/src/main.ts +++ b/src/main.ts @@ -23,7 +23,7 @@ if (import.meta.env.DEV) { import('ant-design-vue/dist/antd.less'); } -(async () => { +async function bootstrap() { const app = createApp(App); // Configure store @@ -55,4 +55,6 @@ if (import.meta.env.DEV) { await router.isReady(); app.mount('#app', true); -})(); +} + +void bootstrap(); diff --git a/yarn.lock b/yarn.lock index c60a0f24..cf4fec0d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1252,21 +1252,21 @@ "@intlify/runtime" "9.1.6" "@intlify/shared" "9.1.6" -"@logicflow/core@^0.4.10", "@logicflow/core@^0.4.9": - version "0.4.10" - resolved "https://registry.yarnpkg.com/@logicflow/core/-/core-0.4.10.tgz#8da8f94c26722a1038ea7e22db0a12a1ff93cdeb" - integrity sha512-wBvQzCgRPW7jnEyN2I/cw4nf5PYZFxkOOxj7OtMzMAnFP+WFKltAPt4BbJJjo3s8epb7YGq3zghooDjLJmGnZA== +"@logicflow/core@^0.4.11": + version "0.4.11" + resolved "https://registry.yarnpkg.com/@logicflow/core/-/core-0.4.11.tgz#3c617e5cddb47e7052d62fee56ba77ab45b1cd25" + integrity sha512-FlErJRyKw+XzyT0/0hha8Dwsiok9Cri2ZS2/SDmqLdUK6I3rD6LpmVabj8LjYH4IWb0fOYSfgGhY4oWQAKqa9g== dependencies: "@types/mousetrap" "^1.6.4" mousetrap "^1.6.5" preact "^10.4.8" -"@logicflow/extension@^0.4.10": - version "0.4.10" - resolved "https://registry.yarnpkg.com/@logicflow/extension/-/extension-0.4.10.tgz#ce52d1b2880ccd1a6de244dc14764a4024703ef7" - integrity sha512-3tLaSiU4sADrtxKT4JKksMrNUNGMDWo8hWg/C5jS1iPerrsA5gn7cEWd0Yw+HCoQSgndFVGyuYeaVJwBE5Uc8A== +"@logicflow/extension@^0.4.12": + version "0.4.12" + resolved "https://registry.yarnpkg.com/@logicflow/extension/-/extension-0.4.12.tgz#be69e8ebbcffee6bb0f07778f2126ad98f93f64a" + integrity sha512-fD0bXxYIEo1d047A3PXkAVMH6vM5y8AAIfLxnXxdMJGOVLH44iWCO6eNW8bvnoab7aSmhj2MWMgY3op5XVZh1Q== dependencies: - "@logicflow/core" "^0.4.9" + "@logicflow/core" "^0.4.11" ids "^1.0.0" preact "^10.4.8" @@ -1634,9 +1634,9 @@ "@types/through" "*" rxjs "^6.4.0" -"@types/json-schema@^7.0.3": +"@types/json-schema@^7.0.7": version "7.0.7" - resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz#98a993516c859eb0d5c4c8f098317a9ea68db9ad" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.7.tgz#98a993516c859eb0d5c4c8f098317a9ea68db9ad" integrity sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA== "@types/lodash-es@^4.17.4": @@ -1787,80 +1787,80 @@ "@types/unist" "*" "@types/vfile-message" "*" -"@typescript-eslint/eslint-plugin@^4.25.0": - version "4.25.0" - resolved "https://registry.npmjs.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.25.0.tgz#d82657b6ab4caa4c3f888ff923175fadc2f31f2a" - integrity sha512-Qfs3dWkTMKkKwt78xp2O/KZQB8MPS1UQ5D3YW2s6LQWBE1074BE+Rym+b1pXZIX3M3fSvPUDaCvZLKV2ylVYYQ== +"@typescript-eslint/eslint-plugin@^4.26.0": + version "4.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.26.0.tgz#12bbd6ebd5e7fabd32e48e1e60efa1f3554a3242" + integrity sha512-yA7IWp+5Qqf+TLbd8b35ySFOFzUfL7i+4If50EqvjT6w35X8Lv0eBHb6rATeWmucks37w+zV+tWnOXI9JlG6Eg== dependencies: - "@typescript-eslint/experimental-utils" "4.25.0" - "@typescript-eslint/scope-manager" "4.25.0" - debug "^4.1.1" + "@typescript-eslint/experimental-utils" "4.26.0" + "@typescript-eslint/scope-manager" "4.26.0" + debug "^4.3.1" functional-red-black-tree "^1.0.1" - lodash "^4.17.15" - regexpp "^3.0.0" - semver "^7.3.2" - tsutils "^3.17.1" - -"@typescript-eslint/experimental-utils@4.25.0": - version "4.25.0" - resolved "https://registry.npmjs.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.25.0.tgz#b2febcfa715d2c1806fd5f0335193a6cd270df54" - integrity sha512-f0doRE76vq7NEEU0tw+ajv6CrmPelw5wLoaghEHkA2dNLFb3T/zJQqGPQ0OYt5XlZaS13MtnN+GTPCuUVg338w== - dependencies: - "@types/json-schema" "^7.0.3" - "@typescript-eslint/scope-manager" "4.25.0" - "@typescript-eslint/types" "4.25.0" - "@typescript-eslint/typescript-estree" "4.25.0" - eslint-scope "^5.0.0" - eslint-utils "^2.0.0" + lodash "^4.17.21" + regexpp "^3.1.0" + semver "^7.3.5" + tsutils "^3.21.0" + +"@typescript-eslint/experimental-utils@4.26.0": + version "4.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.26.0.tgz#ba7848b3f088659cdf71bce22454795fc55be99a" + integrity sha512-TH2FO2rdDm7AWfAVRB5RSlbUhWxGVuxPNzGT7W65zVfl8H/WeXTk1e69IrcEVsBslrQSTDKQSaJD89hwKrhdkw== + dependencies: + "@types/json-schema" "^7.0.7" + "@typescript-eslint/scope-manager" "4.26.0" + "@typescript-eslint/types" "4.26.0" + "@typescript-eslint/typescript-estree" "4.26.0" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" -"@typescript-eslint/parser@^4.25.0": - version "4.25.0" - resolved "https://registry.npmjs.com/@typescript-eslint/parser/-/parser-4.25.0.tgz#6b2cb6285aa3d55bfb263c650739091b0f19aceb" - integrity sha512-OZFa1SKyEJpAhDx8FcbWyX+vLwh7OEtzoo2iQaeWwxucyfbi0mT4DijbOSsTgPKzGHr6GrF2V5p/CEpUH/VBxg== +"@typescript-eslint/parser@^4.26.0": + version "4.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.26.0.tgz#31b6b732c9454f757b020dab9b6754112aa5eeaf" + integrity sha512-b4jekVJG9FfmjUfmM4VoOItQhPlnt6MPOBUL0AQbiTmm+SSpSdhHYlwayOm4IW9KLI/4/cRKtQCmDl1oE2OlPg== dependencies: - "@typescript-eslint/scope-manager" "4.25.0" - "@typescript-eslint/types" "4.25.0" - "@typescript-eslint/typescript-estree" "4.25.0" - debug "^4.1.1" + "@typescript-eslint/scope-manager" "4.26.0" + "@typescript-eslint/types" "4.26.0" + "@typescript-eslint/typescript-estree" "4.26.0" + debug "^4.3.1" -"@typescript-eslint/scope-manager@4.25.0": - version "4.25.0" - resolved "https://registry.npmjs.com/@typescript-eslint/scope-manager/-/scope-manager-4.25.0.tgz#9d86a5bcc46ef40acd03d85ad4e908e5aab8d4ca" - integrity sha512-2NElKxMb/0rya+NJG1U71BuNnp1TBd1JgzYsldsdA83h/20Tvnf/HrwhiSlNmuq6Vqa0EzidsvkTArwoq+tH6w== +"@typescript-eslint/scope-manager@4.26.0": + version "4.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.26.0.tgz#60d1a71df162404e954b9d1c6343ff3bee496194" + integrity sha512-G6xB6mMo4xVxwMt5lEsNTz3x4qGDt0NSGmTBNBPJxNsrTXJSm21c6raeYroS2OwQsOyIXqKZv266L/Gln1BWqg== dependencies: - "@typescript-eslint/types" "4.25.0" - "@typescript-eslint/visitor-keys" "4.25.0" + "@typescript-eslint/types" "4.26.0" + "@typescript-eslint/visitor-keys" "4.26.0" -"@typescript-eslint/types@4.25.0": - version "4.25.0" - resolved "https://registry.npmjs.com/@typescript-eslint/types/-/types-4.25.0.tgz#0e444a5c5e3c22d7ffa5e16e0e60510b3de5af87" - integrity sha512-+CNINNvl00OkW6wEsi32wU5MhHti2J25TJsJJqgQmJu3B3dYDBcmOxcE5w9cgoM13TrdE/5ND2HoEnBohasxRQ== +"@typescript-eslint/types@4.26.0": + version "4.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.26.0.tgz#7c6732c0414f0a69595f4f846ebe12616243d546" + integrity sha512-rADNgXl1kS/EKnDr3G+m7fB9yeJNnR9kF7xMiXL6mSIWpr3Wg5MhxyfEXy/IlYthsqwBqHOr22boFbf/u6O88A== -"@typescript-eslint/typescript-estree@4.25.0": - version "4.25.0" - resolved "https://registry.npmjs.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.25.0.tgz#942e4e25888736bff5b360d9b0b61e013d0cfa25" - integrity sha512-1B8U07TGNAFMxZbSpF6jqiDs1cVGO0izVkf18Q/SPcUAc9LhHxzvSowXDTvkHMWUVuPpagupaW63gB6ahTXVlg== +"@typescript-eslint/typescript-estree@4.26.0": + version "4.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.26.0.tgz#aea17a40e62dc31c63d5b1bbe9a75783f2ce7109" + integrity sha512-GHUgahPcm9GfBuy3TzdsizCcPjKOAauG9xkz9TR8kOdssz2Iz9jRCSQm6+aVFa23d5NcSpo1GdHGSQKe0tlcbg== dependencies: - "@typescript-eslint/types" "4.25.0" - "@typescript-eslint/visitor-keys" "4.25.0" - debug "^4.1.1" - globby "^11.0.1" + "@typescript-eslint/types" "4.26.0" + "@typescript-eslint/visitor-keys" "4.26.0" + debug "^4.3.1" + globby "^11.0.3" is-glob "^4.0.1" - semver "^7.3.2" - tsutils "^3.17.1" + semver "^7.3.5" + tsutils "^3.21.0" -"@typescript-eslint/visitor-keys@4.25.0": - version "4.25.0" - resolved "https://registry.npmjs.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.25.0.tgz#863e7ed23da4287c5b469b13223255d0fde6aaa7" - integrity sha512-AmkqV9dDJVKP/TcZrbf6s6i1zYXt5Hl8qOLrRDTFfRNae4+LB8A4N3i+FLZPW85zIxRy39BgeWOfMS3HoH5ngg== +"@typescript-eslint/visitor-keys@4.26.0": + version "4.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.26.0.tgz#26d2583169222815be4dcd1da4fe5459bc3bcc23" + integrity sha512-cw4j8lH38V1ycGBbF+aFiLUls9Z0Bw8QschP3mkth50BbWzgFS33ISIgBzUMuQ2IdahoEv/rXstr8Zhlz4B1Zg== dependencies: - "@typescript-eslint/types" "4.25.0" + "@typescript-eslint/types" "4.26.0" eslint-visitor-keys "^2.0.0" -"@vitejs/plugin-legacy@^1.4.0": - version "1.4.0" - resolved "https://registry.npmjs.org/@vitejs/plugin-legacy/-/plugin-legacy-1.4.0.tgz#1cf30419d75e841d3fe31384b84179d69b5b8a3c" - integrity sha512-QcAdw/NkMBjESgyhzOoErQ7O6vAlb81Ij+gsWQqPdf0uwWCWxXgn1eHDGq03bBxl6ZBzfo7hYKYH5hgG6boZrw== +"@vitejs/plugin-legacy@^1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@vitejs/plugin-legacy/-/plugin-legacy-1.4.1.tgz#e9f7030081df0534ebc6d6c0f9f7c90adb9e60a9" + integrity sha512-xfcBaNYpPCFzDjvhvoUYOGh87SNvvJNmrHtRdAe6lmnmSOgMYW+QNOvWwdHFEUpWaWUGtgeyYfcVN024IgBafA== dependencies: "@babel/standalone" "^7.13.12" core-js "^3.8.2" @@ -1868,10 +1868,10 @@ regenerator-runtime "^0.13.7" systemjs "^6.8.3" -"@vitejs/plugin-vue-jsx@^1.1.4": - version "1.1.4" - resolved "https://registry.npmjs.org/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-1.1.4.tgz#3af194202f9ed38a7384f7a7c72f5b66ce863859" - integrity sha512-QomJwH9oF5Ixl000fLK4TjKE4gwnxpArZdcHs6ANrtgsXwxyoib8msz9tNgiP2TiBfg7VdShbaUBYMvm0gPGsA== +"@vitejs/plugin-vue-jsx@^1.1.5": + version "1.1.5" + resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-1.1.5.tgz#e856ef42f59048e59c85f8714dc8397e15f81738" + integrity sha512-YujG7IgbZR8zWGY/hZFxYKrAUdO+9OV4t3pqqQrvbtP/ESwvTY8vb0Zpw1VMO8zLWNGqf8jSbjBaCjN49diplw== dependencies: "@babel/core" "^7.12.10" "@babel/plugin-syntax-import-meta" "^7.10.4" @@ -1880,18 +1880,18 @@ "@vue/babel-plugin-jsx" "^1.0.3" hash-sum "^2.0.0" -"@vitejs/plugin-vue@^1.2.2": - version "1.2.2" - resolved "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-1.2.2.tgz#b0038fc11b9099f4cd01fcbf0ee419adda417b52" - integrity sha512-5BI2WFfs/Z0pAV4S/IQf1oH3bmFYlL5ATMBHgTt1Lf7hAnfpNd5oUAAs6hZPfk3QhvyUQgtk0rJBlabwNFcBJQ== +"@vitejs/plugin-vue@^1.2.3": + version "1.2.3" + resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-1.2.3.tgz#2e8e008b1cc3a6ad1dfbec75743c7ffd9b4872a6" + integrity sha512-LlnLpObkGKZ+b7dcpL4T24l13nPSHLjo+6Oc7MbZiKz5PMAUzADfNJ3EKfYIQ0l0969nxf2jp/9vsfnuJ7h6fw== -"@volar/code-gen@^0.25.4": - version "0.25.4" - resolved "https://registry.npmjs.org/@volar/code-gen/-/code-gen-0.25.4.tgz#f6bf2aa286e650c8dbe11006684ef5cbd6e2c5aa" - integrity sha512-t9uqol/Yx1E+7n6PouHgqfAGUogBznuOYluGTSde3t5g84Ho4CVQ9BKD2ZpI3wgQGlUl5+V0y4crkvRDlwmVfg== +"@volar/code-gen@^0.25.18": + version "0.25.18" + resolved "https://registry.yarnpkg.com/@volar/code-gen/-/code-gen-0.25.18.tgz#7b73f7e813ce7354ec9bce860ba6f9918112ebce" + integrity sha512-v5KG0Zc0J3VLb6h4uoxYuUJ/WrOSiS8/CR7LQ6qnG3f6rp1zfsRDqX5gUK9XjOSWC/Kr6Pn0leBjs+2eyV8atQ== dependencies: - "@volar/shared" "^0.25.4" - "@volar/source-map" "^0.25.4" + "@volar/shared" "^0.25.18" + "@volar/source-map" "^0.25.18" "@volar/html2pug@^0.25.4": version "0.25.4" @@ -1903,27 +1903,27 @@ htmlparser2 "^6.1.0" pug "^3.0.2" -"@volar/shared@^0.25.4": - version "0.25.4" - resolved "https://registry.npmjs.org/@volar/shared/-/shared-0.25.4.tgz#3d4c820a554e6de10d7cfe1dc0fc1eb3782f4313" - integrity sha512-+83lOHY1lzVh2vUrr9lDLUZ7gjyOqe+EQ5MxgQRoZmh2Y5j1pXPebwHqXcBBKyQ5StQ4nW2hJFFLPm0umDabqA== +"@volar/shared@^0.25.18": + version "0.25.18" + resolved "https://registry.yarnpkg.com/@volar/shared/-/shared-0.25.18.tgz#1358fb8d1f3677404063705a7cc085cf4daaa07d" + integrity sha512-bukdpYgWT2AagiqaQBcK8xqOWdYmZJMyW1UT9vuXyq65JKNoyLf+JKKF99w7sfOjwU32v+Hnxc+lBpsdnvyPIg== dependencies: upath "^2.0.1" vscode-languageserver "^7.1.0-next.4" -"@volar/source-map@^0.25.4": - version "0.25.4" - resolved "https://registry.npmjs.org/@volar/source-map/-/source-map-0.25.4.tgz#6ef71dda451c8babc4e5b6c93d399107913c2364" - integrity sha512-5KkEW7HYAryZnuMCtrxkHRmSPSh7MRAn3w95TWNqYjOjq5ZSfMZ45gtWQ35knYveaRoN6dbJkySC9ysEs4CIGA== +"@volar/source-map@^0.25.18": + version "0.25.18" + resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-0.25.18.tgz#6d0f60d50b944eebe151d57647b27a931839a378" + integrity sha512-gI/f17lQpNle4bFPahKVguu4lC16frBlMbPojr2g2XL5U8z2qhykBOuQWIcazKA5iacXpP5xzpyLD+2WwfqVDA== dependencies: - "@volar/shared" "^0.25.4" + "@volar/shared" "^0.25.18" -"@volar/transforms@^0.25.4": - version "0.25.4" - resolved "https://registry.npmjs.org/@volar/transforms/-/transforms-0.25.4.tgz#65045e5ecf1a14fe750f3a7d8d069166aa169ba5" - integrity sha512-sbHSAVgLZ1zUkifvdk0OMV18c73Bu0ijillTyIuTXiIgzmYDCr0Xm6l1bvk7r5JakIYtyHCixaEyexCqRFV8/w== +"@volar/transforms@^0.25.18": + version "0.25.18" + resolved "https://registry.yarnpkg.com/@volar/transforms/-/transforms-0.25.18.tgz#0faa3e07226f7285eda1977614b3841334e0cdff" + integrity sha512-iJMMY5E7x3U59mDCf+NHDY1OHzcMxQ+xEpMzzQT1iDFLfXll0vWgFnauZCWhX6TCh5D6PmW13IIlkOC18HEW/Q== dependencies: - "@volar/shared" "^0.25.4" + "@volar/shared" "^0.25.18" "@vue/babel-helper-vue-transform-on@^1.0.2": version "1.0.2" @@ -4290,13 +4290,20 @@ eslint-scope@^5.0.0, eslint-scope@^5.1.1: esrecurse "^4.3.0" estraverse "^4.1.1" -eslint-utils@^2.0.0, eslint-utils@^2.1.0: +eslint-utils@^2.1.0: version "2.1.0" resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== dependencies: eslint-visitor-keys "^1.1.0" +eslint-utils@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" + integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== + dependencies: + eslint-visitor-keys "^2.0.0" + eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: version "1.3.0" resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" @@ -5236,7 +5243,7 @@ globby@^10.0.0: merge2 "^1.2.3" slash "^3.0.0" -globby@^11.0.1, globby@^11.0.3: +globby@^11.0.3: version "11.0.3" resolved "https://registry.npmjs.org/globby/-/globby-11.0.3.tgz#9b1f0cb523e171dd1ad8c7b2a9fb4b644b9593cb" integrity sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg== @@ -8611,7 +8618,7 @@ regex-not@^1.0.0, regex-not@^1.0.2: extend-shallow "^3.0.2" safe-regex "^1.1.0" -regexpp@^3.0.0, regexpp@^3.1.0: +regexpp@^3.1.0: version "3.1.0" resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q== @@ -8962,7 +8969,7 @@ semver@7.0.0: resolved "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== -semver@7.3.5, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4: +semver@7.3.5, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5: version "7.3.5" resolved "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== @@ -9979,9 +9986,9 @@ tslib@^2.0.3: resolved "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz#fb2c475977e35e241311ede2693cee1ec6698f5c" integrity sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w== -tsutils@^3.17.1: +tsutils@^3.21.0: version "3.21.0" - resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== dependencies: tslib "^1.8.1" @@ -10558,10 +10565,10 @@ vite-plugin-imagemin@^0.3.2: imagemin-svgo "^8.0.0" imagemin-webp "^6.0.0" -vite-plugin-mock@^2.7.0-beta.1: - version "2.7.0-beta.1" - resolved "https://registry.npmjs.org/vite-plugin-mock/-/vite-plugin-mock-2.7.0-beta.1.tgz#6a6b18d6a94e586199de24ea98eba89207feef9f" - integrity sha512-dRt9/pg0iXhybX2BBlxcSOAWmlgcwYQPqeVFPyopDVOIZwpXt2Ps4PbO8wHPQe6l4nKbjbcj0CsXCw1py6xugw== +vite-plugin-mock@^2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/vite-plugin-mock/-/vite-plugin-mock-2.7.0.tgz#21aec0397e29d013c87d765c56d177728d4288b4" + integrity sha512-hB3MbnQlrmqGOigbPB+UsUQ/ZjTisj75FprJ7IDw8pDYQjWmHC7AtmDOHdzpGYPKEEX1mz7UhGJ93LLarPqJNg== dependencies: "@rollup/plugin-node-resolve" "^11.2.1" "@types/mockjs" "^1.0.3" @@ -10605,10 +10612,10 @@ vite-plugin-style-import@^0.10.1: es-module-lexer "^0.4.1" magic-string "^0.25.7" -vite-plugin-svg-icons@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/vite-plugin-svg-icons/-/vite-plugin-svg-icons-0.6.2.tgz#000ce707778dcd6d555a5f5c830de9a766a00fd7" - integrity sha512-NyctAJPkbKEYlAfuCfGLck9l0lx3zXNKcKCuXFle8S1TmCH/Uqgftxm/PyKjyGoj1Jjwh1CkwY3KLu4C2RWMKQ== +vite-plugin-svg-icons@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/vite-plugin-svg-icons/-/vite-plugin-svg-icons-0.7.0.tgz#08271f115affec9cc3cf203a2e23c37e59658fba" + integrity sha512-6Rgyi4luwbVzAYW7bn0X8V6w8pnVuXMkkWljaV7NWXIRoDiEfvXrBbzV61zmpAHaIYVSdhgQltxZDdCDkDT2nA== dependencies: "@types/svgo" "^2.3.0" cors "^2.8.5" @@ -10743,26 +10750,26 @@ vscode-nls@^5.0.0: resolved "https://registry.npmjs.org/vscode-nls/-/vscode-nls-5.0.0.tgz#99f0da0bd9ea7cda44e565a74c54b1f2bc257840" integrity sha512-u0Lw+IYlgbEJFF6/qAqG2d1jQmJl0eyAGJHoAJqr2HT4M2BNuQYSEiSE75f52pXHSJm8AlTjnLLbBFPrdz2hpA== -vscode-pug-languageservice@^0.25.4: - version "0.25.4" - resolved "https://registry.npmjs.org/vscode-pug-languageservice/-/vscode-pug-languageservice-0.25.4.tgz#dd9b5c319765ec6f1ead0037e6aabea5207d3d40" - integrity sha512-0Vf6OpVaWIemDHmvAmpNqFFhwiMS1nhFNR0vz3D9V7WvmyAmjLFfc3bKsxgkEcmmm8tz1paqMiceSrQ+nwpyzw== +vscode-pug-languageservice@^0.25.18: + version "0.25.18" + resolved "https://registry.yarnpkg.com/vscode-pug-languageservice/-/vscode-pug-languageservice-0.25.18.tgz#6cc5a091a99c81aaad4e1666f9265370c0697379" + integrity sha512-+uiUQ82EO/Wb7rxTvvpfPY8g6Mt4xnNOI85lX1ZQTJR5Lk+GlCQP1CS0SO3L4zWNQuVG/d7buv4ENdUEuuBm+A== dependencies: - "@volar/code-gen" "^0.25.4" - "@volar/shared" "^0.25.4" - "@volar/source-map" "^0.25.4" - "@volar/transforms" "^0.25.4" + "@volar/code-gen" "^0.25.18" + "@volar/shared" "^0.25.18" + "@volar/source-map" "^0.25.18" + "@volar/transforms" "^0.25.18" pug-beautify "^0.1.1" pug-lexer "^5.0.1" pug-parser "^6.0.0" vscode-languageserver "^7.1.0-next.4" -vscode-typescript-languageservice@^0.25.12: - version "0.25.12" - resolved "https://registry.npmjs.com/vscode-typescript-languageservice/-/vscode-typescript-languageservice-0.25.12.tgz#ac1a65bc6c1fcc686222e04c7a996458dac7720b" - integrity sha512-e7zSRVESV+BI6K2qrUVBFEFJx+HN0KN2EE1ZK9R/8qjk3FZmYbcPork8jHBMfEJ8ZPDMv6FahnAfWWxes5SZ/w== +vscode-typescript-languageservice@^0.25.18: + version "0.25.18" + resolved "https://registry.yarnpkg.com/vscode-typescript-languageservice/-/vscode-typescript-languageservice-0.25.18.tgz#de25e2e5f4193c30d4c223fe2113bce818fc7356" + integrity sha512-SdiOHaHoA+rKm2FLFNGM3HBdv5gVeITrMik+Flvexq4+4TG3fVbpO0xMkkobrn1RX5jI9DEl4/1PYnJdOOP23w== dependencies: - "@volar/shared" "^0.25.4" + "@volar/shared" "^0.25.18" typescript-vscode-sh-plugin "^0.6.14" upath "^2.0.1" vscode-languageserver "^7.1.0-next.4" @@ -10778,17 +10785,17 @@ vscode-uri@^3.0.2: resolved "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.2.tgz#ecfd1d066cb8ef4c3a208decdbab9a8c23d055d0" integrity sha512-jkjy6pjU1fxUvI51P+gCsxg1u2n8LSt0W6KrCNQceaziKzff74GoWmjVG46KieVzybO1sttPQmYfrwSHey7GUA== -vscode-vue-languageservice@0.25.12: - version "0.25.12" - resolved "https://registry.npmjs.com/vscode-vue-languageservice/-/vscode-vue-languageservice-0.25.12.tgz#b19524fd169d94192e156e7c007667e72febc68f" - integrity sha512-qk1svwVtDmMLUfUA/cbKA2y+i9qJKECpCchZJ3GCWKRDP5hgyVj+fxy4MK56UBJmSRed9eHto+VvmyVF694Gdw== +vscode-vue-languageservice@^0.25.17: + version "0.25.18" + resolved "https://registry.yarnpkg.com/vscode-vue-languageservice/-/vscode-vue-languageservice-0.25.18.tgz#f94e5674d0afcb96dd2aa4afba97378735666191" + integrity sha512-clhqqgiyDqm3pIwq+9l/JvW4BAbwJ8HTU7i5Sl34oYuvlJCx9wjTPjSeAj92EDPecvXLThHMep0XUUePtiePTg== dependencies: "@starptech/prettyhtml" "^0.10.0" - "@volar/code-gen" "^0.25.4" + "@volar/code-gen" "^0.25.18" "@volar/html2pug" "^0.25.4" - "@volar/shared" "^0.25.4" - "@volar/source-map" "^0.25.4" - "@volar/transforms" "^0.25.4" + "@volar/shared" "^0.25.18" + "@volar/source-map" "^0.25.18" + "@volar/transforms" "^0.25.18" "@vue/compiler-dom" "^3.0.11" "@vue/compiler-sfc" "^3.0.11" "@vue/reactivity" "^3.0.11" @@ -10802,8 +10809,8 @@ vscode-vue-languageservice@0.25.12: vscode-json-languageservice "^4.1.4" vscode-languageserver "^7.1.0-next.4" vscode-languageserver-textdocument "^1.0.1" - vscode-pug-languageservice "^0.25.4" - vscode-typescript-languageservice "^0.25.12" + vscode-pug-languageservice "^0.25.18" + vscode-typescript-languageservice "^0.25.18" vue-demi@*: version "0.9.0" @@ -10844,12 +10851,12 @@ vue-router@^4.0.8: dependencies: "@vue/devtools-api" "^6.0.0-beta.10" -vue-tsc@^0.1.6: - version "0.1.6" - resolved "https://registry.npmjs.com/vue-tsc/-/vue-tsc-0.1.6.tgz#7e1bd4e6cc5085d51706f00062331765d3ad640c" - integrity sha512-G30mBWh8Xis71P4GurI4Z0JSAKeJGBWOwFp452EEIxDfDmNVlsS0rIaR5KN/dUUPE+MFWItzQthC291dW2PQ7w== +vue-tsc@^0.1.7: + version "0.1.7" + resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-0.1.7.tgz#ff4e2b0a3302564f0103339ca5a17669801a4796" + integrity sha512-wQfgo8ZAaBN5mo27cRYQUnOsgR6UIp197w1cNlgukzaD3Mj/GEjwAPuZ6hxpIZiPewLRKNp60SpPM78iuexHQg== dependencies: - vscode-vue-languageservice "0.25.12" + vscode-vue-languageservice "^0.25.17" vue-types@^3.0.0, vue-types@^3.0.2: version "3.0.2" -- GitLab