Skip to content

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

TypeScript

fix(deps): align workspace on single vite 7, drop vite override (#3847)

sangwook90a9db83883b
diff --git a/apps/example-vite-tailwind/package.json b/apps/example-vite-tailwind/package.json
index eddc865ebc..2f3b72a7ee 100644
--- a/apps/example-vite-tailwind/package.json
+++ b/apps/example-vite-tailwind/package.json
@@ -21,7 +21,7 @@
"@vitejs/plugin-react": "^4.3.0",
"tailwindcss": "^4",
"typescript": "^6.0.3",
- "vite": "^8.1.3"
+ "vite": "^7.3.6"
},
"browserslist": [
"last 1 Chrome version"
diff --git a/apps/example-vite/package.json b/apps/example-vite/package.json
index c7b2d60d8d..8b79c34996 100644
--- a/apps/example-vite/package.json
+++ b/apps/example-vite/package.json
@@ -21,7 +21,7 @@
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^4.3.0",
"typescript": "^6.0.3",
- "vite": "^8.1.3",
+ "vite": "^7.3.6",
"@astryxdesign/build": "*"
},
"browserslist": [
diff --git a/package.json b/package.json
index dd105463ba..620140457b 100644
--- a/package.json
+++ b/package.json
@@ -62,6 +62,7 @@
"tsup": "^8.3.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.62.1",
+ "vite": "catalog:",
"vite-plugin-singlefile": "^2.3.3",
"vitest": "^4.1.9"
},
diff --git a/packages/build/package.json b/packages/build/package.json
index 5ec3f23ae3..d11225e8a9 100644
--- a/packages/build/package.json
+++ b/packages/build/package.json
@@ -43,7 +43,7 @@
"@stylexjs/babel-plugin": ">=0.18.0",
"@babel/core": ">=7.0.0",
"@stylexjs/unplugin": ">=0.18.0",
- "vite": ">=5.0.0"
+ "vite": "catalog:"
},
"dependencies": {
"fast-glob": "^3.3.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index babbc96a41..3ea8a38c66 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -4,6 +4,12 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
+catalogs:
+ default:
+ vite:
+ specifier: ^7.3.6
+ version: 7.3.6
+
overrides:
'@stylexjs/stylex': ^0.19.0
prettier: ^3.9.3
@@ -13,7 +19,6 @@ overrides:
anymatch>picomatch: ^2.3.2
minimatch: ^9.0.7
dompurify: ^3.4.11
- vite: ^6.4.3
tmp: '>=0.2.6'
esbuild: '>=0.28.1'
'@babel/core': ^7.29.6
@@ -54,7 +59,7 @@ importers:
version: 19.2.3(@types/[email protected])
'@vitejs/plugin-react':
specifier: ^4.3.0
'@vitest/coverage-v8':
specifier: ^4.1.9
version: 4.1.9([email protected])
@@ -100,12 +105,15 @@ importers:
typescript-eslint:
specifier: ^8.62.1
+ vite:
+ specifier: 'catalog:'
vite-plugin-singlefile:
specifier: ^2.3.3
vitest:
specifier: ^4.1.9
apps/docsite:
dependencies:
@@ -211,241 +219,7 @@ importers:
version: 6.0.3
vitest:
specifier: ^4.1.9
-
- apps/example-nextjs:
- dependencies:
- '@astryxdesign/core':
- specifier: '*'
- version: link:../../packages/core
- '@astryxdesign/theme-neutral':
- specifier: '*'
- version: link:../../packages/themes/neutral
- next:
- specifier: ^15.5.16
- react:
- specifier: ^19.2.7
- version: 19.2.7
- react-dom:
- specifier: ^19.2.7
- version: 19.2.7([email protected])
- devDependencies:
- '@types/react':
- specifier: ^19.2.17
- version: 19.2.17
- '@types/react-dom':
- specifier: ^19.2.3
- version: 19.2.3(@types/[email protected])
- typescript:
- specifier: ^6.0.3
- version: 6.0.3
-
- apps/example-nextjs-source:
- dependencies:
- '@astryxdesign/core':
- specifier: '*'
- version: link:../../packages/core
- '@astryxdesign/theme-neutral':
- specifier: '*'
- version: link:../../packages/themes/neutral
- '@stylexjs/stylex':
- specifier: ^0.19.0
- version: 0.19.0
- next:
- specifier: ^15.5.16
- react:
- specifier: ^19.2.7
- version: 19.2.7
- react-dom:
- specifier: ^19.2.7
- version: 19.2.7([email protected])
- devDependencies:
- '@astryxdesign/build':
- specifier: '*'
- version: link:../../packages/build
- '@babel/preset-react':
- specifier: ^8.0.1
- version: 8.0.1(@babel/[email protected])
- '@babel/preset-typescript':
- specifier: ^7.29.7
- version: 7.29.7(@babel/[email protected])
- '@stylexjs/babel-plugin':
- specifier: ^0.19.0
- version: 0.19.0
- '@stylexjs/postcss-plugin':
- specifier: ^0.19.0
- version: 0.19.0
- '@types/react':
- specifier: ^19.2.17
- version: 19.2.17
- '@types/react-dom':
- specifier: ^19.2.3
- version: 19.2.3(@types/[email protected])
- autoprefixer:
- specifier: ^10.5.2
- version: 10.5.2([email protected])
- typescript:
- specifier: ^6.0.3
- version: 6.0.3
-
- apps/example-nextjs-stylex:
- dependencies:
- '@astryxdesign/core':
- specifier: '*'
- version: link:../../packages/core
- '@astryxdesign/theme-neutral':
- specifier: '*'
- version: link:../../packages/themes/neutral
- '@stylexjs/stylex':
- specifier: ^0.19.0
- version: 0.19.0
- next:
- specifier: ^15.5.16
- react:
- specifier: ^19.2.7
- version: 19.2.7
- react-dom:
- specifier: ^19.2.7
- version: 19.2.7([email protected])
- devDependencies:
- '@babel/preset-react':
- specifier: ^8.0.1
- version: 8.0.1(@babel/[email protected])
- '@babel/preset-typescript':
- specifier: ^7.29.7
- version: 7.29.7(@babel/[email protected])
- '@stylexjs/babel-plugin':
- specifier: ^0.19.0
- version: 0.19.0
- '@stylexjs/postcss-plugin':
- specifier: ^0.19.0
- version: 0.19.0
- '@types/react':
- specifier: ^19.2.17
- version: 19.2.17
- '@types/react-dom':
- specifier: ^19.2.3
- version: 19.2.3(@types/[email protected])
- autoprefixer:
- specifier: ^10.5.2
- version: 10.5.2([email protected])
- typescript:
- specifier: ^6.0.3
- version: 6.0.3
-
- apps/example-nextjs-tailwind:
- dependencies:
- '@astryxdesign/core':
- specifier: '*'
- version: link:../../packages/core
- '@astryxdesign/theme-neutral':
- specifier: '*'
- version: link:../../packages/themes/neutral
- next:
- specifier: ^15.5.16
- react:
- specifier: ^19.2.7
- version: 19.2.7
- react-dom:
- specifier: ^19.2.7
- version: 19.2.7([email protected])
- devDependencies:
- '@tailwindcss/postcss':
- specifier: ^4
- version: 4.3.2
- '@types/react':
- specifier: ^19.2.17
- version: 19.2.17
- '@types/react-dom':
- specifier: ^19.2.3
- version: 19.2.3(@types/[email protected])
- tailwindcss:
- specifier: ^4
- version: 4.3.2
- typescript:
- specifier: ^6.0.3
- version: 6.0.3
-
- apps/example-vite:
- dependencies:
- '@astryxdesign/core':
- specifier: '*'
- version: link:../../packages/core
- '@astryxdesign/theme-neutral':
- specifier: '*'
- version: link:../../packages/themes/neutral
- '@stylexjs/stylex':
- specifier: ^0.19.0
- version: 0.19.0
- react:
- specifier: ^19.2.7
- version: 19.2.7
- react-dom:
- specifier: ^19.2.7
- version: 19.2.7([email protected])
- devDependencies:
- '@astryxdesign/build':
- specifier: '*'
- version: link:../../packages/build
- '@stylexjs/unplugin':
- specifier: ^0.19.0
- '@types/react':
- specifier: ^19.2.17
- version: 19.2.17
- '@types/react-dom':
- specifier: ^19.2.3
- version: 19.2.3(@types/[email protected])
- '@vitejs/plugin-react':
- specifier: ^4.3.0
- typescript:
- specifier: ^6.0.3
- version: 6.0.3
- vite:
- specifier: ^6.4.3
-
- apps/example-vite-tailwind:
- dependencies:
- '@astryxdesign/core':
- specifier: '*'
- version: link:../../packages/core
- '@astryxdesign/theme-neutral':
- specifier: '*'
- version: link:../../packages/themes/neutral
- react:
- specifier: ^19.2.7
- version: 19.2.7
- react-dom:
- specifier: ^19.2.7
- version: 19.2.7([email protected])
- devDependencies:
- '@tailwindcss/vite':
- specifier: ^4
- '@types/react':
- specifier: ^19.2.17
- version: 19.2.17
- '@types/react-dom':
- specifier: ^19.2.3
- version: 19.2.3(@types/[email protected])
- '@vitejs/plugin-react':
- specifier: ^4.3.0
- tailwindcss:
- specifier: ^4
- version: 4.3.2
- typescript:
- specifier: ^6.0.3
- version: 6.0.3
- vite:
- specifier: ^6.4.3
apps/sandbox:
dependencies:
@@ -563,7 +337,7 @@ importers:
version: 19.2.7([email protected])
unplugin:
specifier: ^3.0.0
vega:
specifier: ^6.2.0
version: 6.2.0
@@ -579,7 +353,7 @@ importers:
version: link:../../packages/build
'@storybook/addon-docs':
specifier: ^10.4.6
'@storybook/addon-links':
specifier: ^10.4.6
@@ -588,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])
@@ -709,7 +483,7 @@ importers:
version: 0.19.0
'@stylexjs/unplugin':
specifier: '>=0.18.0'
fast-glob:
specifier: ^3.3.0
version: 3.3.3
@@ -720,8 +494,8 @@ importers:
specifier: ^4.0.0
version: 4.0.3
vite:
- specifier: ^6.4.3
+ specifier: 'catalog:'
devDependencies:
esbuild:
specifier: '>=0.28.1'
@@ -1922,7 +1696,7 @@ packages:
resolution: {integrity: sha512-qvsTEwEFefhdirGOPnu9Wp6ChfIwy2dBCRuETU3uE+4cC+PFoxMSiiEhxk4lOluA34eARHA0OxqsEUYDqRMgeQ==}
peerDependencies:
typescript: '>= 4.3.x'
- vite: ^6.4.3
+ vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
@@ -3139,7 +2913,7 @@ packages:
resolution: {integrity: sha512-BHBtD81HiXUiDQz/CaFynLtWmm7AFUQn8VnXuHipZ8KlnUANopa4yqdVuy/Gwz8ub254uFI5NMZsW/KlgWNgNg==}
peerDependencies:
storybook: ^10.4.6
- vite: ^6.4.3
+ vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
'@storybook/[email protected]':
resolution: {integrity: sha512-NILLxDqpA/JR/AazGWpsz+4fadJwRU4uhHephGtYpVOWnQA/DkJfKT6zpcJVq8+QA8A2zKMLX3GVKsXIrxjuDA==}
@@ -3147,7 +2921,7 @@ packages:
esbuild: '>=0.28.1'
rollup: '*'
storybook: ^10.4.6
- vite: ^6.4.3
+ vite: '*'
webpack: '*'
peerDependenciesMeta:
esbuild:
@@ -3187,7 +2961,7 @@ packages:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
storybook: ^10.4.6
- vite: ^6.4.3
+ vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0
'@storybook/[email protected]':
resolution: {integrity: sha512-9Y7YecrVFe1/01KYjfOLxVqTg2Aq+IO6TEv6sC2U0PfD0AWCSCmQ91QqgBpN/XW4aFFWoiZNinyXMUlU8zxy2w==}
@@ -3318,11 +3092,6 @@ packages:
'@tailwindcss/[email protected]':
resolution: {integrity: sha512-rjVWYCa7Ngbi5AarT6k8TkxUG3Wl1QKzHdIZVsjZSzf36Jmo2IKZt/NHRAwly8oDkbBOH0YTu+CHuf9jPxMc+g==}
- '@tailwindcss/[email protected]':
- resolution: {integrity: sha512-eHpMeX4JXfVNJDEcsouTeCBubJBTcTLigeaw/NTUW6PB5ATKKXdyonnXgTBX2VuRbjz1hjfz6C5XAhr52ImQXA==}
- peerDependencies:
- vite: ^6.4.3
-
'@testing-library/[email protected]':
resolution: {integrity: sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==}
engines: {node: '>=18'}
@@ -3566,7 +3335,7 @@ packages:
resolution: {integrity: sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
- vite: ^6.4.3
+ vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0
'@vitest/[email protected]':
resolution: {integrity: sha512-G9/lgqibheLVBDRuya45EbsEXTYcWoSG+TLg7i2axuzx0Eq62eXn+aWXyaVdV5vKvFSWd6ywcX8hA7la9Pvu8g==}
@@ -3587,7 +3356,7 @@ packages:
resolution: {integrity: sha512-EVkXzBjrPGM+cK8/ANWgBrkUCfJfb38/EfTSO8h7pWvKkyPkpWxvR7BkD2MyItMF62C97zAEoqdpUixwR/e+Rw==}
peerDependencies:
msw: ^2.4.9
- vite: ^6.4.3
+ vite: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
msw:
optional: true
@@ -5826,7 +5595,7 @@ packages:
rolldown: '*'
rollup: '*'
unloader: '*'
- vite: ^6.4.3
+ vite: '*'
webpack: '*'
peerDependenciesMeta:
'@farmfe/core':
@@ -5994,61 +5763,20 @@ packages:
engines: {node: '>18.0.0'}
peerDependencies:
rollup: ^4.59.0
- vite: ^6.4.3
+ vite: ^5.4.21 || ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
rollup:
optional: true
- resolution: {integrity: sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A==}
- engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
- hasBin: true
- peerDependencies:
- '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
- jiti: '>=1.21.0'
- less: '*'
- lightningcss: ^1.21.0
- sass: '*'
- sass-embedded: '*'
- stylus: '*'
- sugarss: '*'
- terser: ^5.16.0
- tsx: ^4.8.1
- yaml: ^2.4.2
- peerDependenciesMeta:
- '@types/node':
- optional: true
- jiti:
- optional: true
- less:
- optional: true
- lightningcss:
- optional: true
- sass:
- optional: true
- sass-embedded:
- optional: true
- stylus:
- optional: true
- sugarss:
- optional: true
- terser:
- optional: true
- tsx:
- optional: true
- yaml:
- optional: true
-
- resolution: {integrity: sha512-Ds+gBRbj0lwRO2Y5hwnUBdxSwlAve9LeRyU4sNnAr0ewW0gWF0n5bgXgUzbgZ49MV9BVUAQUFYVcDUcilUExMA==}
+ resolution: {integrity: sha512-4XP60spRGjSZFf1qYH+dJIkK2znL3zQfl9KkOV9MkkRR/3Dls0dxaBsQPTloEc5BLXWPL9vsOxopxyKoMmDueg==}
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'
@@ -6059,14 +5787,12 @@ 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:
@@ -6098,7 +5824,7 @@ packages:
'@vitest/ui': 4.1.9
happy-dom: '*'
jsdom: '*'
- vite: ^6.4.3
+ vite: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
'@edge-runtime/vm':
optional: true
@@ -7210,11 +6936,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
@@ -7439,7 +7165,8 @@ snapshots:
'@oxc-project/[email protected]': {}
- '@oxc-project/[email protected]': {}
+ '@oxc-project/[email protected]':
+ optional: true
'@oxc-resolver/[email protected]':
optional: true
@@ -8086,7 +7813,8 @@ snapshots:
'@rolldown/[email protected]': {}
- '@rolldown/[email protected]': {}
+ '@rolldown/[email protected]':
+ optional: true
dependencies:
@@ -8175,10 +7903,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
@@ -8202,25 +7930,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]': {}
@@ -8237,11 +7965,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
@@ -8251,7 +7979,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'
@@ -8309,20 +8037,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])
- '@babel/plugin-syntax-jsx': 7.29.7(@babel/[email protected])
- '@babel/plugin-syntax-typescript': 7.29.7(@babel/[email protected])
- '@stylexjs/babel-plugin': 0.19.0
- browserslist: 4.28.4
- lightningcss: 1.32.0
- transitivePeerDependencies:
- - supports-color
-
dependencies:
'@babel/core': 7.29.7
'@babel/plugin-syntax-flow': 7.29.7(@babel/[email protected])
@@ -8331,7 +8046,7 @@ snapshots:
'@stylexjs/babel-plugin': 0.19.0
browserslist: 4.28.4
lightningcss: 1.32.0
transitivePeerDependencies:
- supports-color
@@ -8408,13 +8123,6 @@ snapshots:
postcss: 8.5.16
tailwindcss: 4.3.2
- dependencies:
- '@tailwindcss/node': 4.3.2
- '@tailwindcss/oxide': 4.3.2
- tailwindcss: 4.3.2
-
'@testing-library/[email protected]':
dependencies:
'@babel/code-frame': 7.29.7
@@ -8648,19 +8356,7 @@ 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
- '@types/babel__core': 7.20.5
- react-refresh: 0.17.0
- transitivePeerDependencies:
- - supports-color
-
dependencies:
'@babel/core': 7.29.7
'@babel/plugin-transform-react-jsx-self': 7.29.7(@babel/[email protected])
@@ -8668,7 +8364,7 @@ snapshots:
'@rolldown/pluginutils': 1.0.0-beta.27
'@types/babel__core': 7.20.5
react-refresh: 0.17.0
transitivePeerDependencies:
- supports-color
@@ -8684,7 +8380,7 @@ snapshots:
obug: 2.1.3
std-env: 4.1.0
tinyrainbow: 3.1.0
'@vitest/[email protected]':
dependencies:
@@ -8703,13 +8399,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:
@@ -10599,6 +10295,7 @@ 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:
@@ -11043,7 +10740,7 @@ snapshots:
picomatch: 4.0.4
webpack-virtual-modules: 0.6.2
dependencies:
'@jridgewell/remapping': 2.3.5
picomatch: 4.0.4
@@ -11052,18 +10749,7 @@ snapshots:
esbuild: 0.28.1
rolldown: 1.1.4
rollup: 4.62.2
-
- dependencies:
- '@jridgewell/remapping': 2.3.5
- picomatch: 4.0.4
- webpack-virtual-modules: 0.6.2
- optionalDependencies:
- esbuild: 0.28.1
- rolldown: 1.1.4
- rollup: 4.62.2
dependencies:
@@ -11353,14 +11039,14 @@ 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])
@@ -11376,25 +11062,10 @@ snapshots:
tsx: 4.23.0
yaml: 2.9.0
- dependencies:
- lightningcss: 1.32.0
- picomatch: 4.0.4
- postcss: 8.5.16
- 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
- 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
@@ -11411,7 +11082,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 207f907023..70555b80f6 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -2,6 +2,10 @@
packages:
- 'apps/*'
+ # Example apps are standalone templates for the community to copy — they are
+ # never built in-repo, so they stay out of the workspace and pin their own
+ # dependency versions instead of using workspace protocols like catalog:.
+ - '!apps/example-*'
- 'packages/*'
- 'packages/themes/*'
- 'internal/*'
@@ -17,6 +21,14 @@ minimumReleaseAge: 10080
minimumReleaseAgeExclude:
- '@astryxdesign/*'
+# 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.
+catalog:
+ vite: ^7.3.6
+
# Moved from package.json's "pnpm" field: pnpm 11 no longer reads
# pnpm.overrides / pnpm.onlyBuiltDependencies from package.json.
overrides:
@@ -28,7 +40,6 @@ overrides:
anymatch>picomatch: ^2.3.2
minimatch: ^9.0.7
dompurify: ^3.4.11
- vite: ^6.4.3
tmp: '>=0.2.6'
esbuild: '>=0.28.1'
'@babel/core': ^7.29.6
diff --git a/scripts/build-css.test.mjs b/scripts/build-css.test.mjs
index 5d945fb60e..8bfe3f838d 100644
--- a/scripts/build-css.test.mjs
+++ b/scripts/build-css.test.mjs
@@ -104,9 +104,9 @@ describe('build-css astryx.css', () => {
}
});
- it('does not produce per-component CSS files', () => {
+ it('does not produce per-component CSS files', async () => {
// Verify the cleanup — no common.css or per-component styles.css
- expect(
+ await expect(
fs.access(path.join(CORE_DIST, 'common.css')).then(() => true, () => false),
).resolves.toBe(false);
});