Skip to content

Commit

Permalink
fix: peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MorrisonCole committed Nov 12, 2024
1 parent 0c86355 commit 5b1df3e
Show file tree
Hide file tree
Showing 29 changed files with 57 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
},
"devDependencies": {
"@crowdin/cli": "^3.13.0",
"@mdx-js/react": "^3.1.0",
"@prettier/plugin-xml": "^2.2.0",
"@swc/core": "^1.7.14",
"@swc/jest": "^0.2.36",
Expand Down
4 changes: 4 additions & 0 deletions packages/create-docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
"devDependencies": {
"@types/supports-color": "^8.1.1"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"engines": {
"node": ">=18.0"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/docusaurus-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
"fs-extra": "^11.1.1",
"tslib": "^2.6.0"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"engines": {
"node": ">=18.0"
}
Expand Down
4 changes: 3 additions & 1 deletion packages/docusaurus-bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
"webpackbar": "^6.0.1"
},
"peerDependencies": {
"@docusaurus/faster": "*"
"@docusaurus/faster": "*",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"peerDependenciesMeta": {
"@docusaurus/faster": {
Expand Down
4 changes: 4 additions & 0 deletions packages/docusaurus-faster/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
"tslib": "^2.6.0",
"webpack": "^5.95.0"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"engines": {
"node": ">=18.0"
}
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-client-redirects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@docusaurus/types": "3.6.1"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.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 @@ -52,6 +52,7 @@
},
"peerDependencies": {
"@docusaurus/plugin-content-docs": "*",
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.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 @@ -61,6 +61,7 @@
"shelljs": "^0.8.5"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.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 @@ -28,6 +28,7 @@
"webpack": "^5.88.1"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"tslib": "^2.6.0"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"tslib": "^2.6.0"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-google-gtag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"tslib": "^2.6.0"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-google-tag-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"tslib": "^2.6.0"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-ideal-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"fs-extra": "^11.1.0"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"jimp": "*",
"react": "^18.0.0",
"react-dom": "^18.0.0"
Expand Down
2 changes: 2 additions & 0 deletions packages/docusaurus-plugin-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
"fs-extra": "^11.1.0"
},
"peerDependencies": {
"@docusaurus/plugin-content-docs": "*",
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-rsdoctor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"tslib": "^2.6.0"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-sitemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@total-typescript/shoehorn": "^0.1.2"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-plugin-vercel-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"tslib": "^2.6.0"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-preset-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"@docusaurus/types": "3.6.1"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
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 @@ -52,6 +52,7 @@
},
"peerDependencies": {
"@docusaurus/plugin-content-docs": "*",
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/docusaurus-theme-live-codeblock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
"@types/buble": "^0.20.1"
},
"peerDependencies": {
"@docusaurus/plugin-content-docs": "*",
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/docusaurus-theme-mermaid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
"react-test-renderer": "^18.0.0"
},
"peerDependencies": {
"@docusaurus/plugin-content-docs": "*",
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-theme-search-algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"@docusaurus/module-type-aliases": "3.6.1"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/docusaurus-theme-translations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
"@docusaurus/utils": "3.6.1",
"lodash": "^4.17.21"
},
"peerDependencies": {
"@mdx-js/react": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"engines": {
"node": ">=18.0"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/docusaurus-utils-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
"@docusaurus/types": "3.6.1",
"tslib": "^2.6.0"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"engines": {
"node": ">=18.0"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/docusaurus-utils-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
"devDependencies": {
"tmp-promise": "^3.0.3"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"engines": {
"node": ">=18.0"
}
Expand Down
4 changes: 4 additions & 0 deletions packages/docusaurus-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,9 @@
"@types/react-dom": "^18.2.7",
"dedent": "^0.7.0",
"tmp-promise": "^3.0.3"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
}
}
2 changes: 2 additions & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@docusaurus/core": "3.6.1",
"@docusaurus/logger": "3.6.1",
"@docusaurus/plugin-client-redirects": "3.6.1",
"@docusaurus/plugin-content-docs": "3.6.1",
"@docusaurus/plugin-ideal-image": "3.6.1",
"@docusaurus/plugin-pwa": "3.6.1",
"@docusaurus/plugin-rsdoctor": "3.6.1",
Expand All @@ -52,6 +53,7 @@
"@docusaurus/theme-mermaid": "3.6.1",
"@docusaurus/utils": "3.6.1",
"@docusaurus/utils-common": "3.6.1",
"@mdx-js/react": "^3.1.0",
"clsx": "^2.0.0",
"color": "^4.2.3",
"fs-extra": "^11.1.1",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2195,7 +2195,7 @@
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.0.1.tgz#565acea8375b02a2039a5afefdeb3758ccc13988"
integrity sha512-8jFmVrU6uAg94zh6sYCNtZnh9YovEvXmwaD9O8HxzQWNcEyn3ZZXG7r5ZcOpvtaQLnM+4+nwN4T42sfs2D+DvA==

"@mdx-js/react@^3.0.0":
"@mdx-js/react@^3.0.0", "@mdx-js/react@^3.1.0":
version "3.1.0"
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-3.1.0.tgz#c4522e335b3897b9a845db1dbdd2f966ae8fb0ed"
integrity sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==
Expand Down

0 comments on commit 5b1df3e

Please sign in to comment.