diff --git a/Makefile b/Makefile index 00fbbb1e..7b963caa 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ ALL: $(CMDS) yarn: yarn install + yarn build:deps zoekt: mkdir -p bin diff --git a/package.json b/package.json index 72631c23..f9b8ba68 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "dev:web": "yarn with-env yarn workspace @sourcebot/web dev", "dev:prisma:migrate:dev": "yarn with-env yarn workspace @sourcebot/db prisma:migrate:dev", "dev:prisma:studio": "yarn with-env yarn workspace @sourcebot/db prisma:studio", - "dev:prisma:migrate:reset": "yarn with-env yarn workspace @sourcebot/db prisma:migrate:reset" + "dev:prisma:migrate:reset": "yarn with-env yarn workspace @sourcebot/db prisma:migrate:reset", + "build:deps": "yarn workspaces foreach -R --from '{@sourcebot/schemas,@sourcebot/error,@sourcebot/crypto,@sourcebot/db}' run build" }, "devDependencies": { "cross-env": "^7.0.3",