Pose l'infrastructure de base avant l'implémentation des fonctionnalités : - server/ : Fastify + TypeScript (ESM), route /health, sert client/dist - client/ : TypeScript vanilla + esbuild/sass, vue placeholder (shell) - server/Dockerfile : image multi-étapes avec yt-dlp + ffmpeg embarqués - .forgejo/workflows/publish-docker.yml : test puis publication sur le registre de conteneurs Forgejo (nécessite le secret REGISTRY_TOKEN) - biome.json : lint du repo entier (downloader/ exclu) - spec/architecture.md : documentation de ces choix Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
15 lines
356 B
TypeScript
15 lines
356 B
TypeScript
import { mountShell } from './shell/Shell';
|
|
|
|
/**
|
|
* Point d'entrée du client : récupère l'élément racine et y monte le shell
|
|
* initial de l'application.
|
|
*/
|
|
function main(): void {
|
|
const root = document.getElementById('app');
|
|
if (!root) {
|
|
throw new Error("Élément racine '#app' introuvable dans le document.");
|
|
}
|
|
mountShell(root);
|
|
}
|
|
|
|
main();
|