docs: update publishing

This commit is contained in:
Francis Gulotta 2018-11-26 21:52:12 -05:00
parent 50a0c0381c
commit b13fd62fc0
2 changed files with 1 additions and 3 deletions

View file

@ -5,7 +5,7 @@ This can be checked in the .travis.yml file and appveyor.yml file. Within these
Two factor auth is required for publishing.
1. run `NPM_CONFIG_OTP=<2fa code> npx lerna publish`
1. run `NPM_CONFIG_OTP=<2fa code> npm run publish`
2. Let everyone know 🎉
If publishing more than 3 packages at once and one of them is the bindings package, you'll need to figure out a way to get the ci's to build the binaries as github wont tell them about the new tags. You can do this by doing a minor version bump of the bindings package (only binary package as of this writing).

View file

@ -1,12 +1,10 @@
{
"name": "@serialport/website",
"main": "siteConfig.js",
"private": true,
"scripts": {
"examples": "docusaurus-examples",
"start": "docusaurus-start",
"build": "docusaurus-build",
"publish-gh-pages": "docusaurus-publish",
"write-translations": "docusaurus-write-translations",
"version": "docusaurus-version",
"rename-version": "docusaurus-rename-version",