Skip to content

Commit eb16606

Browse files
committed
🔨 Update generate-client.sh and script
1 parent c3577c0 commit eb16606

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frontend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ But it would be only to clean them up, leaving them won't really have any effect
4848
* From the top level project directory, run the script:
4949

5050
```bash
51-
./scripts/generate-client.sh
51+
bash ./scripts/generate-client.sh
5252
```
5353

5454
* Commit the changes.

scripts/generate-client.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -e
44
set -x
55

66
cd backend
7-
python -c "import app.main; import json; print(json.dumps(app.main.app.openapi()))" > ../openapi.json
7+
uv run python -c "import app.main; import json; print(json.dumps(app.main.app.openapi()))" > ../openapi.json
88
cd ..
99
mv openapi.json frontend/
10-
npm run -w frontend generate-client
11-
npm run lint
10+
bun run -w frontend generate-client
11+
bun run lint

0 commit comments

Comments
 (0)