Skip to content

Commit

Permalink
chore(api): move pre-commit and python scripts to api only
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Shatford <[email protected]>
  • Loading branch information
jordanshatford committed Feb 6, 2024
1 parent 9f473fc commit 1e69c5c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
File renamed without changes.
7 changes: 4 additions & 3 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
".": "./openapi.json"
},
"scripts": {
"dev": "python3 ../../scripts.py run uvicorn app.main:app --host=0.0.0.0 --port=8080 --reload --reload-dir=../../",
"format": "python3 ../../scripts.py pre-commit run",
"generate:openapi": "python3 ../../scripts.py run python generate_openapi.py"
"dev": "python3 scripts.py run uvicorn app.main:app --host=0.0.0.0 --port=8080 --reload --reload-dir=../../",
"format": "python3 scripts.py pre-commit run",
"generate:openapi": "python3 scripts.py run python generate_openapi.py",
"pre-commit:autoupdate": "python3 scripts.py pre-commit autoupdate"
}
}
File renamed without changes.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"lint": "pnpm --recursive lint",
"format": "pnpm --recursive format",
"check": "pnpm --recursive check",
"commitlint": "commitlint --edit",
"pre-commit:autoupdate": "python3 scripts.py pre-commit autoupdate"
"commitlint": "commitlint --edit"
},
"devDependencies": {
"@commitlint/cli": "^18.6.0",
Expand Down

0 comments on commit 1e69c5c

Please sign in to comment.