Skip to content

Commit f024db1

Browse files
backnotpropclaude
andcommitted
Fix release build: add missing @plannotator/server dependency
The hook's server/index.ts imports from @plannotator/server, but the package wasn't declared in dependencies. Bun only creates workspace symlinks for declared dependencies, causing the build to fail in CI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9f85774 commit f024db1

3 files changed

Lines changed: 9 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,33 +25,26 @@ jobs:
2525
- name: Build UI
2626
run: bun run build:hook
2727

28-
- name: Debug workspace links
29-
run: ls -la node_modules/@plannotator/ || echo "No workspace links found"
30-
31-
- name: Bundle server (resolve workspace packages)
32-
working-directory: apps/hook
33-
run: bun build server/index.ts --outfile server/bundle.js --target=bun
34-
3528
- name: Compile binaries (cross-compile all targets)
3629
run: |
3730
# macOS ARM64
38-
bun build apps/hook/server/bundle.js --compile --target=bun-darwin-arm64 --outfile plannotator-darwin-arm64
31+
bun build apps/hook/server/index.ts --compile --target=bun-darwin-arm64 --outfile plannotator-darwin-arm64
3932
sha256sum plannotator-darwin-arm64 > plannotator-darwin-arm64.sha256
4033
4134
# macOS x64
42-
bun build apps/hook/server/bundle.js --compile --target=bun-darwin-x64 --outfile plannotator-darwin-x64
35+
bun build apps/hook/server/index.ts --compile --target=bun-darwin-x64 --outfile plannotator-darwin-x64
4336
sha256sum plannotator-darwin-x64 > plannotator-darwin-x64.sha256
4437
4538
# Linux x64
46-
bun build apps/hook/server/bundle.js --compile --target=bun-linux-x64 --outfile plannotator-linux-x64
39+
bun build apps/hook/server/index.ts --compile --target=bun-linux-x64 --outfile plannotator-linux-x64
4740
sha256sum plannotator-linux-x64 > plannotator-linux-x64.sha256
4841
4942
# Linux ARM64
50-
bun build apps/hook/server/bundle.js --compile --target=bun-linux-arm64 --outfile plannotator-linux-arm64
43+
bun build apps/hook/server/index.ts --compile --target=bun-linux-arm64 --outfile plannotator-linux-arm64
5144
sha256sum plannotator-linux-arm64 > plannotator-linux-arm64.sha256
5245
5346
# Windows x64
54-
bun build apps/hook/server/bundle.js --compile --target=bun-windows-x64 --outfile plannotator-win32-x64.exe
47+
bun build apps/hook/server/index.ts --compile --target=bun-windows-x64 --outfile plannotator-win32-x64.exe
5548
sha256sum plannotator-win32-x64.exe > plannotator-win32-x64.exe.sha256
5649
5750
- name: Upload artifacts

apps/hook/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@plannotator/editor": "workspace:*",
13+
"@plannotator/server": "workspace:*",
1314
"@plannotator/ui": "workspace:*",
1415
"react": "^19.2.3",
1516
"react-dom": "^19.2.3",

bun.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)