1
mirror of https://github.com/jakejarvis/domainstack.io.git synced 2025-12-02 19:33:48 -05:00

Update dependency next to v16 (#85)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Jarvis <jake@jarv.is>
This commit is contained in:
renovate[bot]
2025-10-29 20:47:45 -04:00
committed by GitHub
parent 7d637f6560
commit b857bc3555
8 changed files with 818 additions and 821 deletions

View File

@@ -11,8 +11,6 @@ import { trpc } from "@/trpc/server";
import "country-flag-icons/3x2/flags.css"; import "country-flag-icons/3x2/flags.css";
import "mapbox-gl/dist/mapbox-gl.css"; import "mapbox-gl/dist/mapbox-gl.css";
export const experimental_ppr = true;
export async function generateMetadata({ export async function generateMetadata({
params, params,
}: { }: {

View File

@@ -3,22 +3,16 @@ import withVercelToolbar from "@vercel/toolbar/plugins/next";
import type { NextConfig } from "next"; import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
reactCompiler: true,
typescript: { typescript: {
ignoreBuildErrors: true, ignoreBuildErrors: true,
}, },
eslint: {
ignoreDuringBuilds: true,
},
serverExternalPackages: ["@sparticuz/chromium", "puppeteer-core"],
reactCompiler: true,
images: { images: {
unoptimized: true, unoptimized: true,
}, },
experimental: { serverExternalPackages: ["@sparticuz/chromium", "puppeteer-core"],
ppr: "incremental", outputFileTracingIncludes: {
staleTimes: { "/api/**": ["node_modules/@sparticuz/chromium/bin/**"],
dynamic: 0, // disable client-side router cache for dynamic pages
},
}, },
rewrites: async () => { rewrites: async () => {
return [ return [

View File

@@ -12,7 +12,7 @@
}, },
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "next dev --turbo", "dev": "next dev",
"docker:up": "scripts/start-dev-infra.sh", "docker:up": "scripts/start-dev-infra.sh",
"docker:down": "scripts/stop-dev-infra.sh", "docker:down": "scripts/stop-dev-infra.sh",
"build": "next build", "build": "next build",
@@ -70,7 +70,7 @@
"mapbox-gl": "^3.16.0", "mapbox-gl": "^3.16.0",
"motion": "^12.23.24", "motion": "^12.23.24",
"ms": "3.0.0-canary.202508261828", "ms": "3.0.0-canary.202508261828",
"next": "15.6.0-canary.39", "next": "16.0.1",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"postgres": "^3.4.7", "postgres": "^3.4.7",
"posthog-js": "^1.282.0", "posthog-js": "^1.282.0",
@@ -78,8 +78,8 @@
"puppeteer-core": "24.22.3", "puppeteer-core": "24.22.3",
"radix-ui": "^1.4.3", "radix-ui": "^1.4.3",
"rdapper": "^0.10.4", "rdapper": "^0.10.4",
"react": "19.1.1", "react": "19.2.0",
"react-dom": "19.1.1", "react-dom": "19.2.0",
"react-map-gl": "^8.1.0", "react-map-gl": "^8.1.0",
"server-only": "0.0.1", "server-only": "0.0.1",
"sharp": "^0.34.4", "sharp": "^0.34.4",
@@ -100,8 +100,8 @@
"@testing-library/react": "16.3.0", "@testing-library/react": "16.3.0",
"@testing-library/user-event": "14.6.1", "@testing-library/user-event": "14.6.1",
"@types/node": "24.9.2", "@types/node": "24.9.2",
"@types/react": "19.1.16", "@types/react": "19.2.2",
"@types/react-dom": "19.1.9", "@types/react-dom": "19.2.2",
"@types/ws": "^8.18.1", "@types/ws": "^8.18.1",
"@vitejs/plugin-react": "^5.1.0", "@vitejs/plugin-react": "^5.1.0",
"@vitest/coverage-v8": "^4.0.5", "@vitest/coverage-v8": "^4.0.5",

1596
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,7 +7,7 @@ import { toRegistrableDomain } from "@/lib/domain-server";
// Then captures everything up to the next slash as the authority. // Then captures everything up to the next slash as the authority.
const HTTP_PREFIX_CAPTURE_AUTHORITY = /^https?:[:/]+([^/]+)/i; const HTTP_PREFIX_CAPTURE_AUTHORITY = /^https?:[:/]+([^/]+)/i;
export function middleware(request: NextRequest) { export function proxy(request: NextRequest) {
const path = request.nextUrl.pathname; const path = request.nextUrl.pathname;
// Fast path: only act on non-root paths // Fast path: only act on non-root paths

View File

@@ -9,9 +9,7 @@
"packageRules": [ "packageRules": [
{ {
"matchPackageNames": ["next", "@next/*"], "matchPackageNames": ["next", "@next/*"],
"matchDepTypes": ["dependencies", "devDependencies"],
"groupName": "next.js", "groupName": "next.js",
"followTag": "canary",
"rangeStrategy": "pin" "rangeStrategy": "pin"
}, },
{ {

View File

@@ -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"] "exclude": ["node_modules"]
} }

View File

@@ -3,7 +3,8 @@
"build": { "build": {
"env": { "env": {
"ENABLE_EXPERIMENTAL_COREPACK": "1", "ENABLE_EXPERIMENTAL_COREPACK": "1",
"PUPPETEER_SKIP_DOWNLOAD": "1" "PUPPETEER_SKIP_DOWNLOAD": "1",
"NPM_CONFIG_NODE_LINKER": "hoisted"
} }
}, },
"crons": [ "crons": [