Skip to content

Commit

Permalink
chore: add all missing peer dependency statements (#4243)
Browse files Browse the repository at this point in the history
This allows for better deduping in client projects.
  • Loading branch information
quantizor committed Jan 8, 2024
1 parent 6fac99e commit 20eb8ef
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 4 deletions.
41 changes: 39 additions & 2 deletions packages/styled-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,45 @@
"tslib": "2.5.0"
},
"peerDependencies": {
"react": ">= 16.8.0",
"react-dom": ">= 16.8.0"
"@emotion/is-prop-valid": "^1.2.1",
"@emotion/unitless": ">= 0.8.0",
"@types/stylis": "^4.2.0",
"css-to-react-native": "^3.2.0",
"csstype": "^3.1.2",
"postcss": "^8.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
"shallowequal": "^1.1.0",
"tslib": "^2.5.0"
},
"peerDependenciesMeta": {
"@emotion/is-prop-valid": {
"optional": true
},
"@emotion/unitless": {
"optional": true
},
"@types/stylis": {
"optional": true
},
"css-to-react-native": {
"optional": true
},
"csstype": {
"optional": true
},
"postcss": {
"optional": true
},
"react-dom": {
"optional": true
},
"shallowequal": {
"optional": true
},
"tslib": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "7.21.0",
Expand Down
31 changes: 29 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10039,8 +10039,35 @@ __metadata:
tslib: "npm:2.5.0"
typescript: "npm:4.9.5"
peerDependencies:
react: ">= 16.8.0"
react-dom: ">= 16.8.0"
"@emotion/is-prop-valid": ^1.2.1
"@emotion/unitless": ">= 0.8.0"
"@types/stylis": ^4.2.0
css-to-react-native: ^3.2.0
csstype: ^3.1.2
postcss: ^8.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
shallowequal: ^1.1.0
tslib: ^2.5.0
peerDependenciesMeta:
"@emotion/is-prop-valid":
optional: true
"@emotion/unitless":
optional: true
"@types/stylis":
optional: true
css-to-react-native:
optional: true
csstype:
optional: true
postcss:
optional: true
react-dom:
optional: true
shallowequal:
optional: true
tslib:
optional: true
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 20eb8ef

Please sign in to comment.