File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 99 "build:executable" : {
1010 "executor" : " nx:run-commands" ,
1111 "options" : {
12- "command" : " bun build --compile --minify --sourcemap apps/backend/src/index.ts --outfile ./apps/dist/backend apps/backend/src/index.ts"
12+ "command" : " bun build --compile --minify --sourcemap apps/backend/src/index.ts --outfile ./apps/backend/ dist/main apps/backend/src/index.ts"
1313 },
1414 "cache" : true
1515 },
1616 "start:executable" : {
1717 "executor" : " nx:run-commands" ,
1818 "options" : {
19- "command" : " backend " ,
20- "cwd" : " apps/dist"
19+ "command" : " main " ,
20+ "cwd" : " apps/backend/ dist"
2121 }
2222 },
2323 "dev" : {
4343 "executor" : " nx:run-commands" ,
4444 "options" : {
4545 "cwd" : " apps/backend" ,
46- "commands" : [" bunx tsc --pretty --noEmit -p tsconfig.json" ],
46+ "commands" : [
47+ " bunx tsc --pretty --noEmit -p tsconfig.json"
48+ ],
4749 "forwardAllArgs" : false ,
4850 "description" : " Type check with tsc"
4951 },
Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ zerops:
2323 - bun run postinstall
2424 - bun run validateEnv
2525 - bun x nx build:executable backend
26+ - ls apps/backend
2627 deployFiles :
27- - apps/dist/ backend
28+ - apps/backend/dist
2829 - node_modules
2930 cache :
3031 - node_modules
@@ -40,7 +41,7 @@ zerops:
4041 - echo "Installing yt-dlp"
4142 - curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/bin/yt-dlp
4243 - chmod a+rx /usr/bin/yt-dlp # Make executable
43- start : apps/dist/backend
44+ start : apps/backend/ dist/main
4445
4546 deploy :
4647 readinessCheck :
You can’t perform that action at this time.
0 commit comments