Skip to content

Commit

Permalink
fix packages lock and new make command (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin authored Dec 22, 2023
1 parent 08bf9fe commit 106d6c5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ repos:
- id: python-generate-ts
name: python-generate-ts
types_or: [python]
entry: fastui generate fastui:FastUI src/npm-fastui/src/models.d.ts
entry: make typescript-models
language: system
pass_filenames: false
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ test:
testcov: test
coverage html

.PHONY: typescript-models
typescript-models:
fastui generate fastui:FastUI src/npm-fastui/src/models.d.ts

.PHONY: dev
dev:
uvicorn demo:app --reload --reload-dir .
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 106d6c5

Please sign in to comment.