feat(cli): require Node 22 and upgrade chalk to v6 #34
No reviewers
Labels
No labels
bug
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gram-lang/gram!34
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/deps-chalk"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Upgrades chalk 5 -> 6, which requires Node >= 22.
engines.nodeof the CLI goes from>=20.6.0to>=22(Node 20 is end of life since April 2026; CI and docs were already on Node 22).chalk.levelis still writable in v6, so the color forcing forless -Rinsrc/ui/viewer.tsis unchanged.minor, CLI requires Node 22.Type of change
Checks
typecheck, lint, 1053 tests, conformance.
gram checkandgram 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.