Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions app/[domain]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import { trpc } from "@/trpc/server";
import "country-flag-icons/3x2/flags.css";
import "mapbox-gl/dist/mapbox-gl.css";

export const experimental_ppr = true;

export async function generateMetadata({
params,
}: {
Expand Down
14 changes: 4 additions & 10 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@ import withVercelToolbar from "@vercel/toolbar/plugins/next";
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
reactCompiler: true,
typescript: {
ignoreBuildErrors: true,
},
eslint: {
ignoreDuringBuilds: true,
},
serverExternalPackages: ["@sparticuz/chromium", "puppeteer-core"],
reactCompiler: true,
images: {
unoptimized: true,
},
experimental: {
ppr: "incremental",
staleTimes: {
dynamic: 0, // disable client-side router cache for dynamic pages
},
serverExternalPackages: ["@sparticuz/chromium", "puppeteer-core"],
outputFileTracingIncludes: {
"/api/**": ["node_modules/@sparticuz/chromium/bin/**"],
},
rewrites: async () => {
return [
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"type": "module",
"scripts": {
"dev": "next dev --turbo",
"dev": "next dev",
"docker:up": "scripts/start-dev-infra.sh",
"docker:down": "scripts/stop-dev-infra.sh",
"build": "next build",
Expand Down Expand Up @@ -70,16 +70,16 @@
"mapbox-gl": "^3.16.0",
"motion": "^12.23.24",
"ms": "3.0.0-canary.202508261828",
"next": "15.6.0-canary.39",
"next": "16.0.1",
"next-themes": "^0.4.6",
"postgres": "^3.4.7",
"posthog-js": "^1.281.0",
"posthog-node": "^5.10.4",
"puppeteer-core": "24.22.3",
"radix-ui": "^1.4.3",
"rdapper": "^0.10.4",
"react": "19.1.1",
"react-dom": "19.1.1",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-map-gl": "^8.1.0",
"server-only": "0.0.1",
"sharp": "^0.34.4",
Expand All @@ -100,8 +100,8 @@
"@testing-library/react": "16.3.0",
"@testing-library/user-event": "14.6.1",
"@types/node": "24.9.2",
"@types/react": "19.1.16",
"@types/react-dom": "19.1.9",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"@types/ws": "^8.18.1",
"@vitejs/plugin-react": "^5.1.0",
"@vitest/coverage-v8": "^4.0.4",
Expand Down
1,604 changes: 802 additions & 802 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion middleware.ts → proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { toRegistrableDomain } from "@/lib/domain-server";
// Then captures everything up to the next slash as the authority.
const HTTP_PREFIX_CAPTURE_AUTHORITY = /^https?:[:/]+([^/]+)/i;

export function middleware(request: NextRequest) {
export function proxy(request: NextRequest) {
const path = request.nextUrl.pathname;

// Fast path: only act on non-root paths
Expand Down
2 changes: 0 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
"packageRules": [
{
"matchPackageNames": ["next", "@next/*"],
"matchDepTypes": ["dependencies", "devDependencies"],
"groupName": "next.js",
"followTag": "canary",
"rangeStrategy": "pin"
},
{
Expand Down
8 changes: 7 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": ["node_modules"]
}
3 changes: 2 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"build": {
"env": {
"ENABLE_EXPERIMENTAL_COREPACK": "1",
"PUPPETEER_SKIP_DOWNLOAD": "1"
"PUPPETEER_SKIP_DOWNLOAD": "1",
"NPM_CONFIG_NODE_LINKER": "hoisted"
}
},
"crons": [
Expand Down