From e232abab0c0e77e9a56961188e7f0fd9e3ad7a7a Mon Sep 17 00:00:00 2001 From: Benjie Gillam Date: Thu, 28 Mar 2024 10:21:24 +0000 Subject: [PATCH] Publish instructions --- CONTRIBUTING.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..638cc01 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,20 @@ +## Publishing + +This package uses a custom publish flow. + +```sh +npm install +npm version patch # or minor or major +git push && git push --tags +npm run build +cd npmDist +npm publish --tag=next +``` + +Then test it by installing `graphql-realy@next` from npm... + +All good? Publish: + +```sh +npm dist-tags add graphql-relay@VERSION_NUMBER latest +```