git checkout master && git pull upstream masternpm config get registry- Make sure it's
https://registry.npmjs.org/
- Make sure it's
npm run clean- optionally:
npm run nuke && npm run bootstrap lerna run prepublishnpm testexport GITHUB_AUTH="..."npm run changelog >> CHANGELOG.md- Edit
CHANGELOG.md:- Move new entry to top
- Put correct version in place of
Unreleased - Remove private packages from headings
git add CHANGELOG.mdlerna publish- If there are changes to READMEs, see
Publishing with README changes
- If there are changes to READMEs, see
- Edit release tag on GitHub and paste the changelog entry in.
Lerna can't update READMEs on npmjs.com. If we have a README change that we want to show up there, then we need to publish by hand. We can still let Lerna do most of the setup work for us, though:
lerna publish --skip-npm- For each package:
npm publish packages/<package>
git checkout gh-pagesgit rebase masternpm run docsgit add annotated-srcgit commit --amendgit push -f upstream gh-pages