Skip to content

Commit 652e06a

Browse files
committed
Add PUBLISHING.md
1 parent f344ce5 commit 652e06a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

PUBLISHING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Publishing to npm
2+
3+
This document contains instructions to publish dgraph-js to [npm].
4+
5+
[npm]: https://www.npmjs.com/
6+
7+
### Before deploying
8+
* Get access to credentials for Dgraph's account on npm with username dgraph-io
9+
* Run `npm login` to login to this account
10+
11+
### Deploying
12+
* Build and test the code that needs to be published
13+
* Bump version by modifying the `version` field in `package.json` file
14+
* Run `npm publish` (for a beta release run `npm publish --tag beta`)

0 commit comments

Comments
 (0)