Skip to content

Commit

Permalink
[styled] move @emotion from peer dependency to dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
levigunz committed Nov 5, 2020
1 parent e53a954 commit b8769a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
12 changes: 1 addition & 11 deletions packages/material-ui-styled-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,10 @@
"typescript": "tslint -p tsconfig.json \"{src,test}/**/*.{spec,d}.{ts,tsx}\" && tsc -p tsconfig.json"
},
"dependencies": {
"@babel/runtime": "^7.4.4"
},
"peerDependencies": {
"@babel/runtime": "^7.4.4",
"@emotion/core": "^10.0.27",
"@emotion/styled": "^10.0.27"
},
"peerDependenciesMeta": {
"@emotion/core": {
"optional": true
},
"@emotion/styled": {
"optional": true
}
},
"sideEffects": false,
"publishConfig": {
"access": "public"
Expand Down
8 changes: 0 additions & 8 deletions packages/material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,13 @@
"typescript": "tslint -p tsconfig.json \"{src,test}/**/*.{spec,d}.{ts,tsx}\" && tsc -p tsconfig.json && tsc -p tsconfig.build.json"
},
"peerDependencies": {
"@emotion/core": "^10.0.27",
"@emotion/styled": "^10.0.27",
"@types/react": "^16.8.6 || ^17.0.0",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@emotion/core": {
"optional": true
},
"@emotion/styled": {
"optional": true
}
},
"dependencies": {
Expand Down

0 comments on commit b8769a1

Please sign in to comment.