Skip to content

chore: update to Node >=22 and bump all dependencies#76

Merged
marcusolsson merged 1 commit into
mainfrom
chore/update-node-22-and-deps
Jun 4, 2026
Merged

chore: update to Node >=22 and bump all dependencies#76
marcusolsson merged 1 commit into
mainfrom
chore/update-node-22-and-deps

Conversation

@marcusolsson

@marcusolsson marcusolsson commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the CLI to require Node.js >=22 and bumps all major dependencies to their latest versions.

Changes

Engine

  • engines.node: >=20.0.0>=22

Dependencies

Package Old New
@types/node ^20.11.20 ^22.15.17
@clack/prompts ^0.10.0 ^1.5.1
chalk ^4.1.2 ^5.6.2
commander ^12.0.0 ^15.0.0
marked ^9.1.6 ^18.0.5
marked-terminal ^6.2.0 ^7.3.0
openapi-fetch ^0.9.1 ^0.17.0
typescript ^5.3.3 ^6.0.3
which ^5.0.0 ^6.0.1

API Migrations

  • openapi-fetch middleware: Updated from positional params to MiddlewareCallbackParams object (new API in v0.17)
  • marked/marked-terminal: Migrated from marked.setOptions({ renderer }) to marked.use(markedTerminal())

Verification

  • npm run typecheck passes
  • npm run lint passes
  • npm run test:run — 283 tests pass

- Update engines.node from >=20.0.0 to >=22
- Update @types/node ^20.11.20 → ^22.15.17
- Update @clack/prompts ^0.10.0 → ^1.5.1
- Update chalk ^4.1.2 → ^5.6.2
- Update commander ^12.0.0 → ^15.0.0
- Update marked ^9.1.6 → ^18.0.5
- Update marked-terminal ^6.2.0 → ^7.3.0
- Update openapi-fetch ^0.9.1 → ^0.17.0
- Update typescript ^5.3.3 → ^6.0.3
- Update which ^5.0.0 → ^6.0.1

Breaking API changes handled:
- openapi-fetch middleware API changed from positional params to MiddlewareCallbackParams object
- marked/marked-terminal API changed from setOptions(renderer) to use(markedTerminal())
@marcusolsson marcusolsson merged commit a559e3c into main Jun 4, 2026
1 check passed
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