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

chore(deps): Add webpack to peer dependencies of redoc theme #323

Merged
merged 2 commits into from
Jan 11, 2024
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
6 changes: 6 additions & 0 deletions .changeset/hungry-tools-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"docusaurus-theme-redoc": patch
"redocusaurus": patch
---

chore(deps): Add webpack to peer dependencies of redoc theme, this fixes issue #322
3 changes: 2 additions & 1 deletion packages/docusaurus-theme-redoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"typescript": "^5.2.2"
},
"peerDependencies": {
"@docusaurus/theme-common": "^3.0.0"
"@docusaurus/theme-common": "^3.0.0",
"webpack": "^5.0.0"
},
"engines": {
"node": ">=18"
Expand Down
3 changes: 2 additions & 1 deletion packages/redocusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"node": ">=14"
},
"devDependencies": {
"typescript": "^5.2.2"
"typescript": "^5.2.2",
"webpack": "^5.0.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure if you will want this here - but it silences a yarn warning.

}
}
4 changes: 3 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6427,6 +6427,7 @@ __metadata:
typescript: "npm:^5.2.2"
peerDependencies:
"@docusaurus/theme-common": ^3.0.0
webpack: ^5.0.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -13321,6 +13322,7 @@ __metadata:
docusaurus-plugin-redoc: "npm:2.0.0"
docusaurus-theme-redoc: "npm:2.0.0"
typescript: "npm:^5.2.2"
webpack: "npm:^5.0.0"
peerDependencies:
"@docusaurus/theme-common": ^3.0.0
"@docusaurus/utils": ^3.0.0
Expand Down Expand Up @@ -15836,7 +15838,7 @@ __metadata:
languageName: node
linkType: hard

"webpack@npm:^5.88.1":
"webpack@npm:^5.0.0, webpack@npm:^5.88.1":
version: 5.89.0
resolution: "webpack@npm:5.89.0"
dependencies:
Expand Down
Loading