Use fastapi-vue-setup, merging its template scripts to old Paskia entry point and devserver. Simplified CLI, no longer uses serve subcommand. Fixed the URL displayed on banner to show to actual frontend/caddy server even in devmode.

This commit is contained in:
2026-01-25 03:15:50 +00:00
parent 2100a7e14f
commit 5ee7443801
16 changed files with 700 additions and 225 deletions
+4 -1
View File
@@ -22,8 +22,9 @@ dependencies = [
"jsondiff>=2.2.1",
"msgspec>=0.20.0",
"aiofiles>=25.1.0",
"fastapi-vue>=0.3.0",
]
requires-python = ">=3.10"
requires-python = ">=3.11"
[project.urls]
Homepage = "https://git.zi.fi/LeoVasanko/paskia"
@@ -99,3 +100,5 @@ paskia-migrate = "paskia.migrate:main"
[tool.hatch.build]
artifacts = ["paskia/frontend-build"]
targets.sdist.hooks.custom.path = "scripts/build-frontend.py"
packages = ["paskia"]
only-packages = true