Skip to content

fix(cli): build @parallax/slack during prepack#35

Merged
maxigimenez merged 1 commit into
mainfrom
fix/prepack-build-slack
Jul 3, 2026
Merged

fix(cli): build @parallax/slack during prepack#35
maxigimenez merged 1 commit into
mainfrom
fix/prepack-build-slack

Conversation

@maxigimenez

Copy link
Copy Markdown
Owner

Problem

The release retry failed again — this time in prepack:

Error: ENOENT: no such file or directory, lstat '.../packages/slack/dist'
    at async copyDirectory (.../scripts/prepare-package.mjs:84:3)

Follow-up to #34. That PR added @parallax/slack to the bundled packages (so prepare-package.mjs copies packages/slack/dist), but the main() build step that compiles each bundled package before copying was never updated to build slack. On a fresh CI checkout packages/slack/dist doesn't exist yet, so the copy fails. It passed locally only because slack had been built earlier.

Fix

Add runPnpm(['--filter', '@parallax/slack', 'build']) alongside the other bundled-package builds in main().

Verification

Reproduced the CI condition locally by deleting all packages/*/dist dirs, then ran pnpm --filter parallax-cli pack:check:

  • ✅ Succeeds (previously ENOENT) — builds slack, packs 271.5 kB / 249 files, no errors, source restored.

Release

After merge, re-run the Release parallax-cli workflow to publish 0.1.0.

🤖 Generated with Claude Code

prepare-package.mjs copies packages/slack/dist into the bundled package
but never built it — the build step was missing from main(). On a clean
CI checkout packages/slack/dist does not exist, so prepack failed with
ENOENT during the npm publish. Add the slack build alongside the other
bundled packages.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
parallax Skipped Skipped Jul 3, 2026 6:46pm

@maxigimenez maxigimenez merged commit 3d2210b into main Jul 3, 2026
3 checks passed
@maxigimenez maxigimenez deleted the fix/prepack-build-slack branch July 3, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant