Migrate to next 16.2.10

This commit is contained in:
Rami Bitar
2026-07-17 15:05:00 -04:00
parent d919ec4788
commit 4c35335b64
6 changed files with 8266 additions and 5674 deletions

1
instrumentation.ts Normal file
View File

@@ -0,0 +1 @@
export function register() {}

34
next.config.js Normal file
View File

@@ -0,0 +1,34 @@
module.exports = {
reactStrictMode: true,
typescript: {
ignoreBuildErrors: true,
},
images: {
unoptimized: true,
remotePatterns: [
{
protocol: "https",
hostname: "images.unsplash.com",
},
{
protocol: "https",
hostname: "cdn.shopify.com",
},
{
protocol: "https",
hostname: "**.frontend.co",
},
],
},
experimental: {
reactDebugChannel: false,
},
webpack: (config, { isServer }) => {
config.cache = { type: "memory" };
if (isServer) {
config.optimization = config.optimization || {};
config.optimization.splitChunks = false;
}
return config;
},
};

View File

@@ -1,7 +0,0 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
};
export default nextConfig;

View File

@@ -3,13 +3,15 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev --webpack",
"build": "next build", "build": "next build --webpack",
"start": "next start", "start": "next start",
"lint": "eslint" "lint": "eslint"
}, },
"dependencies": { "dependencies": {
"@base-ui/react": "^1.6.0", "@base-ui/react": "^1.6.0",
"@next/swc-wasm-web": "16.2.10",
"@remixicon/react": "^4.9.0",
"@shadcn/react": "^0.1.0", "@shadcn/react": "^0.1.0",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
@@ -18,7 +20,7 @@
"embla-carousel-react": "^8.6.0", "embla-carousel-react": "^8.6.0",
"input-otp": "^1.4.2", "input-otp": "^1.4.2",
"lucide-react": "^1.22.0", "lucide-react": "^1.22.0",
"next": "16.2.9", "next": "16.2.10",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"radix-ui": "^1.6.0", "radix-ui": "^1.6.0",
"react": "19.2.4", "react": "19.2.4",
@@ -40,5 +42,6 @@
"eslint-config-next": "16.2.9", "eslint-config-next": "16.2.9",
"tailwindcss": "^4", "tailwindcss": "^4",
"typescript": "^5" "typescript": "^5"
} },
"packageManager": "yarn@4.14.1+sha512.64df448055b2d37ba269d7db535a469b8da93f8ef1140c25fd7a83c00a8fbaacb214ca0e02553b92a2c54cef78bb67d0b4817fab02001df0e24fac0faccc3b42"
} }

View File

@@ -1,7 +1,5 @@
const config = { export default {
plugins: { plugins: {
"@tailwindcss/postcss": {}, "@tailwindcss/postcss": {},
}, },
}; };
export default config;

13883
yarn.lock

File diff suppressed because it is too large Load Diff