Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/aekespong/FastUI
Browse files Browse the repository at this point in the history
  • Loading branch information
aekespong committed Dec 22, 2023
2 parents a75b1e0 + 9e1e2fd commit 2a91895
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 2a91895

Please sign in to comment.