Skip to content

Commit

Permalink
fix: move dependencies to peer dependencies (#1019)
Browse files Browse the repository at this point in the history
* fix: move docusaurus dependencies to peer dependencies

* update plugin's package.json
  • Loading branch information
aramissennyeydd authored Nov 14, 2024
1 parent c074d3f commit 62015e7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
13 changes: 8 additions & 5 deletions packages/docusaurus-plugin-openapi-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
"@types/json-schema": "^7.0.9",
"@types/lodash": "^4.14.176",
"@types/mustache": "^4.1.2",
"eslint-plugin-prettier": "^5.0.1"
"eslint-plugin-prettier": "^5.0.1",
"@docusaurus/plugin-content-docs": "^3.5.0",
"@docusaurus/utils": "^3.5.0",
"@docusaurus/utils-validation": "^3.5.0"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^11.5.4",
"@docusaurus/plugin-content-docs": "^3.5.0",
"@docusaurus/utils": "^3.5.0",
"@docusaurus/utils-validation": "^3.5.0",
"@redocly/openapi-core": "^1.10.5",
"allof-merge": "^0.6.6",
"chalk": "^4.1.2",
Expand All @@ -57,7 +57,10 @@
"xml-formatter": "^2.6.1"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0 || ^18.0.0"
"react": "^16.8.4 || ^17.0.0 || ^18.0.0",
"@docusaurus/plugin-content-docs": "^3.5.0",
"@docusaurus/utils": "^3.5.0",
"@docusaurus/utils-validation": "^3.5.0"
},
"engines": {
"node": ">=14"
Expand Down
16 changes: 10 additions & 6 deletions packages/docusaurus-theme-openapi-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@
"@types/file-saver": "^2.0.5",
"@types/lodash": "^4.14.176",
"concurrently": "^5.2.0",
"eslint-plugin-prettier": "^5.0.1"
},
"dependencies": {
"eslint-plugin-prettier": "^5.0.1",
"docusaurus-plugin-openapi-docs": "^4.2.0",
"@docusaurus/theme-common": "^3.5.0",
"@hookform/error-message": "^2.0.1",
"docusaurus-plugin-sass": "^0.2.3"
},
"dependencies": {
"@reduxjs/toolkit": "^1.7.1",
"allof-merge": "^0.6.6",
"clsx": "^1.1.1",
"copy-text-to-clipboard": "^3.1.0",
"crypto-js": "^4.1.1",
"docusaurus-plugin-openapi-docs": "^4.2.0",
"docusaurus-plugin-sass": "^0.2.3",
"file-saver": "^2.0.5",
"lodash": "^4.17.20",
"node-polyfill-webpack-plugin": "^3.0.0",
Expand All @@ -66,7 +66,11 @@
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.4 || ^17.0.0 || ^18.0.0"
"react-dom": "^16.8.4 || ^17.0.0 || ^18.0.0",
"docusaurus-plugin-openapi-docs": "^4.0.0",
"@docusaurus/theme-common": "^3.5.0",
"@hookform/error-message": "^2.0.1",
"docusaurus-plugin-sass": "^0.2.3"
},
"engines": {
"node": ">=14"
Expand Down

0 comments on commit 62015e7

Please sign in to comment.