From 39fbdfde46a7349470fc94293afd4dd1cff723fa Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Fri, 13 May 2022 21:57:01 +0800 Subject: [PATCH] chore: remove `vite-plugin-vue-inspector` --- README.md | 1 - README.zh-CN.md | 1 - package.json | 1 - pnpm-lock.yaml | 328 ++++++++++++++++++++++++++++++++++++------ src/auto-imports.d.ts | 2 + vite.config.ts | 5 - 6 files changed, 286 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index b808435..a79f5c2 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,6 @@ Mocking up web app with Vitesse(speed)
- [VueUse](https://github.com/antfu/vueuse) - collection of useful composition APIs - [`vite-ssg-sitemap`](https://github.com/jbaubree/vite-ssg-sitemap) - Sitemap generator - [`@vueuse/head`](https://github.com/vueuse/head) - manipulate document head reactively -- [`vite-plugin-vue-inspector`](https://github.com/webfansplz/vite-plugin-vue-inspector) - jump to local IDE source code while click the element of browser automatically ### Coding Style diff --git a/README.zh-CN.md b/README.zh-CN.md index 2185cde..da7cbe7 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -89,7 +89,6 @@ - [VueUse](https://github.com/antfu/vueuse) - 实用的 Composition API 工具合集 - [`vite-ssg-sitemap`](https://github.com/jbaubree/vite-ssg-sitemap) - 站点地图生成器 - [`@vueuse/head`](https://github.com/vueuse/head) - 响应式地操作文档头信息 -- [`vite-plugin-vue-inspector`](https://github.com/webfansplz/vite-plugin-vue-inspector) - 点击页面元素自动跳转到本地IDE对应的 Vue 组件 ### 编码风格 diff --git a/package.json b/package.json index 034dbd8..9ec7676 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,6 @@ "vite-plugin-md": "^0.13.1", "vite-plugin-pages": "^0.23.0", "vite-plugin-pwa": "^0.12.0", - "vite-plugin-vue-inspector": "0.5.7", "vite-plugin-vue-layouts": "^0.6.0", "vite-ssg": "^0.20.0", "vite-ssg-sitemap": "^0.2.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 414bdb4..018b178 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,7 +26,7 @@ specifiers: unocss: ^0.33.2 unplugin-auto-import: ^0.7.1 unplugin-vue-components: ^0.19.5 - vite: ^2.9.8 + vite: 3.0.0-alpha.0 vite-plugin-inspect: ^0.5.0 vite-plugin-md: ^0.13.1 vite-plugin-pages: ^0.23.0 @@ -56,10 +56,10 @@ dependencies: devDependencies: '@antfu/eslint-config': 0.23.0_hcfsmds2fshutdssjqluwm76uu '@iconify-json/carbon': 1.1.4 - '@intlify/vite-plugin-vue-i18n': 4.0.0_vite@2.9.8+vue-i18n@9.1.10 + '@intlify/vite-plugin-vue-i18n': 4.0.0_sh6rlrds4hepvbyjs54vvbo3h4 '@types/markdown-it-link-attributes': 3.0.1 '@types/nprogress': 0.2.0 - '@vitejs/plugin-vue': 2.3.2_vite@2.9.8+vue@3.2.33 + '@vitejs/plugin-vue': 2.3.2_4rlz2jnpm7fk7kedk5wddsd5ry '@vue/test-utils': 2.0.0-rc.21_vue@3.2.33 critters: 0.0.16 cross-env: 7.0.3 @@ -71,17 +71,17 @@ devDependencies: markdown-it-prism: 2.2.4 pnpm: 7.0.1 typescript: 4.6.4 - unocss: 0.33.2_vite@2.9.8 - unplugin-auto-import: 0.7.1_zx3pfbbc5uei3k4c6zdezegtqm - unplugin-vue-components: 0.19.5_vite@2.9.8+vue@3.2.33 - vite: 2.9.8 - vite-plugin-inspect: 0.5.0_vite@2.9.8 - vite-plugin-md: 0.13.1_vite@2.9.8 - vite-plugin-pages: 0.23.0_vite@2.9.8 - vite-plugin-pwa: 0.12.0_vite@2.9.8 - vite-plugin-vue-inspector: 0.5.7_vite@2.9.8 - vite-plugin-vue-layouts: 0.6.0_husqietd6xoepun2tc4v73afle - vite-ssg: 0.20.0_uhne5wm5qpolinapsgjqcugibi + unocss: 0.33.2_vite@3.0.0-alpha.0 + unplugin-auto-import: 0.7.1_cp4ff5hvb4byyekvgm53nm7ogi + unplugin-vue-components: 0.19.5_4rlz2jnpm7fk7kedk5wddsd5ry + vite: 3.0.0-alpha.0 + vite-plugin-inspect: 0.5.0_vite@3.0.0-alpha.0 + vite-plugin-md: 0.13.1_vite@3.0.0-alpha.0 + vite-plugin-pages: 0.23.0_vite@3.0.0-alpha.0 + vite-plugin-pwa: 0.12.0_vite@3.0.0-alpha.0 + vite-plugin-vue-inspector: 0.5.7_vite@3.0.0-alpha.0 + vite-plugin-vue-layouts: 0.6.0_26trqvlgh7cdst5dicjr27pywe + vite-ssg: 0.20.0_55bv4let6cchuxn3uj743ulm5i vite-ssg-sitemap: 0.2.6 vitest: 0.12.4 vue-tsc: 0.34.12_typescript@4.6.4 @@ -1540,7 +1540,7 @@ packages: engines: {node: '>= 12'} dev: true - /@intlify/vite-plugin-vue-i18n/4.0.0_vite@2.9.8+vue-i18n@9.1.10: + /@intlify/vite-plugin-vue-i18n/4.0.0_sh6rlrds4hepvbyjs54vvbo3h4: resolution: {integrity: sha512-bX7WgJAnYAbhmfvMp17TjCzg4e4T68O7iqAcNo6TOS+oHK0kAJAN9AJfEMTdpDrAwURCw0VwZ0kgMFWDbJkY4g==} engines: {node: '>= 12'} peerDependencies: @@ -1559,7 +1559,7 @@ packages: debug: 4.3.4 fast-glob: 3.2.11 source-map: 0.6.1 - vite: 2.9.8 + vite: 3.0.0-alpha.0 vue-i18n: 9.1.10_vue@3.2.33 transitivePeerDependencies: - supports-color @@ -2034,7 +2034,7 @@ packages: '@unocss/core': 0.33.2 dev: true - /@unocss/vite/0.33.2_vite@2.9.8: + /@unocss/vite/0.33.2_vite@3.0.0-alpha.0: resolution: {integrity: sha512-oRt1ejtUEHwGMKXfuXy9BiETkeV27J8miOKrlt+tlg/pm2y0h8113C12J0m15FS3cJhls4eBZs5umPr4J+shDw==} peerDependencies: vite: ^2.9.0 @@ -2046,17 +2046,17 @@ packages: '@unocss/scope': 0.33.2 '@unocss/transformer-directives': 0.33.2 magic-string: 0.26.1 - vite: 2.9.8 + vite: 3.0.0-alpha.0 dev: true - /@vitejs/plugin-vue/2.3.2_vite@2.9.8+vue@3.2.33: + /@vitejs/plugin-vue/2.3.2_4rlz2jnpm7fk7kedk5wddsd5ry: resolution: {integrity: sha512-umyypfSHS4kQLdYAnJHhaASq7FRzNCdvcRoQ3uYGNk1/M4a+hXUd7ysN7BLhCrWH6uBokyCkFeUAaFDzSaaSrQ==} engines: {node: '>=12.0.0'} peerDependencies: vite: ^2.5.10 vue: ^3.2.25 dependencies: - vite: 2.9.8 + vite: 3.0.0-alpha.0 vue: 3.2.33 dev: true @@ -3379,6 +3379,15 @@ packages: dev: true optional: true + /esbuild-android-64/0.14.39: + resolution: {integrity: sha512-EJOu04p9WgZk0UoKTqLId9VnIsotmI/Z98EXrKURGb3LPNunkeffqQIkjS2cAvidh+OK5uVrXaIP229zK6GvhQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + /esbuild-android-arm64/0.14.36: resolution: {integrity: sha512-/hYkyFe7x7Yapmfv4X/tBmyKnggUmdQmlvZ8ZlBnV4+PjisrEhAvC3yWpURuD9XoB8Wa1d5dGkTsF53pIvpjsg==} engines: {node: '>=12'} @@ -3388,6 +3397,15 @@ packages: dev: true optional: true + /esbuild-android-arm64/0.14.39: + resolution: {integrity: sha512-+twajJqO7n3MrCz9e+2lVOnFplRsaGRwsq1KL/uOy7xK7QdRSprRQcObGDeDZUZsacD5gUkk6OiHiYp6RzU3CA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /esbuild-darwin-64/0.14.36: resolution: {integrity: sha512-kkl6qmV0dTpyIMKagluzYqlc1vO0ecgpviK/7jwPbRDEv5fejRTaBBEE2KxEQbTHcLhiiDbhG7d5UybZWo/1zQ==} engines: {node: '>=12'} @@ -3397,6 +3415,15 @@ packages: dev: true optional: true + /esbuild-darwin-64/0.14.39: + resolution: {integrity: sha512-ImT6eUw3kcGcHoUxEcdBpi6LfTRWaV6+qf32iYYAfwOeV+XaQ/Xp5XQIBiijLeo+LpGci9M0FVec09nUw41a5g==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /esbuild-darwin-arm64/0.14.36: resolution: {integrity: sha512-q8fY4r2Sx6P0Pr3VUm//eFYKVk07C5MHcEinU1BjyFnuYz4IxR/03uBbDwluR6ILIHnZTE7AkTUWIdidRi1Jjw==} engines: {node: '>=12'} @@ -3406,6 +3433,15 @@ packages: dev: true optional: true + /esbuild-darwin-arm64/0.14.39: + resolution: {integrity: sha512-/fcQ5UhE05OiT+bW5v7/up1bDsnvaRZPJxXwzXsMRrr7rZqPa85vayrD723oWMT64dhrgWeA3FIneF8yER0XTw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /esbuild-freebsd-64/0.14.36: resolution: {integrity: sha512-Hn8AYuxXXRptybPqoMkga4HRFE7/XmhtlQjXFHoAIhKUPPMeJH35GYEUWGbjteai9FLFvBAjEAlwEtSGxnqWww==} engines: {node: '>=12'} @@ -3415,6 +3451,15 @@ packages: dev: true optional: true + /esbuild-freebsd-64/0.14.39: + resolution: {integrity: sha512-oMNH8lJI4wtgN5oxuFP7BQ22vgB/e3Tl5Woehcd6i2r6F3TszpCnNl8wo2d/KvyQ4zvLvCWAlRciumhQg88+kQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /esbuild-freebsd-arm64/0.14.36: resolution: {integrity: sha512-S3C0attylLLRiCcHiJd036eDEMOY32+h8P+jJ3kTcfhJANNjP0TNBNL30TZmEdOSx/820HJFgRrqpNAvTbjnDA==} engines: {node: '>=12'} @@ -3424,6 +3469,15 @@ packages: dev: true optional: true + /esbuild-freebsd-arm64/0.14.39: + resolution: {integrity: sha512-1GHK7kwk57ukY2yI4ILWKJXaxfr+8HcM/r/JKCGCPziIVlL+Wi7RbJ2OzMcTKZ1HpvEqCTBT/J6cO4ZEwW4Ypg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-32/0.14.36: resolution: {integrity: sha512-Eh9OkyTrEZn9WGO4xkI3OPPpUX7p/3QYvdG0lL4rfr73Ap2HAr6D9lP59VMF64Ex01LhHSXwIsFG/8AQjh6eNw==} engines: {node: '>=12'} @@ -3433,6 +3487,15 @@ packages: dev: true optional: true + /esbuild-linux-32/0.14.39: + resolution: {integrity: sha512-g97Sbb6g4zfRLIxHgW2pc393DjnkTRMeq3N1rmjDUABxpx8SjocK4jLen+/mq55G46eE2TA0MkJ4R3SpKMu7dg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-64/0.14.36: resolution: {integrity: sha512-vFVFS5ve7PuwlfgoWNyRccGDi2QTNkQo/2k5U5ttVD0jRFaMlc8UQee708fOZA6zTCDy5RWsT5MJw3sl2X6KDg==} engines: {node: '>=12'} @@ -3442,6 +3505,15 @@ packages: dev: true optional: true + /esbuild-linux-64/0.14.39: + resolution: {integrity: sha512-4tcgFDYWdI+UbNMGlua9u1Zhu0N5R6u9tl5WOM8aVnNX143JZoBZLpCuUr5lCKhnD0SCO+5gUyMfupGrHtfggQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-arm/0.14.36: resolution: {integrity: sha512-NhgU4n+NCsYgt7Hy61PCquEz5aevI6VjQvxwBxtxrooXsxt5b2xtOUXYZe04JxqQo+XZk3d1gcr7pbV9MAQ/Lg==} engines: {node: '>=12'} @@ -3451,6 +3523,15 @@ packages: dev: true optional: true + /esbuild-linux-arm/0.14.39: + resolution: {integrity: sha512-t0Hn1kWVx5UpCzAJkKRfHeYOLyFnXwYynIkK54/h3tbMweGI7dj400D1k0Vvtj2u1P+JTRT9tx3AjtLEMmfVBQ==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-arm64/0.14.36: resolution: {integrity: sha512-24Vq1M7FdpSmaTYuu1w0Hdhiqkbto1I5Pjyi+4Cdw5fJKGlwQuw+hWynTcRI/cOZxBcBpP21gND7W27gHAiftw==} engines: {node: '>=12'} @@ -3460,6 +3541,15 @@ packages: dev: true optional: true + /esbuild-linux-arm64/0.14.39: + resolution: {integrity: sha512-23pc8MlD2D6Px1mV8GMglZlKgwgNKAO8gsgsLLcXWSs9lQsCYkIlMo/2Ycfo5JrDIbLdwgP8D2vpfH2KcBqrDQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-mips64le/0.14.36: resolution: {integrity: sha512-hZUeTXvppJN+5rEz2EjsOFM9F1bZt7/d2FUM1lmQo//rXh1RTFYzhC0txn7WV0/jCC7SvrGRaRz0NMsRPf8SIA==} engines: {node: '>=12'} @@ -3469,6 +3559,15 @@ packages: dev: true optional: true + /esbuild-linux-mips64le/0.14.39: + resolution: {integrity: sha512-epwlYgVdbmkuRr5n4es3B+yDI0I2e/nxhKejT9H0OLxFAlMkeQZxSpxATpDc9m8NqRci6Kwyb/SfmD1koG2Zuw==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-ppc64le/0.14.36: resolution: {integrity: sha512-1Bg3QgzZjO+QtPhP9VeIBhAduHEc2kzU43MzBnMwpLSZ890azr4/A9Dganun8nsqD/1TBcqhId0z4mFDO8FAvg==} engines: {node: '>=12'} @@ -3478,6 +3577,15 @@ packages: dev: true optional: true + /esbuild-linux-ppc64le/0.14.39: + resolution: {integrity: sha512-W/5ezaq+rQiQBThIjLMNjsuhPHg+ApVAdTz2LvcuesZFMsJoQAW2hutoyg47XxpWi7aEjJGrkS26qCJKhRn3QQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-riscv64/0.14.36: resolution: {integrity: sha512-dOE5pt3cOdqEhaufDRzNCHf5BSwxgygVak9UR7PH7KPVHwSTDAZHDoEjblxLqjJYpc5XaU9+gKJ9F8mp9r5I4A==} engines: {node: '>=12'} @@ -3487,6 +3595,15 @@ packages: dev: true optional: true + /esbuild-linux-riscv64/0.14.39: + resolution: {integrity: sha512-IS48xeokcCTKeQIOke2O0t9t14HPvwnZcy+5baG13Z1wxs9ZrC5ig5ypEQQh4QMKxURD5TpCLHw2W42CLuVZaA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-s390x/0.14.36: resolution: {integrity: sha512-g4FMdh//BBGTfVHjF6MO7Cz8gqRoDPzXWxRvWkJoGroKA18G9m0wddvPbEqcQf5Tbt2vSc1CIgag7cXwTmoTXg==} engines: {node: '>=12'} @@ -3496,6 +3613,15 @@ packages: dev: true optional: true + /esbuild-linux-s390x/0.14.39: + resolution: {integrity: sha512-zEfunpqR8sMomqXhNTFEKDs+ik7HC01m3M60MsEjZOqaywHu5e5682fMsqOlZbesEAAaO9aAtRBsU7CHnSZWyA==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-netbsd-64/0.14.36: resolution: {integrity: sha512-UB2bVImxkWk4vjnP62ehFNZ73lQY1xcnL5ZNYF3x0AG+j8HgdkNF05v67YJdCIuUJpBuTyCK8LORCYo9onSW+A==} engines: {node: '>=12'} @@ -3505,6 +3631,15 @@ packages: dev: true optional: true + /esbuild-netbsd-64/0.14.39: + resolution: {integrity: sha512-Uo2suJBSIlrZCe4E0k75VDIFJWfZy+bOV6ih3T4MVMRJh1lHJ2UyGoaX4bOxomYN3t+IakHPyEoln1+qJ1qYaA==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + /esbuild-node-loader/0.6.5: resolution: {integrity: sha512-uPP+dllWm38cFvDysdocutN3lfe5pTIbddAHp1ENyLzpHYqE2r+3Wo+pfg9X3p8DFWwzIisft5YkeBIthIcixw==} dependencies: @@ -3520,6 +3655,15 @@ packages: dev: true optional: true + /esbuild-openbsd-64/0.14.39: + resolution: {integrity: sha512-secQU+EpgUPpYjJe3OecoeGKVvRMLeKUxSMGHnK+aK5uQM3n1FPXNJzyz1LHFOo0WOyw+uoCxBYdM4O10oaCAA==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + /esbuild-register/3.3.2_esbuild@0.14.36: resolution: {integrity: sha512-jceAtTO6zxPmCfSD5cBb3rgIK1vmuqCKYwgylHiS1BF4pq0jJiJb4K2QMuqF4BEw7XDBRatYzip0upyTzfkgsQ==} peerDependencies: @@ -3537,6 +3681,15 @@ packages: dev: true optional: true + /esbuild-sunos-64/0.14.39: + resolution: {integrity: sha512-qHq0t5gePEDm2nqZLb+35p/qkaXVS7oIe32R0ECh2HOdiXXkj/1uQI9IRogGqKkK+QjDG+DhwiUw7QoHur/Rwg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + /esbuild-windows-32/0.14.36: resolution: {integrity: sha512-bIar+A6hdytJjZrDxfMBUSEHHLfx3ynoEZXx/39nxy86pX/w249WZm8Bm0dtOAByAf4Z6qV0LsnTIJHiIqbw0w==} engines: {node: '>=12'} @@ -3546,6 +3699,15 @@ packages: dev: true optional: true + /esbuild-windows-32/0.14.39: + resolution: {integrity: sha512-XPjwp2OgtEX0JnOlTgT6E5txbRp6Uw54Isorm3CwOtloJazeIWXuiwK0ONJBVb/CGbiCpS7iP2UahGgd2p1x+Q==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild-windows-64/0.14.36: resolution: {integrity: sha512-+p4MuRZekVChAeueT1Y9LGkxrT5x7YYJxYE8ZOTcEfeUUN43vktSn6hUNsvxzzATrSgq5QqRdllkVBxWZg7KqQ==} engines: {node: '>=12'} @@ -3555,6 +3717,15 @@ packages: dev: true optional: true + /esbuild-windows-64/0.14.39: + resolution: {integrity: sha512-E2wm+5FwCcLpKsBHRw28bSYQw0Ikxb7zIMxw3OPAkiaQhLVr3dnVO8DofmbWhhf6b97bWzg37iSZ45ZDpLw7Ow==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild-windows-arm64/0.14.36: resolution: {integrity: sha512-fBB4WlDqV1m18EF/aheGYQkQZHfPHiHJSBYzXIo8yKehek+0BtBwo/4PNwKGJ5T0YK0oc8pBKjgwPbzSrPLb+Q==} engines: {node: '>=12'} @@ -3564,6 +3735,15 @@ packages: dev: true optional: true + /esbuild-windows-arm64/0.14.39: + resolution: {integrity: sha512-sBZQz5D+Gd0EQ09tZRnz/PpVdLwvp/ufMtJ1iDFYddDaPpZXKqPyaxfYBLs3ueiaksQ26GGa7sci0OqFzNs7KA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /esbuild/0.14.36: resolution: {integrity: sha512-HhFHPiRXGYOCRlrhpiVDYKcFJRdO0sBElZ668M4lh2ER0YgnkLxECuFe7uWCf23FrcLc59Pqr7dHkTqmRPDHmw==} engines: {node: '>=12'} @@ -3592,6 +3772,34 @@ packages: esbuild-windows-arm64: 0.14.36 dev: true + /esbuild/0.14.39: + resolution: {integrity: sha512-2kKujuzvRWYtwvNjYDY444LQIA3TyJhJIX3Yo4+qkFlDDtGlSicWgeHVJqMUP/2sSfH10PGwfsj+O2ro1m10xQ==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + esbuild-android-64: 0.14.39 + esbuild-android-arm64: 0.14.39 + esbuild-darwin-64: 0.14.39 + esbuild-darwin-arm64: 0.14.39 + esbuild-freebsd-64: 0.14.39 + esbuild-freebsd-arm64: 0.14.39 + esbuild-linux-32: 0.14.39 + esbuild-linux-64: 0.14.39 + esbuild-linux-arm: 0.14.39 + esbuild-linux-arm64: 0.14.39 + esbuild-linux-mips64le: 0.14.39 + esbuild-linux-ppc64le: 0.14.39 + esbuild-linux-riscv64: 0.14.39 + esbuild-linux-s390x: 0.14.39 + esbuild-netbsd-64: 0.14.39 + esbuild-openbsd-64: 0.14.39 + esbuild-sunos-64: 0.14.39 + esbuild-windows-32: 0.14.39 + esbuild-windows-64: 0.14.39 + esbuild-windows-arm64: 0.14.39 + dev: true + /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} @@ -6225,6 +6433,14 @@ packages: fsevents: 2.3.2 dev: true + /rollup/2.72.1: + resolution: {integrity: sha512-NTc5UGy/NWFGpSqF1lFY8z9Adri6uhyMLI6LvPAXdBKoPRFhIIiBUpt+Qg2awixqO3xvzSijjhnb4+QEZwJmxA==} + engines: {node: '>=10.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 + dev: true + /run-parallel/1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} dependencies: @@ -6918,7 +7134,7 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unocss/0.33.2_vite@2.9.8: + /unocss/0.33.2_vite@3.0.0-alpha.0: resolution: {integrity: sha512-ISGmthl9kNPujda/Yt25irdV9s9F3hr8MWpd/NE7Kv/qkZJC3/FvO/l/9d5ggkbgsAuGQrsfuaQnxT2p4k9Yug==} engines: {node: '>=14'} dependencies: @@ -6935,7 +7151,7 @@ packages: '@unocss/transformer-compile-class': 0.33.2 '@unocss/transformer-directives': 0.33.2 '@unocss/transformer-variant-group': 0.33.2 - '@unocss/vite': 0.33.2_vite@2.9.8 + '@unocss/vite': 0.33.2_vite@3.0.0-alpha.0 transitivePeerDependencies: - supports-color - vite @@ -6946,7 +7162,7 @@ packages: engines: {node: '>= 0.8'} dev: true - /unplugin-auto-import/0.7.1_zx3pfbbc5uei3k4c6zdezegtqm: + /unplugin-auto-import/0.7.1_cp4ff5hvb4byyekvgm53nm7ogi: resolution: {integrity: sha512-9865OV9eP99PNxHR2mtTDExeN01m4M9boT5U2BtIwsU1wDRsaFIYWLwcCBEjvXzXfTTC2NNMskhHGVAMfL2WgA==} engines: {node: '>=14'} peerDependencies: @@ -6961,7 +7177,7 @@ packages: local-pkg: 0.4.1 magic-string: 0.26.1 resolve: 1.22.0 - unplugin: 0.6.2_vite@2.9.8 + unplugin: 0.6.2_vite@3.0.0-alpha.0 transitivePeerDependencies: - esbuild - rollup @@ -6969,7 +7185,7 @@ packages: - webpack dev: true - /unplugin-vue-components/0.19.5_vite@2.9.8+vue@3.2.33: + /unplugin-vue-components/0.19.5_4rlz2jnpm7fk7kedk5wddsd5ry: resolution: {integrity: sha512-cIC+PdQEXmG+B1gmZGk4hws2xP+00C6pg3FD6ixEgRyW+WF+QXQW/60pc+hUhtDYs1PFE+23K3NY7yvYTnDDTA==} engines: {node: '>=14'} peerDependencies: @@ -6991,7 +7207,7 @@ packages: magic-string: 0.26.1 minimatch: 5.0.1 resolve: 1.22.0 - unplugin: 0.6.3_vite@2.9.8 + unplugin: 0.6.3_vite@3.0.0-alpha.0 vue: 3.2.33 transitivePeerDependencies: - esbuild @@ -7001,7 +7217,7 @@ packages: - webpack dev: true - /unplugin/0.6.2_vite@2.9.8: + /unplugin/0.6.2_vite@3.0.0-alpha.0: resolution: {integrity: sha512-+QONc2uBFQbeo4x5mlJHjTKjR6pmuchMpGVrWhwdGFFMb4ttFZ4E9KqhOOrNcm3Q8NNyB1vJ4s5e36IZC7UWYw==} peerDependencies: esbuild: '>=0.13' @@ -7019,12 +7235,12 @@ packages: optional: true dependencies: chokidar: 3.5.3 - vite: 2.9.8 + vite: 3.0.0-alpha.0 webpack-sources: 3.2.3 webpack-virtual-modules: 0.4.3 dev: true - /unplugin/0.6.3_vite@2.9.8: + /unplugin/0.6.3_vite@3.0.0-alpha.0: resolution: {integrity: sha512-CoW88FQfCW/yabVc4bLrjikN9HC8dEvMU4O7B6K2jsYMPK0l6iAnd9dpJwqGcmXJKRCU9vwSsy653qg+RK0G6A==} peerDependencies: esbuild: '>=0.13' @@ -7042,7 +7258,7 @@ packages: optional: true dependencies: chokidar: 3.5.3 - vite: 2.9.8 + vite: 3.0.0-alpha.0 webpack-sources: 3.2.3 webpack-virtual-modules: 0.4.3 dev: true @@ -7106,7 +7322,7 @@ packages: extsprintf: 1.3.0 dev: true - /vite-plugin-inspect/0.5.0_vite@2.9.8: + /vite-plugin-inspect/0.5.0_vite@3.0.0-alpha.0: resolution: {integrity: sha512-eArca+5jrNx1hQL+5s79eT5Xq4VXjJcihJhK8GT/+W2GqefVxFO1WO78RnD0HPI+hKSdEFo+B4z2zeaE8DTvWQ==} engines: {node: '>=14'} peerDependencies: @@ -7117,12 +7333,12 @@ packages: kolorist: 1.5.1 sirv: 2.0.2 ufo: 0.8.3 - vite: 2.9.8 + vite: 3.0.0-alpha.0 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-md/0.13.1_vite@2.9.8: + /vite-plugin-md/0.13.1_vite@3.0.0-alpha.0: resolution: {integrity: sha512-ZLXRuhQCFVCvxTE79CtSOj71TknT7Hube5SN3aU65k7FpsIQ8ftQhMn3PbdVjHUlQRR462IuPsTYbyXHyrOmOQ==} peerDependencies: vite: ^2.0.0 @@ -7133,10 +7349,10 @@ packages: '@vue/runtime-core': 3.2.33 gray-matter: 4.0.3 markdown-it: 13.0.0 - vite: 2.9.8 + vite: 3.0.0-alpha.0 dev: true - /vite-plugin-pages/0.23.0_vite@2.9.8: + /vite-plugin-pages/0.23.0_vite@3.0.0-alpha.0: resolution: {integrity: sha512-KEfW6WBfACCjMXoQY0mLEzfifwCTq6FlvvtXs2XSEe9Pd4QadZTNzHOPKHDsKpVXysRzbYxE8/c/Ao9+nXsQ7w==} peerDependencies: '@vue/compiler-sfc': ^3.0.0 @@ -7152,13 +7368,13 @@ packages: json5: 2.2.1 local-pkg: 0.4.1 picocolors: 1.0.0 - vite: 2.9.8 + vite: 3.0.0-alpha.0 yaml: 2.0.1 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-pwa/0.12.0_vite@2.9.8: + /vite-plugin-pwa/0.12.0_vite@3.0.0-alpha.0: resolution: {integrity: sha512-KYD+cnS5ExLF3T28NkfzBLZ53ehHlp+qMhHGFNh0zlVGpFHrJkL2v9wd4AMi7ZkBTffgeNatIFiv8rhCsMSxBQ==} peerDependencies: vite: ^2.0.0 @@ -7167,7 +7383,7 @@ packages: fast-glob: 3.2.11 pretty-bytes: 6.0.0 rollup: 2.70.2 - vite: 2.9.8 + vite: 3.0.0-alpha.0 workbox-build: 6.5.3 workbox-window: 6.5.3 transitivePeerDependencies: @@ -7175,7 +7391,7 @@ packages: - supports-color dev: true - /vite-plugin-vue-inspector/0.5.7_vite@2.9.8: + /vite-plugin-vue-inspector/0.5.7_vite@3.0.0-alpha.0: resolution: {integrity: sha512-I+Dn3G8mJhOkikbwyU6nBe4h3lrZCfxtCjz1P0NaJ6QalJxcpNZ6BRMasv85QjxHL3AGJaD4tiEOecQzwuJYEA==} peerDependencies: vite: ^2.0.0 @@ -7189,12 +7405,12 @@ packages: esno: 0.14.1 magic-string: 0.26.1 shell-quote: 1.7.3 - vite: 2.9.8 + vite: 3.0.0-alpha.0 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-vue-layouts/0.6.0_husqietd6xoepun2tc4v73afle: + /vite-plugin-vue-layouts/0.6.0_26trqvlgh7cdst5dicjr27pywe: resolution: {integrity: sha512-7QX7o/NpCfs+hyXphwYfmPqAEQ6qd4uXsvI0VsovjGT2eCoEE5dMdP6L+uqqNWY4uqv7oCvtinecZmbzZv/9Rg==} peerDependencies: vite: ^2.5.0 @@ -7204,7 +7420,7 @@ packages: '@vue/compiler-sfc': 3.2.33 debug: 4.3.4 fast-glob: 3.2.11 - vite: 2.9.8 + vite: 3.0.0-alpha.0 vue: 3.2.33 vue-router: 4.0.15_vue@3.2.33 transitivePeerDependencies: @@ -7215,7 +7431,7 @@ packages: resolution: {integrity: sha512-rjb+aXzaw9gb9mqoWaU1mVhwGg3SZKMR8ULraGFSLK9vaeQv52/qHFNmBAZvUiBUmgMQ4RGP2fGomTC+SwknFg==} dev: true - /vite-ssg/0.20.0_uhne5wm5qpolinapsgjqcugibi: + /vite-ssg/0.20.0_55bv4let6cchuxn3uj743ulm5i: resolution: {integrity: sha512-F6B6au8V0aOc9vQ/z875n8AjmGa8vkZGZnuSAidMeJzgEnVYJhIzLL5gUKU336bM9C1GCDJwz5JXmY6YPd3ukg==} engines: {node: '>=14.0.0'} hasBin: true @@ -7238,7 +7454,7 @@ packages: kolorist: 1.5.1 p-queue: 6.6.2 prettier: 2.6.2 - vite: 2.9.8 + vite: 3.0.0-alpha.0 vue: 3.2.33 vue-router: 4.0.15_vue@3.2.33 yargs: 17.4.1 @@ -7273,6 +7489,30 @@ packages: fsevents: 2.3.2 dev: true + /vite/3.0.0-alpha.0: + resolution: {integrity: sha512-0QwYnydVFwl98kt9r3i3sEBaQ8M6uMDJrJNYEE1uUAEXZF/ugyNj+17dEYjty3ZHrOyt3W9dx91B80bIyzviRw==} + engines: {node: '>=14.6.0'} + hasBin: true + peerDependencies: + less: '*' + sass: '*' + stylus: '*' + peerDependenciesMeta: + less: + optional: true + sass: + optional: true + stylus: + optional: true + dependencies: + esbuild: 0.14.39 + postcss: 8.4.13 + resolve: 1.22.0 + rollup: 2.72.1 + optionalDependencies: + fsevents: 2.3.2 + dev: true + /vitest/0.12.4: resolution: {integrity: sha512-EDxdhlAt6vcu6y4VouAI60z78iCAVFnfBL4VlSQVQnGmOk5altOtIKvp3xfZ+cfo4iVHgqq1QNyf5qOFiL4leg==} engines: {node: '>=v14.16.0'} diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index 06733ee..7bc6a92 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -119,6 +119,7 @@ declare global { const useCssModule: typeof import('vue')['useCssModule'] const useCssVar: typeof import('@vueuse/core')['useCssVar'] const useCssVars: typeof import('vue')['useCssVars'] + const useCurrentElement: typeof import('@vueuse/core')['useCurrentElement'] const useCycleList: typeof import('@vueuse/core')['useCycleList'] const useDark: typeof import('@vueuse/core')['useDark'] const useDateFormat: typeof import('@vueuse/core')['useDateFormat'] @@ -189,6 +190,7 @@ declare global { const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver'] const useRoute: typeof import('vue-router')['useRoute'] const useRouter: typeof import('vue-router')['useRouter'] + const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation'] const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea'] const useScriptTag: typeof import('@vueuse/core')['useScriptTag'] const useScroll: typeof import('@vueuse/core')['useScroll'] diff --git a/vite.config.ts b/vite.config.ts index ed7217a..9028c70 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -10,7 +10,6 @@ import Markdown from 'vite-plugin-md' import { VitePWA } from 'vite-plugin-pwa' import VueI18n from '@intlify/vite-plugin-vue-i18n' import Inspect from 'vite-plugin-inspect' -import Inspector from 'vite-plugin-vue-inspector' import Prism from 'markdown-it-prism' import LinkAttributes from 'markdown-it-link-attributes' import Unocss from 'unocss/vite' @@ -121,10 +120,6 @@ export default defineConfig({ // https://github.com/antfu/vite-plugin-inspect // Visit http://localhost:3333/__inspect/ to see the inspector Inspect(), - // https://github.com/webfansplz/vite-plugin-vue-inspector - Inspector({ - enabled: false, - }), ], // https://github.com/antfu/vite-ssg