Which project does this relate to?
Start
Describe the bug
When scaffolding a new TanStack Start project using create @tanstack/start (via bun, pnpm, or yarn), the generated package.json contains a deploy script that hardcodes npm.
"deploy": "npm run build && wrangler deploy", // Select Cloudflare for deployment adapter
Your Example Website or App
none
Steps to Reproduce the Bug or Issue
- Run one of the following commands:
bun create @tanstack/start
pnpm create @tanstack/start
yarn create @tanstack/start
- Select Cloudflare for the deployment adapter, and select defaults for all other items.
- Open
package.json.
- Observe the
deploy script.
Expected behavior
It should detect the package manager used and generate:
"deploy": "bun run build && ..."
Screenshots or Videos
No response
Platform
- Start Version: [1.132.0]
- OS: [macOS]
- Bun version: [1.2.19]
Additional context
No response
Which project does this relate to?
Start
Describe the bug
When scaffolding a new TanStack Start project using
create @tanstack/start(viabun,pnpm, oryarn), the generatedpackage.jsoncontains adeployscript that hardcodesnpm.Your Example Website or App
none
Steps to Reproduce the Bug or Issue
bun create @tanstack/startpnpm create @tanstack/startyarn create @tanstack/startpackage.json.deployscript.Expected behavior
It should detect the package manager used and generate:
"deploy": "bun run build && ..."Screenshots or Videos
No response
Platform
Additional context
No response