Skip to content

build(npm): rebuild ncc bundle after @vercel/ncc 0.44 bump - #136

Merged
c-vigo merged 2 commits into
release/0.4.0from
bugfix/135-rebuild-dist-bundle
Jul 16, 2026
Merged

c-vigo merged 2 commits into
release/0.4.0from
bugfix/135-rebuild-dist-bundle

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

The @vercel/ncc ^0.38.1 -> ^0.44.0 bump (#126) changed bundle output, but dist/ was never regenerated. Per the documented design, dev is intentionally not dist-gated, so the drift first surfaced on the release/0.4.0 -> main PR (#134) Dist Check, failing the 0.4.0 RC.

This is the prescribed recovery (see dist-check.yml header): a bugfix PR into the release branch that rebuilds the committed bundle with the pinned toolchain (ncc 0.44.1).

Changes

  • Rebuild dist/index.js and dist/licenses.txt (905 insertions, 3624 deletions — leaner ncc 0.44 output).

No source or changelog change: the ncc bump is already listed under 0.4.0, and the bundle is a generated artifact.

Refs: #135, #126

c-vigo added 2 commits July 16, 2026 19:43
The @vercel/ncc 0.38->0.44 bump (#126) changed bundle output, but dist/ was
never regenerated, so the release/0.4.0 -> main PR Dist Check flagged drift.
Rebuild dist/index.js and dist/licenses.txt with ncc 0.44.1.

Refs: #135
v0.3.0 (#6) narrowed the tracked bundle to dist/index.js + dist/licenses.txt
and added the .gitignore rules, but never git-rm --cached the already-tracked
tsc emit (dist/src/**, dist/tsconfig.tsbuildinfo). The local just verify-dist
only diffs the two shipped files so it passed, but CI dist-check.yml runs
git status --porcelain -- dist/ over the whole dir and flagged the drifting
tsconfig.tsbuildinfo. Untrack the stray files so only the shipped artifacts
are versioned, matching the documented invariant.

Refs: #135
@c-vigo
c-vigo merged commit 89e990e into release/0.4.0 Jul 16, 2026
24 checks passed
@c-vigo
c-vigo deleted the bugfix/135-rebuild-dist-bundle branch July 16, 2026 17:55
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