ensure-gitignore
add-gitignore
ensure-gitignore | add-gitignore | |
---|---|---|
1 | 1 | |
5 | 646 | |
- | - | |
0.0 | 5.1 | |
about 1 year ago | 5 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ensure-gitignore
-
Show HN: Ignore-check – A CLI tools to ensure patterns are present in .gitignore
Hello HN,
I maintain a library that generates a sensitive files and unfortunately people were committing these sensitive files to public github repos.
To solve this problem, I built ignore-check which I can add as an install script to my library to make sure the sensitive file pattern is present in the .gitignore file, if it isn't there then this CLI will add it.
The positive benefit of shipping this as a npx cli command is that I don't need to add another dependency/dev dependency to my package.json
Big shoutout to this project which was the inspiration for ignore-check: https://github.com/seek-oss/ensure-gitignore
add-gitignore
-
Is gitignore mandatory?
also to save your sanity take a look at https://github.com/TejasQ/add-gitignore
What are some alternatives?
gitignore.io - Create useful .gitignore files for your project
Appfairy - A CLI tool to Migrate a Webflow project into a React app
gign - ⚙️ A cute .gitignore generator
ignore-sync - a CLI tool to build and sync .*ignore files across files and repositories
ignorecheck - A simple CLI/utility to ensure certain patterns are present in a project's .gitignore - Be sure to 🌟 this repository for updates!
sync-fork - the quickest way to sync your fork: npx sync-fork
enquirer - Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author: https://github.com/jonschlinkert
Pyignore - VS code extension for generating professional python .gitignore files
git-cheat - Concise, easy to reach Git cheat sheet in your terminal