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:
committed by
GitHub
parent
93cb011260
commit
5b9285a575
@@ -13,22 +13,21 @@
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@next/eslint-plugin-next": "^14.2.13",
|
||||
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
||||
"@next/eslint-plugin-next": "15.0.0",
|
||||
"@types/eslint": "^8.56.10",
|
||||
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
||||
"@typescript-eslint/parser": "^8.8.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.11.0",
|
||||
"@typescript-eslint/parser": "^8.11.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-config-turbo": "^2.1.3",
|
||||
"eslint-plugin-import": "^2.30.0",
|
||||
"eslint-plugin-react": "7.36.1",
|
||||
"eslint-plugin-react-hooks": "^4.6.2"
|
||||
"eslint-config-turbo": "^2.2.3",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-react": "7.37.1",
|
||||
"eslint-plugin-react-hooks": "^5.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kit/prettier-config": "workspace:^",
|
||||
"@kit/tsconfig": "workspace:^",
|
||||
"eslint": "^8.57.0",
|
||||
"typescript": "^5.6.2"
|
||||
"typescript": "^5.6.3"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
|
||||
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-tailwindcss": "^0.6.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@kit/tsconfig": "workspace:^",
|
||||
"typescript": "^5.6.2"
|
||||
"typescript": "^5.6.3"
|
||||
},
|
||||
"prettier": "./index.mjs"
|
||||
}
|
||||
|
||||
@@ -5,10 +5,14 @@ import { fontFamily } from 'tailwindcss/defaultTheme';
|
||||
export default {
|
||||
darkMode: ['class'],
|
||||
content: [
|
||||
'../../packages/**/src/**/*.tsx',
|
||||
'../../apps/**/*.tsx',
|
||||
'!../../packages/**/node_modules',
|
||||
'!../../apps/**/node_modules',
|
||||
'../../packages/ui/src/**/*.tsx',
|
||||
'../../packages/billing/gateway/src/**/*.tsx',
|
||||
'../../packages/features/auth/src/**/*.tsx',
|
||||
'../../packages/features/notifications/src/**/*.tsx',
|
||||
'../../packages/features/admin/src/**/*.tsx',
|
||||
'../../packages/features/accounts/src/**/*.tsx',
|
||||
'../../packages/features/team-accounts/src/**/*.tsx',
|
||||
'!**/node_modules',
|
||||
],
|
||||
theme: {
|
||||
container: {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"dependencies": {
|
||||
"autoprefixer": "^10.4.20",
|
||||
"postcss": "8.4.47",
|
||||
"tailwindcss": "3.4.13",
|
||||
"tailwindcss": "3.4.14",
|
||||
"tailwindcss-animate": "^1.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -25,7 +25,7 @@
|
||||
"@kit/tsconfig": "workspace:^",
|
||||
"eslint": "^8.57.0",
|
||||
"prettier": "^3.3.3",
|
||||
"typescript": "^5.6.2"
|
||||
"typescript": "^5.6.3"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
|
||||
Reference in New Issue
Block a user