mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-11 09:51:40 +00:00
fix(cli): update template handling for pnpm 11 (#10659)
* fix(cli): allow esbuild builds in Vite templates * fix(cli): extend pnpm 11 build-script allowlists across app templates - Add packages: [] to single-app pnpm-workspace.yaml so pnpm 9 does not reject the file with "packages field missing or empty". - Add astro-app, react-router-app, start-app, next-app workspace yamls with the build-script allowlist each template needs (esbuild, sharp, unrs-resolver as applicable). - Set msw: false across all app allowlists so the registry component install runs cleanly under pnpm 11 without executing msw's service-worker postinstall. - Add a scaffold test pinning the packages:[] + allowBuilds shape so the parser keeps treating it as single-app. * chore: changeset * fix(templates): allow monorepo pnpm builds * ci(templates): validate app workspace conversion --------- Co-authored-by: shadcn <m@shadcn.com>
This commit is contained in:
committed by
GitHub
parent
360e8a19c3
commit
07900769d9
@@ -1,5 +1,6 @@
|
||||
packages:
|
||||
- "."
|
||||
packages: []
|
||||
|
||||
ignoredBuiltDependencies:
|
||||
- esbuild
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
sharp: true
|
||||
msw: false
|
||||
|
||||
@@ -2,6 +2,7 @@ packages:
|
||||
- "apps/*"
|
||||
- "packages/*"
|
||||
|
||||
ignoredBuiltDependencies:
|
||||
- esbuild
|
||||
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
sharp: true
|
||||
msw: false
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
packages:
|
||||
- "."
|
||||
packages: []
|
||||
|
||||
ignoredBuiltDependencies:
|
||||
- sharp
|
||||
- unrs-resolver
|
||||
allowBuilds:
|
||||
sharp: true
|
||||
unrs-resolver: true
|
||||
msw: false
|
||||
|
||||
@@ -2,7 +2,7 @@ packages:
|
||||
- "apps/*"
|
||||
- "packages/*"
|
||||
|
||||
ignoredBuiltDependencies:
|
||||
- sharp
|
||||
- unrs-resolver
|
||||
|
||||
allowBuilds:
|
||||
sharp: true
|
||||
unrs-resolver: true
|
||||
msw: false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
packages:
|
||||
- "."
|
||||
packages: []
|
||||
|
||||
ignoredBuiltDependencies:
|
||||
- esbuild
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
msw: false
|
||||
|
||||
@@ -2,6 +2,6 @@ packages:
|
||||
- "apps/*"
|
||||
- "packages/*"
|
||||
|
||||
ignoredBuiltDependencies:
|
||||
- esbuild
|
||||
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
msw: false
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
packages:
|
||||
- "."
|
||||
packages: []
|
||||
|
||||
onlyBuiltDependencies:
|
||||
- esbuild
|
||||
- lightningcss
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
lightningcss: true
|
||||
unrs-resolver: true
|
||||
msw: false
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
packages:
|
||||
- "apps/*"
|
||||
- "packages/*"
|
||||
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
lightningcss: true
|
||||
unrs-resolver: true
|
||||
msw: false
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
packages:
|
||||
- "."
|
||||
packages: []
|
||||
|
||||
ignoredBuiltDependencies:
|
||||
- esbuild
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
msw: false
|
||||
|
||||
@@ -2,6 +2,6 @@ packages:
|
||||
- "apps/*"
|
||||
- "packages/*"
|
||||
|
||||
ignoredBuiltDependencies:
|
||||
- esbuild
|
||||
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
msw: false
|
||||
|
||||
Reference in New Issue
Block a user