From 51618d7213aacb38c1a1e0922c77c3093d679697 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Fri, 3 Dec 2021 23:04:20 +0800 Subject: [PATCH] fix: update typescript version --- .../typescript-pinia-with-tests/package.json | 2 +- playground/typescript-pinia/package.json | 2 +- .../package.json | 2 +- .../typescript-router-pinia/package.json | 2 +- .../typescript-router-with-tests/package.json | 2 +- playground/typescript-router/package.json | 2 +- playground/typescript-with-tests/package.json | 2 +- playground/typescript/package.json | 2 +- pnpm-lock.yaml | 70 +++++++++---------- template/config/typescript/package.json | 2 +- 10 files changed, 44 insertions(+), 44 deletions(-) diff --git a/playground/typescript-pinia-with-tests/package.json b/playground/typescript-pinia-with-tests/package.json index 2c628872..659222cf 100644 --- a/playground/typescript-pinia-with-tests/package.json +++ b/playground/typescript-pinia-with-tests/package.json @@ -24,7 +24,7 @@ "@vue/runtime-dom": "^3.2.22", "cypress": "^9.1.0", "start-server-and-test": "^1.14.0", - "typescript": "~4.4.4", + "typescript": "~4.5.2", "unplugin-vue2-script-setup": "^0.7.1", "vite": "^2.6.14", "vite-plugin-vue2": "^1.9.0", diff --git a/playground/typescript-pinia/package.json b/playground/typescript-pinia/package.json index fbb6abe2..a38a466d 100644 --- a/playground/typescript-pinia/package.json +++ b/playground/typescript-pinia/package.json @@ -16,7 +16,7 @@ "@types/node": "^16.11.10", "@vitejs/plugin-legacy": "^1.6.3", "@vue/runtime-dom": "^3.2.22", - "typescript": "~4.4.4", + "typescript": "~4.5.2", "unplugin-vue2-script-setup": "^0.7.1", "vite": "^2.6.14", "vite-plugin-vue2": "^1.9.0", diff --git a/playground/typescript-router-pinia-with-tests/package.json b/playground/typescript-router-pinia-with-tests/package.json index 555f572d..20e4dd86 100644 --- a/playground/typescript-router-pinia-with-tests/package.json +++ b/playground/typescript-router-pinia-with-tests/package.json @@ -25,7 +25,7 @@ "@vue/runtime-dom": "^3.2.22", "cypress": "^9.1.0", "start-server-and-test": "^1.14.0", - "typescript": "~4.4.4", + "typescript": "~4.5.2", "unplugin-vue2-script-setup": "^0.7.1", "vite": "^2.6.14", "vite-plugin-vue2": "^1.9.0", diff --git a/playground/typescript-router-pinia/package.json b/playground/typescript-router-pinia/package.json index 551305ae..3d8c1530 100644 --- a/playground/typescript-router-pinia/package.json +++ b/playground/typescript-router-pinia/package.json @@ -17,7 +17,7 @@ "@types/node": "^16.11.10", "@vitejs/plugin-legacy": "^1.6.3", "@vue/runtime-dom": "^3.2.22", - "typescript": "~4.4.4", + "typescript": "~4.5.2", "unplugin-vue2-script-setup": "^0.7.1", "vite": "^2.6.14", "vite-plugin-vue2": "^1.9.0", diff --git a/playground/typescript-router-with-tests/package.json b/playground/typescript-router-with-tests/package.json index d13a3248..a35e9b18 100644 --- a/playground/typescript-router-with-tests/package.json +++ b/playground/typescript-router-with-tests/package.json @@ -24,7 +24,7 @@ "@vue/runtime-dom": "^3.2.22", "cypress": "^9.1.0", "start-server-and-test": "^1.14.0", - "typescript": "~4.4.4", + "typescript": "~4.5.2", "unplugin-vue2-script-setup": "^0.7.1", "vite": "^2.6.14", "vite-plugin-vue2": "^1.9.0", diff --git a/playground/typescript-router/package.json b/playground/typescript-router/package.json index e4b945b2..b2f813ef 100644 --- a/playground/typescript-router/package.json +++ b/playground/typescript-router/package.json @@ -16,7 +16,7 @@ "@types/node": "^16.11.10", "@vitejs/plugin-legacy": "^1.6.3", "@vue/runtime-dom": "^3.2.22", - "typescript": "~4.4.4", + "typescript": "~4.5.2", "unplugin-vue2-script-setup": "^0.7.1", "vite": "^2.6.14", "vite-plugin-vue2": "^1.9.0", diff --git a/playground/typescript-with-tests/package.json b/playground/typescript-with-tests/package.json index 9ab67530..49bf3064 100644 --- a/playground/typescript-with-tests/package.json +++ b/playground/typescript-with-tests/package.json @@ -23,7 +23,7 @@ "@vue/runtime-dom": "^3.2.22", "cypress": "^9.1.0", "start-server-and-test": "^1.14.0", - "typescript": "~4.4.4", + "typescript": "~4.5.2", "unplugin-vue2-script-setup": "^0.7.1", "vite": "^2.6.14", "vite-plugin-vue2": "^1.9.0", diff --git a/playground/typescript/package.json b/playground/typescript/package.json index cdb8804f..1a86d017 100644 --- a/playground/typescript/package.json +++ b/playground/typescript/package.json @@ -15,7 +15,7 @@ "@types/node": "^16.11.10", "@vitejs/plugin-legacy": "^1.6.3", "@vue/runtime-dom": "^3.2.22", - "typescript": "~4.4.4", + "typescript": "~4.5.2", "unplugin-vue2-script-setup": "^0.7.1", "vite": "^2.6.14", "vite-plugin-vue2": "^1.9.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6ecc47ca..f02319a7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -215,7 +215,7 @@ importers: '@vitejs/plugin-legacy': ^1.6.3 '@vue/composition-api': ^1.4.0 '@vue/runtime-dom': ^3.2.22 - typescript: ~4.4.4 + typescript: ~4.5.2 unplugin-vue2-script-setup: ^0.7.1 vite: ^2.6.14 vite-plugin-vue2: ^1.9.0 @@ -229,12 +229,12 @@ importers: '@types/node': 16.11.10 '@vitejs/plugin-legacy': 1.6.3_vite@2.6.14 '@vue/runtime-dom': 3.2.23 - typescript: 4.4.4 + typescript: 4.5.2 unplugin-vue2-script-setup: 0.7.1_vite@2.6.14 vite: 2.6.14 vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148 vue-template-compiler: 2.6.14 - vue-tsc: 0.29.7_typescript@4.4.4 + vue-tsc: 0.29.7_typescript@4.5.2 playground/typescript-pinia: specifiers: @@ -243,7 +243,7 @@ importers: '@vue/composition-api': ^1.4.0 '@vue/runtime-dom': ^3.2.22 pinia: ^2.0.4 - typescript: ~4.4.4 + typescript: ~4.5.2 unplugin-vue2-script-setup: ^0.7.1 vite: ^2.6.14 vite-plugin-vue2: ^1.9.0 @@ -252,18 +252,18 @@ importers: vue-tsc: ^0.29.6 dependencies: '@vue/composition-api': 1.4.0_vue@2.6.14 - pinia: 2.0.4_3906864f589986c51f71a72116128850 + pinia: 2.0.4_852afeba47005e5dded4aa2a5b98b7c7 vue: 2.6.14 devDependencies: '@types/node': 16.11.10 '@vitejs/plugin-legacy': 1.6.3_vite@2.6.14 '@vue/runtime-dom': 3.2.23 - typescript: 4.4.4 + typescript: 4.5.2 unplugin-vue2-script-setup: 0.7.1_vite@2.6.14 vite: 2.6.14 vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148 vue-template-compiler: 2.6.14 - vue-tsc: 0.29.7_typescript@4.4.4 + vue-tsc: 0.29.7_typescript@4.5.2 playground/typescript-pinia-with-tests: specifiers: @@ -276,7 +276,7 @@ importers: cypress: ^9.1.0 pinia: ^2.0.4 start-server-and-test: ^1.14.0 - typescript: ~4.4.4 + typescript: ~4.5.2 unplugin-vue2-script-setup: ^0.7.1 vite: ^2.6.14 vite-plugin-vue2: ^1.9.0 @@ -285,7 +285,7 @@ importers: vue-tsc: ^0.29.6 dependencies: '@vue/composition-api': 1.4.0_vue@2.6.14 - pinia: 2.0.4_3906864f589986c51f71a72116128850 + pinia: 2.0.4_852afeba47005e5dded4aa2a5b98b7c7 vue: 2.6.14 devDependencies: '@cypress/vite-dev-server': 2.2.1_vite@2.6.14 @@ -295,12 +295,12 @@ importers: '@vue/runtime-dom': 3.2.23 cypress: 9.1.0 start-server-and-test: 1.14.0 - typescript: 4.4.4 + typescript: 4.5.2 unplugin-vue2-script-setup: 0.7.1_vite@2.6.14 vite: 2.6.14 vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148 vue-template-compiler: 2.6.14 - vue-tsc: 0.29.7_typescript@4.4.4 + vue-tsc: 0.29.7_typescript@4.5.2 playground/typescript-router: specifiers: @@ -308,7 +308,7 @@ importers: '@vitejs/plugin-legacy': ^1.6.3 '@vue/composition-api': ^1.4.0 '@vue/runtime-dom': ^3.2.22 - typescript: ~4.4.4 + typescript: ~4.5.2 unplugin-vue2-script-setup: ^0.7.1 vite: ^2.6.14 vite-plugin-vue2: ^1.9.0 @@ -324,12 +324,12 @@ importers: '@types/node': 16.11.10 '@vitejs/plugin-legacy': 1.6.3_vite@2.6.14 '@vue/runtime-dom': 3.2.23 - typescript: 4.4.4 + typescript: 4.5.2 unplugin-vue2-script-setup: 0.7.1_vite@2.6.14 vite: 2.6.14 vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148 vue-template-compiler: 2.6.14 - vue-tsc: 0.29.7_typescript@4.4.4 + vue-tsc: 0.29.7_typescript@4.5.2 playground/typescript-router-pinia: specifiers: @@ -338,7 +338,7 @@ importers: '@vue/composition-api': ^1.4.0 '@vue/runtime-dom': ^3.2.22 pinia: ^2.0.4 - typescript: ~4.4.4 + typescript: ~4.5.2 unplugin-vue2-script-setup: ^0.7.1 vite: ^2.6.14 vite-plugin-vue2: ^1.9.0 @@ -348,19 +348,19 @@ importers: vue-tsc: ^0.29.6 dependencies: '@vue/composition-api': 1.4.0_vue@2.6.14 - pinia: 2.0.4_3906864f589986c51f71a72116128850 + pinia: 2.0.4_852afeba47005e5dded4aa2a5b98b7c7 vue: 2.6.14 vue-router: 3.5.3 devDependencies: '@types/node': 16.11.10 '@vitejs/plugin-legacy': 1.6.3_vite@2.6.14 '@vue/runtime-dom': 3.2.23 - typescript: 4.4.4 + typescript: 4.5.2 unplugin-vue2-script-setup: 0.7.1_vite@2.6.14 vite: 2.6.14 vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148 vue-template-compiler: 2.6.14 - vue-tsc: 0.29.7_typescript@4.4.4 + vue-tsc: 0.29.7_typescript@4.5.2 playground/typescript-router-pinia-with-tests: specifiers: @@ -373,7 +373,7 @@ importers: cypress: ^9.1.0 pinia: ^2.0.4 start-server-and-test: ^1.14.0 - typescript: ~4.4.4 + typescript: ~4.5.2 unplugin-vue2-script-setup: ^0.7.1 vite: ^2.6.14 vite-plugin-vue2: ^1.9.0 @@ -383,7 +383,7 @@ importers: vue-tsc: ^0.29.6 dependencies: '@vue/composition-api': 1.4.0_vue@2.6.14 - pinia: 2.0.4_3906864f589986c51f71a72116128850 + pinia: 2.0.4_852afeba47005e5dded4aa2a5b98b7c7 vue: 2.6.14 vue-router: 3.5.3 devDependencies: @@ -394,12 +394,12 @@ importers: '@vue/runtime-dom': 3.2.23 cypress: 9.1.0 start-server-and-test: 1.14.0 - typescript: 4.4.4 + typescript: 4.5.2 unplugin-vue2-script-setup: 0.7.1_vite@2.6.14 vite: 2.6.14 vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148 vue-template-compiler: 2.6.14 - vue-tsc: 0.29.7_typescript@4.4.4 + vue-tsc: 0.29.7_typescript@4.5.2 playground/typescript-router-with-tests: specifiers: @@ -411,7 +411,7 @@ importers: '@vue/runtime-dom': ^3.2.22 cypress: ^9.1.0 start-server-and-test: ^1.14.0 - typescript: ~4.4.4 + typescript: ~4.5.2 unplugin-vue2-script-setup: ^0.7.1 vite: ^2.6.14 vite-plugin-vue2: ^1.9.0 @@ -431,12 +431,12 @@ importers: '@vue/runtime-dom': 3.2.23 cypress: 9.1.0 start-server-and-test: 1.14.0 - typescript: 4.4.4 + typescript: 4.5.2 unplugin-vue2-script-setup: 0.7.1_vite@2.6.14 vite: 2.6.14 vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148 vue-template-compiler: 2.6.14 - vue-tsc: 0.29.7_typescript@4.4.4 + vue-tsc: 0.29.7_typescript@4.5.2 playground/typescript-with-tests: specifiers: @@ -448,7 +448,7 @@ importers: '@vue/runtime-dom': ^3.2.22 cypress: ^9.1.0 start-server-and-test: ^1.14.0 - typescript: ~4.4.4 + typescript: ~4.5.2 unplugin-vue2-script-setup: ^0.7.1 vite: ^2.6.14 vite-plugin-vue2: ^1.9.0 @@ -466,12 +466,12 @@ importers: '@vue/runtime-dom': 3.2.23 cypress: 9.1.0 start-server-and-test: 1.14.0 - typescript: 4.4.4 + typescript: 4.5.2 unplugin-vue2-script-setup: 0.7.1_vite@2.6.14 vite: 2.6.14 vite-plugin-vue2: 1.9.0_cd1846aafe4c35f31c699104ee2df148 vue-template-compiler: 2.6.14 - vue-tsc: 0.29.7_typescript@4.4.4 + vue-tsc: 0.29.7_typescript@4.5.2 playground/with-tests: specifiers: @@ -3609,7 +3609,7 @@ packages: engines: {node: '>=4'} dev: true - /pinia/2.0.4_3906864f589986c51f71a72116128850: + /pinia/2.0.4_5f1bd7414a2bfaaedeb8e06aba7234f1: resolution: {integrity: sha512-nAc2f9HmOcBbWRlnGDuBGedM1G6uFAR10FnJWP1/dgm1I2tM5jbgKL/3IgynP4mBnPCy//ky7g0WpCZl5Mmxsg==} peerDependencies: '@vue/composition-api': ^1.4.0 @@ -3623,12 +3623,11 @@ packages: dependencies: '@vue/composition-api': 1.4.0_vue@2.6.14 '@vue/devtools-api': 6.0.0-beta.20.1 - typescript: 4.4.4 vue: 2.6.14 vue-demi: 0.12.1_5f1bd7414a2bfaaedeb8e06aba7234f1 dev: false - /pinia/2.0.4_5f1bd7414a2bfaaedeb8e06aba7234f1: + /pinia/2.0.4_852afeba47005e5dded4aa2a5b98b7c7: resolution: {integrity: sha512-nAc2f9HmOcBbWRlnGDuBGedM1G6uFAR10FnJWP1/dgm1I2tM5jbgKL/3IgynP4mBnPCy//ky7g0WpCZl5Mmxsg==} peerDependencies: '@vue/composition-api': ^1.4.0 @@ -3642,6 +3641,7 @@ packages: dependencies: '@vue/composition-api': 1.4.0_vue@2.6.14 '@vue/devtools-api': 6.0.0-beta.20.1 + typescript: 4.5.2 vue: 2.6.14 vue-demi: 0.12.1_5f1bd7414a2bfaaedeb8e06aba7234f1 dev: false @@ -4338,8 +4338,8 @@ packages: engines: {node: '>=10'} dev: true - /typescript/4.4.4: - resolution: {integrity: sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==} + /typescript/4.5.2: + resolution: {integrity: sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==} engines: {node: '>=4.2.0'} hasBin: true dev: true @@ -4662,14 +4662,14 @@ packages: resolution: {integrity: sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==} dev: true - /vue-tsc/0.29.7_typescript@4.4.4: + /vue-tsc/0.29.7_typescript@4.5.2: resolution: {integrity: sha512-8jCGovixOZgV6Qu9nOyoTon3HUNUG9YD8cnMHUCGqdu/H21P5D+4k/d8rHzpGvbUlwq5dP2pFCx6rmRwfTfDmA==} hasBin: true peerDependencies: typescript: '*' dependencies: '@volar/shared': 0.29.7 - typescript: 4.4.4 + typescript: 4.5.2 vscode-vue-languageservice: 0.29.7 dev: true diff --git a/template/config/typescript/package.json b/template/config/typescript/package.json index 4d0fef9e..5e562e44 100644 --- a/template/config/typescript/package.json +++ b/template/config/typescript/package.json @@ -5,7 +5,7 @@ }, "devDependencies": { "@types/node": "^16.11.10", - "typescript": "~4.4.4", + "typescript": "~4.5.2", "vue-tsc": "^0.29.6" } } -- 2.47.3