File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/checkout@v4
2020 - uses : ./.github/actions/setup
21+ - run : bun generate:types
2122 - run : bun compile
2223 tests :
2324 runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change 66node_modules
77dist
88src /@types /gql.d.ts
9+ tsconfig.tsbuildinfo
910
1011# Editor directories and files
1112.vscode /*
Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "scripts" : {
77 "dev" : " bun --hot run src/dev.ts" ,
8+ "generate:types" : " bun run src/generate-types.ts" ,
89 "docker:build" : " docker build . -t aklinker1/store-api" ,
910 "docker:run" : " docker run -it aklinker1/store-api" ,
1011 "docker:build:amd" : " bun docker:build --platform linux/amd64" ,
Original file line number Diff line number Diff line change 1+ import { generateGqlTypes } from "../scripts/generate-gql-types" ;
2+ import { createServer } from "./server" ;
3+
4+ const server = createServer ( ) ;
5+ await generateGqlTypes ( server ) ;
6+ server . httpServer . stop ( ) ;
You can’t perform that action at this time.
0 commit comments