-
Notifications
You must be signed in to change notification settings - Fork 203
feat(next-drupal, starters-*) - Add Next 15 support #824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
57a66c4
docs(next-drupal)!: more detailed instruction for local dev & contrib…
yobottehg 1793ceb
feat(next-drupal)!: upgrade to next.js 15 and react 19
yobottehg 8f52387
feat(next-drupal)!: upgrade to next.js 15 and react 19
yobottehg ef3f8f8
feat(basic-starter)!: upgrade to next.js 15 and react 19
yobottehg 7c9ffeb
feat(pages-starter)!: upgrade to next.js 15 and react 19
yobottehg 08ed20b
feat(graphql-starter)!: upgrade to next.js 15 and react 19
yobottehg fea2caf
fix(next-drupal)!: upgrade tests to new async request objects
yobottehg 4c30157
fix(next-drupal)!: upgrade tests to new async request objects
yobottehg c437af0
fix(next-drupal)!: upgrade tests to new async request objects
yobottehg cd4085a
fix(next-drupal)!: upgrade tests to new async request objects
yobottehg 8802691
fix(next-drupal)!: upgrade tests to new async request objects
yobottehg e85ffb1
fix(next-drupal)!: upgrade tests to new async request objects
yobottehg 60257e5
fix(next-drupal)!: upgrade tests to new async request objects
yobottehg 87d38a5
fix(next-drupal)!: upgrade tests to new async request objects
yobottehg 2f40d7e
fix(next-drupal)!: upgrade tests to new async request objects
yobottehg 62fad2d
fix(next-drupal)!: replace bogus draftModeStores
yobottehg ff9c22c
revert link related changes, PR reviews for draft and cookie store, a…
yobottehg 94ca5ba
revert bogus change
yobottehg e48f97c
revert bogus change
yobottehg 3e0fb3d
fix(next-drupal): make tests pass by re-assigning draftMode variable
yobottehg 8168a73
fix(next-drupal): use link component again, draft mode convention
yobottehg 07a2b7b
fix(next-drupal): sorting
yobottehg 36d157f
Merge branch 'main' into next_15_support
yobottehg 2823757
fix(next-drupal, *-starter, www): disallow next.js versions with secu…
yobottehg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| DRUPAL_BASE_URL=http://localhost | ||
| DRUPAL_USERNAME=drupal | ||
| DRUPAL_PASSWORD=drupal | ||
| DRUPAL_CLIENT_ID=next-drupal | ||
| DRUPAL_CLIENT_SECRET=next-drupal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| { | ||
| "extends": "../../tsconfig.json", | ||
| "include": ["src/**/*.ts"] | ||
| "include": ["src/**/*.ts", "node_modules/next/types/*.d.ts"] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| import { disableDraftMode } from "next-drupal/draft" | ||
| import type { NextRequest } from "next/server" | ||
|
|
||
| export async function GET(request: NextRequest) { | ||
| return disableDraftMode() | ||
| export async function GET(_: NextRequest) { | ||
| return await disableDraftMode() | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.