Releases: dileepadev/fetch-gitignore
Releases · dileepadev/fetch-gitignore
v1.0.2
v1.0.2 - February 21 2026
Related Issues or PRs
- Issues: #1
Fixed
- Read CLI version dynamically from
package.jsoninstead of using a hardcoded string.
Full Changelog: v1.0.1...v1.0.2
v1.0.1
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
v1.0.0 - February 21 2026
Related Issues or PRs
Added
- Built a Node.js CLI tool called
fetch-gitignoreusing TypeScript. - Support fetching
.gitignoretemplates by name from github/gitignore. - Save the fetched template as
.gitignorein the current directory. - Save the fetched template as
.gitignorein a selected directory via--dir/-d. - Option to append to an existing
.gitignoreinstead of overwriting via--append/-a. fetch-gitignore listcommand 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/-fflag to overwrite an existing.gitignorefile.- Multiple templates support — combine several templates into a single
.gitignorewith 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-cacheoption to bypass local cache and fetch directly from GitHub.- Local caching of templates and template list (default TTL: 24 hours) with
FETCH_GITIGNORE_CACHE_TTLenvironment 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