Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: updating peerDependency fields for yarn berry #6498

Merged
merged 1 commit into from
Jan 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5.x is the same as ^5.0.0 as I understand?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure. Was thinking better to standardize the version style. That was the only one using an x

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, sure

}
}