From 78ec512770297cc3b2def2d0eded65922a204ac3 Mon Sep 17 00:00:00 2001 From: bkellam Date: Sat, 26 Apr 2025 14:23:36 -0700 Subject: [PATCH] Add build:deps command for building workspace package dependencies --- Makefile | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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",