Skip to content

Commit

Permalink
Merge pull request #30304 from zhyd1997/fix/issue-30291-zhyd1997-1737…
Browse files Browse the repository at this point in the history
…207908875

CLI: Corrected Next.js createScript for pnpm.
  • Loading branch information
valentinpalkovic authored Jan 23, 2025
2 parents 7cb1dec + 6c6203b commit 3d390e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/create-storybook/src/scaffold-new-project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const SUPPORTED_PROJECTS: Record<string, SupportedProject> = {
npm: 'npm create next-app@^14 . -- --typescript --use-npm --eslint --tailwind --no-app --import-alias="@/*" --src-dir',
// yarn doesn't support version ranges, so we have to use npx
yarn: 'npx create-next-app@^14 . --typescript --use-yarn --eslint --tailwind --no-app --import-alias="@/*" --src-dir',
pnpm: 'pnpm create next-app^14 . --typescript --use-pnpm --eslint --tailwind --no-app --import-alias="@/*" --src-dir',
pnpm: 'pnpm create next-app@^14 . --typescript --use-pnpm --eslint --tailwind --no-app --import-alias="@/*" --src-dir',
},
},
'vue-vite-ts': {
Expand Down

0 comments on commit 3d390e2

Please # to comment.