Any contribution is welcome. Just follow those guidelines:
- If you are unsure, open a ticket before working on anything.
- Fork and clone the project
- Create a branch
git checkout -b feature/my-feature
(orhotfix
). If you want to work on multiple bugs or improvements, do so in multiple branches and PRs. It almost always complicated things to mix unrelated changes. - Push the code to your fork
- Write tests and documentation. I won't merge a PR without it!
- Make a pull request from your new branch
- Wait, I am usually pretty fast to merge PRs :)
Thanks a lot to all the previous contributors.
git clone [email protected]:<your-username>/i18next-parser.git
cd i18next-parser
yarn
The code is written using the latest ES6 features. For the cli to run on older node version, it is compiled with Babel. You can run the compiler in watch mode and let it in the background:
yarn watch
Don't forget to commit the compiled files.
Make sure the tests pass:
yarn test
The CLI, the gulp plugin and the broccoli plugin are also tested but, as thoses tests are highly I/O dependent, you might encounter timeout issue depending on your configuration. You might want to raise the timeout allowed (search for this.timeout(5000)
�)
To test the CLI specifically:
yarn test:cli
yarn test:cli --fail-on-warnings
yarn test:cli "test/cli/**/*.{js,jsx}"
- update
package.json
version - create commit and add version tag
npm publish
1.x
is a major release. It is not backward compatible. There are two separate branches:
master
for1.x
0.x.x
for the old version
I will not maintain the old version but will welcome bug fixes as PRs.