Skip to content

Commit 3d781d6

Browse files
committed
fix: update build scripts to use pnpm filter for monorepo
Update build:custom-node and build:sea scripts to delegate to their respective packages using pnpm --filter. This fixes the broken scripts that were pointing to the old pre-monorepo file locations. The -- at the end enables flag forwarding to the underlying build scripts.
1 parent 0bb0f8d commit 3d781d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@
180180
"build": "pnpm --filter \"./packages/**\" run build",
181181
"build:cli": "pnpm --filter @socketsecurity/cli run build",
182182
"build:socket": "pnpm --filter socket run build",
183-
"build:custom-node": "node scripts/build-custom-node.mjs",
184-
"build:sea": "node scripts/build-sea.mjs",
183+
"build:custom-node": "pnpm --filter @socketbin/custom-node run build --",
184+
"build:sea": "pnpm --filter @socketbin/sea run build --",
185185
"check": "pnpm --filter @socketsecurity/cli run check",
186186
"check-ci": "pnpm --filter @socketsecurity/cli run check-ci",
187187
"clean": "pnpm --filter \"./packages/**\" run clean",

0 commit comments

Comments
 (0)