Skip to content

Commit

Permalink
chore: update react peer dependency to allow 17
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjagodic committed Aug 9, 2024
1 parent 98c6366 commit 5b1d600
Show file tree
Hide file tree
Showing 29 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions packages/decap-cms-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"uuid": "^8.3.2"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "17.x || 18.x",
"react-dom": "17.x || 18.x"
},
"incrementToForceBump": 2
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-backend-azure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-backend-bitbucket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-backend-git-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
},
"devDependencies": {
"@types/minimatch": "^5.1.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/decap-cms-backend-gitea/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-backend-github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-backend-gitlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-backend-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"decap-cms-lib-util": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-backend-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react": "17.x || 18.x",
"uuid": "^8.3.2"
}
}
4 changes: 2 additions & 2 deletions packages/decap-cms-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "17.x || 18.x",
"react-dom": "17.x || 18.x",
"react-immutable-proptypes": "^2.1.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/decap-cms-default-exports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"uuid": "^8.3.2"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "17.x || 18.x",
"react-dom": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-editor-component-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"cross-env": "^7.0.0"
},
"peerDependencies": {
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-ui-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"@emotion/styled": "^11.11.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-boolean/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react": "17.x || 18.x",
"react-immutable-proptypes": "^2.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"codemirror": "^5.46.0",
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"react": "^18.2.0"
"react": "17.x || 18.x"
},
"dependencies": {
"react-codemirror2": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-colorstring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"@emotion/styled": "^11.11.0",
"decap-cms-ui-default": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-datetime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
},
"peerDependencies": {
"@emotion/react": "^11.11.1",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"decap-cms-ui-default": "^3.0.0",
"immutable": "^3.7.6",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react": "17.x || 18.x",
"react-immutable-proptypes": "^2.1.0",
"uuid": "^8.3.2"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"decap-cms-widget-file": "^3.0.0",
"immutable": "^3.7.6",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react": "17.x || 18.x",
"react-immutable-proptypes": "^2.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react": "17.x || 18.x",
"react-immutable-proptypes": "^2.1.0"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/decap-cms-widget-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "17.x || 18.x",
"react-dom": "17.x || 18.x",
"react-immutable-proptypes": "^2.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-number/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"peerDependencies": {
"decap-cms-ui-default": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-object/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react": "17.x || 18.x",
"react-immutable-proptypes": "^2.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-relation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react": "17.x || 18.x",
"uuid": "^8.3.2"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"decap-cms-ui-default": "^3.0.0",
"immutable": "^3.7.6",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react": "17.x || 18.x",
"react-immutable-proptypes": "^2.1.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-string/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"peerDependencies": {
"decap-cms-ui-default": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"peerDependencies": {
"decap-cms-ui-default": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^18.2.0"
"react": "17.x || 18.x"
}
}

0 comments on commit 5b1d600

Please sign in to comment.