Skip to content

Latest commit

 

History

History
140 lines (94 loc) · 4.58 KB

File metadata and controls

140 lines (94 loc) · 4.58 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.1.0] - 2026-03-21

Added

  • start: node dist/index.js script in all generated projects (was documented in README but never actually generated)
  • vitest.config.ts with explicit test include pattern and timeout
  • 7 unit tests for detectPackageManager covering user agent parsing, lockfile detection, and npm fallback
  • -d, --default flag now properly registered in cac — was dead code before (only handled in a parser that never ran with flags)

Changed

  • Extended generated .gitignore: now includes .env.local, *.log, npm-debug.log*, coverage/, .DS_Store
  • Replaced spawnSync with async spawn in generator — no longer blocks the event loop during git and install operations
  • dev script in root project switched from ts-node to tsx for consistency with generated projects
  • prepare script updated from deprecated husky install to husky
  • ESLint config: replaced globals.jest with globals.vitest
  • publish.yml workflow: Node 18 (EOL) → Node 20 to match CI
  • generator.test.ts: disabled real npm install (was the only test running a live install, now consistent with all other tests)
  • Pinned tsx ^4.21.0 in devDependencies so generated projects get a deterministic version instead of latest
  • Node.js minimum requirement bumped to 20.19.0 (required by cac v7)
  • README: corrected ts-nodetsx in nodemon section, updated Node.js requirement

Fixed

  • Git commit guard condition was !insideRepo || !hasCommits — would attempt to commit outside a git repo; corrected to insideRepo && !hasCommits
  • Omit<ToolOptions, 'yes' | 'default'> used a non-existent key 'default' — corrected to 'useDefaults'
  • --no-commit test now asserts git rev-parse HEAD fails (repo has no commits), not just that .git exists

Removed

  • parseFlagsFromArgv (80 lines of dead code — only executed with zero CLI arguments, always returned {})
  • .husky/pre-commit.bak stale backup file

[1.0.8] - 2026-01-19

Changed

  • Updated development dependencies
  • Migrated Husky hooks to v10+ (no legacy sourcing)
  • Fixed npm audit vulnerabilities
  • Validated local project generation (minimal template)

[1.0.7] - 2026-01-16

Changed

  • Updated development dependencies
    • @types/node from 25.0.3 to 25.0.6
    • typescript-eslint from 8.51.0 to 8.52.0
  • Fixed all npm audit vulnerabilities

[1.0.6] - 2026-01-05

Changed

  • Updated development dependencies
    • typescript-eslint from 8.50.1 to 8.51.0
    • globals from 16.5.0 to 17.0.0 (major version with new environments: audioWorklet, paintWorklet, sharedWorker, bunBuiltin, denoBuiltin)

[1.0.5] - 2025-12-30

Changed

  • Updated development dependencies
    • typescript-eslint from 8.50.0 to 8.50.1

[1.0.4] - 2025-12-22

Changed

  • Updated development dependencies
    • typescript-eslint from 8.49.0 to 8.50.0

[1.0.3] - 2025-12-16

Changed

  • Updated development dependencies
    • @eslint/js from 9.39.1 to 9.39.2
    • eslint from 9.39.1 to 9.39.2
    • typescript-eslint from 8.48.1 to 8.49.0

[1.0.2] - 2025-12-08

Changed

  • Updated development dependencies
    • prettier from 3.7.3 to 3.7.4
    • typescript-eslint from 8.18.0 to 8.48.1
    • typescript from 5.7.3 to 5.9.3
  • Package maintenance and security updates

Fixed

  • Resolved Jest and ts-jest dependency compatibility issue

[1.0.1] - 2025-12-02

Changed

  • Dev dependency: tsx replaces ts-node in generated projects
  • Updated dev script to use tsx instead of ts-node

Fixed

  • Include package-lock.json in initial git commit
  • Fix TypeScript ESM module error with nodemon by replacing ts-node with tsx

[1.0.0] - 2025-12-02

Added

  • Prettier 3.7.3 for code formatting
  • Husky 9.1.7 + lint-staged 16.2.7 for pre-commit hooks
  • GitHub Actions v6 (checkout, setup-node)
  • Publish workflow for GitHub Release-based npm publishing
  • Issue and PR templates
  • Dependabot configuration
  • CONTRIBUTING.md guide
  • Comprehensive README badges (CI, npm downloads, license)

Changed

  • Upgraded all dependencies to latest versions
  • Removed semantic-release in favor of GitHub Release workflow
  • Simplified CI workflow (removed matrix, added format check)
  • Formatted all code with Prettier
  • Improved package.json with format script, engines, and lint-staged config
  • Cleaned up README and removed duplicates

Fixed

  • Fixed 15 security vulnerabilities by upgrading dependencies