Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 913 Bytes

publishing.md

File metadata and controls

59 lines (42 loc) · 913 Bytes

Publishing a new version to npm

Prerequisites

To publish new versions of wikitree-js, you need the following permissions:

Publishing

  1. Check out a clean version of the repository
git clone git@github.com:wikitree/wikitree-js.git && cd wikitree-js
  1. Install dependencies
npm install
  1. Make sure tests pass
npm test
  1. 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.

  1. Push the version update to GitHub
git push
  1. Build
npm run build
  1. Publish the new version
npm publish