From 00a041c2aa147fe2058e8dec813882b9deb969bf Mon Sep 17 00:00:00 2001 From: Christopher Dignam Date: Sun, 30 May 2021 17:08:35 -0400 Subject: [PATCH] doc: npm publish steps (#148) It took me a while to figure out how to do this, so I'm adding some more documentation. --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 956427c3..bff6f9da 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,13 @@ cargo run ``` 2. create a new release on github - CI will attach the binaries automatically -3. bump version in `package.json` and follow the `npm` steps +3. wait for build artifacts to be attached to release. +4. login to `npm` and publish new version. + + ```bash + npm login + npm publish + ``` ## how it works