Releases: SherpadNdabambi/node-js-cli-starter
Releases · SherpadNdabambi/node-js-cli-starter
Release list
[v2.0.0] Update CLI name and add setup replacement rule
Added
- Add replacement rule in setup.ts to dynamically update cli.ts with the new project slug
Changed
- Update program name in cli.ts to 'node-js-cli-starter' (breaking change:
node-cli-starterwill no longer work)
[v1.0.5] Remove debugging code
Fixed
- Remove debugging code.
[v1.0.4] Modularise app logic
Added
- Add JSDoc comments.
Changed
- Modularise app logic.
- Update tests.
- Replace --env-file with dotenv for reliable .env loading.
[v1.0.3] Rename CLI Entry Point
Changed
- Rename assets/ts/index.ts → assets/ts/cli.ts.
- Update "bin", "main", and "start" script in package.json to point to dist/cli.js.
Makes the CLI entry point name more explicit and avoids confusion with generic index files.
[v1.0.2] Fix Jest module resolution for modern TypeScript configs
Fixed
- Add
moduleNameMapperinjest.config.tsto strip explicit.jsextensions emitted by TypeScript when usingmoduleResolution: "bundler"or"node16"/"nodenext". This prevents "Cannot find module './foo.js'" errors when running tests with Jest.
[v1.0.1] Update Slug
Changed
- Renamed repository slug from
node-cli-startertonode.js-cli-starter.
[v1.0.0] Initial Release
Added
- .env file to store environment variables.
- .gitignore file to ignore files and directories that Git should not track
- .nvmrc file to specify the Node.js version to use.
- app.ts file to define the application logic.
- index.ts file to define the entry point of the application.
- setup.ts file for project setup.
- CHANGELOG.md file to track changes to the project.
- jest.config.ts file to configure Jest.
- jest.setup.ts file to configure Jest setup.
- LICENSE file to define the project license.
- package.json file to define project metadata and dependencies.
- README.md file to document the project.
- tsconfig.json file to configure TypeScript.
- .nvmrc file to specify the Node.js version to use.
- Bug report GitHub issue template for reporting bugs in the project.
- Feature request GitHub issue template for suggesting new features.