Skip to content

Repin @xterm/addon-serialize in pnpm bump:xterm - #966

Merged
nedtwigg merged 1 commit into
mainfrom
fix/xterm-bump-serialize
Oct 3, 2026
Merged

nedtwigg merged 1 commit into
mainfrom
fix/xterm-bump-serialize

Conversation

@dormouse-bot

Copy link
Copy Markdown
Collaborator

pnpm bump:xterm left @xterm/addon-serialize behind. scripts/xterm-bump.mjs kept a hand-written list of four addons, and the serialize addon was added to lib and standalone after the list was written. A bump therefore moved the core and four addons but kept serialize on the old core. scripts/xterm-lint.mjs then rejected the set, even though the script's own peer check exists to refuse "a set xterm-lint would reject". The "already on the newest coherent set" check skipped serialize too.

The script now reads its addon list from lib/package.json: every @xterm/addon-* dependency. An addon added later is picked up without editing the script. xterm-lint already keeps standalone's pins identical to lib's.

scripts/xterm-bump.test.mjs now includes serialize in its fixture, plus a case where only serialize is stale. That case fails without the change. All 16 tests and node scripts/xterm-lint.mjs pass locally.

xterm-bump kept its own list of four addons, so the serialize addon lib and
standalone added later stayed on the old core after a bump, and xterm-lint
then rejected the set the script wrote. Read the addon list from
lib/package.json instead.

Co-Authored-By: Claude <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 14b46da
Status: ✅  Deploy successful!
Preview URL: https://90af0f02.mouseterm.pages.dev
Branch Preview URL: https://fix-xterm-bump-serialize.mouseterm.pages.dev

View logs

@nedtwigg
nedtwigg merged commit 0d98a70 into main Oct 3, 2026
11 checks passed
@nedtwigg
nedtwigg deleted the fix/xterm-bump-serialize branch October 3, 2026 17:30

This branch is waiting to be deployed

1 waiting deployment
hosted-preview — 14b46da5 Waiting Oct 3, 2026 by nedtwigg via cleanup #952
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.

2 participants