You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trims and modernizes the runtime dependency set without changing CLI behavior:
chalk removed; terminal colors now use node:utilstyleText. Output is byte-identical, including NO_COLOR and non-TTY auto-disable.
commander replaced with cleye (smaller, zero transitive deps). All commands, flags, exit codes, hidden commands, variadic args, and the global -s/--session option behave the same. Help layout differs slightly in formatting (alphabetized flags); semantics are unchanged.
@types/node bumped to ^26.0.0. It stays in dependencies because the published config-builder declarations reference NodeJS types; engines.node stays >=22.
tsx moved to devDependencies. Nothing in src/ imports it (config loading is jiti); only the dev/build scripts and the unbuilt-clone fallback use it.
Parity is locked in by new tests: byte-exact ANSI assertions for every glyph/color path, a --help sweep over all 22 root and 5 daemon commands, and a strict typecheck of a sample .zaps.mts against the published dist/config/index.d.ts.
Why
Two runtime dependencies duplicated what Node now ships or what a lighter library does with less, and one was never a runtime dependency to begin with. Fewer packages means a smaller install and less supply-chain surface for npm consumers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Trims and modernizes the runtime dependency set without changing CLI behavior:
chalkremoved; terminal colors now usenode:utilstyleText. Output is byte-identical, includingNO_COLORand non-TTY auto-disable.commanderreplaced withcleye(smaller, zero transitive deps). All commands, flags, exit codes, hidden commands, variadic args, and the global-s/--sessionoption behave the same. Help layout differs slightly in formatting (alphabetized flags); semantics are unchanged.@types/nodebumped to^26.0.0. It stays independenciesbecause the published config-builder declarations referenceNodeJStypes;engines.nodestays>=22.tsxmoved todevDependencies. Nothing insrc/imports it (config loading isjiti); only thedev/buildscripts and the unbuilt-clone fallback use it.Parity is locked in by new tests: byte-exact ANSI assertions for every glyph/color path, a
--helpsweep over all 22 root and 5 daemon commands, and a strict typecheck of a sample.zaps.mtsagainst the publisheddist/config/index.d.ts.Why
Two runtime dependencies duplicated what Node now ships or what a lighter library does with less, and one was never a runtime dependency to begin with. Fewer packages means a smaller install and less supply-chain surface for npm consumers.