Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (commit-traductor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
commit-traductor
A tool to translate commit messages to different languages. At the moment, the library only translates from Spanish to English.
Installation
You can install commit-traductor using bun, npm, yarn, or pnpm (recommended: bun):
bun add commit-traductor -DConfiguration
Need husky to run the pre-commit hook.
Previously, you must have created your repository by running git init.
bun add husky -D # or npm, yarn, pnpmThen, you can set up husky in your project:
# initialize husky
npx husky init
# delete the default pre-commit hook
rm .husky/pre-commitAdd the pre-commit hook:
echo 'bunx commit-traductor "$1"' > .husky/commit-msgNow, every time you make a commit, the commit message will be translated to English.
Contribution
Feel free to open issues or submit pull requests for improvements or bug fixes. Contributions are welcome!