Skip to content

Commit

Permalink
fix(plugins): remove React from peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hoobdeebla committed Dec 23, 2020
1 parent 35b1399 commit cd68be6
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 18 deletions.
4 changes: 1 addition & 3 deletions packages/gatsby-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
"cross-env": "^7.0.3"
},
"peerDependencies": {
"@reach/router": "^1.3.3",
"react": "^16.4.2",
"react-dom": "^16.4.2"
"@reach/router": "^1.3.4"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link#readme",
"keywords": [
Expand Down
4 changes: 1 addition & 3 deletions packages/gatsby-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
"license": "MIT",
"main": "index.js",
"peerDependencies": {
"gatsby": "^2.0.0",
"react": "^16.4.2",
"react-dom": "^16.4.2"
"gatsby": "^2.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 1 addition & 3 deletions packages/gatsby-plugin-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@
"peerDependencies": {
"gatsby": ">=2",
"gatsby-image": "*",
"gatsby-plugin-sharp": "*",
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
"gatsby-plugin-sharp": "*"
},
"dependencies": {
"@babel/parser": "^7.12.5",
Expand Down
4 changes: 1 addition & 3 deletions packages/gatsby-plugin-netlify-cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^2.0.101",
"netlify-cms-app": "^2.9.0",
"react": "^16.8.4",
"react-dom": "^16.8.4"
"netlify-cms-app": "^2.9.0"
},
"repository": {
"type": "git",
Expand Down
1 change: 0 additions & 1 deletion packages/gatsby-plugin-styletron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^2.0.0",
"react": "^16.4.2",
"styletron-engine-atomic": "^1.4.6",
"styletron-react": "^5.2.7"
},
Expand Down
2 changes: 0 additions & 2 deletions packages/gatsby-plugin-typography/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^2.0.0",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-typography": "^0.16.1 || ^1.0.0-alpha.0",
"typography": "^0.16.0 || ^1.0.0-alpha.0"
},
Expand Down
4 changes: 1 addition & 3 deletions packages/gatsby-react-router-scroll/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
"license": "MIT",
"main": "index.js",
"peerDependencies": {
"@reach/router": "^1.0.0",
"react": "^16.4.2",
"react-dom": "^16.4.2"
"@reach/router": "^1.3.4"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit cd68be6

Please sign in to comment.