You've already forked domainstack.io
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:
@@ -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,
|
||||
}: {
|
||||
|
||||
@@ -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 [
|
||||
|
||||
12
package.json
12
package.json
@@ -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",
|
||||
@@ -70,7 +70,7 @@
|
||||
"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.282.0",
|
||||
@@ -78,8 +78,8 @@
|
||||
"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",
|
||||
@@ -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.5",
|
||||
|
||||
1596
pnpm-lock.yaml
generated
1596
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
@@ -9,9 +9,7 @@
|
||||
"packageRules": [
|
||||
{
|
||||
"matchPackageNames": ["next", "@next/*"],
|
||||
"matchDepTypes": ["dependencies", "devDependencies"],
|
||||
"groupName": "next.js",
|
||||
"followTag": "canary",
|
||||
"rangeStrategy": "pin"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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,7 +3,8 @@
|
||||
"build": {
|
||||
"env": {
|
||||
"ENABLE_EXPERIMENTAL_COREPACK": "1",
|
||||
"PUPPETEER_SKIP_DOWNLOAD": "1"
|
||||
"PUPPETEER_SKIP_DOWNLOAD": "1",
|
||||
"NPM_CONFIG_NODE_LINKER": "hoisted"
|
||||
}
|
||||
},
|
||||
"crons": [
|
||||
|
||||
Reference in New Issue
Block a user