doc: Added notes in contribution guide for pnpm (#7833)

This commit is contained in:
Lifei Zhou 2026-03-12 23:12:09 +11:00 committed by GitHub
parent 24447360e3
commit cd12a01b30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ If you use Goose, Copilot, Claude, or other AI tools to help with your PRs:
goose includes Rust binaries alongside an electron app for the GUI.
We use [Hermit][hermit] to manage development dependencies (Rust, Node, npm, just, etc.).
We use [Hermit][hermit] to manage development dependencies (Rust, Node, pnpm, just, etc.).
Activate Hermit when entering the project:
```bash
@ -108,6 +108,12 @@ cargo clippy --all-targets -- -D warnings # run the linter
### Node
> [!NOTE]
> This project uses **pnpm** (not npm). If you previously had `node_modules` installed via npm, remove them first:
> ```bash
> rm -rf ui/desktop/node_modules
> ```
To run the app:
```