Skip to content

Commit

Permalink
fix(v2): add missing 'react' and 'webpack' peer dependencies (#3675)
Browse files Browse the repository at this point in the history
* fix(v2): add missing 'react' peer dependencies

* fix(v2): add missing 'webpack' peer dependency
  • Loading branch information
ylemkimon committed Nov 2, 2020
1 parent 9ff24d7 commit 1bba6b1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/docusaurus-mdx-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
"unist-builder": "^2.0.3",
"unist-util-remove-position": "^2.0.1"
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.8.4",
"webpack": "^4.0.0 || ^5.0.0"
},
"engines": {
"node": ">=10.15.1"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/docusaurus-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.66"
},
"peerDependencies": {
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
"engines": {
"node": ">=10.15.1"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/docusaurus-plugin-google-gtag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.66"
},
"peerDependencies": {
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
"engines": {
"node": ">=10.15.1"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/docusaurus-plugin-sitemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"fs-extra": "^8.1.0",
"sitemap": "^3.2.2"
},
"peerDependencies": {
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
"engines": {
"node": ">=10.15.1"
}
Expand Down

0 comments on commit 1bba6b1

Please sign in to comment.