Skip to content

Commit

Permalink
feat: Use >= for peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbrowne committed Nov 20, 2020
1 parent e92494a commit 6ec2826
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions packages/cozy-authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
}
},
"peerDependencies": {
"cozy-client": "^13.15.1",
"cozy-ui": "^35.39.0",
"cozy-client": ">=13.15.1",
"cozy-ui": ">=35.39.0",
"react": ">=15",
"react-router": "3"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/cozy-doctypes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"mockdate": "2.0.5"
},
"peerDependencies": {
"@babel/runtime": "7.12.5",
"cozy-client": "^13.15.1",
"cozy-stack-client": "^13.15.1"
"@babel/runtime": ">=7.12.5",
"cozy-client": ">=13.15.1",
"cozy-stack-client": ">=13.15.1"
},
"scripts": {
"lint": "cd ../../; yarn lint packages/cozy-doctypes",
Expand Down
14 changes: 7 additions & 7 deletions packages/cozy-harvest-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
"react-dom": "^16.12.0"
},
"peerDependencies": {
"@babel/runtime": "7.12.5",
"cozy-client": "^14.4.0",
"cozy-device-helper": "^1.10.2",
"cozy-flags": "^2.3.5",
"cozy-keys-lib": "^3.1.0",
"cozy-realtime": "^3.10.5",
"cozy-ui": "^40.6.0"
"@babel/runtime": ">=7.12.5",
"cozy-client": ">=14.4.0",
"cozy-device-helper": ">=1.10.2",
"cozy-flags": ">=2.3.5",
"cozy-keys-lib": ">=3.1.0",
"cozy-realtime": ">=3.10.5",
"cozy-ui": ">=40.6.0"
},
"sideEffects": false
}
2 changes: 1 addition & 1 deletion packages/cozy-interapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"jest": "26.2.2"
},
"peerDependencies": {
"@babel/runtime": "7.12.5"
"@babel/runtime": ">=7.12.5"
}
}
12 changes: 6 additions & 6 deletions packages/cozy-procedures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
"react": "^16.12.0"
},
"peerDependencies": {
"@babel/runtime": "7.12.5",
"@material-ui/core": "3.9.4",
"@material-ui/lab": "^3.0.0-alpha.30",
"cozy-client": "^13.15.1",
"cozy-doctypes": "^1.49.3",
"cozy-ui": "^35.39.0"
"@babel/runtime": ">=7.12.5",
"@material-ui/core": ">=3.9.4",
"@material-ui/lab": ">=3.0.0-alpha.30",
"cozy-client": ">=13.15.1",
"cozy-doctypes": ">=1.49.3",
"cozy-ui": ">=35.39.0"
},
"jest": {
"setupFiles": [
Expand Down
2 changes: 1 addition & 1 deletion packages/cozy-realtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"watch": "yarn build --watch"
},
"peerDependencies": {
"cozy-client": "^13.15.1"
"cozy-client": ">=13.15.1"
},
"devDependencies": {
"@babel/cli": "7.12.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/cozy-scanner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"stylus": "^0.54.7"
},
"peerDependencies": {
"@babel/runtime": "7.12.5",
"cozy-client": "^13.15.1",
"cozy-doctypes": "1.67.0",
"cozy-ui": "^40"
"@babel/runtime": ">=7.12.5",
"cozy-client": ">=13.15.1",
"cozy-doctypes": ">=1.67.0",
"cozy-ui": ">=40"
},
"jest": {
"transformIgnorePatterns": [
Expand Down
2 changes: 1 addition & 1 deletion packages/cozy-sharing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"peerDependencies": {
"@material-ui/core": "3",
"@material-ui/styles": "4.10.0",
"@material-ui/styles": "^4.10.0",
"cozy-client": "^16",
"cozy-ui": "^40.6.0",
"prop-types": "^15.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/playgrounds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"parcel": "^1.12.3"
},
"peerDependencies": {
"@babel/runtime": "7.12.5"
"@babel/runtime": ">=7.12.5"
}
}

0 comments on commit 6ec2826

Please sign in to comment.