mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 13:48:40 +00:00
update package publishing guide
This commit is contained in:
parent
18d7222804
commit
251be60630
@ -123,7 +123,14 @@ To publish all packages that have been changed since the last release, run:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm login
|
npm login
|
||||||
npx lerna publish
|
|
||||||
|
# this will increment all the versions in package.json files of non private packages to selected versions
|
||||||
|
npx lerna version --no-private
|
||||||
|
|
||||||
|
# publish all packages inside /packages using pnpm! don't use lerna to publish!!
|
||||||
|
pnpm --filter "./packages/**" publish --dry-run
|
||||||
|
|
||||||
|
# the last command was only a dry-run, make sure everything looks ok, if yes, run the same command without flag
|
||||||
```
|
```
|
||||||
|
|
||||||
To manually publish a single package, increase the version in the `package.json`, then run `pnpm publish`.
|
To manually publish a single package, increase the version in the `package.json`, then run `pnpm publish`.
|
||||||
|
|||||||
@ -58,5 +58,6 @@ These packages provide bindings for different ways to output strudel patterns:
|
|||||||
|
|
||||||
## Tools
|
## Tools
|
||||||
|
|
||||||
- [pnpm workspaces](https://pnpm.io/)
|
- [pnpm](https://pnpm.io/) for package management, workspaces and publishing
|
||||||
- Publishing packages is done with [lerna](https://lerna.js.org/).
|
- [lerna](https://lerna.js.org/) for bumping versions
|
||||||
|
- see CONTRIBUTING.md for more info
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user