fix(deps): dedupes react (#6064)

This commit is contained in:
Jacob Fletcher
2024-04-26 13:22:12 -04:00
committed by GitHub
parent 14134d637d
commit a4e8795666
10 changed files with 96 additions and 98 deletions

View File

@@ -57,7 +57,6 @@
"cross-env": "^7.0.3",
"nodemon": "3.0.3",
"payload": "workspace:*",
"react": "^18.0.0",
"ts-node": "10.9.1"
},
"peerDependencies": {

View File

@@ -45,8 +45,7 @@
"@payloadcms/eslint-config": "workspace:*",
"@types/express": "^4.17.9",
"@types/react": "18.2.74",
"payload": "workspace:*",
"react": "^18.0.0"
"payload": "workspace:*"
},
"peerDependencies": {
"payload": "workspace:*"

View File

@@ -48,8 +48,7 @@
"@payloadcms/eslint-config": "workspace:*",
"@types/express": "^4.17.9",
"@types/react": "18.2.74",
"payload": "workspace:*",
"react": "^18.0.0"
"payload": "workspace:*"
},
"peerDependencies": {
"payload": "workspace:*",

View File

@@ -49,14 +49,13 @@
"@payloadcms/translations": "workspace:*",
"@payloadcms/ui": "workspace:*",
"@types/react": "18.2.74",
"payload": "workspace:*",
"react": "^18.0.0"
"payload": "workspace:*"
},
"peerDependencies": {
"@payloadcms/translations": "workspace:*",
"@payloadcms/ui": "workspace:*",
"payload": "workspace:*",
"react": "^18.0.0"
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"publishConfig": {
"exports": {

View File

@@ -57,11 +57,11 @@
"@types/uuid": "^9.0.0",
"payload": "workspace:*",
"prettier": "^2.7.1",
"react": "^18.0.0",
"webpack": "^5.78.0"
},
"peerDependencies": {
"payload": "workspace:*"
"payload": "workspace:*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"publishConfig": {
"exports": {

View File

@@ -56,8 +56,6 @@
"json-schema": "^0.4.0",
"lexical": "0.13.1",
"lodash": "4.17.21",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-error-boundary": "4.0.12",
"ts-essentials": "7.0.3"
},
@@ -76,7 +74,9 @@
"@payloadcms/next": "workspace:*",
"@payloadcms/translations": "workspace:*",
"@payloadcms/ui": "workspace:*",
"payload": "workspace:*"
"payload": "workspace:*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"engines": {
"node": ">=18.20.2"

View File

@@ -34,7 +34,6 @@
"dependencies": {
"@faceless-ui/modal": "2.0.2",
"is-hotkey": "0.2.0",
"react": "18.2.0",
"slate": "0.91.4",
"slate-history": "0.86.0",
"slate-hyperscript": "0.81.3",
@@ -50,7 +49,8 @@
"peerDependencies": {
"@payloadcms/translations": "workspace:*",
"@payloadcms/ui": "workspace:*",
"payload": "workspace:*"
"payload": "workspace:*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"engines": {
"node": ">=18.20.2"

View File

@@ -139,7 +139,8 @@
"peerDependencies": {
"next": "^14.3.0-canary.7",
"payload": "workspace:*",
"react": "^18.0.0"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"engines": {
"node": ">=18.20.2"