File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 - name : Install dependencies
5858 run : bun install
5959
60- - name : Sync dependencies
61- run : bun run sync
60+ - name : Generate artifacts
61+ run : bun run generate
6262
6363 - name : Run checks
6464 run : bun run check
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ COPY . .
1212# Install deps from bun.lock
1313RUN bun install --frozen-lockfile
1414
15- # Generate OpenAPI spec
16- RUN bun run sync
15+ # Generate artifacts
16+ RUN bun run generate
1717
1818# Build the project
1919RUN bun run build --filter=@scottystack/server...
Original file line number Diff line number Diff line change 3434 "check" : " tsc -b && biome check" ,
3535 "dev" : " concurrently 'bun run server' 'bun run tsoa:watch' 'bun run openapi:watch'" ,
3636 "format" : " biome format" ,
37+ "generate" : " bun run tsoa && bun run openapi" ,
3738 "lint" : " biome lint" ,
3839 "openapi" : " openapi-typescript ./build/swagger.yaml -o ./build/swagger.d.ts" ,
3940 "openapi:watch" : " onchange './build/swagger.yaml' -- bun run openapi" ,
Original file line number Diff line number Diff line change 22 "$schema" : " https://openapi.vercel.sh/vercel.json" ,
33 "framework" : " vite" ,
44 "rewrites" : [{ "source" : " /(.*)" , "destination" : " /" }],
5- "buildCommand" : " cd ../server && bun run tsoa && bun run openapi && cd ../web && bun run build"
5+ "installCommand" : " bun install && cd ../server && bun run generate" ,
6+ "buildCommand" : " bun run build"
67}
Original file line number Diff line number Diff line change 2727 "check" : " turbo run check" ,
2828 "dev" : " turbo run dev" ,
2929 "format" : " turbo run format" ,
30+ "generate" : " cd apps/server && bun run generate" ,
3031 "lint" : " turbo run lint" ,
3132 "preinstall" : " bunx only-allow bun" ,
3233 "prepare" : " husky" ,
3334 "secrets:pull" : " PROJECT=scottystack APPS='web server' ENVS='local dev staging prod' ./scripts/secrets/multi/pull.sh" ,
3435 "secrets:push" : " PROJECT=scottystack APPS='web server' ENVS='local dev staging prod' ./scripts/secrets/multi/push.sh" ,
3536 "secrets:setup" : " ./scripts/secrets/setup.sh" ,
3637 "start" : " turbo start" ,
37- "sync" : " cd apps/server && bun run tsoa && bun run openapi" ,
3838 "syncpack" : " syncpack lint" ,
3939 "syncpack:fix" : " syncpack format && syncpack fix-mismatches" ,
4040 "syncpack:update" : " syncpack update" ,
You can’t perform that action at this time.
0 commit comments