Compare commits

4 Commits

Author SHA1 Message Date
41597c113f docs: auto-update memory 2026-03-21 17:43:58 +01:00
3f8d13936d fix: create public/ directory required by frontend Dockerfile COPY step
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 17:43:53 +01:00
58cb0e314d docs: auto-update memory 2026-03-21 17:37:49 +01:00
211fbefd53 fix: resolve Docker build failures for frontend
- Remove @radix-ui/react-badge (package inexistant sur npm) du package.json
- Rename next.config.ts → next.config.mjs (Next.js 14 ne supporte pas .ts)
- Générer package-lock.json requis par npm ci dans le Dockerfile
- Ajouter next-env.d.ts (généré par Next.js build, requis pour TypeScript)

Build Next.js vérifié : 6 pages générées (/, /login, /dashboard, /clients, /audits)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 17:37:32 +01:00
5 changed files with 7216 additions and 4 deletions

5
frontend/next-env.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.

View File

@@ -1,6 +1,5 @@
import type { NextConfig } from "next"; /** @type {import('next').NextConfig} */
const nextConfig = {
const nextConfig: NextConfig = {
output: "standalone", output: "standalone",
async rewrites() { async rewrites() {
return [ return [

7209
frontend/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -14,7 +14,6 @@
"react": "^18", "react": "^18",
"react-dom": "^18", "react-dom": "^18",
"@radix-ui/react-avatar": "^1.0.4", "@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-badge": "^1.0.0",
"@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6", "@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-label": "^2.0.2", "@radix-ui/react-label": "^2.0.2",

0
frontend/public/.gitkeep Normal file
View File