Skip to content

Commit

Permalink
refactor(examples): update app-router to Next.js v15
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack committed Nov 19, 2024
1 parent 65802fc commit b325e48
Show file tree
Hide file tree
Showing 4 changed files with 956 additions and 153 deletions.
2 changes: 1 addition & 1 deletion examples/app-router/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
8 changes: 4 additions & 4 deletions examples/app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
},
"dependencies": {
"@primer/react": "37.5.0",
"next": "^14.2.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"next": "15.0.3",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"styled-components": "5.x",
"typescript": "^5.6.3"
},
"devDependencies": {
"@next/eslint-plugin-next": "14.1.0",
"@next/eslint-plugin-next": "15.0.3",
"rimraf": "^5.0.5"
}
}
3 changes: 2 additions & 1 deletion examples/app-router/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
{
"name": "next"
}
]
],
"target": "ES2017"
},
"include": [
"next-env.d.ts",
Expand Down
Loading

0 comments on commit b325e48

Please sign in to comment.