Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ frontend-legacy-dev:

# Install the shared contract generation tools
frontend-api-install:
pnpm -C invokeai/frontend/api install --frozen-lockfile
cd invokeai/frontend/api && pnpm install --frozen-lockfile

# Generate the OpenAPI Schema for the app
frontend-openapi:
Expand All @@ -104,7 +104,7 @@ frontend-typegen:
set -o pipefail; cd invokeai/frontend/api && python ../../../scripts/generate_openapi_schema.py | pnpm typegen

frontend-lint:
pnpm -C invokeai/frontend/webv2 lint
cd invokeai/frontend/webv2 && pnpm lint

# Tag the release
wheel:
Expand Down
5 changes: 3 additions & 2 deletions docs/src/content/docs/development/Front End/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ If you make backend changes, it's important to regenerate the frontend types:

```sh
set -o pipefail
pnpm -C invokeai/frontend/api install --frozen-lockfile
cd invokeai/frontend/api && python ../../../scripts/generate_openapi_schema.py | pnpm typegen
cd invokeai/frontend/api
pnpm install --frozen-lockfile
python ../../../scripts/generate_openapi_schema.py | pnpm typegen
```

On macOS and Linux, you can run `make frontend-typegen` as a shortcut for the above snippet.
Expand Down
Loading