Skip to content

Commit

Permalink
[core] Fix missing type peer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Aug 28, 2019
1 parent 400857f commit 320e0da
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/material-ui-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,15 @@
},
"peerDependencies": {
"@material-ui/core": "^4.0.1",
"@types/react": "^16.8.6",
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"dependencies": {
"@babel/runtime": "^7.4.4",
"@material-ui/utils": "^4.1.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/material-ui-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,15 @@
},
"peerDependencies": {
"@material-ui/core": "^4.1.2",
"@types/react": "^16.8.6",
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"dependencies": {
"@babel/runtime": "^7.4.4"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/material-ui-lab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,15 @@
},
"peerDependencies": {
"@material-ui/core": "^4.3.0",
"@types/react": "^16.8.6",
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"dependencies": {
"@babel/runtime": "^7.4.4",
"@material-ui/utils": "^4.1.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/material-ui-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,15 @@
"typescript": "tslint -p tsconfig.json \"{src,test}/**/*.{ts,tsx}\""
},
"peerDependencies": {
"@types/react": "^16.8.6",
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"dependencies": {
"@babel/runtime": "^7.4.4",
"@emotion/hash": "^0.7.1",
Expand Down
6 changes: 6 additions & 0 deletions packages/material-ui-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,15 @@
"typescript": "tslint -p tsconfig.json \"src/**/*.{ts,tsx}\""
},
"peerDependencies": {
"@types/react": "^16.8.6",
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"dependencies": {
"@babel/runtime": "^7.4.4",
"deepmerge": "^4.0.0",
Expand Down
7 changes: 6 additions & 1 deletion packages/material-ui-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@
"publishConfig": {
"access": "public"
},
"dependencies": {
"peerDependencies": {
"@types/react": "*"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
}
6 changes: 6 additions & 0 deletions packages/material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,15 @@
"typescript": "tslint -p tsconfig.json \"{src,test}/**/*.{ts,tsx}\" && tsc -p tsconfig.test.json"
},
"peerDependencies": {
"@types/react": "^16.8.6",
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"dependencies": {
"@babel/runtime": "^7.4.4",
"@material-ui/styles": "^4.3.3",
Expand Down

0 comments on commit 320e0da

Please sign in to comment.