Skip to content

Releases: dileepadev/fetch-gitignore

v1.0.2

21 Feb 16:06
10ac69a

Choose a tag to compare

v1.0.2 - February 21 2026

Related Issues or PRs

  • Issues: #1

Fixed

  • Read CLI version dynamically from package.json instead of using a hardcoded string.

Full Changelog: v1.0.1...v1.0.2

v1.0.1

21 Feb 15:40
1c22e1f

Choose a tag to compare

v1.0.1 - February 21 2026

Related Issues or PRs

  • Issues: #1

Fixed

  • Bump version to 1.0.1 for safe republishing after accidental npm unpublish of v1.0.0.

Full Changelog: v1.0.0...v1.0.1

v1.0.0

21 Feb 15:23
aa30d95

Choose a tag to compare

v1.0.0 - February 21 2026

Related Issues or PRs

  • Issues: #1
  • PRs: #2

Added

  • Built a Node.js CLI tool called fetch-gitignore using TypeScript.
  • Support fetching .gitignore templates by name from github/gitignore.
  • Save the fetched template as .gitignore in the current directory.
  • Save the fetched template as .gitignore in a selected directory via --dir / -d.
  • Option to append to an existing .gitignore instead of overwriting via --append / -a.
  • fetch-gitignore list command to show all available templates.
  • fetch-gitignore add <templates...> command to fetch and save one or more templates.
  • Clear terminal feedback with colorized output using Chalk.
  • Made the CLI globally executable via npm (npm install -g fetch-gitignore).
  • Template validation — throws a clear error when a template name is not found.
  • --force / -f flag to overwrite an existing .gitignore file.
  • Multiple templates support — combine several templates into a single .gitignore with numbered section headers.
  • Spinner feedback using Ora while fetching templates.
  • Rate-limit handling — detects GitHub API 403/429 responses and reports how long to wait before retrying.
  • --no-cache option to bypass local cache and fetch directly from GitHub.
  • Local caching of templates and template list (default TTL: 24 hours) with FETCH_GITIGNORE_CACHE_TTL environment variable support.
  • Full Vitest unit and integration test suite covering all modules and the CLI binary.

What's Changed

  • chore(copilot): Prepare package for npm publishing [1] by @Copilot in #2

New Contributors

  • @Copilot made their first contribution in #2

Full Changelog: https://github.com/dileepadev/fetch-gitignore/commits/v1.0.0