If you see a step below that could be improved (or is outdated), please update the instructions. We rarely go through this process ourselves, so your fresh pair of eyes and your recent experience with it, makes you the best candidate to improve them for other users. Thank you!
- Make sure you have Node.js version >= 18.
- We recommend using nvm:
nvm use
.
We recommend cloning the repository in a folder dedicated to opencollective
projects.
git clone git@github.com:opencollective/opencollective-taxes.git opencollective/taxes
cd opencollective/taxes
npm install
- Bump version with
npm version {patch|minor|major}
- Run
npm run build
- Run
npm publish
Code style? Commit convention? Please check our Contributing guidelines.
TL;DR: we use Prettier and ESLint, we do like great commit messages and clean Git history.
You can run the tests using npm test
or npm run test:watch
(for TDD).
If you have any questions, ping us on Discord or Twitter (@opencollect).