chore: update deps

This commit is contained in:
Anthony Fu 2022-04-07 05:56:24 +08:00
parent 5b66f9c43d
commit 972de31f29
10 changed files with 66 additions and 65 deletions

View File

@ -13,7 +13,7 @@
"typecheck": "vue-tsc --noEmit" "typecheck": "vue-tsc --noEmit"
}, },
"dependencies": { "dependencies": {
"@vueuse/core": "^8.2.4", "@vueuse/core": "^8.2.5",
"@vueuse/head": "^0.7.5", "@vueuse/head": "^0.7.5",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "^2.0.13", "pinia": "^2.0.13",
@ -24,9 +24,9 @@
"vue-router": "^4.0.14" "vue-router": "^4.0.14"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^0.19.4", "@antfu/eslint-config": "^0.20.0",
"@iconify-json/carbon": "^1.1.3", "@iconify-json/carbon": "^1.1.3",
"@intlify/vite-plugin-vue-i18n": "^3.3.1", "@intlify/vite-plugin-vue-i18n": "^4.0.0",
"@types/markdown-it-link-attributes": "^3.0.1", "@types/markdown-it-link-attributes": "^3.0.1",
"@types/nprogress": "^0.2.0", "@types/nprogress": "^0.2.0",
"@unocss/reset": "^0.30.11", "@unocss/reset": "^0.30.11",
@ -51,9 +51,9 @@
"vite-plugin-pages": "^0.22.0", "vite-plugin-pages": "^0.22.0",
"vite-plugin-pwa": "^0.11.13", "vite-plugin-pwa": "^0.11.13",
"vite-plugin-vue-layouts": "^0.6.0", "vite-plugin-vue-layouts": "^0.6.0",
"vite-ssg": "^0.19.1", "vite-ssg": "^0.19.2",
"vite-ssg-sitemap": "^0.2.0", "vite-ssg-sitemap": "^0.2.0",
"vitest": "^0.8.4", "vitest": "^0.9.0",
"vue-tsc": "^0.33.9" "vue-tsc": "^0.33.9"
} }
} }

View File

@ -1,15 +1,15 @@
lockfileVersion: 5.3 lockfileVersion: 5.3
specifiers: specifiers:
'@antfu/eslint-config': ^0.19.4 '@antfu/eslint-config': ^0.20.0
'@iconify-json/carbon': ^1.1.3 '@iconify-json/carbon': ^1.1.3
'@intlify/vite-plugin-vue-i18n': ^3.3.1 '@intlify/vite-plugin-vue-i18n': ^4.0.0
'@types/markdown-it-link-attributes': ^3.0.1 '@types/markdown-it-link-attributes': ^3.0.1
'@types/nprogress': ^0.2.0 '@types/nprogress': ^0.2.0
'@unocss/reset': ^0.30.11 '@unocss/reset': ^0.30.11
'@vitejs/plugin-vue': ^2.3.1 '@vitejs/plugin-vue': ^2.3.1
'@vue/test-utils': ^2.0.0-rc.19 '@vue/test-utils': ^2.0.0-rc.19
'@vueuse/core': ^8.2.4 '@vueuse/core': ^8.2.5
'@vueuse/head': ^0.7.5 '@vueuse/head': ^0.7.5
critters: ^0.0.16 critters: ^0.0.16
cross-env: ^7.0.3 cross-env: ^7.0.3
@ -33,9 +33,9 @@ specifiers:
vite-plugin-pages: ^0.22.0 vite-plugin-pages: ^0.22.0
vite-plugin-pwa: ^0.11.13 vite-plugin-pwa: ^0.11.13
vite-plugin-vue-layouts: ^0.6.0 vite-plugin-vue-layouts: ^0.6.0
vite-ssg: ^0.19.1 vite-ssg: ^0.19.2
vite-ssg-sitemap: ^0.2.0 vite-ssg-sitemap: ^0.2.0
vitest: ^0.8.4 vitest: ^0.9.0
vue: ^3.2.31 vue: ^3.2.31
vue-demi: ^0.12.5 vue-demi: ^0.12.5
vue-i18n: ^9.1.9 vue-i18n: ^9.1.9
@ -43,7 +43,7 @@ specifiers:
vue-tsc: ^0.33.9 vue-tsc: ^0.33.9
dependencies: dependencies:
'@vueuse/core': 8.2.4_vue@3.2.31 '@vueuse/core': 8.2.5_vue@3.2.31
'@vueuse/head': 0.7.5_vue@3.2.31 '@vueuse/head': 0.7.5_vue@3.2.31
nprogress: 0.2.0 nprogress: 0.2.0
pinia: 2.0.13_typescript@4.6.3+vue@3.2.31 pinia: 2.0.13_typescript@4.6.3+vue@3.2.31
@ -54,9 +54,9 @@ dependencies:
vue-router: 4.0.14_vue@3.2.31 vue-router: 4.0.14_vue@3.2.31
devDependencies: devDependencies:
'@antfu/eslint-config': 0.19.4_eslint@8.12.0+typescript@4.6.3 '@antfu/eslint-config': 0.20.0_eslint@8.12.0+typescript@4.6.3
'@iconify-json/carbon': 1.1.3 '@iconify-json/carbon': 1.1.3
'@intlify/vite-plugin-vue-i18n': 3.3.1_vite@2.9.1+vue-i18n@9.1.9 '@intlify/vite-plugin-vue-i18n': 4.0.0_vite@2.9.1+vue-i18n@9.1.9
'@types/markdown-it-link-attributes': 3.0.1 '@types/markdown-it-link-attributes': 3.0.1
'@types/nprogress': 0.2.0 '@types/nprogress': 0.2.0
'@unocss/reset': 0.30.11 '@unocss/reset': 0.30.11
@ -73,7 +73,7 @@ devDependencies:
pnpm: 6.32.4 pnpm: 6.32.4
typescript: 4.6.3 typescript: 4.6.3
unocss: 0.30.11 unocss: 0.30.11
unplugin-auto-import: 0.6.9_@vueuse+core@8.2.4+vite@2.9.1 unplugin-auto-import: 0.6.9_@vueuse+core@8.2.5+vite@2.9.1
unplugin-vue-components: 0.18.5_vite@2.9.1+vue@3.2.31 unplugin-vue-components: 0.18.5_vite@2.9.1+vue@3.2.31
vite: 2.9.1 vite: 2.9.1
vite-plugin-inspect: 0.4.3_vite@2.9.1 vite-plugin-inspect: 0.4.3_vite@2.9.1
@ -81,9 +81,9 @@ devDependencies:
vite-plugin-pages: 0.22.0_vite@2.9.1 vite-plugin-pages: 0.22.0_vite@2.9.1
vite-plugin-pwa: 0.11.13_vite@2.9.1 vite-plugin-pwa: 0.11.13_vite@2.9.1
vite-plugin-vue-layouts: 0.6.0_7751236df27102a4c49ccda658860b98 vite-plugin-vue-layouts: 0.6.0_7751236df27102a4c49ccda658860b98
vite-ssg: 0.19.1_6a44acb5bf8b42d72d0c4bc9f4e36c5f vite-ssg: 0.19.2_6a44acb5bf8b42d72d0c4bc9f4e36c5f
vite-ssg-sitemap: 0.2.0 vite-ssg-sitemap: 0.2.0
vitest: 0.8.4 vitest: 0.9.0
vue-tsc: 0.33.9_typescript@4.6.3 vue-tsc: 0.33.9_typescript@4.6.3
packages: packages:
@ -95,13 +95,13 @@ packages:
'@jridgewell/trace-mapping': 0.3.4 '@jridgewell/trace-mapping': 0.3.4
dev: true dev: true
/@antfu/eslint-config-basic/0.19.4_eslint@8.12.0+typescript@4.6.3: /@antfu/eslint-config-basic/0.20.0_eslint@8.12.0+typescript@4.6.3:
resolution: {integrity: sha512-6veNk0CwVz/GHbf2Pi9uQfGJO3k1IEvt5ZmhQ/PvVrfq0ngGtJm4He17ktpSw1GHNs47otjq4w8W6Kqjq5sQUg==} resolution: {integrity: sha512-eUm+iNEIvRMoSJYz/gWjJOIa4kxqbyR6PAiuXIntWepQE9jpDlEZWWH/Rag91hymJW3IqiO08z346TA0lWyb0A==}
peerDependencies: peerDependencies:
eslint: '>=7.4.0' eslint: '>=7.4.0'
dependencies: dependencies:
eslint: 8.12.0 eslint: 8.12.0
eslint-plugin-antfu: 0.19.4_eslint@8.12.0+typescript@4.6.3 eslint-plugin-antfu: 0.20.0_eslint@8.12.0+typescript@4.6.3
eslint-plugin-eslint-comments: 3.2.0_eslint@8.12.0 eslint-plugin-eslint-comments: 3.2.0_eslint@8.12.0
eslint-plugin-html: 6.2.0 eslint-plugin-html: 6.2.0
eslint-plugin-import: 2.25.4_eslint@8.12.0 eslint-plugin-import: 2.25.4_eslint@8.12.0
@ -118,12 +118,12 @@ packages:
- typescript - typescript
dev: true dev: true
/@antfu/eslint-config-react/0.19.4_eslint@8.12.0+typescript@4.6.3: /@antfu/eslint-config-react/0.20.0_eslint@8.12.0+typescript@4.6.3:
resolution: {integrity: sha512-1d9ZZ8RlmZtcV7Xli5zDwluqli1R8Nr9bxST5aU6CW/jFKQwa1oSlofPbjMwgGE3/Nr20lMwJ7aAli9X1za8Lw==} resolution: {integrity: sha512-Xl9j5H53e+C8imqlQRWNo3Kj7NmwXrrpr7cueOUO5uUi6xqdny3TfJ/e6n6OcAZJOgnQKZ/ecY+g87KtJZHrxQ==}
peerDependencies: peerDependencies:
eslint: '>=7.4.0' eslint: '>=7.4.0'
dependencies: dependencies:
'@antfu/eslint-config-ts': 0.19.4_eslint@8.12.0+typescript@4.6.3 '@antfu/eslint-config-ts': 0.20.0_eslint@8.12.0+typescript@4.6.3
eslint: 8.12.0 eslint: 8.12.0
eslint-plugin-react: 7.29.4_eslint@8.12.0 eslint-plugin-react: 7.29.4_eslint@8.12.0
transitivePeerDependencies: transitivePeerDependencies:
@ -131,13 +131,13 @@ packages:
- typescript - typescript
dev: true dev: true
/@antfu/eslint-config-ts/0.19.4_eslint@8.12.0+typescript@4.6.3: /@antfu/eslint-config-ts/0.20.0_eslint@8.12.0+typescript@4.6.3:
resolution: {integrity: sha512-S5zAPiOXMYn3kpXl634+mkG5+Dxv2eksTe9uK09VTKYe9BcQ2HfxqRQIZhTel60brgh4plQw4I3QA4z5KKs6Pg==} resolution: {integrity: sha512-+lMY2kXWgiea4XSaF4dXLZTr2IYipEx69k+i1bkNmPfmG0BCHQQu5eEZPr5nfudpbeD0z6LvGASAUGMLot4/Fw==}
peerDependencies: peerDependencies:
eslint: '>=7.4.0' eslint: '>=7.4.0'
typescript: '>=3.9' typescript: '>=3.9'
dependencies: dependencies:
'@antfu/eslint-config-basic': 0.19.4_eslint@8.12.0+typescript@4.6.3 '@antfu/eslint-config-basic': 0.20.0_eslint@8.12.0+typescript@4.6.3
'@typescript-eslint/eslint-plugin': 5.17.0_689ff565753ecf7c3328c07fad067df5 '@typescript-eslint/eslint-plugin': 5.17.0_689ff565753ecf7c3328c07fad067df5
'@typescript-eslint/parser': 5.17.0_eslint@8.12.0+typescript@4.6.3 '@typescript-eslint/parser': 5.17.0_eslint@8.12.0+typescript@4.6.3
eslint: 8.12.0 eslint: 8.12.0
@ -146,12 +146,12 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@antfu/eslint-config-vue/0.19.4_eslint@8.12.0+typescript@4.6.3: /@antfu/eslint-config-vue/0.20.0_eslint@8.12.0+typescript@4.6.3:
resolution: {integrity: sha512-QCjOCp3I5sHCjnKUmVZWBzQTvaRn59jsgGCU9SFNq1GCkeo0pl8kXBCJ8NB6iksgePEK8wWoQAqOadrA9msK0A==} resolution: {integrity: sha512-2tEYcarfDXsgFNZTUidH5PTSWWKv95SQ/KKeRYLpkQaYaAiN7aKUKcF627ALAP+eHyHubZupk/NvCO+LnRB14g==}
peerDependencies: peerDependencies:
eslint: '>=7.4.0' eslint: '>=7.4.0'
dependencies: dependencies:
'@antfu/eslint-config-ts': 0.19.4_eslint@8.12.0+typescript@4.6.3 '@antfu/eslint-config-ts': 0.20.0_eslint@8.12.0+typescript@4.6.3
eslint: 8.12.0 eslint: 8.12.0
eslint-plugin-vue: 8.5.0_eslint@8.12.0 eslint-plugin-vue: 8.5.0_eslint@8.12.0
transitivePeerDependencies: transitivePeerDependencies:
@ -159,13 +159,13 @@ packages:
- typescript - typescript
dev: true dev: true
/@antfu/eslint-config/0.19.4_eslint@8.12.0+typescript@4.6.3: /@antfu/eslint-config/0.20.0_eslint@8.12.0+typescript@4.6.3:
resolution: {integrity: sha512-Bg9FGWJrK0mfLm7Xt0WVE8rzC1QqZd/sfyao51zAiA86r4d05wBhmjvAr13HYB5rNYu+mduNY3dOze8rdhHcYA==} resolution: {integrity: sha512-fTrIcQI4x3KSLGurfkBjZ1NTTK4Pd1C+eDCWH8+TmDapDpw8bgsNNvR3pTKXBLcJegaYbVCqeww8MbFtfjwu9Q==}
peerDependencies: peerDependencies:
eslint: '>=7.4.0' eslint: '>=7.4.0'
dependencies: dependencies:
'@antfu/eslint-config-react': 0.19.4_eslint@8.12.0+typescript@4.6.3 '@antfu/eslint-config-react': 0.20.0_eslint@8.12.0+typescript@4.6.3
'@antfu/eslint-config-vue': 0.19.4_eslint@8.12.0+typescript@4.6.3 '@antfu/eslint-config-vue': 0.20.0_eslint@8.12.0+typescript@4.6.3
'@typescript-eslint/eslint-plugin': 5.17.0_689ff565753ecf7c3328c07fad067df5 '@typescript-eslint/eslint-plugin': 5.17.0_689ff565753ecf7c3328c07fad067df5
'@typescript-eslint/parser': 5.17.0_eslint@8.12.0+typescript@4.6.3 '@typescript-eslint/parser': 5.17.0_eslint@8.12.0+typescript@4.6.3
eslint: 8.12.0 eslint: 8.12.0
@ -1418,8 +1418,8 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@intlify/bundle-utils/2.2.1_vue-i18n@9.1.9: /@intlify/bundle-utils/3.0.0_vue-i18n@9.1.9:
resolution: {integrity: sha512-8n8zhYEKypS+KP22KUAC6BnQifJDDWUGcn3OVPqsThqMMucU22MShGvOuiKqQ4AeT7XQ5O4pudlJmxv3L91JrQ==} resolution: {integrity: sha512-y43Z5Q3ZJvxqtD8xUH6U3yrlZeay7ZTqkzv1GQ4b0mGQtk5uptOT9Ra4qvGuUv8QyPQsortrA/OHWUD5ax5ZNQ==}
engines: {node: '>= 12'} engines: {node: '>= 12'}
peerDependencies: peerDependencies:
petite-vue-i18n: '*' petite-vue-i18n: '*'
@ -1498,23 +1498,23 @@ packages:
engines: {node: '>= 12'} engines: {node: '>= 12'}
dev: true dev: true
/@intlify/vite-plugin-vue-i18n/3.3.1_vite@2.9.1+vue-i18n@9.1.9: /@intlify/vite-plugin-vue-i18n/4.0.0_vite@2.9.1+vue-i18n@9.1.9:
resolution: {integrity: sha512-b9HIUANzL4/LmrA5RqeiPabZl2/RiWNAJ90TVZ8kSi3APRZ4BbmwUAclKe8ip+1jCDhqaGO/qfAI7SbQ0Y76Uw==} resolution: {integrity: sha512-bX7WgJAnYAbhmfvMp17TjCzg4e4T68O7iqAcNo6TOS+oHK0kAJAN9AJfEMTdpDrAwURCw0VwZ0kgMFWDbJkY4g==}
engines: {node: '>= 12'} engines: {node: '>= 12'}
peerDependencies: peerDependencies:
petite-vue-i18n: ^9.0.0 petite-vue-i18n: next
vite: ^2.0.0 vite: ^2.9.0
vue-i18n: ^9.0.0 vue-i18n: next
peerDependenciesMeta: peerDependenciesMeta:
petite-vue-i18n: petite-vue-i18n:
optional: true optional: true
vue-i18n: vue-i18n:
optional: true optional: true
dependencies: dependencies:
'@intlify/bundle-utils': 2.2.1_vue-i18n@9.1.9 '@intlify/bundle-utils': 3.0.0_vue-i18n@9.1.9
'@intlify/shared': 9.2.0-beta.34 '@intlify/shared': 9.2.0-beta.34
'@rollup/pluginutils': 4.2.0 '@rollup/pluginutils': 4.2.0
debug: 4.3.3 debug: 4.3.4
fast-glob: 3.2.11 fast-glob: 3.2.11
source-map: 0.6.1 source-map: 0.6.1
vite: 2.9.1 vite: 2.9.1
@ -2150,8 +2150,8 @@ packages:
vue: 3.2.31 vue: 3.2.31
dev: true dev: true
/@vueuse/core/8.2.4_vue@3.2.31: /@vueuse/core/8.2.5_vue@3.2.31:
resolution: {integrity: sha512-K8DbVLErlHMnEOqy67BrRbDmWCd4Z9X0a1dL6fQdhABLXBydy69Tm7uF5ZUotAqib9sskItYFsAnLhvGSue6bg==} resolution: {integrity: sha512-5prZAA1Ji2ltwNUnzreu6WIXYqHYP/9U2BiY5mD/650VYLpVcwVlYznJDFcLCmEWI3o3Vd34oS1FUf+6Mh68GQ==}
peerDependencies: peerDependencies:
'@vue/composition-api': ^1.1.0 '@vue/composition-api': ^1.1.0
vue: ^2.6.0 || ^3.2.0 vue: ^2.6.0 || ^3.2.0
@ -2161,8 +2161,8 @@ packages:
vue: vue:
optional: true optional: true
dependencies: dependencies:
'@vueuse/metadata': 8.2.4 '@vueuse/metadata': 8.2.5
'@vueuse/shared': 8.2.4_vue@3.2.31 '@vueuse/shared': 8.2.5_vue@3.2.31
vue: 3.2.31 vue: 3.2.31
vue-demi: 0.12.5_vue@3.2.31 vue-demi: 0.12.5_vue@3.2.31
dev: false dev: false
@ -2175,12 +2175,12 @@ packages:
vue: 3.2.31 vue: 3.2.31
dev: false dev: false
/@vueuse/metadata/8.2.4: /@vueuse/metadata/8.2.5:
resolution: {integrity: sha512-mn4FLULZAHd6r6vo5hLz+99xzwlVDP9qeVtZGV2Ik40m0zETe2okUr3O1Yoz6FReUoc7KAPrf0/GFpWEXVDAnQ==} resolution: {integrity: sha512-Lk9plJjh9cIdiRdcj16dau+2LANxIdFCiTgdfzwYXbflxq0QnMBeOD2qHgKDE7fuVrtPcVWj8VSuZEx1HRfNQA==}
dev: false dev: false
/@vueuse/shared/8.2.4_vue@3.2.31: /@vueuse/shared/8.2.5_vue@3.2.31:
resolution: {integrity: sha512-sLkuZMEumsmEDYie3m6/nrk7SrLGlyUgtVn/0EJZ8Chaj1YfSmBQuLxNE0ruQ/6VZlqkx44jEZxcgbU7qPyAiw==} resolution: {integrity: sha512-lNWo+7sk6JCuOj4AiYM+6HZ6fq4xAuVq1sVckMQKgfCJZpZRe4i8es+ZULO5bYTKP+VrOCtqrLR2GzEfrbr3YQ==}
peerDependencies: peerDependencies:
'@vue/composition-api': ^1.1.0 '@vue/composition-api': ^1.1.0
vue: ^2.6.0 || ^3.2.0 vue: ^2.6.0 || ^3.2.0
@ -3579,8 +3579,8 @@ packages:
find-up: 2.1.0 find-up: 2.1.0
dev: true dev: true
/eslint-plugin-antfu/0.19.4_eslint@8.12.0+typescript@4.6.3: /eslint-plugin-antfu/0.20.0_eslint@8.12.0+typescript@4.6.3:
resolution: {integrity: sha512-qY2OybIx85I1BNTJWhj7JFuIpKFCxM9aaQg1nYnQZgPfVo49FAew72cdDbzAvg9lTY1zFDsSTkydbG11+VPSgA==} resolution: {integrity: sha512-4Nxc+Mz0Hu1Xw7HU5naBHgv+W2QyjiHl32KXPWM14JyoTqjKnaQScp/Zp0z3zF0iuyPSp7RKrAWn+BYmZ9Kzvg==}
dependencies: dependencies:
'@typescript-eslint/utils': 5.17.0_eslint@8.12.0+typescript@4.6.3 '@typescript-eslint/utils': 5.17.0_eslint@8.12.0+typescript@4.6.3
transitivePeerDependencies: transitivePeerDependencies:
@ -6801,7 +6801,7 @@ packages:
engines: {node: '>= 0.8'} engines: {node: '>= 0.8'}
dev: true dev: true
/unplugin-auto-import/0.6.9_@vueuse+core@8.2.4+vite@2.9.1: /unplugin-auto-import/0.6.9_@vueuse+core@8.2.5+vite@2.9.1:
resolution: {integrity: sha512-IqgT7AoRrNQwNhiF/wDH3sMEDX8SqCYBEgJzwdg5441b5aiC5VwZz0J0wYqkaKu89YkZE9DG6rQ2JpFfZv1iiQ==} resolution: {integrity: sha512-IqgT7AoRrNQwNhiF/wDH3sMEDX8SqCYBEgJzwdg5441b5aiC5VwZz0J0wYqkaKu89YkZE9DG6rQ2JpFfZv1iiQ==}
engines: {node: '>=14'} engines: {node: '>=14'}
peerDependencies: peerDependencies:
@ -6812,7 +6812,7 @@ packages:
dependencies: dependencies:
'@antfu/utils': 0.5.0 '@antfu/utils': 0.5.0
'@rollup/pluginutils': 4.2.0 '@rollup/pluginutils': 4.2.0
'@vueuse/core': 8.2.4_vue@3.2.31 '@vueuse/core': 8.2.5_vue@3.2.31
local-pkg: 0.4.1 local-pkg: 0.4.1
magic-string: 0.26.1 magic-string: 0.26.1
resolve: 1.22.0 resolve: 1.22.0
@ -7031,8 +7031,8 @@ packages:
resolution: {integrity: sha512-A//oCANsy/W3ueG8tMRwk3JsdtjTHquLE3lLsRoQArer5sFPD1Tl72hlhKqpRIudVTZp3Z9IvtWAhJv/2dhoeQ==} resolution: {integrity: sha512-A//oCANsy/W3ueG8tMRwk3JsdtjTHquLE3lLsRoQArer5sFPD1Tl72hlhKqpRIudVTZp3Z9IvtWAhJv/2dhoeQ==}
dev: true dev: true
/vite-ssg/0.19.1_6a44acb5bf8b42d72d0c4bc9f4e36c5f: /vite-ssg/0.19.2_6a44acb5bf8b42d72d0c4bc9f4e36c5f:
resolution: {integrity: sha512-TEs39k05JSBkRDEhwVmXcn/OesMu/innEIbP8hKqZTZ/+E9eTyk3KitrnFvp0UCeJ2Gz/JHPxfQ/j/3Mi7/rpA==} resolution: {integrity: sha512-r9UJJ4OTMyu9f4nNe12PMVhVkeXYp1rUKbIl6zIOz5QDYEDgFcq8hZGUMMIAcyHhB4pH5ImmjZd1hJ2fO6hOmg==}
engines: {node: '>=14.0.0'} engines: {node: '>=14.0.0'}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@ -7088,8 +7088,8 @@ packages:
fsevents: 2.3.2 fsevents: 2.3.2
dev: true dev: true
/vitest/0.8.4: /vitest/0.9.0:
resolution: {integrity: sha512-1OoAG1+VYkzp4WLCVQFRJX/OKk70rsMIM5H23crfc1wSEnJvHlxgQBS1HPpV/VYmjC8bIInKWhnB4Gaw32MnyQ==} resolution: {integrity: sha512-WyNY35WGRqtW/hd00FPgsnatDxKrRzEWVLS36KPbSFqAOn3HHtV+4/ihiPBaDAzAKtr6/eT52x+7kobUXa59TA==}
engines: {node: '>=v14.16.0'} engines: {node: '>=v14.16.0'}
hasBin: true hasBin: true
peerDependencies: peerDependencies:

View File

@ -93,6 +93,7 @@ declare global {
const toRef: typeof import('vue')['toRef'] const toRef: typeof import('vue')['toRef']
const toRefs: typeof import('vue')['toRefs'] const toRefs: typeof import('vue')['toRefs']
const triggerRef: typeof import('vue')['triggerRef'] const triggerRef: typeof import('vue')['triggerRef']
const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount']
const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount'] const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount']
const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted'] const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted']
const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose'] const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose']

View File

@ -3,7 +3,7 @@
A custom user module system. Place a `.ts` file with the following template, it will be installed automatically. A custom user module system. Place a `.ts` file with the following template, it will be installed automatically.
```ts ```ts
import type { UserModule } from '~/types' import { type UserModule } from '~/types'
export const install: UserModule = ({ app, router, isClient }) => { export const install: UserModule = ({ app, router, isClient }) => {
// do something // do something

View File

@ -1,5 +1,5 @@
import { createI18n } from 'vue-i18n' import { createI18n } from 'vue-i18n'
import type { UserModule } from '~/types' import { type UserModule } from '~/types'
// Import i18n resources // Import i18n resources
// https://vitejs.dev/guide/features.html#glob-import // https://vitejs.dev/guide/features.html#glob-import

View File

@ -1,5 +1,5 @@
import NProgress from 'nprogress' import NProgress from 'nprogress'
import type { UserModule } from '~/types' import { type UserModule } from '~/types'
export const install: UserModule = ({ isClient, router }) => { export const install: UserModule = ({ isClient, router }) => {
if (isClient) { if (isClient) {

View File

@ -1,5 +1,5 @@
import { createPinia } from 'pinia' import { createPinia } from 'pinia'
import type { UserModule } from '~/types' import { type UserModule } from '~/types'
// Setup Pinia // Setup Pinia
// https://pinia.esm.dev/ // https://pinia.esm.dev/

View File

@ -1,4 +1,4 @@
import type { UserModule } from '~/types' import { type UserModule } from '~/types'
// https://github.com/antfu/vite-plugin-pwa#automatic-reload-when-new-content-available // https://github.com/antfu/vite-plugin-pwa#automatic-reload-when-new-content-available
export const install: UserModule = ({ isClient, router }) => { export const install: UserModule = ({ isClient, router }) => {

4
src/shims.d.ts vendored
View File

@ -4,13 +4,13 @@ declare interface Window {
// with vite-plugin-md, markdowns can be treat as Vue components // with vite-plugin-md, markdowns can be treat as Vue components
declare module '*.md' { declare module '*.md' {
import type { DefineComponent } from 'vue' import { type DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any> const component: DefineComponent<{}, {}, any>
export default component export default component
} }
declare module '*.vue' { declare module '*.vue' {
import type { DefineComponent } from 'vue' import { type DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any> const component: DefineComponent<{}, {}, any>
export default component export default component
} }

View File

@ -1,3 +1,3 @@
import type { ViteSSGContext } from 'vite-ssg' import { type ViteSSGContext } from 'vite-ssg'
export type UserModule = (ctx: ViteSSGContext) => void export type UserModule = (ctx: ViteSSGContext) => void