1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-05 16:39:58 +00:00

chore: upgrade vue-tsc

This commit is contained in:
Kevin 2023-03-20 23:45:02 +08:00
parent 0418d05753
commit c0561e7eed
No known key found for this signature in database
GPG key ID: 68D73816CD641CDB
3 changed files with 250 additions and 23 deletions

View file

@ -4,7 +4,7 @@ defineProps<{
hover?: boolean
}>()
const { modelValue } = defineModel<{
modelValue: boolean
modelValue?: boolean
}>()
</script>

View file

@ -121,7 +121,7 @@
"simple-git-hooks": "^2.8.1",
"typescript": "^4.9.5",
"vitest": "^0.29.5",
"vue-tsc": "^1.0.24"
"vue-tsc": "^1.2.0"
},
"pnpm": {
"overrides": {

View file

@ -116,7 +116,7 @@ importers:
vite-plugin-pwa: ^0.14.1
vitest: ^0.29.5
vue-advanced-cropper: ^2.8.8
vue-tsc: ^1.0.24
vue-tsc: ^1.2.0
vue-virtual-scroller: 2.0.0-beta.7
workbox-build: ^6.5.4
workbox-window: ^6.5.4
@ -141,7 +141,7 @@ importers:
'@tiptap/suggestion': 2.0.0-beta.204
'@tiptap/vue-3': 2.0.0-beta.204
'@unocss/nuxt': 0.50.6
'@vue-macros/nuxt': 1.2.3_lj2ccppcbkg4q3shtolb6gzyeq
'@vue-macros/nuxt': 1.2.3_dfrtt7t4bycd4737uragtlee7e
'@vueuse/core': 9.13.0
'@vueuse/gesture': 2.0.0-beta.1
'@vueuse/integrations': 9.13.0_ha7ivgav6uqpoo2b5thfugqwjq
@ -208,12 +208,12 @@ importers:
flat: 5.0.2
fs-extra: 11.1.0
lint-staged: 13.1.0
nuxt: 3.2.0_5366x3biisswkgear2ya54ssce
nuxt: 3.2.0_dnln5a254turbfbj3pe4yrka6m
prettier: 2.8.4
simple-git-hooks: 2.8.1
typescript: 4.9.5
vitest: 0.29.5
vue-tsc: 1.0.24_typescript@4.9.5
vue-tsc: 1.2.0_typescript@4.9.5
docs:
specifiers:
@ -500,13 +500,13 @@ packages:
resolution: {integrity: sha512-9J0CxJLq315fEdi4s7xK5TQaNYjZw+nDVpVqr1axNGKzdrdwYBD5b4uKv3n75aABG0rCCTK8Im8Ww7eYfMrZgw==}
engines: {node: '>=6.9.0'}
dependencies:
'@babel/types': 7.20.7
'@babel/types': 7.21.3
/@babel/helper-module-imports/7.18.6:
resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==}
engines: {node: '>=6.9.0'}
dependencies:
'@babel/types': 7.20.7
'@babel/types': 7.21.3
/@babel/helper-module-transforms/7.20.11:
resolution: {integrity: sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg==}
@ -634,7 +634,6 @@ packages:
hasBin: true
dependencies:
'@babel/types': 7.21.3
dev: false
/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/7.18.6_@babel+core@7.20.12:
resolution: {integrity: sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==}
@ -1532,7 +1531,6 @@ packages:
'@babel/helper-string-parser': 7.19.4
'@babel/helper-validator-identifier': 7.19.1
to-fast-properties: 2.0.0
dev: false
/@cloudflare/kv-asset-handler/0.3.0:
resolution: {integrity: sha512-9CB/MKf/wdvbfkUdfrj+OkEwZ5b7rws0eogJ4293h+7b6KX5toPwym+VQKmILafNB9YiehqY0DlNrDcDhdWHSQ==}
@ -2732,7 +2730,7 @@ packages:
h3: 1.4.0
hookable: 5.4.2
launch-editor: 2.6.0
nuxt: 3.2.0_5366x3biisswkgear2ya54ssce
nuxt: 3.2.0_dnln5a254turbfbj3pe4yrka6m
pacote: 15.1.0
pathe: 1.1.0
pkg-types: 1.0.1
@ -3026,6 +3024,64 @@ packages:
- vls
- vti
- vue-tsc
dev: true
/@nuxt/vite-builder/3.2.0_tx72365saxypkm5pdtj3jp4mka:
resolution: {integrity: sha512-1rApkhjQMUndRKl9bFn/NdAVxUgPeAB/XIEgP0YN4KPTM156Q/fvgu8LrzUp4lzYgGGKfm4r8IfuxYS9BremMQ==}
engines: {node: ^14.16.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0}
peerDependencies:
vue: ^3.2.47
dependencies:
'@nuxt/kit': 3.2.0_rollup@3.14.0
'@rollup/plugin-replace': 5.0.2_rollup@3.14.0
'@vitejs/plugin-vue': 4.0.0_vite@4.1.1+vue@3.2.45
'@vitejs/plugin-vue-jsx': 3.0.0_vite@4.1.1+vue@3.2.45
autoprefixer: 10.4.13_postcss@8.4.21
chokidar: 3.5.3
cssnano: 5.1.14_postcss@8.4.21
defu: 6.1.2
esbuild: 0.17.6
escape-string-regexp: 5.0.0
estree-walker: 3.0.3
externality: 1.0.0
fs-extra: 11.1.0
get-port-please: 3.0.1
h3: 1.4.0
knitwork: 1.0.0
magic-string: 0.27.0
mlly: 1.1.0
ohash: 1.0.0
pathe: 1.1.0
perfect-debounce: 0.1.3
pkg-types: 1.0.1
postcss: 8.4.21
postcss-import: 15.1.0_postcss@8.4.21
postcss-url: 10.1.3_postcss@8.4.21
rollup: 3.14.0
rollup-plugin-visualizer: 5.9.0_rollup@3.14.0
ufo: 1.0.1
unplugin: 1.0.1
vite: 4.1.1
vite-node: 0.28.4
vite-plugin-checker: 0.5.5_vtj6uqqw3akmy6mz5furs3t3tu
vue: 3.2.45
vue-bundle-renderer: 1.0.1
transitivePeerDependencies:
- '@types/node'
- eslint
- less
- meow
- optionator
- sass
- stylelint
- stylus
- sugarss
- supports-color
- terser
- typescript
- vls
- vti
- vue-tsc
/@nuxt/vite-builder/3.2.0_vue@3.2.45:
resolution: {integrity: sha512-1rApkhjQMUndRKl9bFn/NdAVxUgPeAB/XIEgP0YN4KPTM156Q/fvgu8LrzUp4lzYgGGKfm4r8IfuxYS9BremMQ==}
@ -4316,15 +4372,31 @@ packages:
'@volar/source-map': 1.0.24
muggle-string: 0.1.0
/@volar/language-core/1.3.0-alpha.0:
resolution: {integrity: sha512-W3uMzecHPcbwddPu4SJpUcPakRBK/y/BP+U0U6NiPpUX1tONLC4yCawt+QBJqtgJ+sfD6ztf5PyvPL3hQRqfOA==}
dependencies:
'@volar/source-map': 1.3.0-alpha.0
/@volar/source-map/1.0.24:
resolution: {integrity: sha512-Qsv/tkplx18pgBr8lKAbM1vcDqgkGKQzbChg6NW+v0CZc3G7FLmK+WrqEPzKlN7Cwdc6XVL559Nod8WKAfKr4A==}
dependencies:
muggle-string: 0.1.0
/@volar/source-map/1.3.0-alpha.0:
resolution: {integrity: sha512-jSdizxWFvDTvkPYZnO6ew3sBZUnS0abKCbuopkc0JrIlFbznWC/fPH3iPFIMS8/IIkRxq1Jh9VVG60SmtsdaMQ==}
dependencies:
muggle-string: 0.2.2
/@volar/typescript/1.0.24:
resolution: {integrity: sha512-f8hCSk+PfKR1/RQHxZ79V1NpDImHoivqoizK+mstphm25tn/YJ/JnKNjZHB+o21fuW0yKlI26NV3jkVb2Cc/7A==}
dependencies:
'@volar/language-core': 1.0.24
dev: true
/@volar/typescript/1.3.0-alpha.0:
resolution: {integrity: sha512-5UItyW2cdH2mBLu4RrECRNJRgtvvzKrSCn2y3v/D61QwIDkGx4aeil6x8RFuUL5TFtV6QvVHXnsOHxNgd+sCow==}
dependencies:
'@volar/language-core': 1.3.0-alpha.0
/@volar/vue-language-core/1.0.24:
resolution: {integrity: sha512-2NTJzSgrwKu6uYwPqLiTMuAzi7fAY3yFy5PJ255bGJc82If0Xr+cW8pC80vpjG0D/aVLmlwAdO4+Ya2BI8GdDg==}
@ -4337,12 +4409,33 @@ packages:
'@vue/shared': 3.2.47
minimatch: 5.1.6
vue-template-compiler: 2.7.14
dev: true
/@volar/vue-language-core/1.2.0:
resolution: {integrity: sha512-w7yEiaITh2WzKe6u8ZdeLKCUz43wdmY/OqAmsB/PGDvvhTcVhCJ6f0W/RprZL1IhqH8wALoWiwEh/Wer7ZviMQ==}
dependencies:
'@volar/language-core': 1.3.0-alpha.0
'@volar/source-map': 1.3.0-alpha.0
'@vue/compiler-dom': 3.2.47
'@vue/compiler-sfc': 3.2.47
'@vue/reactivity': 3.2.47
'@vue/shared': 3.2.47
minimatch: 6.2.0
muggle-string: 0.2.2
vue-template-compiler: 2.7.14
/@volar/vue-typescript/1.0.24:
resolution: {integrity: sha512-9a25oHDvGaNC0okRS47uqJI6FxY4hUQZUsxeOUFHcqVxZEv8s17LPuP/pMMXyz7jPygrZubB/qXqHY5jEu/akA==}
dependencies:
'@volar/typescript': 1.0.24
'@volar/vue-language-core': 1.0.24
dev: true
/@volar/vue-typescript/1.2.0:
resolution: {integrity: sha512-zjmRi9y3J1EkG+pfuHp8IbHmibihrKK485cfzsHjiuvJMGrpkWvlO5WVEk8oslMxxeGC5XwBFE9AOlvh378EPA==}
dependencies:
'@volar/typescript': 1.3.0-alpha.0
'@volar/vue-language-core': 1.2.0
/@vue-macros/api/0.4.7:
resolution: {integrity: sha512-0EjnoCcRRF1DAkcYCf/fufYG7xl269sqFbwp0/TOYqzyjjhd/8zc/qLxaVJoe63/GTrOzIgo3gXiRDcf7Pupgg==}
@ -4520,7 +4613,7 @@ packages:
- vue
dev: false
/@vue-macros/nuxt/1.2.3_lj2ccppcbkg4q3shtolb6gzyeq:
/@vue-macros/nuxt/1.2.3_dfrtt7t4bycd4737uragtlee7e:
resolution: {integrity: sha512-5zzr+KkwCiaW2wJiMlNSSNv7GC68MH+0LDRI5FqG6aOsB7QdS6i1/IvkFy5vh2AmBN13Ja4q1guUdX3g9OJU9g==}
engines: {node: '>=14.19.0'}
peerDependencies:
@ -4528,8 +4621,8 @@ packages:
dependencies:
'@nuxt/kit': 3.3.1
'@vue-macros/short-vmodel': 1.1.3
'@vue-macros/volar': 0.9.0_vue-tsc@1.0.24
nuxt: 3.2.0_5366x3biisswkgear2ya54ssce
'@vue-macros/volar': 0.9.0_vue-tsc@1.2.0
nuxt: 3.2.0_dnln5a254turbfbj3pe4yrka6m
unplugin-vue-macros: 1.10.1_@vueuse+core@9.13.0
transitivePeerDependencies:
- '@vue-macros/reactivity-transform'
@ -4619,7 +4712,7 @@ packages:
- vue
dev: false
/@vue-macros/volar/0.9.0_vue-tsc@1.0.24:
/@vue-macros/volar/0.9.0_vue-tsc@1.2.0:
resolution: {integrity: sha512-TvWzz+2ju9EW3HAvI4PJ7dAyBBZGqzMbsdc9AuamAel2fuJaRllxSCZglEIj5SAc0QhOkayjPNJnO4xloBESWA==}
engines: {node: '>=14.19.0'}
peerDependencies:
@ -4633,7 +4726,7 @@ packages:
'@vue-macros/define-props': 0.4.1
'@vue-macros/short-vmodel': 1.1.3
muggle-string: 0.2.2
vue-tsc: 1.0.24_typescript@4.9.5
vue-tsc: 1.2.0_typescript@4.9.5
transitivePeerDependencies:
- '@vue-macros/reactivity-transform'
- rollup
@ -4662,7 +4755,7 @@ packages:
/@vue/compiler-core/3.2.45:
resolution: {integrity: sha512-rcMj7H+PYe5wBV3iYeUgbCglC+pbpN8hBLTJvRiK2eKQiWqu+fG9F+8sW99JdL4LQi7Re178UOxn09puSXvn4A==}
dependencies:
'@babel/parser': 7.20.15
'@babel/parser': 7.21.3
'@vue/shared': 3.2.45
estree-walker: 2.0.2
source-map: 0.6.1
@ -4670,7 +4763,7 @@ packages:
/@vue/compiler-core/3.2.47:
resolution: {integrity: sha512-p4D7FDnQb7+YJmO2iPEv0SQNeNzcbHdGByJDsT4lynf63AFkOTFN07HsiRSvjGo0QrxR/o3d0hUyNCUnBU2Tig==}
dependencies:
'@babel/parser': 7.20.15
'@babel/parser': 7.21.3
'@vue/shared': 3.2.47
estree-walker: 2.0.2
source-map: 0.6.1
@ -4704,7 +4797,7 @@ packages:
/@vue/compiler-sfc/3.2.47:
resolution: {integrity: sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ==}
dependencies:
'@babel/parser': 7.20.15
'@babel/parser': 7.21.3
'@vue/compiler-core': 3.2.47
'@vue/compiler-dom': 3.2.47
'@vue/compiler-ssr': 3.2.47
@ -4742,7 +4835,7 @@ packages:
/@vue/reactivity-transform/3.2.47:
resolution: {integrity: sha512-m8lGXw8rdnPVVIdIFhf0LeQ/ixyHkH5plYuS83yop5n7ggVJU+z5v0zecwEnX7fa7HNLBhh2qngJJkxpwEEmYA==}
dependencies:
'@babel/parser': 7.20.15
'@babel/parser': 7.21.3
'@vue/compiler-core': 3.2.47
'@vue/shared': 3.2.47
estree-walker: 2.0.2
@ -4977,7 +5070,7 @@ packages:
'@vueuse/core': 9.13.0
'@vueuse/metadata': 9.13.0
local-pkg: 0.4.3
nuxt: 3.2.0_5366x3biisswkgear2ya54ssce
nuxt: 3.2.0_dnln5a254turbfbj3pe4yrka6m
vue-demi: 0.13.11
transitivePeerDependencies:
- '@vue/composition-api'
@ -9415,7 +9508,6 @@ packages:
engines: {node: '>=10'}
dependencies:
brace-expansion: 2.0.1
dev: false
/minimist/1.2.7:
resolution: {integrity: sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==}
@ -9571,7 +9663,6 @@ packages:
/muggle-string/0.2.2:
resolution: {integrity: sha512-YVE1mIJ4VpUMqZObFndk9CJu6DBJR/GB13p3tXuNbwD4XExaI5EOuRl6BHeIDxIqXZVxSfAC+y6U1Z/IxCfKUg==}
dev: false
/mute-stream/0.0.8:
resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==}
@ -10117,6 +10208,78 @@ packages:
- vls
- vti
- vue-tsc
dev: true
/nuxt/3.2.0_dnln5a254turbfbj3pe4yrka6m:
resolution: {integrity: sha512-8jAYyjU1Ht+MXPLLDIdIUmV56KiI0g7KusKwzvqn+vlzyCNtSHg2W/VBCGw5QWplb/MXruogcMl2sDenlQRZFg==}
engines: {node: ^14.16.0 || ^16.10.0 || ^17.0.0 || ^18.0.0 || ^19.0.0}
hasBin: true
dependencies:
'@nuxt/devalue': 2.0.0
'@nuxt/kit': 3.2.0
'@nuxt/schema': 3.2.0
'@nuxt/telemetry': 2.1.9
'@nuxt/ui-templates': 1.1.1
'@nuxt/vite-builder': 3.2.0_tx72365saxypkm5pdtj3jp4mka
'@unhead/ssr': 1.0.21
'@vue/reactivity': 3.2.47
'@vue/shared': 3.2.47
'@vueuse/head': 1.0.25_vue@3.2.45
chokidar: 3.5.3
cookie-es: 0.5.0
defu: 6.1.2
destr: 1.2.2
escape-string-regexp: 5.0.0
estree-walker: 3.0.3
fs-extra: 11.1.0
globby: 13.1.3
h3: 1.4.0
hash-sum: 2.0.0
hookable: 5.4.2
jiti: 1.17.0
knitwork: 1.0.0
magic-string: 0.27.0
mlly: 1.1.0
nitropack: 2.2.1
nuxi: 3.2.0
ofetch: 1.0.0
ohash: 1.0.0
pathe: 1.1.0
perfect-debounce: 0.1.3
scule: 1.0.0
strip-literal: 1.0.1
ufo: 1.0.1
unctx: 2.1.1
unenv: 1.1.1
unhead: 1.0.21
unimport: 2.2.4
unplugin: 1.0.1
untyped: 1.2.2
vue: 3.2.45
vue-bundle-renderer: 1.0.1
vue-devtools-stub: 0.1.0
vue-router: 4.1.6_vue@3.2.45
transitivePeerDependencies:
- '@types/node'
- bufferutil
- debug
- encoding
- eslint
- less
- meow
- optionator
- rollup
- sass
- stylelint
- stylus
- sugarss
- supports-color
- terser
- typescript
- utf-8-validate
- vls
- vti
- vue-tsc
/object-assign/4.1.1:
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
@ -13021,6 +13184,7 @@ packages:
vscode-languageserver-textdocument: 1.0.8
vscode-uri: 3.0.7
vue-tsc: 1.0.24_typescript@4.9.5
dev: true
/vite-plugin-checker/0.5.5_vite@4.1.1:
resolution: {integrity: sha512-BLaRlBmiVn3Fg/wR9A0+YNwgXVteFJaH8rCIiIgYQcQ50jc3oVe2m8i0xxG5geq36UttNJsAj7DpDelN7/KjOg==}
@ -13072,6 +13236,58 @@ packages:
vscode-uri: 3.0.7
dev: true
/vite-plugin-checker/0.5.5_vtj6uqqw3akmy6mz5furs3t3tu:
resolution: {integrity: sha512-BLaRlBmiVn3Fg/wR9A0+YNwgXVteFJaH8rCIiIgYQcQ50jc3oVe2m8i0xxG5geq36UttNJsAj7DpDelN7/KjOg==}
engines: {node: '>=14.16'}
peerDependencies:
eslint: '>=7'
meow: ^9.0.0
optionator: ^0.9.1
stylelint: '>=13'
typescript: '*'
vite: '>=2.0.0'
vls: '*'
vti: '*'
vue-tsc: '*'
peerDependenciesMeta:
eslint:
optional: true
meow:
optional: true
optionator:
optional: true
stylelint:
optional: true
typescript:
optional: true
vls:
optional: true
vti:
optional: true
vue-tsc:
optional: true
dependencies:
'@babel/code-frame': 7.18.6
ansi-escapes: 4.3.2
chalk: 4.1.2
chokidar: 3.5.3
commander: 8.3.0
eslint: 8.36.0
fast-glob: 3.2.12
fs-extra: 11.1.0
lodash.debounce: 4.0.8
lodash.pick: 4.4.0
npm-run-path: 4.0.1
strip-ansi: 6.0.1
tiny-invariant: 1.3.1
typescript: 4.9.5
vite: 4.1.1
vscode-languageclient: 7.0.0
vscode-languageserver: 7.0.0
vscode-languageserver-textdocument: 1.0.8
vscode-uri: 3.0.7
vue-tsc: 1.2.0_typescript@4.9.5
/vite-plugin-inspect/0.7.15:
resolution: {integrity: sha512-oxeZCljacA/slhGFbDNlBqdhDU9fgdHL84i7Nz7DnaAIE7DhTiW2djanw3d/BKuZtduKUY82vRUQ4iaG917t2A==}
engines: {node: '>=14'}
@ -13542,6 +13758,17 @@ packages:
'@volar/vue-language-core': 1.0.24
'@volar/vue-typescript': 1.0.24
typescript: 4.9.5
dev: true
/vue-tsc/1.2.0_typescript@4.9.5:
resolution: {integrity: sha512-rIlzqdrhyPYyLG9zxsVRa+JEseeS9s8F2BbVVVWRRsTZvJO2BbhLEb2HW3MY+DFma0378tnIqs+vfTzbcQtRFw==}
hasBin: true
peerDependencies:
typescript: '*'
dependencies:
'@volar/vue-language-core': 1.2.0
'@volar/vue-typescript': 1.2.0
typescript: 4.9.5
/vue-virtual-scroller/2.0.0-beta.7:
resolution: {integrity: sha512-OrouVj1i2939jaLjVfu8f5fsDlbzhAb4bOsYZYrAkpcVLylAmMoGtIL7eT3hJrdTiaKbwQpRdnv7DKf9Fn+tHg==}