Skip to content

Commit

Permalink
add pnpm docs to publish command (#1181)
Browse files Browse the repository at this point in the history
  • Loading branch information
maticzav committed Jul 2, 2023
1 parent a81d7a5 commit 47016fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/command-line-options.md
Expand Up @@ -101,7 +101,7 @@ Snapshot is used for a special kind of publishing for testing - it creates tempo
changeset publish [--otp={token}]
```

This publishes changes to npm, and creates git tags. This works by going into each package, checking if the version it has in its `package.json` is published on npm, and if it is not, running the `npm publish`.
This publishes changes to npm, and creates git tags. This works by going into each package, checking if the version it has in its `package.json` is published on npm, and if it is not, running the `npm publish`. If you are using `pnpm` as a package manager, this automatically detects it and uses `pnpm publish` instead.

Because this command assumes that the last commit is the release commit, you should not commit any changes between calling version and publish. These commands are separate to enable you to check if the release changes are accurate.

Expand Down

0 comments on commit 47016fc

Please sign in to comment.