Replace yalc recommendation for instructions to do the same thing with pnpm (#254)

This commit is contained in:
SleeplessOne1917 2024-03-26 08:15:58 -04:00 committed by GitHub
parent e9ecdd03bb
commit 18b6b849a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,18 +35,8 @@ let jwt = await client.login(loginForm).jwt;
## 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
# 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
pnpm add path/to/lemmy-js-client
```