diff --git a/PUBLISHING.md b/PUBLISHING.md index e9f00c0..3c23cbf 100644 --- a/PUBLISHING.md +++ b/PUBLISHING.md @@ -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). diff --git a/packages/website/package.json b/packages/website/package.json index ecd0860..2f31c0c 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -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",