Skip to content

Commit 78ec512

Browse files
Add build:deps command for building workspace package dependencies
1 parent 2398deb commit 78ec512

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ALL: $(CMDS)
55

66
yarn:
77
yarn install
8+
yarn build:deps
89

910
zoekt:
1011
mkdir -p bin

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"dev:web": "yarn with-env yarn workspace @sourcebot/web dev",
1414
"dev:prisma:migrate:dev": "yarn with-env yarn workspace @sourcebot/db prisma:migrate:dev",
1515
"dev:prisma:studio": "yarn with-env yarn workspace @sourcebot/db prisma:studio",
16-
"dev:prisma:migrate:reset": "yarn with-env yarn workspace @sourcebot/db prisma:migrate:reset"
16+
"dev:prisma:migrate:reset": "yarn with-env yarn workspace @sourcebot/db prisma:migrate:reset",
17+
"build:deps": "yarn workspaces foreach -R --from '{@sourcebot/schemas,@sourcebot/error,@sourcebot/crypto,@sourcebot/db}' run build"
1718
},
1819
"devDependencies": {
1920
"cross-env": "^7.0.3",

0 commit comments

Comments
 (0)