Skip to content

Releases: SherpadNdabambi/node-js-cli-starter

[v2.0.0] Update CLI name and add setup replacement rule

Choose a tag to compare

@SherpadNdabambi SherpadNdabambi released this 31 Dec 10:40
64ae059

Added

  1. Add replacement rule in setup.ts to dynamically update cli.ts with the new project slug

Changed

  1. Update program name in cli.ts to 'node-js-cli-starter' (breaking change: node-cli-starter will no longer work)

[v1.0.5] Remove debugging code

Choose a tag to compare

@SherpadNdabambi SherpadNdabambi released this 22 Dec 21:10
8249fbc

Fixed

  1. Remove debugging code.

[v1.0.4] Modularise app logic

Choose a tag to compare

@SherpadNdabambi SherpadNdabambi released this 21 Dec 21:26
105f29d

Added

  1. Add JSDoc comments.

Changed

  1. Modularise app logic.
  2. Update tests.
  3. Replace --env-file with dotenv for reliable .env loading.

[v1.0.3] Rename CLI Entry Point

Choose a tag to compare

@SherpadNdabambi SherpadNdabambi released this 21 Nov 20:52
86c0471

Changed

  1. Rename assets/ts/index.ts → assets/ts/cli.ts.
  2. 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

Choose a tag to compare

@SherpadNdabambi SherpadNdabambi released this 19 Nov 16:37
515c538

Fixed

  1. Add moduleNameMapper in jest.config.ts to strip explicit .js extensions emitted by TypeScript when using moduleResolution: "bundler" or "node16"/"nodenext". This prevents "Cannot find module './foo.js'" errors when running tests with Jest.

[v1.0.1] Update Slug

Choose a tag to compare

@SherpadNdabambi SherpadNdabambi released this 04 Nov 01:17
b5945be

Changed

  1. Renamed repository slug from node-cli-starter to node.js-cli-starter.

[v1.0.0] Initial Release

Choose a tag to compare

@SherpadNdabambi SherpadNdabambi released this 31 Oct 17:22

Added

  1. .env file to store environment variables.
  2. .gitignore file to ignore files and directories that Git should not track
  3. .nvmrc file to specify the Node.js version to use.
  4. app.ts file to define the application logic.
  5. index.ts file to define the entry point of the application.
  6. setup.ts file for project setup.
  7. CHANGELOG.md file to track changes to the project.
  8. jest.config.ts file to configure Jest.
  9. jest.setup.ts file to configure Jest setup.
  10. LICENSE file to define the project license.
  11. package.json file to define project metadata and dependencies.
  12. README.md file to document the project.
  13. tsconfig.json file to configure TypeScript.
  14. .nvmrc file to specify the Node.js version to use.
  15. Bug report GitHub issue template for reporting bugs in the project.
  16. Feature request GitHub issue template for suggesting new features.