To publish new versions of wikitree-js, you need the following permissions:
- maintainer permission for https://github.com/wikitree/wikitree-js
- ownership of the wikitree-js package in https://npmjs.com
- Check out a clean version of the repository
git clone git@github.com:wikitree/wikitree-js.git && cd wikitree-js
- Install dependencies
npm install
- Make sure tests pass
npm test
- Update the version
Run one of the following commands:
npm version patch
npm version minor
npm version major
See https://semver.org/ for an explanation of semantic versioning.
- Push the version update to GitHub
git push
- Build
npm run build
- Publish the new version
npm publish