From 75da61ac9381bd0392ea2b5782fd7d72a93cb74e Mon Sep 17 00:00:00 2001 From: xEsiah Date: Fri, 16 Oct 2026 11:47:20 +0200 Subject: [PATCH] refactor: fold shared ui/server packages into the cloud app Le depot ne contient plus qu'une seule application : plus de paquets @cohaise/ui ni @cohaise/server. - backend/shared/src -> backend/cloud/src/lib (socle serveur inline) - frontend/shared/src -> frontend/cloud/src/{ui,styles,fonts} - imports @cohaise/server / @cohaise/ui remplaces par des chemins relatifs - package.json, tsconfig, Dockerfiles et docker-compose sans workspace partage - docs (README, architecture, standards, workflow, agents, api, security, deployment, docker) alignes sur la structure autonome --- README.md | 11 +- backend/cloud/package.json | 7 +- backend/cloud/src/access.ts | 2 +- backend/cloud/src/admin.ts | 4 +- backend/cloud/src/index.ts | 2 +- backend/{shared/src => cloud/src/lib}/auth.ts | 0 backend/{shared/src => cloud/src/lib}/cli.ts | 0 .../{shared/src => cloud/src/lib}/config.ts | 0 backend/{shared/src => cloud/src/lib}/db.ts | 0 .../{shared/src => cloud/src/lib}/errors.ts | 0 backend/{shared/src => cloud/src/lib}/http.ts | 0 .../{shared/src => cloud/src/lib}/index.ts | 0 backend/{shared/src => cloud/src/lib}/mail.ts | 0 .../{shared/src => cloud/src/lib}/migrate.ts | 0 .../src => cloud/src/lib}/ratelimit.ts | 0 .../{shared/src => cloud/src/lib}/service.ts | 0 backend/cloud/src/media.ts | 2 +- backend/cloud/src/routes/account.ts | 2 +- backend/cloud/src/routes/admin.ts | 2 +- backend/cloud/src/routes/auth.ts | 2 +- backend/cloud/src/routes/files.ts | 2 +- backend/cloud/src/routes/folders.ts | 2 +- backend/cloud/src/routes/media.ts | 2 +- backend/cloud/src/routes/search.ts | 2 +- backend/cloud/src/routes/trash.ts | 2 +- backend/cloud/src/storage.ts | 2 +- backend/cloud/tsconfig.json | 3 +- backend/shared/package.json | 33 - backend/shared/tsconfig.json | 17 - docker-compose.yml | 9 +- docker/Dockerfile.api | 4 - docker/Dockerfile.app | 1 - docker/README.md | 7 +- docs/agents.md | 2 +- docs/api.md | 2 +- docs/architecture.md | 27 +- docs/deployment.md | 2 +- docs/security.md | 4 +- docs/standards.md | 13 +- docs/workflow.md | 10 +- frontend/cloud/package.json | 5 +- frontend/cloud/src/App.tsx | 2 +- frontend/cloud/src/components/AppShell.tsx | 2 +- frontend/cloud/src/components/IconAction.tsx | 2 +- frontend/cloud/src/components/dialogs.tsx | 2 +- frontend/cloud/src/components/feedback.tsx | 2 +- .../src}/fonts/cinzel-latin.woff2 | Bin .../src}/fonts/jetbrains-mono-latin.woff2 | Bin .../src}/fonts/orbitron-latin.woff2 | Bin .../src}/fonts/poppins-400.woff2 | Bin .../src}/fonts/poppins-600.woff2 | Bin frontend/cloud/src/pages/Admin.tsx | 2 +- frontend/cloud/src/pages/Browser.tsx | 2 +- frontend/cloud/src/pages/ChangePassword.tsx | 2 +- frontend/cloud/src/pages/ConfirmEmail.tsx | 2 +- frontend/cloud/src/pages/ForgotPassword.tsx | 2 +- frontend/cloud/src/pages/Gallery.tsx | 2 +- frontend/cloud/src/pages/Login.tsx | 2 +- frontend/cloud/src/pages/Profile.tsx | 2 +- frontend/cloud/src/pages/ResetPassword.tsx | 2 +- frontend/cloud/src/pages/Search.tsx | 2 +- frontend/cloud/src/pages/Trash.tsx | 2 +- .../{shared => cloud}/src/styles/fonts.css | 10 +- frontend/cloud/src/styles/index.css | 6 +- .../{shared => cloud}/src/styles/theme.css | 0 .../{shared => cloud}/src/styles/tokens.css | 0 .../src/ui}/components/Button.tsx | 0 .../src => cloud/src/ui}/components/Card.tsx | 0 .../src => cloud/src/ui}/components/Input.tsx | 0 .../src/ui}/components/Skeleton.tsx | 0 .../src/ui}/components/Spinner.tsx | 0 .../{shared/src => cloud/src/ui}/index.ts | 0 .../{shared/src => cloud/src/ui}/lib/cn.ts | 0 frontend/shared/README.md | 186 -- frontend/shared/package.json | 38 - frontend/shared/src/styles/index.css | 3 - frontend/shared/tsconfig.json | 15 - package-lock.json | 1834 ++++++++++++++++- tsconfig.json | 6 - 79 files changed, 1838 insertions(+), 477 deletions(-) rename backend/{shared/src => cloud/src/lib}/auth.ts (100%) rename backend/{shared/src => cloud/src/lib}/cli.ts (100%) rename backend/{shared/src => cloud/src/lib}/config.ts (100%) rename backend/{shared/src => cloud/src/lib}/db.ts (100%) rename backend/{shared/src => cloud/src/lib}/errors.ts (100%) rename backend/{shared/src => cloud/src/lib}/http.ts (100%) rename backend/{shared/src => cloud/src/lib}/index.ts (100%) rename backend/{shared/src => cloud/src/lib}/mail.ts (100%) rename backend/{shared/src => cloud/src/lib}/migrate.ts (100%) rename backend/{shared/src => cloud/src/lib}/ratelimit.ts (100%) rename backend/{shared/src => cloud/src/lib}/service.ts (100%) delete mode 100644 backend/shared/package.json delete mode 100644 backend/shared/tsconfig.json rename frontend/{shared => cloud/src}/fonts/cinzel-latin.woff2 (100%) rename frontend/{shared => cloud/src}/fonts/jetbrains-mono-latin.woff2 (100%) rename frontend/{shared => cloud/src}/fonts/orbitron-latin.woff2 (100%) rename frontend/{shared => cloud/src}/fonts/poppins-400.woff2 (100%) rename frontend/{shared => cloud/src}/fonts/poppins-600.woff2 (100%) rename frontend/{shared => cloud}/src/styles/fonts.css (85%) rename frontend/{shared => cloud}/src/styles/theme.css (100%) rename frontend/{shared => cloud}/src/styles/tokens.css (100%) rename frontend/{shared/src => cloud/src/ui}/components/Button.tsx (100%) rename frontend/{shared/src => cloud/src/ui}/components/Card.tsx (100%) rename frontend/{shared/src => cloud/src/ui}/components/Input.tsx (100%) rename frontend/{shared/src => cloud/src/ui}/components/Skeleton.tsx (100%) rename frontend/{shared/src => cloud/src/ui}/components/Spinner.tsx (100%) rename frontend/{shared/src => cloud/src/ui}/index.ts (100%) rename frontend/{shared/src => cloud/src/ui}/lib/cn.ts (100%) delete mode 100644 frontend/shared/README.md delete mode 100644 frontend/shared/package.json delete mode 100644 frontend/shared/src/styles/index.css delete mode 100644 frontend/shared/tsconfig.json diff --git a/README.md b/README.md index 91acdf4..1fdf060 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,14 @@ Application autonome — front **et** back dans ce dépôt. ## Structure ``` -frontend/shared design system (@cohaise/ui) — copie propre à cette app -frontend/cloud application React + Vite -backend/shared couche serveur (@cohaise/server) : config, base, sessions -backend/cloud API : auth, dossiers, fichiers +frontend/cloud application React + Vite, design system inclus (src/ui, src/styles) +backend/cloud API : socle serveur (src/lib), auth, dossiers, fichiers, médias docker/ images nginx et API ``` -Les paquets `shared` (design system et couche serveur) vivent dans ce dépôt et en -suivent le cycle de vie : un correctif ici n'a pas à être répliqué ailleurs. +Chaque application porte son propre code : le socle serveur (`backend/cloud/src/lib`) +et le design system (`frontend/cloud/src/ui`) appartiennent au Cloud et ne sont +partagés avec aucun autre dépôt. ## Démarrer diff --git a/backend/cloud/package.json b/backend/cloud/package.json index 7fb2470..55cce33 100644 --- a/backend/cloud/package.json +++ b/backend/cloud/package.json @@ -11,7 +11,9 @@ "admin": "node dist/admin.js" }, "dependencies": { - "@cohaise/server": "*", + "@hono/node-server": "^2.1.3", + "hono": "^4.13.13", + "mysql2": "^3.24.5", "nodemailer": "^10.1.1", "sharp": "^0.35.5", "zod": "^4.6.5" @@ -22,6 +24,7 @@ "typescript": "^7.0.2" }, "bin": { - "cohaise-admin": "./dist/admin.js" + "cohaise-admin": "./dist/admin.js", + "cohaise-migrate": "./dist/cli.js" } } diff --git a/backend/cloud/src/access.ts b/backend/cloud/src/access.ts index 7d8d1fb..18cd6bf 100644 --- a/backend/cloud/src/access.ts +++ b/backend/cloud/src/access.ts @@ -1,5 +1,5 @@ import type { Context } from "hono"; -import { clientIp as sharedClientIp, type Db, type SessionUser } from "@cohaise/server"; +import { clientIp as sharedClientIp, type Db, type SessionUser } from "./lib/index.js"; /** * Les droits sont toujours recalcules depuis la session serveur. Le role de diff --git a/backend/cloud/src/admin.ts b/backend/cloud/src/admin.ts index ace2c61..6ddc6fd 100644 --- a/backend/cloud/src/admin.ts +++ b/backend/cloud/src/admin.ts @@ -1,6 +1,6 @@ #!/usr/bin/env node import { randomUUID } from "node:crypto"; -import { ConfigError, loadDbConfig, hashPassword, AppError, toSafeError } from "@cohaise/server"; +import { ConfigError, loadDbConfig, hashPassword, AppError, toSafeError } from "./lib/index.js"; /** * Creation et reinitialisation des comptes, en dehors de toute requete HTTP. @@ -98,7 +98,7 @@ const main = async (argv: string[]): Promise => { throw error; } - const { Db } = await import("@cohaise/server"); + const { Db } = await import("./lib/index.js"); const db = new Db(config); try { diff --git a/backend/cloud/src/index.ts b/backend/cloud/src/index.ts index 8bfa78e..2f6c234 100644 --- a/backend/cloud/src/index.ts +++ b/backend/cloud/src/index.ts @@ -1,6 +1,6 @@ import { dirname, join } from "node:path"; import { fileURLToPath } from "node:url"; -import { purgeExpiredSessions, startService } from "@cohaise/server"; +import { purgeExpiredSessions, startService } from "./lib/index.js"; import { registerAccountRoutes } from "./routes/account.js"; import { registerAdminRoutes } from "./routes/admin.js"; import { registerAuthRoutes } from "./routes/auth.js"; diff --git a/backend/shared/src/auth.ts b/backend/cloud/src/lib/auth.ts similarity index 100% rename from backend/shared/src/auth.ts rename to backend/cloud/src/lib/auth.ts diff --git a/backend/shared/src/cli.ts b/backend/cloud/src/lib/cli.ts similarity index 100% rename from backend/shared/src/cli.ts rename to backend/cloud/src/lib/cli.ts diff --git a/backend/shared/src/config.ts b/backend/cloud/src/lib/config.ts similarity index 100% rename from backend/shared/src/config.ts rename to backend/cloud/src/lib/config.ts diff --git a/backend/shared/src/db.ts b/backend/cloud/src/lib/db.ts similarity index 100% rename from backend/shared/src/db.ts rename to backend/cloud/src/lib/db.ts diff --git a/backend/shared/src/errors.ts b/backend/cloud/src/lib/errors.ts similarity index 100% rename from backend/shared/src/errors.ts rename to backend/cloud/src/lib/errors.ts diff --git a/backend/shared/src/http.ts b/backend/cloud/src/lib/http.ts similarity index 100% rename from backend/shared/src/http.ts rename to backend/cloud/src/lib/http.ts diff --git a/backend/shared/src/index.ts b/backend/cloud/src/lib/index.ts similarity index 100% rename from backend/shared/src/index.ts rename to backend/cloud/src/lib/index.ts diff --git a/backend/shared/src/mail.ts b/backend/cloud/src/lib/mail.ts similarity index 100% rename from backend/shared/src/mail.ts rename to backend/cloud/src/lib/mail.ts diff --git a/backend/shared/src/migrate.ts b/backend/cloud/src/lib/migrate.ts similarity index 100% rename from backend/shared/src/migrate.ts rename to backend/cloud/src/lib/migrate.ts diff --git a/backend/shared/src/ratelimit.ts b/backend/cloud/src/lib/ratelimit.ts similarity index 100% rename from backend/shared/src/ratelimit.ts rename to backend/cloud/src/lib/ratelimit.ts diff --git a/backend/shared/src/service.ts b/backend/cloud/src/lib/service.ts similarity index 100% rename from backend/shared/src/service.ts rename to backend/cloud/src/lib/service.ts diff --git a/backend/cloud/src/media.ts b/backend/cloud/src/media.ts index dd0eedc..ca0799e 100644 --- a/backend/cloud/src/media.ts +++ b/backend/cloud/src/media.ts @@ -2,7 +2,7 @@ import { randomUUID } from "node:crypto"; import { mkdir, stat } from "node:fs/promises"; import path from "node:path"; import sharp from "sharp"; -import type { Config, Db } from "@cohaise/server"; +import type { Config, Db } from "./lib/index.js"; import { absolutePath } from "./storage.js"; /** diff --git a/backend/cloud/src/routes/account.ts b/backend/cloud/src/routes/account.ts index e3b9202..2bc240e 100644 --- a/backend/cloud/src/routes/account.ts +++ b/backend/cloud/src/routes/account.ts @@ -21,7 +21,7 @@ import { type Config, type Db, type SessionUser, -} from "@cohaise/server"; +} from "../lib/index.js"; import { audit } from "../access.js"; import { absolutePath, fileExists, openForDownload } from "../storage.js"; diff --git a/backend/cloud/src/routes/admin.ts b/backend/cloud/src/routes/admin.ts index 65b81db..8047024 100644 --- a/backend/cloud/src/routes/admin.ts +++ b/backend/cloud/src/routes/admin.ts @@ -10,7 +10,7 @@ import { type App, type Config, type Db, -} from "@cohaise/server"; +} from "../lib/index.js"; const uuidParam = z .string() diff --git a/backend/cloud/src/routes/auth.ts b/backend/cloud/src/routes/auth.ts index 1327a04..f94b5fa 100644 --- a/backend/cloud/src/routes/auth.ts +++ b/backend/cloud/src/routes/auth.ts @@ -18,7 +18,7 @@ import { type App, type Config, type Db, -} from "@cohaise/server"; +} from "../lib/index.js"; const credentials = z.object({ email: z.string().trim().min(3).max(255), diff --git a/backend/cloud/src/routes/files.ts b/backend/cloud/src/routes/files.ts index 21869ea..44267b2 100644 --- a/backend/cloud/src/routes/files.ts +++ b/backend/cloud/src/routes/files.ts @@ -11,7 +11,7 @@ import { type App, type Config, type Db, -} from "@cohaise/server"; +} from "../lib/index.js"; import { audit, canRead, canWrite, canWriteExplicit } from "../access.js"; import { indexMedia, thumbnailSize } from "../media.js"; import { diff --git a/backend/cloud/src/routes/folders.ts b/backend/cloud/src/routes/folders.ts index 54ab944..7f8d7b2 100644 --- a/backend/cloud/src/routes/folders.ts +++ b/backend/cloud/src/routes/folders.ts @@ -9,7 +9,7 @@ import { type App, type Config, type Db, -} from "@cohaise/server"; +} from "../lib/index.js"; import { audit, canManageFolder, canRead, canWrite } from "../access.js"; const uuid = z diff --git a/backend/cloud/src/routes/media.ts b/backend/cloud/src/routes/media.ts index dddf7d2..2e66aa0 100644 --- a/backend/cloud/src/routes/media.ts +++ b/backend/cloud/src/routes/media.ts @@ -5,7 +5,7 @@ import { requireAuth, type App, type Db, -} from "@cohaise/server"; +} from "../lib/index.js"; /** * Galerie : liste des fichiers accompagnes de leur nature (image, video, diff --git a/backend/cloud/src/routes/search.ts b/backend/cloud/src/routes/search.ts index 8bbe2cb..dd18329 100644 --- a/backend/cloud/src/routes/search.ts +++ b/backend/cloud/src/routes/search.ts @@ -5,7 +5,7 @@ import { requireAuth, type App, type Db, -} from "@cohaise/server"; +} from "../lib/index.js"; /** * Recherche par nom, filtree par les droits de la session. Le motif est diff --git a/backend/cloud/src/routes/trash.ts b/backend/cloud/src/routes/trash.ts index 2b38d26..fd0dc4b 100644 --- a/backend/cloud/src/routes/trash.ts +++ b/backend/cloud/src/routes/trash.ts @@ -7,7 +7,7 @@ import { type App, type Config, type Db, -} from "@cohaise/server"; +} from "../lib/index.js"; import { audit } from "../access.js"; import { absolutePath, discard } from "../storage.js"; diff --git a/backend/cloud/src/storage.ts b/backend/cloud/src/storage.ts index 8d2f81e..36809ce 100644 --- a/backend/cloud/src/storage.ts +++ b/backend/cloud/src/storage.ts @@ -4,7 +4,7 @@ import { mkdir, rename, rm, stat } from "node:fs/promises"; import path from "node:path"; import { Readable, Transform } from "node:stream"; import { pipeline } from "node:stream/promises"; -import { AppError, type Db } from "@cohaise/server"; +import { AppError, type Db } from "./lib/index.js"; /** * Chemin physique : ${MEDIA_DIR}/${slug emplacement}/${uuid}. diff --git a/backend/cloud/tsconfig.json b/backend/cloud/tsconfig.json index ab1723a..2629d7f 100644 --- a/backend/cloud/tsconfig.json +++ b/backend/cloud/tsconfig.json @@ -12,6 +12,5 @@ "declaration": true, "sourceMap": true }, - "include": ["src/**/*.ts"], - "references": [{ "path": "../shared" }] + "include": ["src/**/*.ts"] } diff --git a/backend/shared/package.json b/backend/shared/package.json deleted file mode 100644 index 204681c..0000000 --- a/backend/shared/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@cohaise/server", - "version": "0.0.0", - "private": true, - "type": "module", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } - }, - "files": [ - "dist" - ], - "scripts": { - "build": "tsc --build", - "clean": "node --eval \"import('node:fs').then(fs => { fs.rmSync('dist', { recursive: true, force: true }); fs.rmSync('tsconfig.tsbuildinfo', { force: true }); })\"", - "typecheck": "tsc --noEmit" - }, - "devDependencies": { - "@types/node": "^24.0.0", - "typescript": "^7.0.2" - }, - "dependencies": { - "@hono/node-server": "^2.1.3", - "hono": "^4.13.13", - "mysql2": "^3.24.5", - "zod": "^4.6.5" - }, - "bin": { - "cohaise-migrate": "./dist/cli.js" - } -} diff --git a/backend/shared/tsconfig.json b/backend/shared/tsconfig.json deleted file mode 100644 index c62df5b..0000000 --- a/backend/shared/tsconfig.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "module": "NodeNext", - "moduleResolution": "NodeNext", - "lib": ["ES2023"], - "types": ["node"], - "rootDir": "src", - "outDir": "dist", - "composite": true, - "declaration": true, - "declarationMap": true, - "sourceMap": true - }, - "include": ["src/**/*.ts"] -} diff --git a/docker-compose.yml b/docker-compose.yml index 1cf1926..341be27 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,10 +18,9 @@ x-app: &app volumes: - ./docker/publish.sh:/publish.sh:ro -# Les services de migration tournent l'executable cohaise-migrate depuis -# backend/shared. Ils ne lisent aucun fichier .env : Docker resout les -# variables ci-dessous au lancement, elles ne passent donc jamais par un -# terminal ni par le depot. +# Les services de migration tournent la CLI cohaise-migrate deposee par le +# backend. Ils ne lisent aucun fichier .env : Docker resout les variables +# ci-dessous au lancement, elles ne passent donc jamais par un terminal. x-migrate-build: &migrate-build context: . dockerfile: docker/Dockerfile.api @@ -29,7 +28,7 @@ x-migrate-build: &migrate-build # DNS mort (routeur), ce qui casse `npm ci` dans le conteneur. network: host args: - APP_DIR: backend/shared + APP_DIR: backend/cloud services: app-build: diff --git a/docker/Dockerfile.api b/docker/Dockerfile.api index 8508dac..1c09322 100644 --- a/docker/Dockerfile.api +++ b/docker/Dockerfile.api @@ -10,7 +10,6 @@ COPY package.json package-lock.json tsconfig.json tsconfig.base.json ./ COPY backend ./backend RUN --mount=type=cache,target=/root/.npm npm ci -RUN npm run build --workspace=backend/shared RUN npm run build --workspace=${APP_DIR} # On ne embarque pas les devDependencies dans l'image de production. @@ -27,9 +26,6 @@ WORKDIR /repo COPY --from=builder /repo/package.json ./package.json COPY --from=builder /repo/package-lock.json ./package-lock.json COPY --from=builder /repo/node_modules ./node_modules -# backend/shared est le paquet @cohaise/server : les liens de workspace -# de node_modules pointent dessus, il doit donc voyager avec l'application. -COPY --from=builder /repo/backend/shared ./backend/shared COPY --from=builder /repo/${APP_DIR} ./${APP_DIR} WORKDIR /repo/${APP_DIR} diff --git a/docker/Dockerfile.app b/docker/Dockerfile.app index 624f7e4..8c0cd98 100644 --- a/docker/Dockerfile.app +++ b/docker/Dockerfile.app @@ -8,7 +8,6 @@ COPY package.json package-lock.json tsconfig.json tsconfig.base.json ./ COPY frontend ./frontend RUN --mount=type=cache,target=/root/.npm npm ci -RUN npm run build --workspace=frontend/shared RUN npm run build --workspace=${APP_DIR} FROM alpine:3.21 AS export diff --git a/docker/README.md b/docker/README.md index 6dcfc86..9f248ea 100644 --- a/docker/README.md +++ b/docker/README.md @@ -36,9 +36,8 @@ Supprime le `default.conf` par défaut, copie `cloud.conf` et les snippets, - `ARG APP_DIR` → `frontend/cloud` (passé par compose). - Stage `builder` : `npm ci` (cache npm), puis - `npm run build --workspace=frontend/shared` **avant** - `--workspace=${APP_DIR}` — l'ordre est obligatoire, le front importe le - design system. + `npm run build --workspace=${APP_DIR}` — le design system est dans le même + paquet, aucun build préalable n'est nécessaire. - Stage `export` : recopie `dist/` seul, sans sources ni `node_modules`. ### `Dockerfile.api` (back, utilisé deux fois) @@ -47,7 +46,7 @@ Supprime le `default.conf` par défaut, copie `cloud.conf` et les snippets, | Service | `APP_DIR` | Résultat | | --- | --- | --- | -| `migrate` | `backend/shared` | binaire `cohaise-migrate` (`dist/cli.js`) | +| `migrate` | `backend/cloud` | CLI `cohaise-migrate` (`dist/cli.js`) | | `api` | `backend/cloud` | serveur Hono (`dist/index.js`) | Même image, deux cibles : le conteneur `migrate` sert, joue les migrations puis diff --git a/docs/agents.md b/docs/agents.md index 5a3b82d..16f69d9 100644 --- a/docs/agents.md +++ b/docs/agents.md @@ -53,7 +53,7 @@ CI). L'exécuter avant de déclarer un travail fini. ## Design system -`frontend/shared` (`@cohaise/ui`) vit dans ce dépôt. +Le design system vit dans `frontend/cloud/src/ui`. - `tokens.css` est la source unique des couleurs et typographies ; ne pas coder de couleur en dur ailleurs. diff --git a/docs/api.md b/docs/api.md index ac17bb4..7ac68a0 100644 --- a/docs/api.md +++ b/docs/api.md @@ -131,7 +131,7 @@ password_reset_tokens, email_change_requests, audit_logs`. ## Erreurs métier -`AppError` avec codes stables (`backend/shared/src/errors.ts`). Correspondances +`AppError` avec codes stables (`backend/cloud/src/lib/errors.ts`). Correspondances MariaDB : `1062` → 409, `1146` → 503 `NOT_MIGRATED`, `1406` → 422. Le corps d'une 500 ne contient jamais de détail de schéma. Réponse normalisée : diff --git a/docs/architecture.md b/docs/architecture.md index af534a5..23d936d 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -9,26 +9,27 @@ Node/TypeScript, une base MariaDB, un stockage de fichiers monté en volume. | Élément | Où | | --- | --- | | React 19 + Vite 8 + Tailwind 4 + react-router-dom 7 | `frontend/cloud` | -| Hono | `backend/cloud/src/index.ts` (`@cohaise/server` pour le socle) | -| MariaDB (`mysql2`) | `backend/shared/src/db.ts` | -| Nodemailer | `backend/shared/src/mail.ts` | +| Hono | `backend/cloud/src/index.ts` (`src/lib` pour le socle) | +| MariaDB (`mysql2`) | `backend/cloud/src/lib/db.ts` | +| Nodemailer | `backend/cloud/src/lib/mail.ts` | | sharp (vignettes) | `backend/cloud/src/media.ts` | -| Validation Zod | `backend/shared/src/config.ts` et chaque route | +| Validation Zod | `backend/cloud/src/lib/config.ts` et chaque route | ## Découpage ``` -backend/shared/ @cohaise/server : config, db, mail, ratelimit, http, service, auth, errors -backend/cloud/ routes/, access.ts, storage.ts, media.ts, cli.ts -backend/cloud/migrations/ 000 … 006 -frontend/shared/ @cohaise/ui : Design System (boutons, cartes, champs, spinner) -frontend/cloud/ router + AppShell + pages/ -docker/ Dockerfile(.app/.api), nginx/, publish.sh +backend/cloud/src/lib/ socle serveur : config, db, mail, ratelimit, http, service, auth, errors +backend/cloud/src/ routes/, access.ts, storage.ts, media.ts, admin.ts +backend/cloud/migrations/ 000 … 006 +frontend/cloud/src/ui/ design system (boutons, cartes, champs, spinner) +frontend/cloud/src/ router + AppShell + pages/ +docker/ Dockerfile(.app/.api), nginx/, publish.sh ``` -`backend/shared` est générique (sessions, erreurs, migrations, courriel, -limitation de débit) ; `backend/cloud` porte le métier : droits, quotas, chemins -disque, traitement média. +`backend/cloud/src/lib` porte la mécanique générique (sessions, erreurs, +migrations, courriel, limitation de débit), le reste de `backend/cloud` porte le +métier : droits, quotas, chemins disque, traitement média. Tout vit dans un seul +paquet, sans dépendance de workspace. ## Chaîne de démarrage diff --git a/docs/deployment.md b/docs/deployment.md index 4f8ddaa..6edd3d3 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -12,7 +12,7 @@ Réponse sur **`http://localhost:8083`**. La configuration est validée **avant** l'ouverture d'aucun port : si une variable manque ou est mal formée, le process s'arrête en listant exactement ce qui -pose problème (`backend/shared/src/config.ts`). +pose problème (`backend/cloud/src/lib/config.ts`). ## Variables diff --git a/docs/security.md b/docs/security.md index 86efbe7..235d687 100644 --- a/docs/security.md +++ b/docs/security.md @@ -17,7 +17,7 @@ ### Limitation de débit -- **Applicatif** : `createRateLimiter` (`backend/shared/src/ratelimit.ts`) par IP +- **Applicatif** : `createRateLimiter` (`backend/cloud/src/lib/ratelimit.ts`) par IP sur `auth/login`, `account/forgot-password`, `account/reset-password`, `account/email-change`. Réglages `RATE_LIMIT_LOGIN_MAX` (10) et `RATE_LIMIT_LOGIN_WINDOW_MS` (60 s). @@ -34,7 +34,7 @@ ressource. ### Courriel -Nodemailer (`backend/shared/src/mail.ts`) avec `SMTP_HOST`. `PUBLIC_ORIGIN` +Nodemailer (`backend/cloud/src/lib/mail.ts`) avec `SMTP_HOST`. `PUBLIC_ORIGIN` (obligatoire) construit les liens de réinitialisation et de confirmation ; aucun HTML utilisateur n'est injecté dans les messages. diff --git a/docs/standards.md b/docs/standards.md index 45f2233..3072f21 100644 --- a/docs/standards.md +++ b/docs/standards.md @@ -9,7 +9,7 @@ désactivé pour les `.md`. Aucun Prettier/ESLint installé. ## Palette -Source unique : `frontend/shared/src/styles/tokens.css`. +Source unique : `frontend/cloud/src/styles/tokens.css`. | Jeton | Rôle | Valeur | | --- | --- | --- | @@ -32,15 +32,16 @@ Règles : ## Typographies Poppins (texte), Orbitron et Cinzel (display), JetBrains Mono (code) — -woff2 hébergés dans `frontend/shared/fonts/`, jamais par CDN. +woff2 hébergés dans `frontend/cloud/src/fonts/`, jamais par CDN. ## Composants -`@cohaise/ui` : `Button`, `Card`, `Input`, `Skeleton`, `Spinner`, `cn`. +Design system local à `frontend/cloud/src/ui` : `Button`, `Card`, `Input`, +`Skeleton`, `Spinner`, `cn`. - Les composants du design system ne connaissent **jamais** le métier du Cloud. -- Une variante propre à cette app se développe dans `frontend/cloud`, pas dans - `frontend/shared`. +- Une variante propre à cette app se développe dans `frontend/cloud/src`, jamais + dans `src/ui`. ## Côté serveur @@ -53,7 +54,7 @@ woff2 hébergés dans `frontend/shared/fonts/`, jamais par CDN. | Élément | Attendu | | --- | --- | -| `shared` | vit dans ce dépôt, cycle de vie commun | +| Socle & design system | internes à `backend/cloud/src/lib` et `frontend/cloud/src/ui` | | Port HTTP | `8083` (`COHAISE_HTTP_PORT`) | | Dépôt | autonome, importance égale front et back | | `.env` | jamais versionné (`.env.example` seulement) | diff --git a/docs/workflow.md b/docs/workflow.md index ab382f7..96eab60 100644 --- a/docs/workflow.md +++ b/docs/workflow.md @@ -38,7 +38,7 @@ fichier est copié dans l'image, pas monté. venu du client). 3. Réponse : renvoyer **404** si la ressource n'est pas censée exister pour ce compte, 403 seulement pour une règle explicite. -4. Erreur métier : `AppError` depuis `backend/shared/src/errors.ts`. +4. Erreur métier : `AppError` depuis `backend/cloud/src/lib/errors.ts`. 5. Audit si l'action est sensible (`audit()` dans `access.ts`). 6. `make check`, puis redémarrage de l'API (`docker compose up -d api`). @@ -56,10 +56,10 @@ migration, pas en éditant l'ancienne (le checksum bloquerait le démarrage). ## Modifier le design system -`frontend/shared` (`@cohaise/ui`) vit dans ce dépôt. +Le design system vit dans `frontend/cloud/src/ui` (+ `src/styles`). - `tokens.css` porte les couleurs et typographies ; ne pas en coder ailleurs. -- Après modification : `npm run build --workspace=frontend/shared && make front`. +- Après modification : `make front` (le build Vite reprend tout). ## Où changer quoi @@ -68,12 +68,12 @@ migration, pas en éditant l'ancienne (le checksum bloquerait le démarrage). | Droit d'accès à un dossier/fichier | `backend/cloud/src/access.ts` | | Taille/quota par défaut | migration `004`, table `users` / `settings` | | Chemin physique des fichiers | `backend/cloud/src/storage.ts` | -| En-têtes, CORS, healthz | `backend/shared/src/http.ts` | +| En-têtes, CORS, healthz | `backend/cloud/src/lib/http.ts` | | Durée de session | `SESSION_TTL_HOURS` | | Port | `COHAISE_HTTP_PORT` (nginx), `COHAISE_API_PORT` (API) | | Interface (parcours dossiers) | `frontend/cloud/src/pages/Browser.tsx` | | Routes et gardes du front | `frontend/cloud/src/App.tsx` | -| Couleurs / composants | `frontend/shared/src/styles/tokens.css` | +| Couleurs / composants | `frontend/cloud/src/styles/tokens.css` | ## Git diff --git a/frontend/cloud/package.json b/frontend/cloud/package.json index b554d8a..0ed7098 100644 --- a/frontend/cloud/package.json +++ b/frontend/cloud/package.json @@ -10,10 +10,11 @@ "preview": "vite preview" }, "dependencies": { - "@cohaise/ui": "*", + "clsx": "^2.1.1", "react": "^19.3.0", "react-dom": "^19.3.0", - "react-router-dom": "^7.18.4" + "react-router-dom": "^7.18.4", + "tailwind-merge": "^3.7.0" }, "devDependencies": { "@tailwindcss/vite": "^4.3.3", diff --git a/frontend/cloud/src/App.tsx b/frontend/cloud/src/App.tsx index f690051..e0673bc 100644 --- a/frontend/cloud/src/App.tsx +++ b/frontend/cloud/src/App.tsx @@ -1,5 +1,5 @@ import { Navigate, Outlet, Route, Routes } from "react-router-dom"; -import { Spinner } from "@cohaise/ui"; +import { Spinner } from "./ui/index.js"; import { useSession } from "./lib/session.js"; import { AppShell } from "./components/AppShell.js"; import { Login } from "./pages/Login.js"; diff --git a/frontend/cloud/src/components/AppShell.tsx b/frontend/cloud/src/components/AppShell.tsx index cc6aadc..98ae814 100644 --- a/frontend/cloud/src/components/AppShell.tsx +++ b/frontend/cloud/src/components/AppShell.tsx @@ -1,6 +1,6 @@ import { useState } from "react"; import { NavLink, Outlet } from "react-router-dom"; -import { Button, cn } from "@cohaise/ui"; +import { Button, cn } from "../ui/index.js"; import { useSession } from "../lib/session.js"; import { ActivityIcon, diff --git a/frontend/cloud/src/components/IconAction.tsx b/frontend/cloud/src/components/IconAction.tsx index d3389db..3045a2e 100644 --- a/frontend/cloud/src/components/IconAction.tsx +++ b/frontend/cloud/src/components/IconAction.tsx @@ -1,5 +1,5 @@ import type { ReactNode } from "react"; -import { Spinner, cn } from "@cohaise/ui"; +import { Spinner, cn } from "../ui/index.js"; export const IconAction = ({ label, diff --git a/frontend/cloud/src/components/dialogs.tsx b/frontend/cloud/src/components/dialogs.tsx index 65b1308..13bcca2 100644 --- a/frontend/cloud/src/components/dialogs.tsx +++ b/frontend/cloud/src/components/dialogs.tsx @@ -1,5 +1,5 @@ import { useEffect, useState, type FormEvent } from "react"; -import { Button, Input, cn } from "@cohaise/ui"; +import { Button, Input, cn } from "../ui/index.js"; import { ApiError, api, diff --git a/frontend/cloud/src/components/feedback.tsx b/frontend/cloud/src/components/feedback.tsx index 2398a9c..5e3639f 100644 --- a/frontend/cloud/src/components/feedback.tsx +++ b/frontend/cloud/src/components/feedback.tsx @@ -1,5 +1,5 @@ import type { ReactNode } from "react"; -import { cn } from "@cohaise/ui"; +import { cn } from "../ui/index.js"; import { CloseIcon } from "./icons.js"; export const Modal = ({ diff --git a/frontend/shared/fonts/cinzel-latin.woff2 b/frontend/cloud/src/fonts/cinzel-latin.woff2 similarity index 100% rename from frontend/shared/fonts/cinzel-latin.woff2 rename to frontend/cloud/src/fonts/cinzel-latin.woff2 diff --git a/frontend/shared/fonts/jetbrains-mono-latin.woff2 b/frontend/cloud/src/fonts/jetbrains-mono-latin.woff2 similarity index 100% rename from frontend/shared/fonts/jetbrains-mono-latin.woff2 rename to frontend/cloud/src/fonts/jetbrains-mono-latin.woff2 diff --git a/frontend/shared/fonts/orbitron-latin.woff2 b/frontend/cloud/src/fonts/orbitron-latin.woff2 similarity index 100% rename from frontend/shared/fonts/orbitron-latin.woff2 rename to frontend/cloud/src/fonts/orbitron-latin.woff2 diff --git a/frontend/shared/fonts/poppins-400.woff2 b/frontend/cloud/src/fonts/poppins-400.woff2 similarity index 100% rename from frontend/shared/fonts/poppins-400.woff2 rename to frontend/cloud/src/fonts/poppins-400.woff2 diff --git a/frontend/shared/fonts/poppins-600.woff2 b/frontend/cloud/src/fonts/poppins-600.woff2 similarity index 100% rename from frontend/shared/fonts/poppins-600.woff2 rename to frontend/cloud/src/fonts/poppins-600.woff2 diff --git a/frontend/cloud/src/pages/Admin.tsx b/frontend/cloud/src/pages/Admin.tsx index fcbb89f..ac6f1db 100644 --- a/frontend/cloud/src/pages/Admin.tsx +++ b/frontend/cloud/src/pages/Admin.tsx @@ -1,5 +1,5 @@ import { useEffect, useRef, useState, type FormEvent } from "react"; -import { Button, Input, Spinner } from "@cohaise/ui"; +import { Button, Input, Spinner } from "../ui/index.js"; import { ApiError, api, diff --git a/frontend/cloud/src/pages/Browser.tsx b/frontend/cloud/src/pages/Browser.tsx index c160522..a46afb5 100644 --- a/frontend/cloud/src/pages/Browser.tsx +++ b/frontend/cloud/src/pages/Browser.tsx @@ -1,5 +1,5 @@ import { useCallback, useEffect, useRef, useState } from "react"; -import { Button, Card, Spinner } from "@cohaise/ui"; +import { Button, Card, Spinner } from "../ui/index.js"; import { ApiError, api, diff --git a/frontend/cloud/src/pages/ChangePassword.tsx b/frontend/cloud/src/pages/ChangePassword.tsx index 6309895..b9cb2b7 100644 --- a/frontend/cloud/src/pages/ChangePassword.tsx +++ b/frontend/cloud/src/pages/ChangePassword.tsx @@ -1,6 +1,6 @@ import { useState, type FormEvent } from "react"; import { useNavigate } from "react-router-dom"; -import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Input } from "@cohaise/ui"; +import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Input } from "../ui/index.js"; import { Alert } from "../components/feedback.js"; import { ApiError, api } from "../lib/api.js"; import { useSession } from "../lib/session.js"; diff --git a/frontend/cloud/src/pages/ConfirmEmail.tsx b/frontend/cloud/src/pages/ConfirmEmail.tsx index ac58456..ea5f047 100644 --- a/frontend/cloud/src/pages/ConfirmEmail.tsx +++ b/frontend/cloud/src/pages/ConfirmEmail.tsx @@ -1,6 +1,6 @@ import { useEffect, useRef, useState } from "react"; import { Link, useSearchParams } from "react-router-dom"; -import { Button, Card, CardContent, CardHeader, CardTitle, Spinner } from "@cohaise/ui"; +import { Button, Card, CardContent, CardHeader, CardTitle, Spinner } from "../ui/index.js"; import { Alert } from "../components/feedback.js"; import { ApiError, api } from "../lib/api.js"; import { useSession } from "../lib/session.js"; diff --git a/frontend/cloud/src/pages/ForgotPassword.tsx b/frontend/cloud/src/pages/ForgotPassword.tsx index 6b93e75..1f2a39b 100644 --- a/frontend/cloud/src/pages/ForgotPassword.tsx +++ b/frontend/cloud/src/pages/ForgotPassword.tsx @@ -1,6 +1,6 @@ import { useState, type FormEvent } from "react"; import { Link } from "react-router-dom"; -import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Input } from "@cohaise/ui"; +import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Input } from "../ui/index.js"; import { Alert } from "../components/feedback.js"; import { ApiError, api } from "../lib/api.js"; diff --git a/frontend/cloud/src/pages/Gallery.tsx b/frontend/cloud/src/pages/Gallery.tsx index e19ab86..b4f7128 100644 --- a/frontend/cloud/src/pages/Gallery.tsx +++ b/frontend/cloud/src/pages/Gallery.tsx @@ -1,5 +1,5 @@ import { useCallback, useEffect, useState } from "react"; -import { Button, Spinner, cn } from "@cohaise/ui"; +import { Button, Spinner, cn } from "../ui/index.js"; import { ApiError, api, formatBytes, type MediaItem } from "../lib/api.js"; import { Alert, EmptyState, PageHeader } from "../components/feedback.js"; import { FileIcon, ImageIcon } from "../components/icons.js"; diff --git a/frontend/cloud/src/pages/Login.tsx b/frontend/cloud/src/pages/Login.tsx index 38f630f..d07f237 100644 --- a/frontend/cloud/src/pages/Login.tsx +++ b/frontend/cloud/src/pages/Login.tsx @@ -1,6 +1,6 @@ import { useState, type FormEvent } from "react"; import { Link, Navigate, useNavigate } from "react-router-dom"; -import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Input } from "@cohaise/ui"; +import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Input } from "../ui/index.js"; import { ApiError, api } from "../lib/api.js"; import { useSession } from "../lib/session.js"; diff --git a/frontend/cloud/src/pages/Profile.tsx b/frontend/cloud/src/pages/Profile.tsx index 76fab6d..dbaed6d 100644 --- a/frontend/cloud/src/pages/Profile.tsx +++ b/frontend/cloud/src/pages/Profile.tsx @@ -1,5 +1,5 @@ import { useEffect, useRef, useState, type FormEvent } from "react"; -import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Input, Spinner } from "@cohaise/ui"; +import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Input, Spinner } from "../ui/index.js"; import { ApiError, api, formatDate, type SessionInfo } from "../lib/api.js"; import { useSession } from "../lib/session.js"; import { Alert, Badge, PageHeader } from "../components/feedback.js"; diff --git a/frontend/cloud/src/pages/ResetPassword.tsx b/frontend/cloud/src/pages/ResetPassword.tsx index fe48059..a1ba0fb 100644 --- a/frontend/cloud/src/pages/ResetPassword.tsx +++ b/frontend/cloud/src/pages/ResetPassword.tsx @@ -1,6 +1,6 @@ import { useState, type FormEvent } from "react"; import { Link, useSearchParams } from "react-router-dom"; -import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Input } from "@cohaise/ui"; +import { Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Input } from "../ui/index.js"; import { Alert } from "../components/feedback.js"; import { ApiError, api } from "../lib/api.js"; diff --git a/frontend/cloud/src/pages/Search.tsx b/frontend/cloud/src/pages/Search.tsx index 68281dc..b24c7c8 100644 --- a/frontend/cloud/src/pages/Search.tsx +++ b/frontend/cloud/src/pages/Search.tsx @@ -1,5 +1,5 @@ import { useState, type FormEvent } from "react"; -import { Button, Input, Spinner } from "@cohaise/ui"; +import { Button, Input, Spinner } from "../ui/index.js"; import { ApiError, api, formatBytes, type Folder, type UploadedFile } from "../lib/api.js"; import { Alert, EmptyState, PageHeader } from "../components/feedback.js"; import { DownloadIcon, FileIcon, FolderIcon, SearchIcon } from "../components/icons.js"; diff --git a/frontend/cloud/src/pages/Trash.tsx b/frontend/cloud/src/pages/Trash.tsx index 29d7c42..7affbe7 100644 --- a/frontend/cloud/src/pages/Trash.tsx +++ b/frontend/cloud/src/pages/Trash.tsx @@ -1,5 +1,5 @@ import { useCallback, useEffect, useState } from "react"; -import { Button, Spinner } from "@cohaise/ui"; +import { Button, Spinner } from "../ui/index.js"; import { ApiError, api, diff --git a/frontend/shared/src/styles/fonts.css b/frontend/cloud/src/styles/fonts.css similarity index 85% rename from frontend/shared/src/styles/fonts.css rename to frontend/cloud/src/styles/fonts.css index 4533e9f..d1c7d66 100644 --- a/frontend/shared/src/styles/fonts.css +++ b/frontend/cloud/src/styles/fonts.css @@ -10,7 +10,7 @@ font-style: normal; font-weight: 400; font-display: swap; - src: url("../../fonts/poppins-400.woff2") format("woff2"); + src: url("../fonts/poppins-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; @@ -21,7 +21,7 @@ font-style: normal; font-weight: 600; font-display: swap; - src: url("../../fonts/poppins-600.woff2") format("woff2"); + src: url("../fonts/poppins-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; @@ -32,7 +32,7 @@ font-style: normal; font-weight: 400 700; font-display: swap; - src: url("../../fonts/jetbrains-mono-latin.woff2") format("woff2"); + src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; @@ -43,7 +43,7 @@ font-style: normal; font-weight: 400 900; font-display: swap; - src: url("../../fonts/orbitron-latin.woff2") format("woff2"); + src: url("../fonts/orbitron-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; @@ -54,7 +54,7 @@ font-style: normal; font-weight: 400 900; font-display: swap; - src: url("../../fonts/cinzel-latin.woff2") format("woff2"); + src: url("../fonts/cinzel-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; diff --git a/frontend/cloud/src/styles/index.css b/frontend/cloud/src/styles/index.css index 07ea97d..a7efa23 100644 --- a/frontend/cloud/src/styles/index.css +++ b/frontend/cloud/src/styles/index.css @@ -1,4 +1,4 @@ @import "tailwindcss"; -@import "@cohaise/ui/styles"; - -@source "../../../../frontend/shared/src"; +@import "./fonts.css"; +@import "./tokens.css"; +@import "./theme.css"; diff --git a/frontend/shared/src/styles/theme.css b/frontend/cloud/src/styles/theme.css similarity index 100% rename from frontend/shared/src/styles/theme.css rename to frontend/cloud/src/styles/theme.css diff --git a/frontend/shared/src/styles/tokens.css b/frontend/cloud/src/styles/tokens.css similarity index 100% rename from frontend/shared/src/styles/tokens.css rename to frontend/cloud/src/styles/tokens.css diff --git a/frontend/shared/src/components/Button.tsx b/frontend/cloud/src/ui/components/Button.tsx similarity index 100% rename from frontend/shared/src/components/Button.tsx rename to frontend/cloud/src/ui/components/Button.tsx diff --git a/frontend/shared/src/components/Card.tsx b/frontend/cloud/src/ui/components/Card.tsx similarity index 100% rename from frontend/shared/src/components/Card.tsx rename to frontend/cloud/src/ui/components/Card.tsx diff --git a/frontend/shared/src/components/Input.tsx b/frontend/cloud/src/ui/components/Input.tsx similarity index 100% rename from frontend/shared/src/components/Input.tsx rename to frontend/cloud/src/ui/components/Input.tsx diff --git a/frontend/shared/src/components/Skeleton.tsx b/frontend/cloud/src/ui/components/Skeleton.tsx similarity index 100% rename from frontend/shared/src/components/Skeleton.tsx rename to frontend/cloud/src/ui/components/Skeleton.tsx diff --git a/frontend/shared/src/components/Spinner.tsx b/frontend/cloud/src/ui/components/Spinner.tsx similarity index 100% rename from frontend/shared/src/components/Spinner.tsx rename to frontend/cloud/src/ui/components/Spinner.tsx diff --git a/frontend/shared/src/index.ts b/frontend/cloud/src/ui/index.ts similarity index 100% rename from frontend/shared/src/index.ts rename to frontend/cloud/src/ui/index.ts diff --git a/frontend/shared/src/lib/cn.ts b/frontend/cloud/src/ui/lib/cn.ts similarity index 100% rename from frontend/shared/src/lib/cn.ts rename to frontend/cloud/src/ui/lib/cn.ts diff --git a/frontend/shared/README.md b/frontend/shared/README.md deleted file mode 100644 index 3fd8f1b..0000000 --- a/frontend/shared/README.md +++ /dev/null @@ -1,186 +0,0 @@ -# @cohaise/ui - -Design system du Cloud. Point d'entrée unique des jetons de style -utilisés par `frontend/cloud`, garantissant une identité visuelle -homogène et la thématisation dynamique clair/sombre. - -## Couche de jetons - -Ce paquet expose une chaîne CSS en trois fichiers, du plus primitif au plus dérivé. - -| Fichier | Rôle | -|---|---| -| `src/styles/tokens.css` | Variables CSS brutes (`--cohaise-*`). Échelle de gris en `oklch`, jetons sémantiques, ombres, typographie, rayons, courbes et durées de mouvement. | -| `src/styles/theme.css` | Directive `@theme inline` mappant les variables brutes vers les utilitaires Tailwind (`bg-surface`, `text-muted-foreground`, `border-border`...). | -| `src/styles/index.css` | Point d'entrée, importe les deux fichiers ci-dessus. | - -### Mouvement - -Tailwind v4 ne réserve pas de namespace de thème aux durées : `duration-*` est un -utilitaire à valeur nue. Les trois durées sont donc exposées via `@utility` dans -`theme.css`, adossées aux jetons `--cohaise-duration-*`. - -`--default-transition-duration` et `--default-transition-timing-function` sont -également déclarés, si bien que toute classe `transition-*` hérite du mouvement du -design system sans avoir à le répéter : - -```css -.transition-colors { - transition-timing-function: var(--tw-ease, var(--cohaise-ease-out-soft)); - transition-duration: var(--tw-duration, var(--cohaise-duration-base)); -} -``` - -Les utilitaires `duration-fast`, `duration-base`, `duration-slow` et `ease-out-soft` -surchargent ces valeurs au cas par cas. - -### Chaîne de résolution - -```mermaid -flowchart TD - A["tokens.css
--cohaise-gray-*, --cohaise-crimson-*"] --> B["tokens.css
--cohaise-background, --cohaise-border, ..."] - B --> C["theme.css
@theme inline"] - C --> D["Tailwind CSS
compile les utilitaires"] - D --> E["frontend/cloud"] - - F["Classe .dark sur <html>"] -.->|surcharge les jetons sémantiques| B -``` - -L'échelle de gris et l'échelle carmin sont les seules sources de vérité des couleurs -brutes. Les jetons sémantiques n'y font référence que par `var()`, jamais par une valeur -littérale, sauf pour les statuts (`success`, `warning`, `info`) et l'ombre carmin, qui -n'existent que dans le mode sombre. - -La source de vérité du rouge est `--clr-accent` du site, soit `#b71c1c`, et non le -carmin `#c3073f` qui apparaît davantage dans la feuille de style compilée. Les deux -valeurs ont été retenues à un moment de la construction du thème : le carmin est plus -vif, la valeur déclarée plus profonde et moins magenta. Sur un outil de gestion de -fichiers, c'est la seconde qui tient le mieux sur de grandes surfaces. - -## Couleurs - -Les valeurs viennent de `esiah.dev`. Le fond sombre est un noir à dominante rouge -(`#050000`), pas un gris neutre, et l'accent est le carmin `#b71c1c`. - -| Rôle | Clair | Sombre | -|---|---|---| -| Fond | `#f7f5f4` | `#050000` | -| Surface | `#ffffff` | `#1a0505` | -| Surface surélevée | `#ffffff` | `#1e1e22` | -| Texte | `#1a1a1a` | `#f4f4f2` | -| Texte atténué | `#5c5656` | `#a8a0a0` | -| Primaire | `#b71c1c` | `#b71c1c` | -| Accent graphique | `#b71c1c` | `#c92a2a` | -| Filet de séparation | `#e8dcdc` | `#2e1c1c` | - -Un seul rouge de marque dans les deux modes, ce qui rend les captures et les -comparaisons d'écran reproductibles. Il n'est appliqué qu'en aplat plein, avec du texte -blanc dessus, où il atteint 6,57:1. - -`accent-graphic` est un ton séparé, réservé aux **petits éléments posés sur** une -surface : filet de carte, carré de liste, anneau de focus. Ces éléments sont lus comme -interface et relèvent du seuil de 3:1, or le rouge de marque ne donne que 2,65:1 sur la -surface sombre. Le même raisonnement impose une bordure de champ distincte, à 3,57:1 en -sombre et 3,73:1 en clair. - -**Le destructif est ambre, pas rouge.** C'est une décision de lisibilité, pas un goût : -l'accent du site est un rouge, donc un bouton « supprimer » rouge serait confondu avec un -bouton d'accent. `destructive` occupe donc le ton `oklch(0.768 0.188 70)`, déjà présent -dans la palette, et `warning` garde le jaune plus clair. Le prix à payer est que -« supprimer » et « attention » sont proches en teinte ; ils ne se croisent jamais dans le -même écran, et c'est un choix à revoir si l'interface grossit. - -**Les bordures de champs de formulaire ont leur propre jeton.** Les bordures -décoratives restent très discrètes, `1.2:1` sur le fond en mode sombre, pour respecter le -grain du site. Un champ de formulaire doit en revanche pouvoir être identifié sans le -remplir ni le survoler, ce que la WCAG 1.4.11 chiffre à `3:1`. `border-control` est -donc nettement plus clair, `3.5:1` en sombre et `3.7:1` en clair, et c'est lui que -`Input` utilise. Les deux valeurs ont été retenues en mesurant le contraste réel plutôt -qu'à l'œil. - -## Polices - -| Usage | Police | Variable | -|---|---|---| -| Titres, libellés, boutons | Orbitron | `--cohaise-font-display` | -| Texte courant et paragraphes | Poppins | `--cohaise-font-sans` | -| Marque | Orbitron | `--cohaise-font-logo` | -| Accroche courte, registre éditorial | Cinzel | `--cohaise-font-serif` | -| Code | JetBrains Mono et replis | `--cohaise-font-mono` | - -Le partage vient du site, où `body` est en Orbitron. Orbitron a une chasse très large : à -32 px, un titre paraît écrit à la main, et un mot-symbole doit être resserré pour ne pas -s'éparpiller. D'où quatre jetons d'interlettrage dédiés, dont un négatif pour les titres. - -Orbitron est donc cantonnée aux **chaînes courtes** — titres jusqu'à `h3`, libellés en -capitales, boutons — avec `tracking-label` en positif. Au-delà de `h3`, la chasse est trop -large pour la taille du texte. Le flux est en Poppins. C'est pourquoi `font-display` est -appliqué dans la couche `base` plutôt que laissé au soin de chaque composant : c'est la -seule façon d'éviter qu'un titre revienne en Poppins parce qu'un écran l'a oublié. - -Cinzel est conservée en réserve. C'est un bon caractère, mais une serif d'inscription -romaine sur des libellés d'interface ou un paragraphe devient vite illisible, et c'est -précisément ce qui donnait au premier jet de ce thème son aspect de thème généré. - -Les trois faces sont **auto-hébergées** dans `frontend/shared/fonts`, 53,6 Ko au total, -soit 30 Ko de moins que Roboto seul. Un appel à Google Fonts aurait fait fuiter l'adresse -IP de chaque visiteur de ton NAS vers un tiers, ce qui n'a pas sa place dans une -application privée. - -## Modes clair et sombre - -Le mode est piloté par la classe `.dark` appliquée sur ``. `:root` porte le mode -clair, `.dark` surcharge l'ensemble des jetons sémantiques. `color-scheme` est défini -sur les deux blocs pour aligner les contrôles natifs et les barres de défilement. - -```mermaid -flowchart LR - subgraph Light["`:root` — mode clair"] - LA["--cohaise-background
#f7f5f4"] - LB["--cohaise-foreground
#1a1a1a"] - LC["--cohaise-primary
#b71c1c"] - end - subgraph Dark["`.dark` — mode sombre"] - DA["--cohaise-background
#050000"] - DB["--cohaise-foreground
#f4f4f2"] - DC["--cohaise-primary
#b71c1c"] - end - Light -->|bascule de classe| Dark -``` - -Aucune règle `@media (prefers-color-scheme)` n'est déclarée : la bascule est -explicite, ce qui garantit un comportement unique quelle que soit la préférence -système. - -## Forme - -Les rayons sont quasi nuls, de 2 à 6 px, contre 4 à 12 px pour les valeurs par défaut de -Tailwind. Les tuiles à coins arrondis sont la signature la plus immédiate d'une interface -sans intention, et un registre d'instrument se lit dans l'angle autant que dans la -couleur. - -Trois marques complètent le registre : un filet carmin d'un pixel en tête de `Card`, un -carré plein de 6 px devant chaque élément de liste au lieu d'une puce ronde, et des -libellés en capitales espacées. Aucune n'est décorative au sens strict : elles servent à -séparer des blocs sans ajouter de bordure lourde, et à rendre les métriques denses -scannables. - -## Consommation - -```css -@import "tailwindcss"; -@import "@cohaise/ui/styles"; -``` - -L'application conserve la main sur la directive `tailwindcss` et sur sa configuration ; -ce paquet ne fournit que les jetons. Le build Vite résout l'entrée via le champ -`exports` du `package.json`. - -## Contraintes - -- Aucune valeur de couleur littérale n'est autorisée dans les composants : uniquement - des utilitaires derivés des jetons sémantiques, sinon la thématisation casse. -- `@theme inline` est obligatoire plutôt que `@theme`, car les utilitaires doivent - référencer la variable pour résoudre la valeur au changement de mode. -- Aucune durée ne doit être écrite en dur dans un composant (`duration-150` est - interdit) : passer par `duration-fast`, `duration-base` ou `duration-slow`. diff --git a/frontend/shared/package.json b/frontend/shared/package.json deleted file mode 100644 index de83787..0000000 --- a/frontend/shared/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "@cohaise/ui", - "version": "0.0.0", - "private": true, - "type": "module", - "sideEffects": ["**/*.css"], - "style": "./src/styles/index.css", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - }, - "./styles": "./src/styles/index.css", - "./styles/tokens": "./src/styles/tokens.css", - "./styles/theme": "./src/styles/theme.css" - }, - "files": ["dist", "src/styles"], - "scripts": { - "build": "tsc --build", - "clean": "node --eval \"import('node:fs').then(fs => { fs.rmSync('dist', { recursive: true, force: true }); fs.rmSync('tsconfig.tsbuildinfo', { force: true }); })\"", - "typecheck": "tsc --noEmit" - }, - "peerDependencies": { - "react": "^19.0.0", - "react-dom": "^19.0.0" - }, - "devDependencies": { - "@types/react": "^19.3.0", - "@types/react-dom": "^19.3.0", - "react": "^19.3.0", - "react-dom": "^19.3.0", - "typescript": "^7.0.2" - }, - "dependencies": { - "clsx": "^2.1.1", - "tailwind-merge": "^3.7.0" - } -} diff --git a/frontend/shared/src/styles/index.css b/frontend/shared/src/styles/index.css deleted file mode 100644 index 954c779..0000000 --- a/frontend/shared/src/styles/index.css +++ /dev/null @@ -1,3 +0,0 @@ -@import "./fonts.css"; -@import "./tokens.css"; -@import "./theme.css"; diff --git a/frontend/shared/tsconfig.json b/frontend/shared/tsconfig.json deleted file mode 100644 index c7c09d1..0000000 --- a/frontend/shared/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "extends": "../../tsconfig.base.json", - "compilerOptions": { - "lib": ["ES2022", "DOM", "DOM.Iterable"], - "jsx": "react-jsx", - "rootDir": "src", - "outDir": "dist", - "composite": true, - "declaration": true, - "declarationMap": true, - "sourceMap": true - }, - "include": ["src/**/*.ts", "src/**/*.tsx"] -} diff --git a/package-lock.json b/package-lock.json index b64d329..208863c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,13 +22,16 @@ "name": "@cohaise/cloud", "version": "0.0.0", "dependencies": { - "@cohaise/server": "*", + "@hono/node-server": "^2.1.3", + "hono": "^4.13.13", + "mysql2": "^3.24.5", "nodemailer": "^10.1.1", "sharp": "^0.35.5", "zod": "^4.6.5" }, "bin": { - "cohaise-admin": "dist/admin.js" + "cohaise-admin": "dist/admin.js", + "cohaise-migrate": "dist/cli.js" }, "devDependencies": { "@types/node": "^24.0.0", @@ -36,31 +39,15 @@ "typescript": "^7.0.2" } }, - "backend/shared": { - "name": "@cohaise/server", - "version": "0.0.0", - "dependencies": { - "@hono/node-server": "^2.1.3", - "hono": "^4.13.13", - "mysql2": "^3.24.5", - "zod": "^4.6.5" - }, - "bin": { - "cohaise-migrate": "dist/cli.js" - }, - "devDependencies": { - "@types/node": "^24.0.0", - "typescript": "^7.0.2" - } - }, "frontend/cloud": { "name": "@cohaise/cloud-web", "version": "0.0.0", "dependencies": { - "@cohaise/ui": "*", + "clsx": "^2.1.1", "react": "^19.3.0", "react-dom": "^19.3.0", - "react-router-dom": "^7.18.4" + "react-router-dom": "^7.18.4", + "tailwind-merge": "^3.7.0" }, "devDependencies": { "@tailwindcss/vite": "^4.3.3", @@ -72,25 +59,6 @@ "vite": "^8.3.1" } }, - "frontend/shared": { - "name": "@cohaise/ui", - "version": "0.0.0", - "dependencies": { - "clsx": "^2.1.1", - "tailwind-merge": "^3.7.0" - }, - "devDependencies": { - "@types/react": "^19.3.0", - "@types/react-dom": "^19.3.0", - "react": "^19.3.0", - "react-dom": "^19.3.0", - "typescript": "^7.0.2" - }, - "peerDependencies": { - "react": "^19.0.0", - "react-dom": "^19.0.0" - } - }, "node_modules/@cohaise/cloud": { "resolved": "backend/cloud", "link": true @@ -99,36 +67,235 @@ "resolved": "frontend/cloud", "link": true }, - "node_modules/@cohaise/server": { - "resolved": "backend/shared", - "link": true - }, - "node_modules/@cohaise/ui": { - "resolved": "frontend/shared", - "link": true + "node_modules/@emnapi/runtime": { + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz", + "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==", + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } }, "node_modules/@hono/node-server": { - "version": "2.1.3", + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.5.tgz", + "integrity": "sha512-MgP/I06GdvsilDspMk/qmRzpk8LOUStP6jFAbSRi40W09DhoyUn+Mj7eyKICPqeYKybOjVFLVIAQzvu1bfIa7Q==", "license": "MIT", "engines": { "node": ">=20" }, "peerDependencies": { - "hono": "^4" + "hono": "^4 || ^5.0.0-0" } }, "node_modules/@img/colour": { "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz", + "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==", "license": "MIT", "engines": { "node": ">=18" } }, - "node_modules/@img/sharp-libvips-linux-x64": { - "version": "1.3.4", + "node_modules/@img/sharp-darwin-arm64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz", + "integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-darwin-arm64": "1.3.4" + } + }, + "node_modules/@img/sharp-darwin-x64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz", + "integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==", "cpu": [ "x64" ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-darwin-x64": "1.3.4" + } + }, + "node_modules/@img/sharp-freebsd-wasm32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz", + "integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==", + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "dependencies": { + "@img/sharp-wasm32": "0.35.5" + }, + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-darwin-arm64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz", + "integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==", + "cpu": [ + "arm64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-darwin-x64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz", + "integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==", + "cpu": [ + "x64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "darwin" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-arm": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz", + "integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==", + "cpu": [ + "arm" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-arm64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz", + "integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==", + "cpu": [ + "arm64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-ppc64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz", + "integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==", + "cpu": [ + "ppc64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-riscv64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz", + "integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==", + "cpu": [ + "riscv64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-s390x": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz", + "integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==", + "cpu": [ + "s390x" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linux-x64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz", + "integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==", + "cpu": [ + "x64" + ], + "license": "LGPL-3.0-or-later", + "optional": true, + "os": [ + "linux" + ], + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-libvips-linuxmusl-arm64": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz", + "integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==", + "cpu": [ + "arm64" + ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -140,6 +307,8 @@ }, "node_modules/@img/sharp-libvips-linuxmusl-x64": { "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz", + "integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==", "cpu": [ "x64" ], @@ -152,8 +321,120 @@ "url": "https://opencollective.com/libvips" } }, + "node_modules/@img/sharp-linux-arm": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz", + "integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==", + "cpu": [ + "arm" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-arm": "1.3.4" + } + }, + "node_modules/@img/sharp-linux-arm64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz", + "integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-arm64": "1.3.4" + } + }, + "node_modules/@img/sharp-linux-ppc64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz", + "integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==", + "cpu": [ + "ppc64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-ppc64": "1.3.4" + } + }, + "node_modules/@img/sharp-linux-riscv64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz", + "integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==", + "cpu": [ + "riscv64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-riscv64": "1.3.4" + } + }, + "node_modules/@img/sharp-linux-s390x": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz", + "integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==", + "cpu": [ + "s390x" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linux-s390x": "1.3.4" + } + }, "node_modules/@img/sharp-linux-x64": { "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz", + "integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==", "cpu": [ "x64" ], @@ -172,8 +453,32 @@ "@img/sharp-libvips-linux-x64": "1.3.4" } }, + "node_modules/@img/sharp-linuxmusl-arm64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz", + "integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + }, + "optionalDependencies": { + "@img/sharp-libvips-linuxmusl-arm64": "1.3.4" + } + }, "node_modules/@img/sharp-linuxmusl-x64": { "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz", + "integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==", "cpu": [ "x64" ], @@ -192,8 +497,102 @@ "@img/sharp-libvips-linuxmusl-x64": "1.3.4" } }, + "node_modules/@img/sharp-wasm32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz", + "integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==", + "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT", + "optional": true, + "dependencies": { + "@emnapi/runtime": "^1.11.3" + }, + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-webcontainers-wasm32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz", + "integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==", + "cpu": [ + "wasm32" + ], + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "@img/sharp-wasm32": "0.35.5" + }, + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-arm64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz", + "integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-ia32": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz", + "integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==", + "cpu": [ + "ia32" + ], + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, + "node_modules/@img/sharp-win32-x64": { + "version": "0.35.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz", + "integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0 AND LGPL-3.0-or-later", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=20.9.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", "dev": true, "license": "MIT", "dependencies": { @@ -203,6 +602,8 @@ }, "node_modules/@jridgewell/remapping": { "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", "dev": true, "license": "MIT", "dependencies": { @@ -212,6 +613,8 @@ }, "node_modules/@jridgewell/resolve-uri": { "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, "license": "MIT", "engines": { @@ -220,11 +623,15 @@ }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", "dev": true, "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", "dev": true, "license": "MIT", "dependencies": { @@ -233,15 +640,189 @@ } }, "node_modules/@oxc-project/types": { - "version": "0.151.0", + "version": "0.154.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.154.0.tgz", + "integrity": "sha512-KYOUGQFlLWR+s4QMV2Q9ko38TZm7EdO87Qm7rvZLqk/webse/cDjtyxKhg/47l0byCbs/k46LT8qc4PKjAikzA==", "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/oxc-project" } }, + "node_modules/@rolldown/binding-android-arm-eabi": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.14.tgz", + "integrity": "sha512-aWR+XKH9+rW7m5fWq/5360J3mHycrx/o6xZM2DQFdJnTMdyP7/WzxPjhtLbVWdKo2y612/4U1bWqb3HQhiF7vg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.14.tgz", + "integrity": "sha512-QiVxHofl6A8lQU7WAtOUY4QMVZXohxwz7WJJoeh8NBEUyKfIkMRKhYyq8az/1RypNiIXzNTtiS6KwHz0erxYRQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.14.tgz", + "integrity": "sha512-lTQOzHuBIooh3jIr5XINQkjPGEuGy+Dsy0meXDr6Sjty0b99kYgGh4uBC/8mJX1T0kC8d6S0aPP1Y+bHkh6aBw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.14.tgz", + "integrity": "sha512-hyMKEGatjmBYCs/Q4sbIcL/GqpFEqsX3wc+HYVQ/85A4rxc1o7rPm4DUI4GV4k/h0ITddwFSGpqQunI14GXjTA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.14.tgz", + "integrity": "sha512-u371GbXoVXrEgP20PwzoGNOdAOqAMhzo19JzzY+V4YmmnC+DTOoqdbMu+O+54emM59Mik/UdrtWgcuEDKWRPKA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.14.tgz", + "integrity": "sha512-BqwKsdZQf6EqVWr8fv2MrDYzAvOZ7+NYFSJESRGs87fkseEhs0TU9TXgRJTkZoRRkxTizyEg1LKUXfU3/78uqg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.14.tgz", + "integrity": "sha512-SD9kY8M009x/7s57Z1dgUVlP5+uYBgKQK0Tkr1WIWngrtUJmRCW1RJFMY7QDla2khXhmg2i5Io7MUjcmZNZ/KQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.14.tgz", + "integrity": "sha512-BJ2CL19M6uuWesMgnqJzgxoI+N+eV7b0A9O9vLV42y+gitC41fNa8KElau1tHVzuLWX5GzEuxMPhAO0tQXQMkg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.14.tgz", + "integrity": "sha512-4+Kl8daPV8NDHaD7mfCcc1pRM+Qg7ab8DyMm5FG5WoZgv4h2i3KFN1CybYBNbQqmuYm7ftJLvmMI1eHYJ22S/Q==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.14.tgz", + "integrity": "sha512-V/h8ePq1fKDrmtFMz6xcCN3DKvuvMRrwwD1q0PkBeeo4DpK64biaKvqWGVxqCeYKqeRk7gE7/iKPxLCn08O97A==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, "node_modules/@rolldown/binding-linux-x64-gnu": { - "version": "1.2.11", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.14.tgz", + "integrity": "sha512-WxalXzgrLVpKC93xfpaJ3gCXUWzeCr+FRCbDVD2mUAy4L6Vo3lNVz0epUEUpxPWJkLNYUwM4OSIikv36OJ9mLg==", "cpu": [ "x64" ], @@ -256,7 +837,9 @@ } }, "node_modules/@rolldown/binding-linux-x64-musl": { - "version": "1.2.11", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.14.tgz", + "integrity": "sha512-3G3tnAmTpdk9jO3GQtyHXqeFD2SlecfTws/Y3M2mmj9nMBwwuLT4kur8sZKeu7ENUHSpVO3cIsm5A52LEWWwlg==", "cpu": [ "x64" ], @@ -270,13 +853,68 @@ "node": "^20.19.0 || >=22.12.0" } }, + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.14.tgz", + "integrity": "sha512-qyr5XiNGxm2ytx17vvtcJ9nXn6v1gENETi503bJx3OGwZ1tSonj7BosxbMa/xeAfSl5iS9X6KjEWYXLu6v1L7Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.14.tgz", + "integrity": "sha512-oA4o5o0S2yB199YyYXDzKUv1Z56Rc+mgOjwm7Z/vJ9Z8igiDPYvoOuDyo6g7AK/ZaF09nPhDKVnGBcYHO11GXA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.14.tgz", + "integrity": "sha512-9mE94bf2GZUaR/fUSXCMpBoWkctu421Mi0ORpm4zqfbkjKep7RxzPFa5etcGs5h+2KApoWBOA/hAJa/7saGgEQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, "node_modules/@rolldown/pluginutils": { "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", + "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", "dev": true, "license": "MIT" }, "node_modules/@tailwindcss/node": { "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz", + "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==", "dev": true, "license": "MIT", "dependencies": { @@ -291,6 +929,8 @@ }, "node_modules/@tailwindcss/oxide": { "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz", + "integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==", "dev": true, "license": "MIT", "engines": { @@ -311,8 +951,129 @@ "@tailwindcss/oxide-win32-x64-msvc": "4.3.3" } }, + "node_modules/@tailwindcss/oxide-android-arm64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.3.tgz", + "integrity": "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-darwin-arm64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.3.tgz", + "integrity": "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-darwin-x64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.3.tgz", + "integrity": "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-freebsd-x64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.3.tgz", + "integrity": "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.3.tgz", + "integrity": "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.3.tgz", + "integrity": "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-linux-arm64-musl": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.3.tgz", + "integrity": "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" + } + }, "node_modules/@tailwindcss/oxide-linux-x64-gnu": { "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.3.tgz", + "integrity": "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==", "cpu": [ "x64" ], @@ -328,6 +1089,8 @@ }, "node_modules/@tailwindcss/oxide-linux-x64-musl": { "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.3.tgz", + "integrity": "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==", "cpu": [ "x64" ], @@ -341,8 +1104,74 @@ "node": ">= 20" } }, + "node_modules/@tailwindcss/oxide-wasm32-wasi": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.3.tgz", + "integrity": "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==", + "bundleDependencies": [ + "@napi-rs/wasm-runtime", + "@emnapi/core", + "@emnapi/runtime", + "@tybys/wasm-util", + "@emnapi/wasi-threads", + "tslib" + ], + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "^1.11.1", + "@emnapi/runtime": "^1.11.1", + "@emnapi/wasi-threads": "^1.2.2", + "@napi-rs/wasm-runtime": "^1.1.4", + "@tybys/wasm-util": "^0.10.2", + "tslib": "^2.8.1" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz", + "integrity": "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" + } + }, + "node_modules/@tailwindcss/oxide-win32-x64-msvc": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.3.tgz", + "integrity": "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" + } + }, "node_modules/@tailwindcss/vite": { "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.3.tgz", + "integrity": "sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==", "dev": true, "license": "MIT", "dependencies": { @@ -355,7 +1184,9 @@ } }, "node_modules/@types/node": { - "version": "24.19.1", + "version": "24.19.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.2.tgz", + "integrity": "sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ==", "license": "MIT", "dependencies": { "undici-types": ">=7.24.0 <7.24.7" @@ -363,6 +1194,8 @@ }, "node_modules/@types/nodemailer": { "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@types/nodemailer/-/nodemailer-8.0.2.tgz", + "integrity": "sha512-c7M5ox8p0nEOfbJ2E9Qcmt8/QCu/VzsiAhzBiZbvky2PhKZDHpKB3sQHBM5MEZNkCfBOaS6S9//AGPRTNB7IaA==", "dev": true, "license": "MIT", "dependencies": { @@ -371,6 +1204,8 @@ }, "node_modules/@types/react": { "version": "19.3.0", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz", + "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==", "dev": true, "license": "MIT", "dependencies": { @@ -379,14 +1214,222 @@ }, "node_modules/@types/react-dom": { "version": "19.3.0", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.3.0.tgz", + "integrity": "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==", "dev": true, "license": "MIT", "peerDependencies": { "@types/react": "^19.3.0" } }, + "node_modules/@typescript/typescript-aix-ppc64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-aix-ppc64/-/typescript-aix-ppc64-7.0.2.tgz", + "integrity": "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-darwin-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-arm64/-/typescript-darwin-arm64-7.0.2.tgz", + "integrity": "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-darwin-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-x64/-/typescript-darwin-x64-7.0.2.tgz", + "integrity": "sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-freebsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-arm64/-/typescript-freebsd-arm64-7.0.2.tgz", + "integrity": "sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-freebsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-x64/-/typescript-freebsd-x64-7.0.2.tgz", + "integrity": "sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-arm": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm/-/typescript-linux-arm-7.0.2.tgz", + "integrity": "sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm64/-/typescript-linux-arm64-7.0.2.tgz", + "integrity": "sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-loong64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-loong64/-/typescript-linux-loong64-7.0.2.tgz", + "integrity": "sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-mips64el": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-mips64el/-/typescript-linux-mips64el-7.0.2.tgz", + "integrity": "sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-ppc64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-ppc64/-/typescript-linux-ppc64-7.0.2.tgz", + "integrity": "sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-riscv64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-riscv64/-/typescript-linux-riscv64-7.0.2.tgz", + "integrity": "sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-linux-s390x": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-s390x/-/typescript-linux-s390x-7.0.2.tgz", + "integrity": "sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=16.20.0" + } + }, "node_modules/@typescript/typescript-linux-x64": { "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-x64/-/typescript-linux-x64-7.0.2.tgz", + "integrity": "sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==", "cpu": [ "x64" ], @@ -400,8 +1443,129 @@ "node": ">=16.20.0" } }, + "node_modules/@typescript/typescript-netbsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-arm64/-/typescript-netbsd-arm64-7.0.2.tgz", + "integrity": "sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-netbsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-x64/-/typescript-netbsd-x64-7.0.2.tgz", + "integrity": "sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-openbsd-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-arm64/-/typescript-openbsd-arm64-7.0.2.tgz", + "integrity": "sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-openbsd-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-x64/-/typescript-openbsd-x64-7.0.2.tgz", + "integrity": "sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-sunos-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-sunos-x64/-/typescript-sunos-x64-7.0.2.tgz", + "integrity": "sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-win32-arm64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-arm64/-/typescript-win32-arm64-7.0.2.tgz", + "integrity": "sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=16.20.0" + } + }, + "node_modules/@typescript/typescript-win32-x64": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-x64/-/typescript-win32-x64-7.0.2.tgz", + "integrity": "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=16.20.0" + } + }, "node_modules/@vitejs/plugin-react": { - "version": "6.1.1", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.1.2.tgz", + "integrity": "sha512-fhJNGUdscQa4HkI0xFxwonWyhnVReCPDbXI7FH7jmzpnVCrFQI7PRrhWecO263610vOrs9tr2Y4xcf8uAdFxbw==", "dev": true, "license": "MIT", "dependencies": { @@ -413,7 +1577,7 @@ "peerDependencies": { "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", "babel-plugin-react-compiler": "^1.0.0", - "oxc-transform-react": "^0.145.0", + "oxc-transform-react": "^0.152.0", "vite": "^8.0.0" }, "peerDependenciesMeta": { @@ -430,6 +1594,8 @@ }, "node_modules/aws-ssl-profiles": { "version": "1.1.2", + "resolved": "https://registry.npmjs.org/aws-ssl-profiles/-/aws-ssl-profiles-1.1.2.tgz", + "integrity": "sha512-NZKeq9AfyQvEeNlN0zSYAaWrmBffJh3IELMZfRpJVWgrpEbtEpnjvzqBPf+mxoI287JohRDoa+/nsfqqiZmF6g==", "license": "MIT", "engines": { "node": ">= 6.0.0" @@ -437,6 +1603,8 @@ }, "node_modules/clsx": { "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", "license": "MIT", "engines": { "node": ">=6" @@ -444,6 +1612,8 @@ }, "node_modules/cookie": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz", + "integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==", "license": "MIT", "engines": { "node": ">=18" @@ -455,11 +1625,15 @@ }, "node_modules/csstype": { "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", "dev": true, "license": "MIT" }, "node_modules/detect-libc": { "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", "license": "Apache-2.0", "engines": { "node": ">=8" @@ -467,6 +1641,8 @@ }, "node_modules/enhanced-resolve": { "version": "5.26.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz", + "integrity": "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==", "dev": true, "license": "MIT", "dependencies": { @@ -479,6 +1655,8 @@ }, "node_modules/fdir": { "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", "dev": true, "license": "MIT", "engines": { @@ -493,8 +1671,25 @@ } } }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/generate-function": { "version": "2.3.1", + "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz", + "integrity": "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==", "license": "MIT", "dependencies": { "is-property": "^1.0.2" @@ -502,11 +1697,15 @@ }, "node_modules/graceful-fs": { "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true, "license": "ISC" }, "node_modules/hono": { "version": "4.13.13", + "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.13.tgz", + "integrity": "sha512-CQ46U0ZkAGmbT/4UxdzzGJpacP2IeKgY4a5/tOI9AABbpOMfK739wfDXmv1usCk+3RkKj1hQy4/fjhiwa2xlrA==", "license": "MIT", "engines": { "node": ">=16.9.0" @@ -514,6 +1713,8 @@ }, "node_modules/iconv-lite": { "version": "0.7.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz", + "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==", "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" @@ -528,10 +1729,14 @@ }, "node_modules/is-property": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", + "integrity": "sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==", "license": "MIT" }, "node_modules/jiti": { "version": "2.7.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", + "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", "dev": true, "license": "MIT", "bin": { @@ -540,6 +1745,8 @@ }, "node_modules/lightningcss": { "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", + "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", "dev": true, "license": "MPL-2.0", "dependencies": { @@ -566,8 +1773,157 @@ "lightningcss-win32-x64-msvc": "1.32.0" } }, + "node_modules/lightningcss-android-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", + "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", + "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", + "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", + "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", + "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", + "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", + "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, "node_modules/lightningcss-linux-x64-gnu": { "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", + "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", "cpu": [ "x64" ], @@ -587,6 +1943,8 @@ }, "node_modules/lightningcss-linux-x64-musl": { "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", + "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", "cpu": [ "x64" ], @@ -604,12 +1962,58 @@ "url": "https://opencollective.com/parcel" } }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", + "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", + "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, "node_modules/long": { "version": "5.3.2", + "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz", + "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", "license": "Apache-2.0" }, "node_modules/lru.min": { "version": "1.1.5", + "resolved": "https://registry.npmjs.org/lru.min/-/lru.min-1.1.5.tgz", + "integrity": "sha512-5J9ysMYUpYIg9RF2vJpy9SinEmSviFSe0GyPpCQ4L5QSkLAgeLXlTAOu2ZwWUU5m+0SBl6gUU1R1ZQB3aKypfA==", "license": "MIT", "engines": { "bun": ">=1.0.0", @@ -623,6 +2027,8 @@ }, "node_modules/magic-string": { "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", "dev": true, "license": "MIT", "dependencies": { @@ -630,7 +2036,9 @@ } }, "node_modules/mysql2": { - "version": "3.24.5", + "version": "3.24.6", + "resolved": "https://registry.npmjs.org/mysql2/-/mysql2-3.24.6.tgz", + "integrity": "sha512-enu73KhbAua2L3dIxjc6qg6ZJ7H3pt1BImZASWNWY5xSsmJ1ZuUPULTDGXgmJbI61vb+nJAG19IZclIq19UidQ==", "license": "MIT", "dependencies": { "aws-ssl-profiles": "^1.1.2", @@ -650,6 +2058,8 @@ }, "node_modules/named-placeholders": { "version": "1.1.6", + "resolved": "https://registry.npmjs.org/named-placeholders/-/named-placeholders-1.1.6.tgz", + "integrity": "sha512-Tz09sEL2EEuv5fFowm419c1+a/jSMiBjI9gHxVLrVdbUkkNUUfjsVYs9pVZu5oCon/kmRh9TfLEObFtkVxmY0w==", "license": "MIT", "dependencies": { "lru.min": "^1.1.0" @@ -659,7 +2069,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.19", + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", "dev": true, "funding": [ { @@ -677,6 +2089,8 @@ }, "node_modules/nodemailer": { "version": "10.1.1", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-10.1.1.tgz", + "integrity": "sha512-pbqZRoeYUO+1E8TJ/11WeY4D2EVujj1hsYjz3qff/vUFDtGnmi7p3iqzTFslYOfQ6PnjVcWxx/CIUSHCSrO/QA==", "license": "MIT-0", "engines": { "node": ">=20.0.0" @@ -684,11 +2098,15 @@ }, "node_modules/picocolors": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, "license": "ISC" }, "node_modules/picomatch": { "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", "dev": true, "license": "MIT", "engines": { @@ -699,7 +2117,9 @@ } }, "node_modules/postcss": { - "version": "8.5.28", + "version": "8.5.30", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.30.tgz", + "integrity": "sha512-zkd+e9S1AQHhmaBKye9zlFHWjOwVgqXl1q3ECYy8561K7qxR2cREf/STLskulBFd78k6AOFeA+ff1TtEzk9bAA==", "dev": true, "funding": [ { @@ -717,33 +2137,39 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.18", + "nanoid": "^3.3.20", "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" + "source-map-js": "^1.2.2" }, "engines": { "node": "^10 || ^12 || >=14" } }, "node_modules/react": { - "version": "19.3.0", + "version": "19.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-19.3.1.tgz", + "integrity": "sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw==", "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/react-dom": { - "version": "19.3.0", + "version": "19.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.3.1.tgz", + "integrity": "sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ==", "license": "MIT", "dependencies": { "scheduler": "^0.28.0" }, "peerDependencies": { - "react": "^19.3.0" + "react": "^19.3.1" } }, "node_modules/react-router": { "version": "7.18.4", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.18.4.tgz", + "integrity": "sha512-PUPQcMhMGRAslLcvtlPz/kmzBEWPhLdgLFrL7pLNepBL6dX0lWj4WD2cUYVgYCuT3jxvghYFg81cDTj44DhetQ==", "license": "MIT", "dependencies": { "cookie": "^1.0.1", @@ -764,6 +2190,8 @@ }, "node_modules/react-router-dom": { "version": "7.18.4", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.18.4.tgz", + "integrity": "sha512-yrfmJHIpDG7taCpqKjT1G5B6q3O2K+RN8/fgNf0lTjCwiPbQ0ei6vXX9ZjQR+7ld8Tr7Z5xmyMnZ8YJrphWQUw==", "license": "MIT", "dependencies": { "react-router": "7.18.4" @@ -777,11 +2205,13 @@ } }, "node_modules/rolldown": { - "version": "1.2.11", + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.14.tgz", + "integrity": "sha512-eTBTTqMR6uHKLgcUqpJP8ntzDI6V4LYA8negAMBEI7gkgVvOdrx6VsvS2Ym+83KhOPdLCHWJu0w7UQFJZhHKNw==", "dev": true, "license": "MIT", "dependencies": { - "@oxc-project/types": "=0.151.0", + "@oxc-project/types": "=0.154.0", "@rolldown/pluginutils": "^1.0.0" }, "bin": { @@ -791,33 +2221,39 @@ "node": "^20.19.0 || >=22.12.0" }, "optionalDependencies": { - "@rolldown/binding-android-arm-eabi": "1.2.11", - "@rolldown/binding-android-arm64": "1.2.11", - "@rolldown/binding-darwin-arm64": "1.2.11", - "@rolldown/binding-darwin-x64": "1.2.11", - "@rolldown/binding-freebsd-x64": "1.2.11", - "@rolldown/binding-linux-arm-gnueabihf": "1.2.11", - "@rolldown/binding-linux-arm64-gnu": "1.2.11", - "@rolldown/binding-linux-arm64-musl": "1.2.11", - "@rolldown/binding-linux-ppc64-gnu": "1.2.11", - "@rolldown/binding-linux-s390x-gnu": "1.2.11", - "@rolldown/binding-linux-x64-gnu": "1.2.11", - "@rolldown/binding-linux-x64-musl": "1.2.11", - "@rolldown/binding-openharmony-arm64": "1.2.11", - "@rolldown/binding-win32-arm64-msvc": "1.2.11", - "@rolldown/binding-win32-x64-msvc": "1.2.11" + "@rolldown/binding-android-arm-eabi": "1.2.14", + "@rolldown/binding-android-arm64": "1.2.14", + "@rolldown/binding-darwin-arm64": "1.2.14", + "@rolldown/binding-darwin-x64": "1.2.14", + "@rolldown/binding-freebsd-x64": "1.2.14", + "@rolldown/binding-linux-arm-gnueabihf": "1.2.14", + "@rolldown/binding-linux-arm64-gnu": "1.2.14", + "@rolldown/binding-linux-arm64-musl": "1.2.14", + "@rolldown/binding-linux-ppc64-gnu": "1.2.14", + "@rolldown/binding-linux-s390x-gnu": "1.2.14", + "@rolldown/binding-linux-x64-gnu": "1.2.14", + "@rolldown/binding-linux-x64-musl": "1.2.14", + "@rolldown/binding-openharmony-arm64": "1.2.14", + "@rolldown/binding-win32-arm64-msvc": "1.2.14", + "@rolldown/binding-win32-x64-msvc": "1.2.14" } }, "node_modules/safer-buffer": { "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "license": "MIT" }, "node_modules/scheduler": { "version": "0.28.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.28.0.tgz", + "integrity": "sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==", "license": "MIT" }, "node_modules/semver": { "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -828,10 +2264,14 @@ }, "node_modules/set-cookie-parser": { "version": "2.7.2", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz", + "integrity": "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==", "license": "MIT" }, "node_modules/sharp": { "version": "0.35.5", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz", + "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==", "license": "Apache-2.0", "dependencies": { "@img/colour": "^1.1.0", @@ -879,6 +2319,8 @@ }, "node_modules/source-map-js": { "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -887,6 +2329,8 @@ }, "node_modules/sql-escaper": { "version": "1.5.2", + "resolved": "https://registry.npmjs.org/sql-escaper/-/sql-escaper-1.5.2.tgz", + "integrity": "sha512-6CKD38c31SENivxOADeMNLdukOnUxUcflKtzVWzace7Riv1v7cAEym5Cx9Q7gYZ3ezIJI7ZpqecQq8cqNeSSFg==", "license": "MIT", "engines": { "bun": ">=1.0.0", @@ -900,6 +2344,8 @@ }, "node_modules/tailwind-merge": { "version": "3.7.0", + "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.7.0.tgz", + "integrity": "sha512-XPPUyAc+cvspz3lHTcR/QgPfW2A0lv/xQNIjX3HGhLR+Nq2lHaLq5MtTesHn8GUr3W3DguT2KT5x3NVgRtYwmA==", "license": "MIT", "funding": { "type": "github", @@ -908,11 +2354,15 @@ }, "node_modules/tailwindcss": { "version": "4.3.3", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz", + "integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==", "dev": true, "license": "MIT" }, "node_modules/tapable": { "version": "2.3.3", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz", + "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==", "dev": true, "license": "MIT", "engines": { @@ -925,6 +2375,8 @@ }, "node_modules/tinyglobby": { "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", "dev": true, "license": "MIT", "dependencies": { @@ -938,8 +2390,17 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD", + "optional": true + }, "node_modules/typescript": { "version": "7.0.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz", + "integrity": "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==", "dev": true, "license": "Apache-2.0", "bin": { @@ -973,17 +2434,21 @@ }, "node_modules/undici-types": { "version": "7.24.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", + "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", "license": "MIT" }, "node_modules/vite": { - "version": "8.3.1", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.4.tgz", + "integrity": "sha512-IftLE8phJhdNRIGNEV4JCCvfNScoZQVfcXaN8TQropWGJtOHcu+iAB9pHcuGvmEb/kddw0LBe/jS8ztdC6xdiQ==", "dev": true, "license": "MIT", "dependencies": { "lightningcss": "^1.33.0", "picomatch": "^4.0.7", - "postcss": "^8.5.28", - "rolldown": "~1.2.9", + "postcss": "^8.5.29", + "rolldown": "~1.2.12", "tinyglobby": "^0.2.17" }, "bin": { @@ -1053,6 +2518,8 @@ }, "node_modules/vite/node_modules/lightningcss": { "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz", + "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==", "dev": true, "license": "MPL-2.0", "dependencies": { @@ -1079,8 +2546,157 @@ "lightningcss-win32-x64-msvc": "1.33.0" } }, + "node_modules/vite/node_modules/lightningcss-android-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz", + "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-darwin-arm64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz", + "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-darwin-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz", + "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-freebsd-x64": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz", + "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz", + "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz", + "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-linux-arm64-musl": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz", + "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, "node_modules/vite/node_modules/lightningcss-linux-x64-gnu": { "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz", + "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==", "cpu": [ "x64" ], @@ -1100,6 +2716,8 @@ }, "node_modules/vite/node_modules/lightningcss-linux-x64-musl": { "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz", + "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==", "cpu": [ "x64" ], @@ -1117,8 +2735,52 @@ "url": "https://opencollective.com/parcel" } }, + "node_modules/vite/node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz", + "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/vite/node_modules/lightningcss-win32-x64-msvc": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz", + "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, "node_modules/zod": { - "version": "4.6.5", + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" diff --git a/tsconfig.json b/tsconfig.json index 8def70e..c5c3743 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,12 +2,6 @@ "$schema": "https://json.schemastore.org/tsconfig", "files": [], "references": [ - { - "path": "./frontend/shared" - }, - { - "path": "./backend/shared" - }, { "path": "./backend/cloud" }