Skip to content

Commit

Permalink
fix: updating peerDependency fields for yarn berry (#6498)
Browse files Browse the repository at this point in the history
  • Loading branch information
vidarc committed Jan 29, 2022
1 parent f5f598a commit d45f96f
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 9 deletions.
1 change: 1 addition & 0 deletions packages/docusaurus-mdx-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"unist-util-remove-position": "^3.0.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-content-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"escape-string-regexp": "^4.0.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-content-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"utility-types": "^3.10.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-content-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@docusaurus/types": "2.0.0-beta.15"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
},
Expand Down
4 changes: 3 additions & 1 deletion packages/docusaurus-plugin-debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@
"@docusaurus/types": "2.0.0-beta.15"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
"react-dom": "^16.8.4 || ^17.0.0",
"webpack": "^5.0.0"
},
"engines": {
"node": ">=14"
Expand Down
4 changes: 3 additions & 1 deletion packages/docusaurus-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
"@docusaurus/types": "2.0.0-beta.15"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
"react-dom": "^16.8.4 || ^17.0.0",
"webpack": "^5.0.0"
},
"engines": {
"node": ">=14"
Expand Down
4 changes: 3 additions & 1 deletion packages/docusaurus-plugin-google-gtag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
"@docusaurus/types": "2.0.0-beta.15"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
"react-dom": "^16.8.4 || ^17.0.0",
"webpack": "^5.0.0"
},
"engines": {
"node": ">=14"
Expand Down
4 changes: 3 additions & 1 deletion packages/docusaurus-plugin-sitemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@
"@docusaurus/types": "2.0.0-beta.15"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
"react-dom": "^16.8.4 || ^17.0.0",
"webpack": "^5.0.0"
},
"engines": {
"node": ">=14"
Expand Down
5 changes: 4 additions & 1 deletion packages/docusaurus-preset-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@
"@docusaurus/theme-search-algolia": "2.0.0-beta.15"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"prism-react-renderer": "^1.2.1",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
"react-dom": "^16.8.4 || ^17.0.0",
"webpack": "^5.0.0"
},
"engines": {
"node": ">=14"
Expand Down
4 changes: 3 additions & 1 deletion packages/docusaurus-theme-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@
"utility-types": "^3.10.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
"react-dom": "^16.8.4 || ^17.0.0",
"webpack": "^5.0.0"
},
"engines": {
"node": ">=14"
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-theme-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"lodash": "^4.17.20"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"prism-react-renderer": "^1.2.1",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
Expand Down
5 changes: 4 additions & 1 deletion packages/docusaurus-theme-search-algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@
"fs-extra": "^10.0.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"prism-react-renderer": "^1.2.1",
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
"react-dom": "^16.8.4 || ^17.0.0",
"webpack": "^5.0.0"
},
"engines": {
"node": ">=14"
Expand Down
4 changes: 3 additions & 1 deletion packages/docusaurus-utils-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
"tslib": "^2.3.1"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"react": "*",
"react-dom": "*"
"react-dom": "*",
"webpack": "^5.0.0"
},
"engines": {
"node": ">=14"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
"@babel/core": "^7.0.0",
"react": "*",
"react-dom": "*",
"webpack": "5.x"
"webpack": "^5.0.0"
}
}

0 comments on commit d45f96f

Please sign in to comment.