Skip to content

Commit 64858b2

Browse files
authored
Update contributingToFrontend.md (#5329)
The project is no longer using yarn as a package manager and have moved to pnpm, So I wanted to update the documentation on the contribution page. ## What type of PR is this? (check all applicable) - [ ] Refactor - [ ] Feature - [ ] Bug Fix - [ ] Optimization - [x] Documentation Update - [ ] Community Node Submission ## Have you discussed this change with the InvokeAI team? - [x] Yes - [] No, because: I spoke with user: imic in the #dev-chat on discord. ## Have you updated all relevant documentation? - [x] Yes - [ ] No ## Merge Plan - "This PR can be merged when approved"
2 parents 702d0f6 + d513432 commit 64858b2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

docs/contributing/contribution_guides/contributingToFrontend.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,18 @@ We encourage you to ping @psychedelicious and @blessedcoolant on [Discord](http
4646
```bash
4747
node --version
4848
```
49-
2. Install [yarn classic](https://classic.yarnpkg.com/lang/en/) and confirm it is installed by running this:
49+
50+
2. Install [pnpm](https://pnpm.io/) and confirm it is installed by running this:
5051
```bash
51-
npm install --global yarn
52-
yarn --version
52+
npm install --global pnpm
53+
pnpm --version
5354
```
5455

55-
From `invokeai/frontend/web/` run `yarn install` to get everything set up.
56+
From `invokeai/frontend/web/` run `pnpm install` to get everything set up.
5657

5758
Start everything in dev mode:
5859
1. Ensure your virtual environment is running
59-
2. Start the dev server: `yarn dev`
60+
2. Start the dev server: `pnpm dev`
6061
3. Start the InvokeAI Nodes backend: `python scripts/invokeai-web.py # run from the repo root`
6162
4. Point your browser to the dev server address e.g. [http://localhost:5173/](http://localhost:5173/)
6263

@@ -72,4 +73,4 @@ For a number of technical and logistical reasons, we need to commit UI build art
7273

7374
If you submit a PR, there is a good chance we will ask you to include a separate commit with a build of the app.
7475

75-
To build for production, run `yarn build`.
76+
To build for production, run `pnpm build`.

0 commit comments

Comments
 (0)