File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"build" : " cross-env SKIP_ENV_VALIDATION=1 yarn workspaces foreach -A run build" ,
8
8
"test" : " yarn workspaces foreach -A run test" ,
9
- "dev" : " yarn dev:prisma:migrate:dev && npm-run-all --print-label --parallel dev:zoekt dev:backend dev:web dev:mcp-server" ,
9
+ "dev" : " yarn dev:prisma:migrate:dev && npm-run-all --print-label --parallel dev:zoekt dev:backend dev:web dev:mcp-server watch:schemas " ,
10
10
"with-env" : " cross-env PATH=\" $PWD/bin:$PATH\" dotenv -e .env.development -c --" ,
11
11
"dev:zoekt" : " yarn with-env zoekt-webserver -index .sourcebot/index -rpc" ,
12
12
"dev:backend" : " yarn with-env yarn workspace @sourcebot/backend dev:watch" ,
13
13
"dev:web" : " yarn with-env yarn workspace @sourcebot/web dev" ,
14
14
"dev:mcp-server" : " yarn workspace @sourcebot/mcp-server dev:watch" ,
15
+ "watch:schemas" : " yarn workspace @sourcebot/schemas watch" ,
15
16
"dev:prisma:migrate:dev" : " yarn with-env yarn workspace @sourcebot/db prisma:migrate:dev" ,
16
17
"dev:prisma:studio" : " yarn with-env yarn workspace @sourcebot/db prisma:studio" ,
17
18
"dev:prisma:migrate:reset" : " yarn with-env yarn workspace @sourcebot/db prisma:migrate:reset" ,
Original file line number Diff line number Diff line change 5
5
"scripts" : {
6
6
"build" : " yarn generate && tsc" ,
7
7
"generate" : " tsx tools/generate.ts" ,
8
+ "watch" : " nodemon --watch ../../schemas -e json -x 'yarn generate'" ,
8
9
"postinstall" : " yarn build"
9
10
},
10
11
"devDependencies" : {
11
12
"@apidevtools/json-schema-ref-parser" : " ^11.7.3" ,
12
13
"glob" : " ^11.0.1" ,
13
14
"json-schema-to-typescript" : " ^15.0.4" ,
15
+ "nodemon" : " ^3.1.10" ,
14
16
"tsx" : " ^4.19.2" ,
15
17
"typescript" : " ^5.7.3"
16
18
},
You can’t perform that action at this time.
0 commit comments