Skip to content

Commit 7c9ffeb

Browse files
committed
feat(pages-starter)!: upgrade to next.js 15 and react 19
1 parent ef3f8f8 commit 7c9ffeb

File tree

4 files changed

+10
-33
lines changed

4 files changed

+10
-33
lines changed

starters/pages-starter/components/drupal/ArticleTeaser.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Image from "next/image"
2-
import { Link } from "@/components/navigation/Link"
32
import { absoluteUrl, formatDate } from "@/lib/utils"
43
import type { DrupalNode } from "next-drupal"
4+
import Link from "next/link"
55

66
interface ArticleTeaserProps {
77
node: DrupalNode

starters/pages-starter/components/navigation/HeaderNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Link } from "@/components/navigation/Link"
1+
import Link from "next/link"
22

33
export function HeaderNav() {
44
return (

starters/pages-starter/components/navigation/Link.tsx

Lines changed: 0 additions & 23 deletions
This file was deleted.

starters/pages-starter/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pages-starter",
3-
"version": "2.0.0-beta.0",
3+
"version": "2.0.0-beta.1",
44
"private": true,
55
"license": "MIT",
66
"scripts": {
@@ -13,19 +13,19 @@
1313
"format:check": "prettier --check ."
1414
},
1515
"dependencies": {
16-
"next": "^14.2.2",
17-
"next-drupal": "^2.0.0-beta.0",
18-
"react": "^18.2.0",
19-
"react-dom": "^18.2.0"
16+
"next": "^15.0.4",
17+
"next-drupal": "^2.0.0-beta.2",
18+
"react": "^19.0.0",
19+
"react-dom": "^19.0.0"
2020
},
2121
"devDependencies": {
2222
"@tailwindcss/typography": "^0.5.12",
2323
"@types/node": "^20.12.7",
24-
"@types/react": "^18.2.79",
25-
"@types/react-dom": "^18.2.25",
24+
"@types/react": "^19.0.0",
25+
"@types/react-dom": "^19.0.0",
2626
"autoprefixer": "^10.4.19",
2727
"eslint": "^8.57.0",
28-
"eslint-config-next": "^14.2.2",
28+
"eslint-config-next": "^15.0.4",
2929
"postcss": "^8.4.38",
3030
"prettier": "^3.2.5",
3131
"tailwindcss": "^3.4.3",

0 commit comments

Comments
 (0)