From 026f41e87e6eb89491c88f62952d7a094f810811 Mon Sep 17 00:00:00 2001 From: patak Date: Fri, 9 Dec 2022 11:12:33 +0100 Subject: [PATCH] chore: udpate vite and plugins to stable (#11278) --- CONTRIBUTING.md | 2 +- .../create-vite/template-lit-ts/package.json | 2 +- packages/create-vite/template-lit/package.json | 2 +- .../template-preact-ts/package.json | 2 +- .../create-vite/template-preact/package.json | 2 +- .../create-vite/template-react-ts/package.json | 4 ++-- .../create-vite/template-react/package.json | 4 ++-- .../template-svelte-ts/package.json | 2 +- .../create-vite/template-svelte/package.json | 2 +- .../template-vanilla-ts/package.json | 2 +- .../create-vite/template-vanilla/package.json | 2 +- .../create-vite/template-vue-ts/package.json | 4 ++-- packages/create-vite/template-vue/package.json | 4 ++-- packages/plugin-legacy/package.json | 2 +- playground/optimize-deps/package.json | 2 +- playground/preload/package.json | 2 +- playground/tailwind/package.json | 2 +- pnpm-lock.yaml | 18 +++++++++--------- 18 files changed, 30 insertions(+), 30 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bfc8dbd19f8c33..a39efb4e213f6a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -64,7 +64,7 @@ You may wish to test your locally modified copy of Vite against another package ```json { "dependencies": { - "vite": "^2.0.0" + "vite": "^4.0.0" }, "pnpm": { "overrides": { diff --git a/packages/create-vite/template-lit-ts/package.json b/packages/create-vite/template-lit-ts/package.json index 4b96ffa56d377b..501893ffdaa39c 100644 --- a/packages/create-vite/template-lit-ts/package.json +++ b/packages/create-vite/template-lit-ts/package.json @@ -21,6 +21,6 @@ }, "devDependencies": { "typescript": "^4.9.3", - "vite": "^4.0.0-beta.3" + "vite": "^4.0.0" } } diff --git a/packages/create-vite/template-lit/package.json b/packages/create-vite/template-lit/package.json index 92e758223cbc1e..457ca48f932458 100644 --- a/packages/create-vite/template-lit/package.json +++ b/packages/create-vite/template-lit/package.json @@ -18,6 +18,6 @@ "lit": "^2.4.1" }, "devDependencies": { - "vite": "^4.0.0-beta.3" + "vite": "^4.0.0" } } diff --git a/packages/create-vite/template-preact-ts/package.json b/packages/create-vite/template-preact-ts/package.json index 7d9619bfc0b952..454f4f13e35c27 100644 --- a/packages/create-vite/template-preact-ts/package.json +++ b/packages/create-vite/template-preact-ts/package.json @@ -14,6 +14,6 @@ "devDependencies": { "@preact/preset-vite": "^2.4.0", "typescript": "^4.9.3", - "vite": "^4.0.0-beta.3" + "vite": "^4.0.0" } } diff --git a/packages/create-vite/template-preact/package.json b/packages/create-vite/template-preact/package.json index 1eb28d64c8ce3a..d395bb45d6d08c 100644 --- a/packages/create-vite/template-preact/package.json +++ b/packages/create-vite/template-preact/package.json @@ -13,6 +13,6 @@ }, "devDependencies": { "@preact/preset-vite": "^2.4.0", - "vite": "^4.0.0-beta.3" + "vite": "^4.0.0" } } diff --git a/packages/create-vite/template-react-ts/package.json b/packages/create-vite/template-react-ts/package.json index ef60ad8c26dde4..97441553ddd11e 100644 --- a/packages/create-vite/template-react-ts/package.json +++ b/packages/create-vite/template-react-ts/package.json @@ -15,8 +15,8 @@ "devDependencies": { "@types/react": "^18.0.26", "@types/react-dom": "^18.0.9", - "@vitejs/plugin-react": "^3.0.0-beta.0", + "@vitejs/plugin-react": "^3.0.0", "typescript": "^4.9.3", - "vite": "^4.0.0-beta.3" + "vite": "^4.0.0" } } diff --git a/packages/create-vite/template-react/package.json b/packages/create-vite/template-react/package.json index 701befa0a73914..0250b1c98117f9 100644 --- a/packages/create-vite/template-react/package.json +++ b/packages/create-vite/template-react/package.json @@ -15,7 +15,7 @@ "devDependencies": { "@types/react": "^18.0.26", "@types/react-dom": "^18.0.9", - "@vitejs/plugin-react": "^3.0.0-beta.0", - "vite": "^4.0.0-beta.3" + "@vitejs/plugin-react": "^3.0.0", + "vite": "^4.0.0" } } diff --git a/packages/create-vite/template-svelte-ts/package.json b/packages/create-vite/template-svelte-ts/package.json index 66e2c6f01c904d..e1001b453347d9 100644 --- a/packages/create-vite/template-svelte-ts/package.json +++ b/packages/create-vite/template-svelte-ts/package.json @@ -17,6 +17,6 @@ "svelte-preprocess": "^4.10.7", "tslib": "^2.4.1", "typescript": "^4.9.3", - "vite": "^4.0.0-beta.3" + "vite": "^4.0.0" } } diff --git a/packages/create-vite/template-svelte/package.json b/packages/create-vite/template-svelte/package.json index aaf3b6b1493565..e2b6ba90d097bd 100644 --- a/packages/create-vite/template-svelte/package.json +++ b/packages/create-vite/template-svelte/package.json @@ -11,6 +11,6 @@ "devDependencies": { "@sveltejs/vite-plugin-svelte": "^2.0.0-beta.0", "svelte": "^3.53.1", - "vite": "^4.0.0-beta.3" + "vite": "^4.0.0" } } diff --git a/packages/create-vite/template-vanilla-ts/package.json b/packages/create-vite/template-vanilla-ts/package.json index c36e72003aa54f..dd93088968751e 100644 --- a/packages/create-vite/template-vanilla-ts/package.json +++ b/packages/create-vite/template-vanilla-ts/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "typescript": "^4.9.3", - "vite": "^4.0.0-beta.3" + "vite": "^4.0.0" } } diff --git a/packages/create-vite/template-vanilla/package.json b/packages/create-vite/template-vanilla/package.json index 4e71f7b6c9d47f..f422e89ea8628e 100644 --- a/packages/create-vite/template-vanilla/package.json +++ b/packages/create-vite/template-vanilla/package.json @@ -9,6 +9,6 @@ "preview": "vite preview" }, "devDependencies": { - "vite": "^4.0.0-beta.3" + "vite": "^4.0.0" } } diff --git a/packages/create-vite/template-vue-ts/package.json b/packages/create-vite/template-vue-ts/package.json index 22da037ff791a7..9fee3fb7d5a16c 100644 --- a/packages/create-vite/template-vue-ts/package.json +++ b/packages/create-vite/template-vue-ts/package.json @@ -12,9 +12,9 @@ "vue": "^3.2.45" }, "devDependencies": { - "@vitejs/plugin-vue": "^4.0.0-beta.0", + "@vitejs/plugin-vue": "^4.0.0", "typescript": "^4.9.3", - "vite": "^4.0.0-beta.3", + "vite": "^4.0.0", "vue-tsc": "^1.0.11" } } diff --git a/packages/create-vite/template-vue/package.json b/packages/create-vite/template-vue/package.json index 57e62a92a3ca27..4416db9e531ce9 100644 --- a/packages/create-vite/template-vue/package.json +++ b/packages/create-vite/template-vue/package.json @@ -12,7 +12,7 @@ "vue": "^3.2.45" }, "devDependencies": { - "@vitejs/plugin-vue": "^4.0.0-beta.0", - "vite": "^4.0.0-beta.3" + "@vitejs/plugin-vue": "^4.0.0", + "vite": "^4.0.0" } } diff --git a/packages/plugin-legacy/package.json b/packages/plugin-legacy/package.json index 385048c812aaec..86e28780ddb7aa 100644 --- a/packages/plugin-legacy/package.json +++ b/packages/plugin-legacy/package.json @@ -43,7 +43,7 @@ }, "peerDependencies": { "terser": "^5.4.0", - "vite": "^3.0.0" + "vite": "^4.0.0" }, "devDependencies": { "@babel/core": "^7.20.5", diff --git a/playground/optimize-deps/package.json b/playground/optimize-deps/package.json index a5f9bd7ed8e6e1..7e74b72566b346 100644 --- a/playground/optimize-deps/package.json +++ b/playground/optimize-deps/package.json @@ -40,6 +40,6 @@ "lodash.clonedeep": "^4.5.0" }, "devDependencies": { - "@vitejs/plugin-vue": "^4.0.0-alpha.2" + "@vitejs/plugin-vue": "^4.0.0" } } diff --git a/playground/preload/package.json b/playground/preload/package.json index f78714972c0f5c..187ab8f45adb40 100644 --- a/playground/preload/package.json +++ b/playground/preload/package.json @@ -21,7 +21,7 @@ "vue-router": "^4.1.6" }, "devDependencies": { - "@vitejs/plugin-vue": "^4.0.0-alpha.2", + "@vitejs/plugin-vue": "^4.0.0", "terser": "^5.16.1", "@vitejs/test-dep-a": "file:./dep-a", "@vitejs/test-dep-including-a": "file:./dep-including-a" diff --git a/playground/tailwind/package.json b/playground/tailwind/package.json index 5751b22553ad6a..2a7a7a66d81375 100644 --- a/playground/tailwind/package.json +++ b/playground/tailwind/package.json @@ -15,7 +15,7 @@ "vue-router": "^4.1.6" }, "devDependencies": { - "@vitejs/plugin-vue": "^4.0.0-alpha.2", + "@vitejs/plugin-vue": "^4.0.0", "ts-node": "^10.9.1" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3f157716c8dd78..76d89d191360a5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -606,7 +606,7 @@ importers: playground/optimize-deps: specifiers: - '@vitejs/plugin-vue': ^4.0.0-alpha.2 + '@vitejs/plugin-vue': ^4.0.0 '@vitejs/test-added-in-entries': file:./added-in-entries '@vitejs/test-dep-cjs-browser-field-bare': file:./dep-cjs-browser-field-bare '@vitejs/test-dep-cjs-compiled-from-cjs': file:./dep-cjs-compiled-from-cjs @@ -667,7 +667,7 @@ importers: vue: 3.2.45 vuex: 4.1.0_vue@3.2.45 devDependencies: - '@vitejs/plugin-vue': 4.0.0-alpha.2_vue@3.2.45 + '@vitejs/plugin-vue': 4.0.0_vue@3.2.45 playground/optimize-deps/added-in-entries: specifiers: {} @@ -755,7 +755,7 @@ importers: playground/preload: specifiers: - '@vitejs/plugin-vue': ^4.0.0-alpha.2 + '@vitejs/plugin-vue': ^4.0.0 '@vitejs/test-dep-a': file:./dep-a '@vitejs/test-dep-including-a': file:./dep-including-a terser: ^5.16.1 @@ -765,7 +765,7 @@ importers: vue: 3.2.45 vue-router: 4.1.6_vue@3.2.45 devDependencies: - '@vitejs/plugin-vue': 4.0.0-alpha.2_vue@3.2.45 + '@vitejs/plugin-vue': 4.0.0_vue@3.2.45 '@vitejs/test-dep-a': file:playground/preload/dep-a '@vitejs/test-dep-including-a': file:playground/preload/dep-including-a terser: 5.16.1 @@ -1052,7 +1052,7 @@ importers: playground/tailwind: specifiers: - '@vitejs/plugin-vue': ^4.0.0-alpha.2 + '@vitejs/plugin-vue': ^4.0.0 autoprefixer: ^10.4.13 tailwindcss: ^3.2.4 ts-node: ^10.9.1 @@ -1064,7 +1064,7 @@ importers: vue: 3.2.45 vue-router: 4.1.6_vue@3.2.45 devDependencies: - '@vitejs/plugin-vue': 4.0.0-alpha.2_vue@3.2.45 + '@vitejs/plugin-vue': 4.0.0_vue@3.2.45 ts-node: 10.9.1 playground/tailwind-sourcemap: @@ -2412,11 +2412,11 @@ packages: vue: 3.2.45 dev: true - /@vitejs/plugin-vue/4.0.0-alpha.2_vue@3.2.45: - resolution: {integrity: sha512-9HFfWQUIgthEardZqF/p1dK9bF5vvt5r9syNA0BpUPC00UFZHEcJ9CvgXHrzH2oOHcA2MErD4N++n0Ngufat+w==} + /@vitejs/plugin-vue/4.0.0_vue@3.2.45: + resolution: {integrity: sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^3.0.0 + vite: ^4.0.0 vue: ^3.2.25 dependencies: vue: 3.2.45