Compare commits

..

3 commits

Author SHA1 Message Date
7451205bf4 ⬆️ ui: upgrade bulma-toast 2026-02-22 16:51:34 +00:00
7b65d8c9b5 🧹 production script: use pydantic constrained integers 2026-02-22 16:38:50 +00:00
09b9886ee7 Merge tag '0.2.0' into develop
 re-scaffolded both projects

- api: "poetry", "isort", "black", "flake8" -> astral.sh tooling
- ui: "webpack" -> "vite"
2026-02-22 13:31:53 +00:00
4 changed files with 11 additions and 10 deletions

View file

@ -2,14 +2,14 @@ import os
from granian import Granian
from granian.constants import Interfaces, Loops
from pydantic import BaseModel, Field
from pydantic import BaseModel, PositiveInt
from pydantic_settings import BaseSettings, SettingsConfigDict
class WorkersSettings(BaseModel):
per_core: int = Field(1, ge=1)
max: int | None = Field(None, ge=1)
exact: int | None = Field(None, ge=1)
per_core: PositiveInt = 1
max: PositiveInt | None = None
exact: PositiveInt | None = None
@property
def count(self) -> int:

View file

@ -36,7 +36,7 @@
"animate.css": "^4.1.1",
"axios": "^1.13.5",
"bulma": "^1.0.4",
"bulma-toast": "2.4.3",
"bulma-toast": "2.4.4",
"eslint": "^10.0.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-oxlint": "~1.49.0",

View file

@ -17,6 +17,7 @@ advent22Store().init();
app.mount("#app");
toast_set_defaults({
message: "",
duration: 10e3,
pauseOnHover: true,
dismissible: true,

View file

@ -2075,7 +2075,7 @@ __metadata:
animate.css: "npm:^4.1.1"
axios: "npm:^1.13.5"
bulma: "npm:^1.0.4"
bulma-toast: "npm:2.4.3"
bulma-toast: "npm:2.4.4"
eslint: "npm:^10.0.1"
eslint-config-prettier: "npm:^10.1.8"
eslint-plugin-oxlint: "npm:~1.49.0"
@ -2311,10 +2311,10 @@ __metadata:
languageName: node
linkType: hard
"bulma-toast@npm:2.4.3":
version: 2.4.3
resolution: "bulma-toast@npm:2.4.3"
checksum: 10c0/40dd9668643338496eb28caca9b772a6002d9c6fbdc5d76237cbdaaa8f56c8ced39965705f92f5d5a29f3e6df57f70a8fa311cf05c14075aacf93f96f7338470
"bulma-toast@npm:2.4.4":
version: 2.4.4
resolution: "bulma-toast@npm:2.4.4"
checksum: 10c0/ccb36b5c632585e9e5bca4b7da7fa5f5e0e87da6244cca580bbb95fc8f3d0dc78d8b279fe0dfe024818baa1c47c2139e50d052447b130fb525ae5ffdb297acfd
languageName: node
linkType: hard