From 27566ed13ab06413943ed1ddfc31745ed18b8542 Mon Sep 17 00:00:00 2001 From: Zixuan Chen Date: Sun, 14 Apr 2024 22:21:54 +0800 Subject: [PATCH] docs: update how to publish new npm pkgs --- .changeset/README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.changeset/README.md b/.changeset/README.md index a59252ce..f3996da7 100644 --- a/.changeset/README.md +++ b/.changeset/README.md @@ -1,9 +1,6 @@ -# Release a new version of loro-wasm and loro-crdt +# Release new versions of loro-wasm and loro-crdt -- Run `deno task release-wasm` to build the WASM - Run `pnpm changeset` in the root of the repository. The generated markdown files in the .changeset directory should be committed to the repository. - Run `git cliff -u | pbcopy` to generate the changelog and copy it. Then edit the new changelog file. -- Run `pnpm changeset version`. This will bump the versions of the packages previously specified with pnpm changeset (and any dependents of those) and update the changelog files. -- Run `pnpm install`. This will update the lockfile and rebuild packages. -- Commit the changes. -- Run `pnpm changeset publish`. This command will publish all packages that have bumped versions not yet present in the registry. +- Create PR and merge into main. The GitHub Action will create another PR that once be merged new versions of specified npm packages will be published. +