Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/adapters/nextjs/package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,15 +9,15 @@
},
"peerDependencies": {
"@objectstack/runtime": "workspace:*",
"next": "^14.0.0",
"next": "^15.0.8",
"react": "^19.2.4",
"react-dom": "^18.3.1"
"react-dom": "^19.2.4"
Comment on lines +12 to +14

CopilotAIFeb 9, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@objectstack/nextjs doesn’t import react/react-dom directly (it only uses next/server). Pinning react/react-dom to ^19.2.4 as peer deps unnecessarily blocks consumers on React 18, which Next 15 still supports. Consider removing these peer deps or widening them to match Next’s supported peer range (and keep them only in devDependencies for local builds).

Copilot uses AI. Check for mistakes.
},
"devDependencies": {
"@objectstack/runtime": "workspace:*",
"next": "^14.0.0",
"next": "^15.0.8",
"react": "^19.2.4",
"react-dom": "^18.3.1",
"react-dom": "^19.2.4",
"typescript": "^5.0.0"
Comment on lines +20 to 21

CopilotAIFeb 9, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR changes published package peer/dev dependency requirements for @objectstack/nextjs (Next/React versions). If this is intended to ship to consumers, add a Changeset so the version/changelog get bumped appropriately (or apply the repo’s skip-changeset process if you intentionally don’t want a release).

Suggested change
"react-dom": "^19.2.4",
"typescript": "^5.0.0"
"react-dom": "^19.2.4"

Copilot uses AI. Check for mistakes.
}
}
Loading
Loading