Skip to content

Commit 48ba490

Browse files
committed
fix(build): restore build step in pre-push hook using direct node calls
The previous fix removed the build step because pnpm run deadlocks in submodule context. Direct node invocations (node .../bin/tsx, node .../bin/tsc) avoid the deadlock. Full gates restored: lint, typecheck, frontend build, CLI shebang, integration test.
1 parent 174c67e commit 48ba490

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
node node_modules/.bin/eslint . 2>&1 && node node_modules/.bin/tsc --noEmit 2>&1 && node --test dist/test/coordinator-socket-error.integration.test.js 2>&1
1+
node node_modules/.bin/eslint . 2>&1 && node node_modules/.bin/tsc --noEmit 2>&1 && node node_modules/.bin/tsx src/bridges/user/web/build.ts 2>&1 && printf '#!/usr/bin/env node\n' | cat - dist/cli.js > dist/cli.tmp && mv dist/cli.tmp dist/cli.js && node --test dist/test/coordinator-socket-error.integration.test.js 2>&1

0 commit comments

Comments
 (0)