Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

chore(deps): align workspace on vite 8 (#3859)

sangwookc92e39892980
diff --git a/apps/example-vite-tailwind/package.json b/apps/example-vite-tailwind/package.json
index 2f3b72a7ee..87b10c24a2 100644
--- a/apps/example-vite-tailwind/package.json
+++ b/apps/example-vite-tailwind/package.json
@@ -18,10 +18,10 @@
"@tailwindcss/vite": "^4",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
- "@vitejs/plugin-react": "^4.3.0",
+ "@vitejs/plugin-react": "^5.2.0",
"tailwindcss": "^4",
"typescript": "^6.0.3",
- "vite": "^7.3.6"
+ "vite": "^8.1.3"
},
"browserslist": [
"last 1 Chrome version"
diff --git a/apps/example-vite/package.json b/apps/example-vite/package.json
index 8b79c34996..88f28e5da7 100644
--- a/apps/example-vite/package.json
+++ b/apps/example-vite/package.json
@@ -19,9 +19,9 @@
"@stylexjs/unplugin": "^0.19.0",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
- "@vitejs/plugin-react": "^4.3.0",
+ "@vitejs/plugin-react": "^5.2.0",
"typescript": "^6.0.3",
- "vite": "^7.3.6",
+ "vite": "^8.1.3",
"@astryxdesign/build": "*"
},
"browserslist": [
diff --git a/internal/vibe-tests/app/package.json b/internal/vibe-tests/app/package.json
index 2092d989f6..beefa98579 100644
--- a/internal/vibe-tests/app/package.json
+++ b/internal/vibe-tests/app/package.json
@@ -14,9 +14,9 @@
"@stylexjs/stylex": "*"
},
"devDependencies": {
- "@vitejs/plugin-react": "^4.0.0",
+ "@vitejs/plugin-react": "^5.2.0",
"@stylexjs/unplugin": "*",
- "vite": "^6.4.2",
- "vite-plugin-singlefile": "^2.0.0"
+ "vite": "^8.1.3",
+ "vite-plugin-singlefile": "^2.3.3"
}
}
diff --git a/package.json b/package.json
index 620140457b..ef1f1a2528 100644
--- a/package.json
+++ b/package.json
@@ -46,7 +46,7 @@
"@types/node": "^25.9.3",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
- "@vitejs/plugin-react": "^4.3.0",
+ "@vitejs/plugin-react": "^5.2.0",
"@vitest/coverage-v8": "^4.1.9",
"dom-accessibility-api": "^0.6.3",
"esbuild": "^0.28.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3ea8a38c66..57e461f14d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -7,8 +7,8 @@ settings:
catalogs:
default:
vite:
- specifier: ^7.3.6
- version: 7.3.6
+ specifier: ^8.1.3
+ version: 8.1.3
overrides:
'@stylexjs/stylex': ^0.19.0
@@ -58,8 +58,8 @@ importers:
specifier: ^19.2.3
version: 19.2.3(@types/[email protected])
'@vitejs/plugin-react':
- specifier: ^4.3.0
+ specifier: ^5.2.0
'@vitest/coverage-v8':
specifier: ^4.1.9
version: 4.1.9([email protected])
@@ -107,13 +107,13 @@ importers:
vite:
specifier: 'catalog:'
vite-plugin-singlefile:
specifier: ^2.3.3
vitest:
specifier: ^4.1.9
apps/docsite:
dependencies:
@@ -219,7 +219,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
apps/sandbox:
dependencies:
@@ -337,7 +337,7 @@ importers:
version: 19.2.7([email protected])
unplugin:
specifier: ^3.0.0
vega:
specifier: ^6.2.0
version: 6.2.0
@@ -353,7 +353,7 @@ importers:
version: link:../../packages/build
'@storybook/addon-docs':
specifier: ^10.4.6
'@storybook/addon-links':
specifier: ^10.4.6
@@ -362,10 +362,10 @@ importers:
'@storybook/react-vite':
specifier: ^10.4.6
'@stylexjs/unplugin':
specifier: ^0.19.0
storybook:
specifier: ^10.4.6
version: 10.4.6(@testing-library/[email protected])(@types/[email protected])([email protected])([email protected])
@@ -483,7 +483,7 @@ importers:
version: 0.19.0
'@stylexjs/unplugin':
specifier: '>=0.18.0'
fast-glob:
specifier: ^3.3.0
version: 3.3.3
@@ -495,7 +495,7 @@ importers:
version: 4.0.3
vite:
specifier: 'catalog:'
devDependencies:
esbuild:
specifier: '>=0.28.1'
@@ -2729,8 +2729,8 @@ packages:
cpu: [x64]
os: [win32]
- '@rolldown/[email protected]':
- resolution: {integrity: sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==}
+ '@rolldown/[email protected]':
+ resolution: {integrity: sha512-eybk3TjzzzV97Dlj5c+XrBFW57eTNhzod66y9HrBlzJ6NsCrWCp/2kaPS3K9wJmurBC0Tdw4yPjXKZqlznim3Q==}
'@rolldown/[email protected]':
resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==}
@@ -3331,11 +3331,11 @@ packages:
vue-router:
optional: true
- '@vitejs/[email protected]':
- resolution: {integrity: sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==}
- engines: {node: ^14.18.0 || >=16.0.0}
+ '@vitejs/[email protected]':
+ resolution: {integrity: sha512-YmKkfhOAi3wsB1PhJq5Scj3GXMn3WvtQ/JC0xoopuHoXSdmtdStOpFrYaT1kie2YgFBcIe64ROzMYRjCrYOdYw==}
+ engines: {node: ^20.19.0 || >=22.12.0}
peerDependencies:
- vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0
+ vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
'@vitest/[email protected]':
resolution: {integrity: sha512-G9/lgqibheLVBDRuya45EbsEXTYcWoSG+TLg7i2axuzx0Eq62eXn+aWXyaVdV5vKvFSWd6ywcX8hA7la9Pvu8g==}
@@ -5070,8 +5070,8 @@ packages:
redux:
optional: true
- resolution: {integrity: sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==}
+ resolution: {integrity: sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==}
engines: {node: '>=0.10.0'}
@@ -5768,15 +5768,16 @@ packages:
rollup:
optional: true
- resolution: {integrity: sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==}
+ resolution: {integrity: sha512-Ds+gBRbj0lwRO2Y5hwnUBdxSwlAve9LeRyU4sNnAr0ewW0gWF0n5bgXgUzbgZ49MV9BVUAQUFYVcDUcilUExMA==}
engines: {node: ^20.19.0 || >=22.12.0}
hasBin: true
peerDependencies:
'@types/node': ^20.19.0 || >=22.12.0
+ '@vitejs/devtools': ^0.3.0
+ esbuild: '>=0.28.1'
jiti: '>=1.21.0'
less: ^4.0.0
- lightningcss: ^1.21.0
sass: ^1.70.0
sass-embedded: ^1.70.0
stylus: '>=0.54.8'
@@ -5787,12 +5788,14 @@ packages:
peerDependenciesMeta:
'@types/node':
optional: true
+ '@vitejs/devtools':
+ optional: true
+ esbuild:
+ optional: true
jiti:
optional: true
less:
optional: true
- lightningcss:
- optional: true
sass:
optional: true
sass-embedded:
@@ -6936,11 +6939,11 @@ snapshots:
optionalDependencies:
'@types/node': 25.9.4
dependencies:
glob: 13.0.6
react-docgen-typescript: 2.4.0([email protected])
optionalDependencies:
typescript: 6.0.3
@@ -7165,8 +7168,7 @@ snapshots:
'@oxc-project/[email protected]': {}
- '@oxc-project/[email protected]':
- optional: true
+ '@oxc-project/[email protected]': {}
'@oxc-resolver/[email protected]':
optional: true
@@ -7811,10 +7813,9 @@ snapshots:
'@rolldown/[email protected]':
optional: true
- '@rolldown/[email protected]': {}
+ '@rolldown/[email protected]': {}
- '@rolldown/[email protected]':
- optional: true
+ '@rolldown/[email protected]': {}
dependencies:
@@ -7903,10 +7904,10 @@ snapshots:
'@standard-schema/[email protected]': {}
dependencies:
'@mdx-js/react': 3.1.1(@types/[email protected])([email protected])
'@storybook/icons': 2.1.0([email protected])
react: 19.2.7
@@ -7930,25 +7931,25 @@ snapshots:
'@types/react': 19.2.17
react: 19.2.7
dependencies:
storybook: 10.4.6(@testing-library/[email protected])(@types/[email protected])([email protected])([email protected])
ts-dedent: 2.3.0
transitivePeerDependencies:
- esbuild
- rollup
- webpack
dependencies:
storybook: 10.4.6(@testing-library/[email protected])(@types/[email protected])([email protected])([email protected])
unplugin: 2.3.11
optionalDependencies:
esbuild: 0.28.1
rollup: 4.62.2
'@storybook/[email protected]': {}
@@ -7965,11 +7966,11 @@ snapshots:
'@types/react': 19.2.17
'@types/react-dom': 19.2.3(@types/[email protected])
dependencies:
'@rollup/pluginutils': 5.4.0([email protected])
empathic: 2.0.1
magic-string: 0.30.21
@@ -7979,7 +7980,7 @@ snapshots:
resolve: 1.22.12
storybook: 10.4.6(@testing-library/[email protected])(@types/[email protected])([email protected])([email protected])
tsconfig-paths: 4.2.0
transitivePeerDependencies:
- '@types/react'
- '@types/react-dom'
@@ -8037,7 +8038,7 @@ snapshots:
invariant: 2.2.4
styleq: 0.2.1
dependencies:
'@babel/core': 7.29.7
'@babel/plugin-syntax-flow': 7.29.7(@babel/[email protected])
@@ -8046,7 +8047,7 @@ snapshots:
'@stylexjs/babel-plugin': 0.19.0
browserslist: 4.28.4
lightningcss: 1.32.0
transitivePeerDependencies:
- supports-color
@@ -8356,15 +8357,15 @@ snapshots:
react: 19.2.7
dependencies:
'@babel/core': 7.29.7
'@babel/plugin-transform-react-jsx-self': 7.29.7(@babel/[email protected])
'@babel/plugin-transform-react-jsx-source': 7.29.7(@babel/[email protected])
- '@rolldown/pluginutils': 1.0.0-beta.27
+ '@rolldown/pluginutils': 1.0.0-rc.3
'@types/babel__core': 7.20.5
- react-refresh: 0.17.0
+ react-refresh: 0.18.0
transitivePeerDependencies:
- supports-color
@@ -8380,7 +8381,7 @@ snapshots:
obug: 2.1.3
std-env: 4.1.0
tinyrainbow: 3.1.0
'@vitest/[email protected]':
dependencies:
@@ -8399,13 +8400,13 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.1.0
dependencies:
'@vitest/spy': 4.1.9
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -10153,7 +10154,7 @@ snapshots:
'@types/react': 19.2.17
redux: 5.0.1
dependencies:
@@ -10295,7 +10296,6 @@ snapshots:
'@rolldown/binding-wasm32-wasi': 1.1.4
'@rolldown/binding-win32-arm64-msvc': 1.1.4
'@rolldown/binding-win32-x64-msvc': 1.1.4
- optional: true
dependencies:
@@ -10740,7 +10740,7 @@ snapshots:
picomatch: 4.0.4
webpack-virtual-modules: 0.6.2
dependencies:
'@jridgewell/remapping': 2.3.5
picomatch: 4.0.4
@@ -10749,7 +10749,7 @@ snapshots:
esbuild: 0.28.1
rolldown: 1.1.4
rollup: 4.62.2
dependencies:
@@ -11039,33 +11039,32 @@ snapshots:
d3-time: 3.1.0
d3-timer: 3.0.1
dependencies:
micromatch: 4.0.8
optionalDependencies:
rollup: 4.62.2
dependencies:
- esbuild: 0.28.1
- fdir: 6.5.0([email protected])
+ lightningcss: 1.32.0
picomatch: 4.0.4
postcss: 8.5.16
- rollup: 4.62.2
+ rolldown: 1.1.4
tinyglobby: 0.2.17
optionalDependencies:
'@types/node': 25.9.4
+ esbuild: 0.28.1
fsevents: 2.3.3
jiti: 2.7.0
- lightningcss: 1.32.0
tsx: 4.23.0
yaml: 2.9.0
dependencies:
'@vitest/expect': 4.1.9
'@vitest/pretty-format': 4.1.9
'@vitest/runner': 4.1.9
'@vitest/snapshot': 4.1.9
@@ -11082,7 +11081,7 @@ snapshots:
tinyexec: 1.2.4
tinyglobby: 0.2.17
tinyrainbow: 3.1.0
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 25.9.4
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 70555b80f6..e8fbb7ccb4 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -24,10 +24,11 @@ minimumReleaseAgeExclude:
# Single source of truth for the workspace's vite version: every consumer
# (root test config, packages/build) declares "vite": "catalog:", so a bump
# lands here once and cannot split the workspace across two vite majors.
-# Keep within @vitejs/plugin-react 4.x's peer range (vite <= 7) until the
-# vite 8 / vitest 4 / plugin-react 5 migration.
+# vite 8 requires @vitejs/plugin-react >= 5 (4.x peers stop at vite 7) —
+# bump them together. The standalone example apps and the vibe-tests
+# preview app pin their own vite; keep them on the same major by hand.
catalog:
- vite: ^7.3.6
+ vite: ^8.1.3
# Moved from package.json's "pnpm" field: pnpm 11 no longer reads
# pnpm.overrides / pnpm.onlyBuiltDependencies from package.json.