Skip to content

Commit

Permalink
Update README doc on how to publish to npm & github
Browse files Browse the repository at this point in the history
Differential Revision: D17463357

fbshipit-source-id: b292c914becea8806371ca701a25e657443aae8e
  • Loading branch information
kayhadrin authored and facebook-github-bot committed Sep 19, 2019
1 parent f13713b commit 01fbc29
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,14 @@ See [CHANGELOG](CHANGELOG.md).

## How to release a new npm version

Example for the `fbt` npm module:

```
# Go to the module's folder (where package.json is located)
cd fbt-runtime/
# or
# cd transform/babel-plugin-fbt/
# cd transform/babel-plugin-runtime/
# publishes to npm and push new git tag to Github
yarn publish_to_npm_latest
```

Expand Down

0 comments on commit 01fbc29

Please sign in to comment.