- run yarn dev-common to build the common package (make sure you're in master or staging branch) - rename `package.json` to something temporary - rename `packagejsonForNPM.json` to `package.json` - bump version in both the above files - global search repl
npm install @trackmatic/yard-ui-common- run yarn dev-common to build the common package (make sure you're in master or staging branch)
- rename package.json to something temporary
- rename packagejsonForNPM.json to package.json
- bump version in both the above files
- global search replace "@trackmatic/yard-ui-common": "old" to new version "@trackmatic/yard-ui-common": "new"
- make sure you have .npmrc file in ROOT (not packages/common). This file is gitignored since it has an access token:
```
registry=https://registry.npmjs.org/
//registry.npmjs.org/:_authToken=YOUR_TOKEN(get from sean...)
always-auth=true
- make sure you cd packages/commonnpm login
- (sean's login for now) - possibly wont need this step if you have added the token above.npm publish --access public`
- run