feat(cli): require Node 22 and upgrade chalk to v6 #34

Merged
abiwab merged 4 commits from chore/deps-chalk into main 2026-09-29 10:14:46 +02:00
Owner

Summary

Upgrades chalk 5 -> 6, which requires Node >= 22. engines.node of the CLI goes from >=20.6.0 to >=22 (Node 20 is end of life since April 2026; CI and docs were already on Node 22).

  • chalk.level is still writable in v6, so the color forcing for less -R in src/ui/viewer.ts is unchanged.
  • Changeset: minor, CLI requires Node 22.

Type of change

  • Breaking change (Node 20 dropped for the CLI, hence the minor changeset)

Checks

typecheck, lint, 1053 tests, conformance. gram check and gram view (piped) run on Node 22. Not verified locally: a real TTY, and the npm tarball smoke test (left to CI).

Merge order: 3/4. Stacked on the mermaid PR.

## Summary Upgrades chalk 5 -> 6, which requires Node >= 22. `engines.node` of the CLI goes from `>=20.6.0` to `>=22` (Node 20 is end of life since April 2026; CI and docs were already on Node 22). - `chalk.level` is still writable in v6, so the color forcing for `less -R` in `src/ui/viewer.ts` is unchanged. - Changeset: `minor`, CLI requires Node 22. ## Type of change - [x] Breaking change (Node 20 dropped for the CLI, hence the minor changeset) ## Checks typecheck, lint, 1053 tests, conformance. `gram check` and `gram view` (piped) run on Node 22. Not verified locally: a real TTY, and the npm tarball smoke test (left to CI). Merge order: 3/4. Stacked on the mermaid PR.
chore(deps): upgrade astro, mdx and starlight
All checks were successful
CI / Build, Test & Publish (pull_request) Successful in 3m20s
67ff8103f9
chore(deps): upgrade mermaid to v12
All checks were successful
CI / Build, Test & Publish (pull_request) Successful in 3m28s
7af57406ce
feat(cli): require Node 22 and upgrade chalk to v6
Some checks failed
CI / Build, Test & Publish (pull_request) Has been cancelled
e0d0e9ab9a
Merge branch 'main' into chore/deps-astro
All checks were successful
CI / Build, Test & Publish (pull_request) Successful in 3m38s
7e40cd6716
# Conflicts:
#	bun.lock
Merge branch 'chore/deps-astro' into chore/deps-mermaid
Some checks failed
CI / Build, Test & Publish (pull_request) Has been cancelled
6169e8173b
Merge branch 'chore/deps-mermaid' into chore/deps-chalk
All checks were successful
CI / Build, Test & Publish (pull_request) Successful in 3m34s
bc3e767cbd
# Conflicts:
#	bun.lock
Merge branch 'main' into chore/deps-chalk
All checks were successful
CI / Build, Test & Publish (pull_request) Successful in 1m44s
bd4c2d49b3
Merge branch 'main' into chore/deps-chalk
All checks were successful
CI / Build, Test & Publish (pull_request) Successful in 1m43s
eb86dbdbd5
abiwab scheduled this pull request to auto merge when all checks succeed 2026-09-29 10:08:14 +02:00
abiwab merged commit 1d5ee44d11 into main 2026-09-29 10:14:46 +02:00
abiwab deleted branch chore/deps-chalk 2026-09-29 10:14:46 +02:00
Sign in to join this conversation.
No description provided.