Skip to content

fix(ci): build dashboard before packing npm tarball#71

Merged
MathurAditya724 merged 1 commit into
mainfrom
fix/ci-build-dashboard-before-pack
May 11, 2026
Merged

fix(ci): build dashboard before packing npm tarball#71
MathurAditya724 merged 1 commit into
mainfrom
fix/ci-build-dashboard-before-pack

Conversation

@MathurAditya724
Copy link
Copy Markdown
Member

Fix missing public/ folder in published npm packages.

bun pm pack does not run prepublishOnly, so the dashboard assets were never built into public/ before creating the tarball. This resulted in npm packages (0.1.3, 0.2.0) missing the public/ folder entirely, causing the bundled dashboard to be unavailable.

Testing

Verified locally that:

  1. Without build step: bun pm pack produces tarball without public/
  2. With build step: bun pm pack produces tarball with public/ containing dashboard assets

bun pm pack does not run prepublishOnly, so the dashboard assets
were never built into public/ before creating the tarball. This
resulted in npm packages missing the public/ folder entirely.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
opencode-email-worker 236bc44 Commit Preview URL

Branch Preview URL
May 11 2026, 12:03 AM

@MathurAditya724 MathurAditya724 marked this pull request as ready for review May 11, 2026 00:06
@MathurAditya724 MathurAditya724 merged commit c20a7bf into main May 11, 2026
2 checks passed
@MathurAditya724 MathurAditya724 deleted the fix/ci-build-dashboard-before-pack branch May 11, 2026 00:06
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