Skip to content

v1.0.0

Choose a tag to compare

@dileepadev dileepadev released this 21 Feb 15:23
· 2 commits to main since this release
aa30d95

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