mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-22 12:57:20 +00:00
docs: update how to publish new npm pkgs
This commit is contained in:
parent
d51c566326
commit
27566ed13a
1 changed files with 3 additions and 6 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue