fix: add vite client types & update dependencies (#30)

* fix: add vite client types

* chore: update
This commit is contained in:
Han(ハン) 2021-01-08 01:24:48 +09:00 committed by GitHub
parent e0b2720a40
commit fd701fc16f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 33 deletions

View File

@ -5,7 +5,7 @@
"build": "cross-env NODE_ENV=production vite-ssg build --script async" "build": "cross-env NODE_ENV=production vite-ssg build --script async"
}, },
"dependencies": { "dependencies": {
"@vueuse/core": "^4.0.3", "@vueuse/core": "^4.0.4",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"vue": "^3.0.5", "vue": "^3.0.5",
"vue-i18n": "9.0.0-rc.1", "vue-i18n": "9.0.0-rc.1",
@ -26,7 +26,7 @@
"eslint": "^7.17.0", "eslint": "^7.17.0",
"markdown-it-prism": "^2.1.4", "markdown-it-prism": "^2.1.4",
"pnpm": "^5.14.3", "pnpm": "^5.14.3",
"postcss": "^8.2.2", "postcss": "^8.2.3",
"postcss-nested": "^5.0.3", "postcss-nested": "^5.0.3",
"tailwindcss": "^2.0.2", "tailwindcss": "^2.0.2",
"typescript": "^4.1.3", "typescript": "^4.1.3",
@ -36,7 +36,7 @@
"vite-plugin-md": "^0.2.1", "vite-plugin-md": "^0.2.1",
"vite-plugin-pwa": "^0.3.2", "vite-plugin-pwa": "^0.3.2",
"vite-plugin-voie": "^0.7.1", "vite-plugin-voie": "^0.7.1",
"vite-ssg": "^0.2.0", "vite-ssg": "^0.3.0",
"voie-pages": "^0.4.0" "voie-pages": "^0.4.0"
}, },
"eslintConfig": { "eslintConfig": {

View File

@ -1,5 +1,5 @@
dependencies: dependencies:
'@vueuse/core': 4.0.3_vue@3.0.5 '@vueuse/core': 4.0.4_vue@3.0.5
nprogress: 0.2.0 nprogress: 0.2.0
vue: 3.0.5 vue: 3.0.5
vue-i18n: 9.0.0-rc.1_vue@3.0.5 vue-i18n: 9.0.0-rc.1_vue@3.0.5
@ -14,14 +14,14 @@ devDependencies:
'@vue/compiler-sfc': 3.0.5_vue@3.0.5 '@vue/compiler-sfc': 3.0.5_vue@3.0.5
'@vue/server-renderer': 3.0.5_vue@3.0.5 '@vue/server-renderer': 3.0.5_vue@3.0.5
'@vuedx/typescript-plugin-vue': 0.4.1 '@vuedx/typescript-plugin-vue': 0.4.1
autoprefixer: 10.2.0_postcss@8.2.2 autoprefixer: 10.2.0_postcss@8.2.3
cross-env: 7.0.3 cross-env: 7.0.3
eslint: 7.17.0 eslint: 7.17.0
markdown-it-prism: 2.1.4 markdown-it-prism: 2.1.4
pnpm: 5.14.3 pnpm: 5.14.3
postcss: 8.2.2 postcss: 8.2.3
postcss-nested: 5.0.3_postcss@8.2.2 postcss-nested: 5.0.3_postcss@8.2.3
tailwindcss: 2.0.2_683d4725fe3bc32e6288127bcf5bb347 tailwindcss: 2.0.2_c6e21aba2e9e69d8b10beac9e3abea3a
typescript: 4.1.3 typescript: 4.1.3
vite: 2.0.0-beta.10 vite: 2.0.0-beta.10
vite-plugin-components: 0.6.3 vite-plugin-components: 0.6.3
@ -29,7 +29,7 @@ devDependencies:
vite-plugin-md: 0.2.1_4d70cda3c98fc4a1ab7ad1112d4bc930 vite-plugin-md: 0.2.1_4d70cda3c98fc4a1ab7ad1112d4bc930
vite-plugin-pwa: 0.3.2_vite@2.0.0-beta.10 vite-plugin-pwa: 0.3.2_vite@2.0.0-beta.10
vite-plugin-voie: 0.7.1_cc0b40294df509831d72a57e9d5659f0 vite-plugin-voie: 0.7.1_cc0b40294df509831d72a57e9d5659f0
vite-ssg: 0.2.0_437dc0204f8b7c341a842d35baf29699 vite-ssg: 0.3.0_437dc0204f8b7c341a842d35baf29699
voie-pages: 0.4.0_vue@3.0.5 voie-pages: 0.4.0_vue@3.0.5
lockfileVersion: 5.2 lockfileVersion: 5.2
packages: packages:
@ -1263,7 +1263,7 @@ packages:
integrity: sha512-yBMPqmd1yEJo/280PAMkychuaALyQ9Lkb5q1ck3mjJrFuEobIfhnQ4J3mbvBoISmR3SWMWV+cGB/I0lCQee79A== integrity: sha512-yBMPqmd1yEJo/280PAMkychuaALyQ9Lkb5q1ck3mjJrFuEobIfhnQ4J3mbvBoISmR3SWMWV+cGB/I0lCQee79A==
/@tailwindcss/typography/0.3.1_tailwindcss@2.0.2: /@tailwindcss/typography/0.3.1_tailwindcss@2.0.2:
dependencies: dependencies:
tailwindcss: 2.0.2_683d4725fe3bc32e6288127bcf5bb347 tailwindcss: 2.0.2_c6e21aba2e9e69d8b10beac9e3abea3a
dev: true dev: true
peerDependencies: peerDependencies:
tailwindcss: 2.0.0-alpha.24 || ^2.0.0 tailwindcss: 2.0.0-alpha.24 || ^2.0.0
@ -1607,23 +1607,23 @@ packages:
dev: true dev: true
resolution: resolution:
integrity: sha512-uyBXaf3/Y2QdssfLG1hmQKbSD/2tYM2eeeHKK56Klz1RzkRBxBAP0rkKS/riHzDZfVuHQ6QP4qa4QpTSav5RGQ== integrity: sha512-uyBXaf3/Y2QdssfLG1hmQKbSD/2tYM2eeeHKK56Klz1RzkRBxBAP0rkKS/riHzDZfVuHQ6QP4qa4QpTSav5RGQ==
/@vueuse/core/4.0.3_vue@3.0.5: /@vueuse/core/4.0.4_vue@3.0.5:
dependencies: dependencies:
'@vueuse/shared': 4.0.3_vue@3.0.5 '@vueuse/shared': 4.0.4_vue@3.0.5
vue-demi: 0.5.4_vue@3.0.5 vue-demi: 0.5.4_vue@3.0.5
dev: false dev: false
peerDependencies: peerDependencies:
vue: '*' vue: '*'
resolution: resolution:
integrity: sha512-U30aUYjpm8wiiCzQQL9pqlCG0H4CDfIKRY2g43184FcTX2DOJWntevPpiduG7iuj+hfE15mjgU6LOModr3n/+Q== integrity: sha512-cpUl2DgjSpA8Si2i5V9BgKBlDApHF7+2/rH8ze1UfBg75cggmnfsCBVcV8MHVLijTKhiJLqIQKD/om0VkwIUag==
/@vueuse/shared/4.0.3_vue@3.0.5: /@vueuse/shared/4.0.4_vue@3.0.5:
dependencies: dependencies:
vue-demi: 0.5.4_vue@3.0.5 vue-demi: 0.5.4_vue@3.0.5
dev: false dev: false
peerDependencies: peerDependencies:
vue: '*' vue: '*'
resolution: resolution:
integrity: sha512-6IYFu5wT4i7siFm228c2idnVvmq3SUa5Nm4zt1RahWahDpbFD6+L9Lr4tZ+VeS+DdwW1uSAhtmUx1CBi+tPsDg== integrity: sha512-jO2al+zPEdPDZoP0tRq7PxOPrh8jFCY0qcdUauXqvBPT7KkerQ9fFu7/5JWpF1CfxJv2OloJZtIUkHX00vEuyQ==
/abab/2.0.5: /abab/2.0.5:
dev: true dev: true
resolution: resolution:
@ -1780,14 +1780,14 @@ packages:
node: '>= 4.0.0' node: '>= 4.0.0'
resolution: resolution:
integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==
/autoprefixer/10.2.0_postcss@8.2.2: /autoprefixer/10.2.0_postcss@8.2.3:
dependencies: dependencies:
browserslist: 4.16.1 browserslist: 4.16.1
caniuse-lite: 1.0.30001173 caniuse-lite: 1.0.30001173
colorette: 1.2.1 colorette: 1.2.1
fraction.js: 4.0.13 fraction.js: 4.0.13
normalize-range: 0.1.2 normalize-range: 0.1.2
postcss: 8.2.2 postcss: 8.2.3
postcss-value-parser: 4.1.0 postcss-value-parser: 4.1.0
dev: true dev: true
engines: engines:
@ -3937,7 +3937,7 @@ packages:
/postcss-js/3.0.3: /postcss-js/3.0.3:
dependencies: dependencies:
camelcase-css: 2.0.1 camelcase-css: 2.0.1
postcss: 8.2.2 postcss: 8.2.3
dev: true dev: true
engines: engines:
node: '>=10.0' node: '>=10.0'
@ -3992,9 +3992,9 @@ packages:
dev: true dev: true
resolution: resolution:
integrity: sha512-JQ8IAqHELxC0N6tyCg2UF40pACY5oiL6UpiqqcIFRWqgDYO8B0jnxzoQ0EOpPrWXvcpu6BSbQU/3vSiq7w8Nhw== integrity: sha512-JQ8IAqHELxC0N6tyCg2UF40pACY5oiL6UpiqqcIFRWqgDYO8B0jnxzoQ0EOpPrWXvcpu6BSbQU/3vSiq7w8Nhw==
/postcss-nested/5.0.3_postcss@8.2.2: /postcss-nested/5.0.3_postcss@8.2.3:
dependencies: dependencies:
postcss: 8.2.2 postcss: 8.2.3
postcss-selector-parser: 6.0.4 postcss-selector-parser: 6.0.4
dev: true dev: true
engines: engines:
@ -4042,7 +4042,7 @@ packages:
node: '>=6.0.0' node: '>=6.0.0'
resolution: resolution:
integrity: sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg== integrity: sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==
/postcss/8.2.2: /postcss/8.2.3:
dependencies: dependencies:
colorette: 1.2.1 colorette: 1.2.1
nanoid: 3.1.20 nanoid: 3.1.20
@ -4051,7 +4051,7 @@ packages:
engines: engines:
node: ^10 || ^12 || >=14 node: ^10 || ^12 || >=14
resolution: resolution:
integrity: sha512-HM1NDNWLgglJPQQMNwvLxgH2KcrKZklKLi/xXYIOaqQB57p/pDWEJNS83PVICYsn1Dg/9C26TiejNr422/ePaQ== integrity: sha512-tdmNCCmxJEsLZNj810qlj8QbvnUNKFL9A5doV+uHrGGK/YNKWEslrytnHDWr9M/GgGjfUFwXCRbxd/b6IoRBXQ==
/prelude-ls/1.1.2: /prelude-ls/1.1.2:
dev: true dev: true
engines: engines:
@ -4102,7 +4102,7 @@ packages:
dependencies: dependencies:
commander: 6.2.1 commander: 6.2.1
glob: 7.1.6 glob: 7.1.6
postcss: 8.2.2 postcss: 8.2.3
postcss-selector-parser: 6.0.4 postcss-selector-parser: 6.0.4
dev: true dev: true
hasBin: true hasBin: true
@ -4655,10 +4655,10 @@ packages:
node: '>=10.0.0' node: '>=10.0.0'
resolution: resolution:
integrity: sha512-rxZevLGTUzWna/qBLObOe16kB2RTnnbhciwgPbMMlazz1yZGVEgnZK762xyVdVznhqxrfCeBMmMkgOOaPwjH7g== integrity: sha512-rxZevLGTUzWna/qBLObOe16kB2RTnnbhciwgPbMMlazz1yZGVEgnZK762xyVdVznhqxrfCeBMmMkgOOaPwjH7g==
/tailwindcss/2.0.2_683d4725fe3bc32e6288127bcf5bb347: /tailwindcss/2.0.2_c6e21aba2e9e69d8b10beac9e3abea3a:
dependencies: dependencies:
'@fullhuman/postcss-purgecss': 3.1.3 '@fullhuman/postcss-purgecss': 3.1.3
autoprefixer: 10.2.0_postcss@8.2.2 autoprefixer: 10.2.0_postcss@8.2.3
bytes: 3.1.0 bytes: 3.1.0
chalk: 4.1.0 chalk: 4.1.0
color: 3.1.3 color: 3.1.3
@ -4670,10 +4670,10 @@ packages:
modern-normalize: 1.0.0 modern-normalize: 1.0.0
node-emoji: 1.10.0 node-emoji: 1.10.0
object-hash: 2.1.1 object-hash: 2.1.1
postcss: 8.2.2 postcss: 8.2.3
postcss-functions: 3.0.0 postcss-functions: 3.0.0
postcss-js: 3.0.3 postcss-js: 3.0.3
postcss-nested: 5.0.3_postcss@8.2.2 postcss-nested: 5.0.3_postcss@8.2.3
postcss-selector-parser: 6.0.4 postcss-selector-parser: 6.0.4
postcss-value-parser: 4.1.0 postcss-value-parser: 4.1.0
pretty-hrtime: 1.0.3 pretty-hrtime: 1.0.3
@ -5008,7 +5008,7 @@ packages:
vue-router: ^4.0.0-beta.4 vue-router: ^4.0.0-beta.4
resolution: resolution:
integrity: sha512-qXb5oAe/a90RdSjzdWdjYxN8jsNLaVlRMaj3Ao99A6VxIy1PrPzdzlLYzokGZNZBV0klyIklnEEiuQLsFLgkGg== integrity: sha512-qXb5oAe/a90RdSjzdWdjYxN8jsNLaVlRMaj3Ao99A6VxIy1PrPzdzlLYzokGZNZBV0klyIklnEEiuQLsFLgkGg==
/vite-ssg/0.2.0_437dc0204f8b7c341a842d35baf29699: /vite-ssg/0.3.0_437dc0204f8b7c341a842d35baf29699:
dependencies: dependencies:
'@vue/compiler-sfc': 3.0.5_vue@3.0.5 '@vue/compiler-sfc': 3.0.5_vue@3.0.5
'@vue/server-renderer': 3.0.5_vue@3.0.5 '@vue/server-renderer': 3.0.5_vue@3.0.5
@ -5019,6 +5019,8 @@ packages:
vue-router: 4.0.2_vue@3.0.5 vue-router: 4.0.2_vue@3.0.5
yargs: 16.2.0 yargs: 16.2.0
dev: true dev: true
engines:
node: '>=14.0.0'
hasBin: true hasBin: true
peerDependencies: peerDependencies:
'@vue/compiler-sfc': ^3.0.4 '@vue/compiler-sfc': ^3.0.4
@ -5027,11 +5029,11 @@ packages:
vue: ^3.0.4 vue: ^3.0.4
vue-router: ^4.0.1 vue-router: ^4.0.1
resolution: resolution:
integrity: sha512-UTFaA79ocqvYX2A47PK43ZKtkgt/h41Z7OJE5dBgIbJenc6OFyRlLmjD9GrUplnJenvOHKrjn12mCN08u1WYTw== integrity: sha512-3tWWxS1WdXOhZLFci4XlNP8fKOxrh+OP1mCoY77sIj/yqlS5pYr+eX5BHAtbqoMZX06P0Cl9t5fCDeo3uO3iBA==
/vite/2.0.0-beta.10: /vite/2.0.0-beta.10:
dependencies: dependencies:
esbuild: 0.8.31 esbuild: 0.8.31
postcss: 8.2.2 postcss: 8.2.3
resolve: 1.19.0 resolve: 1.19.0
rollup: 2.36.1 rollup: 2.36.1
dev: true dev: true
@ -5449,14 +5451,14 @@ specifiers:
'@vue/compiler-sfc': ^3.0.5 '@vue/compiler-sfc': ^3.0.5
'@vue/server-renderer': ^3.0.5 '@vue/server-renderer': ^3.0.5
'@vuedx/typescript-plugin-vue': ^0.4.1 '@vuedx/typescript-plugin-vue': ^0.4.1
'@vueuse/core': ^4.0.3 '@vueuse/core': ^4.0.4
autoprefixer: ^10.2.0 autoprefixer: ^10.2.0
cross-env: ^7.0.3 cross-env: ^7.0.3
eslint: ^7.17.0 eslint: ^7.17.0
markdown-it-prism: ^2.1.4 markdown-it-prism: ^2.1.4
nprogress: ^0.2.0 nprogress: ^0.2.0
pnpm: ^5.14.3 pnpm: ^5.14.3
postcss: ^8.2.2 postcss: ^8.2.3
postcss-nested: ^5.0.3 postcss-nested: ^5.0.3
tailwindcss: ^2.0.2 tailwindcss: ^2.0.2
typescript: ^4.1.3 typescript: ^4.1.3
@ -5466,7 +5468,7 @@ specifiers:
vite-plugin-md: ^0.2.1 vite-plugin-md: ^0.2.1
vite-plugin-pwa: ^0.3.2 vite-plugin-pwa: ^0.3.2
vite-plugin-voie: ^0.7.1 vite-plugin-voie: ^0.7.1
vite-ssg: ^0.2.0 vite-ssg: ^0.3.0
voie-pages: ^0.4.0 voie-pages: ^0.4.0
vue: ^3.0.5 vue: ^3.0.5
vue-i18n: 9.0.0-rc.1 vue-i18n: 9.0.0-rc.1

View File

@ -11,6 +11,7 @@
"moduleResolution": "node", "moduleResolution": "node",
"resolveJsonModule": true, "resolveJsonModule": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"types": ["vite/client"],
"plugins": [{ "name": "@vuedx/typescript-plugin-vue" }], "plugins": [{ "name": "@vuedx/typescript-plugin-vue" }],
"paths": { "paths": {
"/~/*": ["src/*"] "/~/*": ["src/*"]