File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
apps/cli/src/helpers/setup Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " create-better-t-stack " : patch
3+ ---
4+
5+ Fix start script paths in Bun and Node runtime setup
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ async function setupBunRuntime(
7777 packageJson . scripts = {
7878 ...packageJson . scripts ,
7979 dev : "bun run --hot src/index.ts" ,
80- start : "bun run dist/src/ index.js" ,
80+ start : "bun run dist/index.js" ,
8181 } ;
8282
8383 await fs . writeJson ( packageJsonPath , packageJson , { spaces : 2 } ) ;
@@ -100,7 +100,7 @@ async function setupNodeRuntime(
100100 packageJson . scripts = {
101101 ...packageJson . scripts ,
102102 dev : "tsx watch src/index.ts" ,
103- start : "node dist/src/ index.js" ,
103+ start : "node dist/index.js" ,
104104 } ;
105105
106106 await fs . writeJson ( packageJsonPath , packageJson , { spaces : 2 } ) ;
You can’t perform that action at this time.
0 commit comments