Skip to content

Upgrade commander to v15#235

Open
captbaritone wants to merge 1 commit into
mainfrom
upgrade-commander-15
Open

Upgrade commander to v15#235
captbaritone wants to merge 1 commit into
mainfrom
upgrade-commander-15

Conversation

@captbaritone

Copy link
Copy Markdown
Owner

Summary

Upgrades commander from v14 to v15.

Commander v15 dropped support for Node.js < 22.12.0, so this bumps Grats' minimum Node version accordingly.

Changes

  • package.json: commander^15.0.0; engines.node>=22.12 <=24
  • pnpm-lock.yaml: updated to commander 15.0.0
  • .github/workflows/ci.yaml: dropped Node 20.x from the test matrix; publish job moved from Node 20.x22.x
  • changelog: added a Breaking Changes note (min Node is now >=22.12.0) and an Improvements note for the commander bump

Breaking change

Grats now requires Node.js >=22.12.0 (was >=20). This is a consequence of commander v15's own Node requirement.

Verification

  • No source changes needed — the CLI API we use (Command, .version(), .option(), .action(), .parse()) is unchanged in v15.
  • grats --help, grats --version, and grats locate --help produce identical output under v14 and v15.
  • tsc --build passes.
  • Test suite: 504 fixtures pass. (One pre-existing failure in customScalarSerialization is unrelated to this change — it reproduces on main without these edits and is being investigated separately.)

Commander v15 drops support for Node.js < 22.12.0, so bump Grats'
minimum Node version to >=22.12 and drop Node 20.x from the CI matrix
(publish job moved to 22.x). No source changes were needed; the CLI
API we use is unchanged and --help/--version output is identical.

- package.json: commander ^15.0.0, engines.node >=22.12 <=24
- pnpm-lock.yaml: regenerated for commander 15.0.0
- .github/workflows/ci.yaml: drop Node 20.x, publish job -> 22.x
- changelog: note breaking Node requirement + commander bump
@netlify

netlify Bot commented Jul 8, 2026

Copy link
Copy Markdown

Deploy Preview for grats failed. Why did it fail? →

Name Link
🔨 Latest commit 3d02282
🔍 Latest deploy log https://app.netlify.com/projects/grats/deploys/6a4e949a1e886900087cd55a

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