mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-23 03:11:26 +00:00
Replace yalc recommendation for instructions to do the same thing with pnpm (#254)
This commit is contained in:
parent
e9ecdd03bb
commit
18b6b849a0
1 changed files with 2 additions and 12 deletions
14
README.md
14
README.md
|
@ -35,18 +35,8 @@ let jwt = await client.login(loginForm).jwt;
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
You can use [yalc](https://github.com/wclr/yalc) to develop and test changes locally:
|
Use `pnpm add` to develop and test changes locally:
|
||||||
|
|
||||||
```
|
```
|
||||||
pnpm i --global add yalc
|
pnpm add path/to/lemmy-js-client
|
||||||
|
|
||||||
# Go to lemmy-js-client dir
|
|
||||||
yalc publish --push
|
|
||||||
|
|
||||||
# Go to your client dir
|
|
||||||
yalc add lemmy-js-client
|
|
||||||
|
|
||||||
# To do updates, go back to the lemmy-js-client dir
|
|
||||||
# This also updates it, in every dir you've added it.
|
|
||||||
yalc publish --push
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue