feat(F-164): completed feature

This commit is contained in:
chattie
2026-08-22 18:25:21 +02:00
parent 9018c89590
commit 08af6caf50
20 changed files with 982 additions and 227 deletions

View File

@@ -0,0 +1,9 @@
<!-- BEGIN:nextjs-agent-rules -->
# This is NOT the Next.js you know
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices.
This block is written and re-added by `next dev` — verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.
<!-- END:nextjs-agent-rules -->

View File

@@ -0,0 +1 @@
@AGENTS.md

View File

@@ -1,6 +1,7 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />
import "./.next/dev/types/routes.d.ts";
import "./.next/dev/types/root-params.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@@ -2,6 +2,10 @@ import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
allowedDevOrigins: ['192.168.18.93', 'localhost'],
turbopack: {
root: __dirname,
},
outputFileTracingRoot: __dirname,
};
export default nextConfig;

File diff suppressed because it is too large Load Diff

View File

@@ -8,17 +8,18 @@
"start": "next start --port 3006"
},
"dependencies": {
"next": "^15.1.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
"next": "^16.3.1",
"react": "^19.2.8",
"react-dom": "^19.2.8"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.3",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"typescript": "^5.7.0",
"tailwindcss": "^4.0.0",
"autoprefixer": "^10.4.0",
"postcss": "^8.4.0"
"postcss": "^8.4.0",
"tailwindcss": "^4.0.0",
"typescript": "^5.7.0"
}
}

View File

@@ -0,0 +1,5 @@
export default {
plugins: {
'@tailwindcss/postcss': {},
},
};

View File

@@ -1,6 +1,4 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';
:root {
--color-primary: #2D6A4F;

View File

@@ -3,7 +3,7 @@ import type { NextRequest } from 'next/server';
const PUBLIC_PATHS = ['/login', '/api/auth'];
export function middleware(request: NextRequest) {
export function proxy(request: NextRequest) {
const { pathname } = request.nextUrl;
// Allow public paths

View File

@@ -8,7 +8,7 @@
],
"module": "ESNext",
"moduleResolution": "bundler",
"jsx": "preserve",
"jsx": "react-jsx",
"strict": true,
"noEmit": true,
"esModuleInterop": true,
@@ -32,7 +32,8 @@
"next.config.ts",
"src/**/*.ts",
"src/**/*.tsx",
".next/types/**/*.ts"
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"