What's Changed
New
- Added a
generateCLI command built with yargs, replacing the previous Commander.js-based CLI - Added
src/index.tsas an explicit library entry point, exposed via theexportsfield inpackage.json - Added
enginesanddevEnginesfields topackage.jsonto declare and enforce the required Node.js runtime version - Added a "Releasing" section and links to framework-specific starter templates (Action Starter, Discord Bot Starter) to README.md
Improvements
- Restructured the CLI into
src/cli/index.tsandsrc/cli/commands/, with each command built as a factory function that accepts injected streams for easier testing - Renamed
src/lib.tstosrc/fibonacci.tsto better reflect its purpose - Rewrote README.md with "Getting Started", "Setup", "Development", and "Releasing" sections
- Rewrote CLAUDE.md with a more detailed breakdown of source files, tooling, and available commands
- Managed the Node.js runtime version via the
devEnginesfield inpackage.jsoninstead of.npmrc - Removed
pnpm-workspace.yaml, which was no longer needed - Switched to
threeal/setup-lefthook-actionfor installing Lefthook in CI, replacing the manual install script - Added a cooldown period to Dependabot's npm dependency updates
- Removed the redundant
startandtestnpm scripts - Updated the sample package's name, description, and keywords
- Updated Node.js to version 24.18.1 and pnpm to version 11.19.0
Dependency Updates
actions/checkoutbumped from 6.0.2 to 7.0.1threeal/setup-pnpm-actionbumped from 1.0.0 to 2.0.0@types/nodebumped to 26.1.2@vitest/coverage-v8bumped to 4.1.10eslintbumped to 10.8.0prettierbumped to 3.9.6typescript-eslintbumped to 8.65.0vitebumped to 8.2.0vitestbumped to 4.1.10yargsadded as a dependency at ^18.1.0@types/yargsadded as a development dependency at ^17.0.35
Full Changelog: v4.0.0...v5.0.0