Skip to content

Commit e232aba

Browse files
committed
Publish instructions
1 parent fba116f commit e232aba

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CONTRIBUTING.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## Publishing
2+
3+
This package uses a custom publish flow.
4+
5+
```sh
6+
npm install
7+
npm version patch # or minor or major
8+
git push && git push --tags
9+
npm run build
10+
cd npmDist
11+
npm publish --tag=next
12+
```
13+
14+
Then test it by installing `graphql-realy@next` from npm...
15+
16+
All good? Publish:
17+
18+
```sh
19+
npm dist-tags add graphql-relay@VERSION_NUMBER latest
20+
```

0 commit comments

Comments
 (0)