Updated publish note in readme

no issue

- Removes redundant manual version update line as `yarn ship` shows a prompt
This commit is contained in:
Rish 2020-06-06 20:18:23 +05:30
parent 4689061d49
commit 0d50b68596

View File

@ -77,10 +77,12 @@ See the section about [running tests](https://facebook.github.io/create-react-ap
## Publish ## Publish
- `yarn ship` is an alias for `npm publish` Run `yarn ship` to publish new version of script.
- Before shipping, please ensure the intended version is updated in `package.json`.
- Builds the script with latest code using `yarn build` (prePublish) `yarn ship` is an alias for `npm publish`
- Publishes package on npm as `@tryghost/members-js` and creates an unpkg link for script at https://unpkg.com/@tryghost/members-js@VERSION
- Builds the script with latest code using `yarn build` (prePublish)
- Publishes package on npm as `@tryghost/members-js` and creates an unpkg link for script at https://unpkg.com/@tryghost/members-js@VERSION
## Learn More ## Learn More