- bump next to 16.0.0, react/react-dom to 19.2.0 and update related deps (react-day-picker, react-hook-form, zod, lightningcss, scheduler, typescript, @types/*, tailwind tooling, etc.) in package.json and bun.lock - add overrides for @types/react and @types/react-dom - remove --turbopack flags from package.json scripts and configure turbopack root in next.config.ts - tighten tsconfig (jsx -> react-jsx, include extra .next dev types, formatting) - add GitHub Actions workflow for Docker build/push (.github/workflows/main.yml) - add Dockerfile and compose.yml for building/running containerized app
12 lines
257 B
TypeScript
12 lines
257 B
TypeScript
import type { NextConfig } from "next";
|
|
const path = require('path')
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
allowedDevOrigins: ['imnyang.dev'],
|
|
turbopack: {
|
|
root: path.join(__dirname, '.'),
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|