Skip to content

Commit 3a01005

Browse files
docs(templates): update Next.js templates to React 19 (#6733)
1 parent e84c089 commit 3a01005

File tree

4 files changed

+93
-117
lines changed

4 files changed

+93
-117
lines changed

templates/nextjs-app/package-lock.json

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

templates/nextjs-app/package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@
1313
"@ui5/webcomponents-fiori": "2.5.0",
1414
"@ui5/webcomponents-react": "2.5.0",
1515
"@types/node": "22.10.1",
16-
"@types/react": "npm:types-react@rc",
17-
"@types/react-dom": "npm:types-react-dom@rc",
16+
"@types/react": "19.0.1",
17+
"@types/react-dom": "19.0.2",
1818
"eslint": "9.16.0",
1919
"eslint-config-next": "15.0.4",
2020
"next": "15.0.4",
21-
"react": "18.3.1",
22-
"react-dom": "18.3.1",
21+
"react": "19.0.0",
22+
"react-dom": "19.0.0",
2323
"typescript": "5.7.2"
24-
},
25-
"@types/react": "npm:types-react@rc",
26-
"@types/react-dom": "npm:types-react-dom@rc"
24+
}
2725
}

templates/nextjs-pages/package-lock.json

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

templates/nextjs-pages/package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,13 @@
1313
"@ui5/webcomponents-fiori": "2.5.0",
1414
"@ui5/webcomponents-react": "2.5.0",
1515
"@types/node": "22.10.1",
16-
"@types/react": "npm:types-react@rc",
17-
"@types/react-dom": "npm:types-react-dom@rc",
16+
"@types/react": "19.0.1",
17+
"@types/react-dom": "19.0.2",
1818
"eslint": "9.16.0",
1919
"eslint-config-next": "15.0.4",
2020
"next": "15.0.4",
21-
"react": "18.3.1",
22-
"react-dom": "18.3.1",
21+
"react": "19.0.0",
22+
"react-dom": "19.0.0",
2323
"typescript": "5.7.2"
24-
},
25-
"overrides": {
26-
"@types/react": "npm:types-react@rc",
27-
"@types/react-dom": "npm:types-react-dom@rc"
2824
}
2925
}

0 commit comments

Comments
 (0)