LeoVasanko
beca6806ef
Tidy up HTTP client; nowadays we have UTF-8 headers.
2026-09-12 04:56:18 +00:00
LeoVasanko
c25835f467
Rewritten devutil.ProcessGroup with proper handling of subprocess deaths
...
- Terminates instantly when vital process dies (e.g. backend doesn't start)
- Derived of TaskGroup, augmenting its functionality with similar semantics
2026-09-12 04:48:03 +00:00
LeoVasanko
b0b216b784
Run backend as module (python -m) in devserver instead of PATH-installed CLI.
2026-08-31 20:26:30 +00:00
LeoVasanko
1287ba4077
Load tracerite for devserver script too.
2026-08-31 19:23:07 +00:00
LeoVasanko
c65d8eaa12
Target project no longer depends on httpx but depends on ~matching fastapi-vue version. Ruff cleanup.
2026-08-31 17:07:49 +00:00
LeoVasanko
a5b7d88a89
Fix typo in devserver.py comment
...
'Tell the everyone' -> 'Tell everyone via environment'.
2026-08-25 23:41:46 +00:00
LeoVasanko
79316eebd4
Rename build-frontend.py to buildhook.py.
2026-03-08 15:40:49 +00:00
LeoVasanko
682d70cb23
Cleanup for ALL ruff checks, and re-ruff to target project settings when installing templates, avoiding formatting errors after patching.
2026-03-08 15:25:52 +00:00
LeoVasanko
1aaf040db7
Make devserver backend health check endpoint configurable, preserved in upgrades and optional.
2026-03-07 23:55:10 +00:00
LeoVasanko
fab4108e92
Cleaner devserver help message.
2026-02-11 20:06:36 +00:00
LeoVasanko
f483cf978c
Ruff format
2026-02-10 20:56:06 +00:00
LeoVasanko
d3b6fccce0
The devserver now takes --listen for vite endpoint rather than a positional argument. Changed FRONTEND_URL to VITE_URL and streamlined terminology elsewhere.
2026-02-10 16:09:07 +00:00
LeoVasanko
ef6bce8f3f
Use the CLI script rather than python -m for running the main app from devserver.
2026-02-09 15:55:08 +00:00
LeoVasanko
05fd5c562e
Missing import
2026-02-06 19:35:04 +00:00
LeoVasanko
4bf102579a
Added automatic handling of FastAPI debug mode. Use templating more completely to enable project name as env prefix etc.
2026-02-06 19:05:36 +00:00
LeoVasanko
3820c6f3c1
Fix argument passing to vite under deno.
2026-02-05 20:11:22 +00:00
LeoVasanko
c300a1a291
Simplified uvicorn running in multiprocess mode, avoiding a crash on Windows when it couldn't setup threads (running from a worker thread).
2026-02-02 21:02:34 +00:00
LeoVasanko
bdfaa22b0c
Another file extension showing, swapping to stem for logging.
2026-02-02 20:47:32 +00:00
LeoVasanko
47e5ec279c
Hide tool.CMD .EXE etc. from logs, makes Windows cleaner.
2026-02-02 20:42:18 +00:00
LeoVasanko
a84041a923
Refactor with new fastapi-vue utility module to run the server, used in CLI main and devserver to run the main app. Default ports made part of templating, so that --ports can be easily specified to fastapi-vue-setup to customize (respects earlier choices when no --ports is specified). New overall default ports 3100, 3200.
2026-02-02 19:56:31 +00:00
LeoVasanko
5391c81e8b
Cleanup fixes, and-- cleanup.
2026-02-02 16:43:39 +00:00
LeoVasanko
c106ce1a44
Add missing files.
2026-02-02 16:27:34 +00:00
LeoVasanko
b7b1920846
Make devserver verify that no servers are already running before starting them.
2026-02-02 16:26:19 +00:00
LeoVasanko
8ccfa1f658
Simplified devserver script, fixed termination on failed npm install.
2026-02-02 15:56:19 +00:00
LeoVasanko
458d798022
Refactored scripts to remove any extra code from build-frontend.py and devserver.py (for better user editability). Individual helper functions can still be imported from scripts/fastapi-vue/ for any customization needs. Removed devmode support from CLI entry point simplifying it. Instead running via FastAPI CLI in dev mode (but it is still easy to modify to use a custom CLI entry).
2026-01-30 18:15:52 +00:00
LeoVasanko
4156eb2db3
Better handling of upgrades, an option to avoid overwriting main and devserver scripts, writing .new.py instead. Error out on unix socket in devserver.
2026-01-21 21:13:23 +00:00
LeoVasanko
3f6559b2db
Simplify devserver script and remove its duplicated parse_endpoint function.
2026-01-18 01:15:34 +00:00
LeoVasanko
6ccba2be9f
Adjust vite args (cleanup, don't clear screen).
2026-01-17 22:20:27 +00:00
LeoVasanko
2b735528ab
Fix another Deno issue running Vue without typescript.
2026-01-17 22:19:28 +00:00
LeoVasanko
a2983a62a0
Simplified templating, backend port config on devserver.py, simplified Vue app patches.
2026-01-17 19:51:47 +00:00
LeoVasanko
d9323f34e1
Silence type warnings for symbols that actually are available at build time.
2026-01-17 17:08:50 +00:00
LeoVasanko
52ec232ce4
Fix deno npm run-p problem that was preventing TypeScript builds on Deno, by using build-only instead.
2026-01-17 16:40:43 +00:00
LeoVasanko
44e06df66c
Initial commit
2026-01-17 01:53:02 +00:00