Next.js 15 Update (#26)

* Update Next.js and React versions in all packages
* Replace onRedirect function with next/link in BillingSessionStatus, since it's no longer cached by default
* Remove unused revalidatePath import in billing return page, since it's no longer cached by default
* Add Turbopack module aliases to improve development server speed
* Converted new Dynamic APIs to be Promise-based
* Adjust mobile layout
* Use ENABLE_REACT_COMPILER to enable the React Compiler in Next.js 15
* Report Errors using the new onRequestError hook
This commit is contained in:
Giancarlo Buomprisco
2024-10-22 08:39:21 +02:00
committed by GitHub
parent 93cb011260
commit 5b9285a575
109 changed files with 5143 additions and 5545 deletions

View File

@@ -11,6 +11,7 @@
},
"scripts": {
"postinstall": "manypkg fix",
"run-script": "pnpm dlx tsx --tsconfig ./tsconfig.json apps/web/script.ts",
"build": "turbo build --cache-dir=.turbo",
"clean": "git clean -xdf node_modules dist .next",
"clean:workspaces": "turbo clean",
@@ -32,19 +33,20 @@
},
"prettier": "@kit/prettier-config",
"dependencies": {
"@manypkg/cli": "^0.21.4",
"@turbo/gen": "^2.1.3",
"@manypkg/cli": "^0.22.0",
"@turbo/gen": "^2.2.3",
"cross-env": "^7.0.3",
"pnpm": "^9.11.0",
"pnpm": "^9.12.2",
"prettier": "^3.3.3",
"turbo": "2.1.3",
"typescript": "^5.6.2"
"turbo": "2.2.3",
"typescript": "^5.6.3"
},
"packageManager": "pnpm@9.1.4",
"pnpm": {
"overrides": {
"react": "18.3.1",
"react-dom": "18.3.1"
"react-is": "rc",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
}
},
"packageManager": "pnpm@9.1.4"
}
}