astro-commit-ts
v2.0.0
Published
A simple CLI tool to create conventional commits
Downloads
24
Maintainers
Readme
🚀 Astro Commit
Installation with npm
npm install astro-commit-ts --save-dev
Run the command to configure the tool
npx astro-commit-init
Select the language
(Move up and down to reveal more choices)
? What language do you want to work with? (Use arrow keys)
❯ Español
English
Select the file name (optional)
? What name do you want to give to the configuration file? (commit.config.mjs)
Add the following script to the package.json file
// package.json
"scripts" {
"commit": "node commit.config.mjs"
}
How to use
# Add changes to the git stage
git add .
# Commit changes
npm run commit