diff --git a/code/frameworks/html-vite/package.json b/code/frameworks/html-vite/package.json
index 280dd37188b7..d3bf3fd92327 100644
--- a/code/frameworks/html-vite/package.json
+++ b/code/frameworks/html-vite/package.json
@@ -60,13 +60,11 @@
"@storybook/html": "7.0.0-beta.1",
"@storybook/node-logger": "7.0.0-beta.1",
"@storybook/preview-web": "7.0.0-beta.1",
- "magic-string": "^0.26.1",
- "vite": "3"
+ "magic-string": "^0.26.1"
},
"devDependencies": {
"@types/node": "^16.0.0",
- "typescript": "~4.9.3",
- "vite": "^3.1.0"
+ "typescript": "~4.9.3"
},
"engines": {
"node": "^14.18 || >=16"
diff --git a/code/frameworks/react-vite/package.json b/code/frameworks/react-vite/package.json
index cc36a88af364..69dd5949f1e3 100644
--- a/code/frameworks/react-vite/package.json
+++ b/code/frameworks/react-vite/package.json
@@ -59,12 +59,12 @@
"ast-types": "^0.14.2",
"magic-string": "^0.26.1",
"react-docgen": "^6.0.0-alpha.3",
- "vite": "^3.1.3"
+ "vite": "^3.0.0||^4.0.0"
},
"devDependencies": {
"@types/node": "^16.0.0",
"typescript": "~4.9.3",
- "vite": "^3.1.3"
+ "vite": "^4.0.0-beta.2"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
diff --git a/code/frameworks/svelte-vite/package.json b/code/frameworks/svelte-vite/package.json
index 08fa7806ac04..8abd58250859 100644
--- a/code/frameworks/svelte-vite/package.json
+++ b/code/frameworks/svelte-vite/package.json
@@ -59,12 +59,12 @@
"magic-string": "^0.26.1",
"svelte": "^3.0.0",
"sveltedoc-parser": "^4.2.1",
- "vite": "^3.1.3"
+ "vite": "^3.0.0||^4.0.0"
},
"devDependencies": {
"@types/node": "^16.0.0",
"typescript": "~4.9.3",
- "vite": "^3.1.3"
+ "vite": "^4.0.0-beta.2"
},
"peerDependencies": {
"@storybook/addon-svelte-csf": "^2.0.0",
diff --git a/code/frameworks/sveltekit/package.json b/code/frameworks/sveltekit/package.json
index ffba08de92a8..69cb06a7b033 100644
--- a/code/frameworks/sveltekit/package.json
+++ b/code/frameworks/sveltekit/package.json
@@ -56,8 +56,7 @@
},
"devDependencies": {
"@types/node": "^16.0.0",
- "typescript": "^4.9.3",
- "vite": "^3.1.3"
+ "typescript": "^4.9.3"
},
"peerDependencies": {
"@storybook/addon-svelte-csf": "^2.0.0"
diff --git a/code/frameworks/vue-vite/package.json b/code/frameworks/vue-vite/package.json
index f1732bff0b5e..260c58dcd36b 100644
--- a/code/frameworks/vue-vite/package.json
+++ b/code/frameworks/vue-vite/package.json
@@ -55,11 +55,12 @@
"@storybook/core-server": "7.0.0-beta.1",
"@storybook/vue": "7.0.0-beta.1",
"magic-string": "^0.26.1",
- "vite": "^3.1.3",
+ "vite": "^3.0.0||^4.0.0",
"vue-docgen-api": "^4.40.0"
},
"devDependencies": {
"typescript": "~4.9.3",
+ "vite": "^4.0.0-beta.2",
"vue": "^2.7.10"
},
"peerDependencies": {
diff --git a/code/frameworks/vue3-vite/package.json b/code/frameworks/vue3-vite/package.json
index 40663b6d2976..46ba8de94780 100644
--- a/code/frameworks/vue3-vite/package.json
+++ b/code/frameworks/vue3-vite/package.json
@@ -56,13 +56,13 @@
"@storybook/vue3": "7.0.0-beta.1",
"@vitejs/plugin-vue": "^3.0.0",
"magic-string": "^0.26.1",
- "vite": "^3.1.3",
+ "vite": "^3.0.0||^4.0.0",
"vue-docgen-api": "^4.40.0"
},
"devDependencies": {
"@types/node": "^16.0.0",
"typescript": "~4.9.3",
- "vite": "^3.1.3"
+ "vite": "^4.0.0-beta.2"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
diff --git a/code/frameworks/web-components-vite/package.json b/code/frameworks/web-components-vite/package.json
index 954aa7892e4e..d208b75ef27a 100644
--- a/code/frameworks/web-components-vite/package.json
+++ b/code/frameworks/web-components-vite/package.json
@@ -55,13 +55,11 @@
"@storybook/core-server": "7.0.0-beta.1",
"@storybook/node-logger": "7.0.0-beta.1",
"@storybook/web-components": "7.0.0-beta.1",
- "magic-string": "^0.26.1",
- "vite": "3"
+ "magic-string": "^0.26.1"
},
"devDependencies": {
"@types/node": "^16.0.0",
- "typescript": "~4.9.3",
- "vite": "^3.1.0"
+ "typescript": "~4.9.3"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
diff --git a/code/lib/builder-vite/package.json b/code/lib/builder-vite/package.json
index e213a15449bb..c684c2933229 100644
--- a/code/lib/builder-vite/package.json
+++ b/code/lib/builder-vite/package.json
@@ -61,14 +61,14 @@
"rollup": "^2.25.0 || ^3.3.0",
"rollup-plugin-external-globals": "^0.7.1",
"slash": "^3.0.0",
- "vite": "^3.1.3"
+ "vite": "^3.0.0||^4.0.0"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/node": "^16.0.0",
"rollup": "^3.0.0",
"typescript": "~4.9.3",
- "vite": "^3.1.3"
+ "vite": "^4.0.0-beta.2"
},
"peerDependencies": {
"@preact/preset-vite": "*",
diff --git a/code/package.json b/code/package.json
index f591a2b76630..0eca1444521c 100644
--- a/code/package.json
+++ b/code/package.json
@@ -338,7 +338,7 @@
"tsup": "^6.2.2",
"typescript": "~4.9.3",
"util": "^0.12.4",
- "vite": "^3.1.7",
+ "vite": "^4.0.0-beta.2",
"vite-plugin-turbosnap": "^1.0.1",
"wait-on": "^5.2.1",
"web-component-analyzer": "^1.1.6",
diff --git a/code/yarn.lock b/code/yarn.lock
index 49f708a6dc96..d3e2edf803ab 100644
--- a/code/yarn.lock
+++ b/code/yarn.lock
@@ -5893,7 +5893,7 @@ __metadata:
rollup-plugin-external-globals: ^0.7.1
slash: ^3.0.0
typescript: ~4.9.3
- vite: ^3.1.3
+ vite: ^4.0.0-beta.2
peerDependencies:
"@preact/preset-vite": "*"
vite-plugin-glimmerx: "*"
@@ -6427,7 +6427,6 @@ __metadata:
"@types/node": ^16.0.0
magic-string: ^0.26.1
typescript: ~4.9.3
- vite: ^3.1.0
languageName: unknown
linkType: soft
@@ -6992,7 +6991,7 @@ __metadata:
magic-string: ^0.26.1
react-docgen: ^6.0.0-alpha.3
typescript: ~4.9.3
- vite: ^3.1.3
+ vite: ^4.0.0-beta.2
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -7287,7 +7286,7 @@ __metadata:
util: ^0.12.4
verdaccio: ^4.10.0
verdaccio-auth-memory: ^9.7.2
- vite: ^3.1.7
+ vite: ^4.0.0-beta.2
vite-plugin-turbosnap: ^1.0.1
wait-on: ^5.2.1
web-component-analyzer: ^1.1.6
@@ -7441,7 +7440,7 @@ __metadata:
svelte: ^3.0.0
sveltedoc-parser: ^4.2.1
typescript: ~4.9.3
- vite: ^3.1.3
+ vite: ^4.0.0-beta.2
peerDependencies:
"@storybook/addon-svelte-csf": ^2.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -7502,7 +7501,6 @@ __metadata:
"@storybook/svelte-vite": 7.0.0-beta.1
"@types/node": ^16.0.0
typescript: ^4.9.3
- vite: ^3.1.3
peerDependencies:
"@storybook/addon-svelte-csf": ^2.0.0
peerDependenciesMeta:
@@ -7607,7 +7605,7 @@ __metadata:
"@storybook/vue": 7.0.0-beta.1
magic-string: ^0.26.1
typescript: ~4.9.3
- vite: ^3.1.3
+ vite: ^4.0.0-beta.2
vue: ^2.7.10
vue-docgen-api: ^4.40.0
peerDependencies:
@@ -7653,7 +7651,7 @@ __metadata:
"@vitejs/plugin-vue": ^3.0.0
magic-string: ^0.26.1
typescript: ~4.9.3
- vite: ^3.1.3
+ vite: ^4.0.0-beta.2
vue-docgen-api: ^4.40.0
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -7741,7 +7739,6 @@ __metadata:
"@types/node": ^16.0.0
magic-string: ^0.26.1
typescript: ~4.9.3
- vite: ^3.1.0
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -26620,7 +26617,7 @@ __metadata:
languageName: node
linkType: hard
-"postcss@npm:^8.1.10, postcss@npm:^8.2.14, postcss@npm:^8.2.15, postcss@npm:^8.3.7, postcss@npm:^8.4.14, postcss@npm:^8.4.18":
+"postcss@npm:^8.1.10, postcss@npm:^8.2.14, postcss@npm:^8.2.15, postcss@npm:^8.3.7, postcss@npm:^8.4.14, postcss@npm:^8.4.18, postcss@npm:^8.4.19":
version: 8.4.19
resolution: "postcss@npm:8.4.19"
dependencies:
@@ -29154,9 +29151,9 @@ __metadata:
languageName: node
linkType: hard
-"rollup@npm:^2.79.1":
- version: 2.79.1
- resolution: "rollup@npm:2.79.1"
+"rollup@npm:^3.0.0, rollup@npm:^3.2.5":
+ version: 3.5.1
+ resolution: "rollup@npm:3.5.1"
dependencies:
fsevents: ~2.3.2
dependenciesMeta:
@@ -29164,13 +29161,13 @@ __metadata:
optional: true
bin:
rollup: dist/bin/rollup
- checksum: 421418687f5dcd7324f4387f203c6bfc7118b7ace789e30f5da022471c43e037a76f5fd93837052754eeeae798a4fb266ac05ccee1e594406d912a59af98dde9
+ checksum: 6e9621f169e79df96e6c22780a579c274f5be2b8fee3d5bffe29dda989263b6800ec8b276939ce6feab46aa0f5980a71505e1f80b2552fb90c848669c61907a7
languageName: node
linkType: hard
-"rollup@npm:^3.0.0, rollup@npm:^3.2.5":
- version: 3.5.1
- resolution: "rollup@npm:3.5.1"
+"rollup@npm:^3.6.0":
+ version: 3.6.0
+ resolution: "rollup@npm:3.6.0"
dependencies:
fsevents: ~2.3.2
dependenciesMeta:
@@ -29178,7 +29175,7 @@ __metadata:
optional: true
bin:
rollup: dist/bin/rollup
- checksum: 6e9621f169e79df96e6c22780a579c274f5be2b8fee3d5bffe29dda989263b6800ec8b276939ce6feab46aa0f5980a71505e1f80b2552fb90c848669c61907a7
+ checksum: cb0ac6ba2e02ec544ca4658a184255b843ea3b7d4d62266706052f93e036bb1ab9e200ccfb8716855497cf52462551774b5fd54412bd02fcd6e8d7159533f54b
languageName: node
linkType: hard
@@ -33174,15 +33171,15 @@ __metadata:
languageName: node
linkType: hard
-"vite@npm:^3.1.0, vite@npm:^3.1.3, vite@npm:^3.1.7":
- version: 3.2.4
- resolution: "vite@npm:3.2.4"
+"vite@npm:^4.0.0-beta.2":
+ version: 4.0.0-beta.2
+ resolution: "vite@npm:4.0.0-beta.2"
dependencies:
- esbuild: ^0.15.9
+ esbuild: ^0.15.18
fsevents: ~2.3.2
- postcss: ^8.4.18
+ postcss: ^8.4.19
resolve: ^1.22.1
- rollup: ^2.79.1
+ rollup: ^3.6.0
peerDependencies:
"@types/node": ">= 14"
less: "*"
@@ -33208,7 +33205,7 @@ __metadata:
optional: true
bin:
vite: bin/vite.js
- checksum: c3b6a1643e6436e4628db1fe183a3eb7db970bf8cf20104540079b9e97b6f5ce1ea33c498373f130ddee7259a96cc3f9ce96d5e43a8b23f7484e35ac8634bcc7
+ checksum: 8b23b39b9d4475fdb73d8a849ea3ebac79dd3d8853904bb8a7aee70704da3e2443915a43504668526ff90a6e67dd1b5abf508c6a2a7ffa3baef675ddc77a1fa0
languageName: node
linkType: hard