Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
fix: update peer dependencies (decaporg#6886)
Browse files Browse the repository at this point in the history
`npm install` was not working because peer dependencies had `2.x.x` versions set, which don't exist for `decap-cms`, but they do for `netlify-cms`.

This sets all `decap-cms-*` peer dependencies to version ^3.0.0, which for sure exists for all packages.
  • Loading branch information
martinjagodic committed Oct 17, 2023
1 parent cf78995 commit 790d8d8
Show file tree
Hide file tree
Showing 25 changed files with 49 additions and 49 deletions.
6 changes: 3 additions & 3 deletions packages/decap-cms-backend-azure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"peerDependencies": {
"@emotion/core": "^10.0.9",
"@emotion/styled": "^10.0.9",
"decap-cms-lib-auth": "^2.3.0",
"decap-cms-lib-util": "^2.12.3",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-lib-auth": "^3.0.0",
"decap-cms-lib-util": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/decap-cms-backend-bitbucket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-lib-auth": "^2.3.0",
"decap-cms-lib-util": "^2.12.3",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-lib-auth": "^3.0.0",
"decap-cms-lib-util": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
Expand Down
12 changes: 6 additions & 6 deletions packages/decap-cms-backend-git-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-backend-bitbucket": "^2.12.8",
"decap-cms-backend-github": "^2.11.9",
"decap-cms-backend-gitlab": "^2.9.9",
"decap-cms-lib-auth": "^2.3.0",
"decap-cms-lib-util": "^2.12.3",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-backend-bitbucket": "^3.0.0",
"decap-cms-backend-github": "^3.0.0",
"decap-cms-backend-gitlab": "^3.0.0",
"decap-cms-lib-auth": "^3.0.0",
"decap-cms-lib-util": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/decap-cms-backend-github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-lib-auth": "^2.3.0",
"decap-cms-lib-util": "^2.12.3",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-lib-auth": "^3.0.0",
"decap-cms-lib-util": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/decap-cms-backend-gitlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-lib-auth": "^2.3.0",
"decap-cms-lib-util": "^2.12.3",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-lib-auth": "^3.0.0",
"decap-cms-lib-util": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/decap-cms-backend-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-lib-util": "^2.12.3",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-lib-util": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/decap-cms-backend-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-lib-util": "^2.12.3",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-lib-util": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/decap-cms-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-editor-component-image": "^2.6.7",
"decap-cms-lib-auth": "^2.3.0",
"decap-cms-lib-util": "^2.12.3",
"decap-cms-lib-widgets": "^1.6.1",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-editor-component-image": "^3.0.0",
"decap-cms-lib-auth": "^3.0.0",
"decap-cms-lib-util": "^3.0.0",
"decap-cms-lib-widgets": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"moment": "^2.24.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/decap-cms-media-library-cloudinary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
"decap-cms-lib-util": "^2.12.3"
"decap-cms-lib-util": "^3.0.0"
}
}
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 @@ -21,7 +21,7 @@
},
"peerDependencies": {
"@emotion/core": "^10.0.35",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0",
Expand Down
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 @@ -26,7 +26,7 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"codemirror": "^5.46.0",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"react": "^16.8.4 || ^17.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 @@ -26,7 +26,7 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-ui-default": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-date/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-ui-default": "^3.0.0",
"moment": "^2.24.0",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0",
Expand Down
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 @@ -23,7 +23,7 @@
},
"peerDependencies": {
"@emotion/core": "^10.0.35",
"decap-cms-widget-date": "^2.5.7",
"decap-cms-widget-date": "^3.0.0",
"react": "^16.8.4 || ^17.0.0"
},
"dependencies": {
Expand Down
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 @@ -29,7 +29,7 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-ui-default": "^3.0.0",
"immutable": "^3.7.6",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/decap-cms-widget-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-widget-file": "^2.9.2",
"decap-cms-ui-default": "^3.0.0",
"decap-cms-widget-file": "^3.0.0",
"immutable": "^3.7.6",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/decap-cms-widget-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-lib-widgets": "^1.6.1",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-widget-object": "^2.6.2",
"decap-cms-lib-widgets": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"decap-cms-widget-object": "^3.0.0",
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
Expand Down
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 @@ -22,7 +22,7 @@
},
"peerDependencies": {
"@emotion/core": "^10.0.35",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-ui-default": "^3.0.0",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/decap-cms-widget-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-ui-default": "^3.0.0",
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
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 @@ -20,7 +20,7 @@
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
"decap-cms-ui-default": "^2.12.1",
"decap-cms-ui-default": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0"
}
Expand Down
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 @@ -24,7 +24,7 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-ui-default": "^3.0.0",
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/decap-cms-widget-relation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"peerDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"decap-cms-lib-widgets": "^1.6.1",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-lib-widgets": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"immutable": "^3.7.6",
"lodash": "^4.17.11",
"prop-types": "^15.7.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/decap-cms-widget-select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
"decap-cms-lib-widgets": "^1.6.1",
"decap-cms-ui-default": "^2.12.1",
"decap-cms-lib-widgets": "^3.0.0",
"decap-cms-ui-default": "^3.0.0",
"immutable": "^3.7.6",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0",
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 @@ -20,7 +20,7 @@
"build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward"
},
"peerDependencies": {
"decap-cms-ui-default": "^2.12.1",
"decap-cms-ui-default": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0"
}
Expand Down
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 @@ -26,7 +26,7 @@
"react-textarea-autosize": "^8.0.0"
},
"peerDependencies": {
"decap-cms-ui-default": "^2.12.1",
"decap-cms-ui-default": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^16.8.4 || ^17.0.0"
}
Expand Down

0 comments on commit 790d8d8

Please sign in to comment.