Skip to content

Commit 4e17005

Browse files
Upgrade to Next.js 16.1.1 with React 19.2.3 and production-ready improvements (#52)
2 parents cbb7418 + a20417a commit 4e17005

File tree

12 files changed

+808
-352
lines changed

12 files changed

+808
-352
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ This is the official portfolio website built with Next.js, Tailwind CSS, and Rad
66

77
## Tech Stack
88

9-
- **Framework**: [Next.js 15](https://nextjs.org) with App Router
9+
- **Framework**: [Next.js 16](https://nextjs.org) with App Router and Turbopack
10+
- **React**: React 19 with modern React features
1011
- **Styling**: [Tailwind CSS 4](https://tailwindcss.com) and [Radix Colors](https://www.radix-ui.com/colors)
1112
- **Components**: [Radix UI](https://www.radix-ui.com) and [Radix Icons](https://www.radix-ui.com/icons)
1213
- **Typography**: [Geist Font](https://vercel.com/font)
13-
- **Language**: TypeScript
14+
- **Language**: TypeScript (strict mode)
1415
- **Deployment**: GitHub Pages (automated via GitHub Actions)
1516

1617
## Getting Started
@@ -62,8 +63,8 @@ npm install
6263

6364
### Available Scripts
6465

65-
- `npm run dev` - Start development server with Turbopack
66-
- `npm run build` - Build for production (GitHub Pages optimized)
66+
- `npm run dev` - Start development server (Turbopack enabled by default in Next.js 16)
67+
- `npm run build` - Build for production (GitHub Pages optimized with Turbopack)
6768
- `npm run start` - Start production server
6869
- `npm run lint` - Run ESLint with auto-fix
6970
- `npm run type-check` - Run TypeScript type checking

eslint.config.mjs

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
1-
import { dirname } from "path";
2-
import { fileURLToPath } from "url";
3-
import { FlatCompat } from "@eslint/eslintrc";
1+
import { defineConfig, globalIgnores } from 'eslint/config';
2+
import nextVitals from 'eslint-config-next/core-web-vitals';
3+
import nextTs from 'eslint-config-next/typescript';
44

5-
const __filename = fileURLToPath(import.meta.url);
6-
const __dirname = dirname(__filename);
7-
8-
const compat = new FlatCompat({
9-
baseDirectory: __dirname,
10-
});
11-
12-
const eslintConfig = [
13-
...compat.extends("next/core-web-vitals", "next/typescript"),
14-
{
15-
ignores: [
16-
"node_modules/**",
17-
".next/**",
18-
"out/**",
19-
"build/**",
20-
"next-env.d.ts",
21-
],
22-
},
23-
];
5+
const eslintConfig = defineConfig([
6+
...nextVitals,
7+
...nextTs,
8+
// Override default ignores of eslint-config-next.
9+
globalIgnores([
10+
// Default ignores of eslint-config-next:
11+
'.next/**',
12+
'out/**',
13+
'build/**',
14+
'next-env.d.ts',
15+
'node_modules/**',
16+
]),
17+
]);
2418

2519
export default eslintConfig;

next.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ const nextConfig: NextConfig = {
4242
// Type checking is handled by the CI pipeline
4343
ignoreBuildErrors: false,
4444
},
45-
46-
// ESLint configuration
47-
eslint: {
48-
// Linting is handled by the CI pipeline
49-
ignoreDuringBuilds: false,
50-
},
5145
};
5246

5347
export default nextConfig;

0 commit comments

Comments
 (0)