Skip to content

Commit

Permalink
build(deps): update to next.js 15 with codemod (#80)
Browse files Browse the repository at this point in the history
* build(deps): update to next.js 15 with codemod

* chore: reconfigure eslint

* fix: fix eslint issues

* fix: temporary fix for types/react

My old solution of pinning types/react to 18.2.19 isn't the best. Better to update to the new version, and use a patch of code to fix the broken parts.

For reference, see creativetimofficial/material-tailwind#528

* Revert "chore: reconfigure eslint"

This reverts commit 2aaf4c1.

* Revert "fix: fix eslint issues"

This reverts commit eab9d7f.

* Revert "fix: temporary fix for types/react"

This reverts commit d3ebe02.
  • Loading branch information
BobDotCom authored Nov 1, 2024
1 parent 4123ed3 commit 9510fd7
Show file tree
Hide file tree
Showing 2 changed files with 404 additions and 113 deletions.
18 changes: 11 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbo",
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand All @@ -15,16 +15,16 @@
"@vercel/analytics": "^1.3.2",
"@vercel/speed-insights": "^1.0.14",
"csv": "^6.3.10",
"next": "14.2.10",
"next": "15.0.2",
"nuqs": "^2.1.1",
"react": "^18",
"react-dom": "^18",
"react": "19.0.0-rc-02c0e824-20241028",
"react-dom": "19.0.0-rc-02c0e824-20241028",
"react-loading-skeleton": "^3.5.0"
},
"devDependencies": {
"@types/node": "^22",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react": "npm:[email protected]",
"@types/react-dom": "npm:[email protected]",
"autoprefixer": "^10.4.20",
"eslint": "^8",
"eslint-config-next": "15.0.2",
Expand All @@ -33,5 +33,9 @@
"tailwindcss": "^3.4.14",
"typescript": "^5"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"resolutions": {
"@types/react": "npm:[email protected]",
"@types/react-dom": "npm:[email protected]"
}
}
Loading

1 comment on commit 9510fd7

@vercel
Copy link

@vercel vercel bot commented on 9510fd7 Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.