Skip to content

Commit 16c2e7c

Browse files
committed
Next 15 upgrades
1 parent b58a377 commit 16c2e7c

File tree

13 files changed

+1385
-1432
lines changed

13 files changed

+1385
-1432
lines changed

examples/nextjs-app/.eslintrc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"root": true,
3-
"extends": "next/core-web-vitals"
2+
"extends": ["next/core-web-vitals", "next/typescript"]
43
}

examples/nextjs-app/app/todos/[id]/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ import {
1414
} from '@ui5/webcomponents-react';
1515
import MessageStripDesign from '@ui5/webcomponents/dist/types/MessageStripDesign.js';
1616

17-
export default async function TodoDetails({ params }: { params: { id: string } }) {
17+
export default async function TodoDetails(props: { params: Promise<{ id: string }> }) {
18+
const params = await props.params;
1819
// this is a very simple mock which mimics data fetching
1920
const todo = await new Promise<Todo | undefined>((resolve) => {
2021
setTimeout(() => {

examples/nextjs-app/package-lock.json

Lines changed: 336 additions & 351 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/nextjs-app/package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,17 @@
1313
"@ui5/webcomponents-fiori": "2.4.0",
1414
"@ui5/webcomponents-react": "2.4.0",
1515
"@types/node": "22.9.0",
16-
"@types/react": "18.3.12",
17-
"@types/react-dom": "18.3.1",
18-
"eslint": "8.57.1",
16+
"@types/react": "npm:types-react@rc",
17+
"@types/react-dom": "npm:types-react-dom@rc",
18+
"eslint": "9.15.0",
1919
"eslint-config-next": "15.0.3",
2020
"next": "15.0.3",
2121
"react": "18.3.1",
2222
"react-dom": "18.3.1",
2323
"typescript": "5.6.3"
24+
},
25+
"overrides": {
26+
"@types/react": "npm:types-react@rc",
27+
"@types/react-dom": "npm:types-react-dom@rc"
2428
}
2529
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"root": true,
3-
"extends": "next/core-web-vitals"
2+
"extends": ["next/core-web-vitals", "next/typescript"]
43
}

0 commit comments

Comments
 (0)