Skip to content

Commit f69fc0a

Browse files
fix(app-next): add react to peerDeps as in create-next-app (#31)
1 parent 7d56859 commit f69fc0a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

packages/app-next/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
"dependencies": {
1111
"next": "^12.3.7"
1212
},
13+
"peerDependencies": {
14+
"react": "^17.0.2",
15+
"react-dom": "^17.0.2"
16+
},
1317
"repository": "https://github.com/keystonejs/keystone-5/tree/main/packages/app-next",
1418
"publishConfig": {
1519
"access": "public"

yarn.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5808,6 +5808,9 @@ __metadata:
58085808
resolution: "@open-keystone/app-next@workspace:packages/app-next"
58095809
dependencies:
58105810
next: ^12.3.7
5811+
peerDependencies:
5812+
react: ^17.0.2
5813+
react-dom: ^17.0.2
58115814
languageName: unknown
58125815
linkType: soft
58135816

0 commit comments

Comments
 (0)