From fbf04ed5565955bc9956b2b2524b3846a74c923e Mon Sep 17 00:00:00 2001 From: Pranab Das <31024886+pranabdas@users.noreply.github.com> Date: Fri, 10 Dec 2021 18:05:21 +0800 Subject: [PATCH] fix: move docusaurus core back to hard dependencies (#6078) Co-authored-by: Joshua Chen Co-authored-by: sebastienlorber --- packages/docusaurus-plugin-client-redirects/package.json | 3 +-- packages/docusaurus-plugin-content-blog/package.json | 3 +-- packages/docusaurus-plugin-content-docs/package.json | 3 +-- packages/docusaurus-plugin-content-pages/package.json | 3 +-- packages/docusaurus-plugin-debug/package.json | 3 +-- packages/docusaurus-plugin-google-analytics/package.json | 3 +-- packages/docusaurus-plugin-google-gtag/package.json | 3 +-- packages/docusaurus-plugin-ideal-image/package.json | 3 +-- packages/docusaurus-plugin-pwa/package.json | 2 +- packages/docusaurus-plugin-sitemap/package.json | 3 +-- packages/docusaurus-preset-classic/package.json | 2 +- packages/docusaurus-theme-classic/package.json | 2 +- packages/docusaurus-theme-common/package.json | 2 +- packages/docusaurus-theme-live-codeblock/package.json | 3 +-- packages/docusaurus-theme-search-algolia/package.json | 2 +- 15 files changed, 15 insertions(+), 25 deletions(-) diff --git a/packages/docusaurus-plugin-client-redirects/package.json b/packages/docusaurus-plugin-client-redirects/package.json index 7cdfca0451f5..5f368cf6edee 100644 --- a/packages/docusaurus-plugin-client-redirects/package.json +++ b/packages/docusaurus-plugin-client-redirects/package.json @@ -18,6 +18,7 @@ }, "license": "MIT", "dependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/utils": "2.0.0-beta.10", "@docusaurus/utils-common": "2.0.0-beta.10", "@docusaurus/utils-validation": "2.0.0-beta.10", @@ -28,11 +29,9 @@ "tslib": "^2.3.1" }, "devDependencies": { - "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-plugin-content-blog/package.json b/packages/docusaurus-plugin-content-blog/package.json index 54c017793fbb..e800edc50189 100644 --- a/packages/docusaurus-plugin-content-blog/package.json +++ b/packages/docusaurus-plugin-content-blog/package.json @@ -18,6 +18,7 @@ }, "license": "MIT", "dependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/mdx-loader": "2.0.0-beta.10", "@docusaurus/utils": "2.0.0-beta.10", "@docusaurus/utils-validation": "2.0.0-beta.10", @@ -36,11 +37,9 @@ "webpack": "^5.61.0" }, "devDependencies": { - "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-plugin-content-docs/package.json b/packages/docusaurus-plugin-content-docs/package.json index 70249fb5d244..dbd0ef53aecb 100644 --- a/packages/docusaurus-plugin-content-docs/package.json +++ b/packages/docusaurus-plugin-content-docs/package.json @@ -18,6 +18,7 @@ }, "license": "MIT", "dependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/mdx-loader": "2.0.0-beta.10", "@docusaurus/utils": "2.0.0-beta.10", "@docusaurus/utils-validation": "2.0.0-beta.10", @@ -37,7 +38,6 @@ "webpack": "^5.61.0" }, "devDependencies": { - "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/module-type-aliases": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10", "@types/js-yaml": "^4.0.0", @@ -47,7 +47,6 @@ "utility-types": "^3.10.0" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-plugin-content-pages/package.json b/packages/docusaurus-plugin-content-pages/package.json index 2ccb2265108d..bbae9b6ce722 100644 --- a/packages/docusaurus-plugin-content-pages/package.json +++ b/packages/docusaurus-plugin-content-pages/package.json @@ -18,6 +18,7 @@ }, "license": "MIT", "dependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/mdx-loader": "2.0.0-beta.10", "@docusaurus/utils": "2.0.0-beta.10", "@docusaurus/utils-validation": "2.0.0-beta.10", @@ -27,11 +28,9 @@ "webpack": "^5.61.0" }, "devDependencies": { - "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-plugin-debug/package.json b/packages/docusaurus-plugin-debug/package.json index c1248681ef90..149c4af05e80 100644 --- a/packages/docusaurus-plugin-debug/package.json +++ b/packages/docusaurus-plugin-debug/package.json @@ -18,17 +18,16 @@ }, "license": "MIT", "dependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/utils": "2.0.0-beta.10", "fs-extra": "^10.0.0", "react-json-view": "^1.21.3", "tslib": "^2.3.1" }, "devDependencies": { - "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-plugin-google-analytics/package.json b/packages/docusaurus-plugin-google-analytics/package.json index ebc7f26e21b3..5d4070249537 100644 --- a/packages/docusaurus-plugin-google-analytics/package.json +++ b/packages/docusaurus-plugin-google-analytics/package.json @@ -18,14 +18,13 @@ }, "license": "MIT", "dependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/utils-validation": "2.0.0-beta.10" }, "devDependencies": { - "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-plugin-google-gtag/package.json b/packages/docusaurus-plugin-google-gtag/package.json index 1c64b7b53ff9..acd62ace8ec7 100644 --- a/packages/docusaurus-plugin-google-gtag/package.json +++ b/packages/docusaurus-plugin-google-gtag/package.json @@ -18,14 +18,13 @@ }, "license": "MIT", "dependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/utils-validation": "2.0.0-beta.10" }, "devDependencies": { - "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-plugin-ideal-image/package.json b/packages/docusaurus-plugin-ideal-image/package.json index 0411dd1ecf98..f1019e743e66 100644 --- a/packages/docusaurus-plugin-ideal-image/package.json +++ b/packages/docusaurus-plugin-ideal-image/package.json @@ -21,6 +21,7 @@ }, "license": "MIT", "dependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/lqip-loader": "2.0.0-beta.10", "@docusaurus/responsive-loader": "1.5.0", "@endiliey/react-ideal-image": "^0.0.11", @@ -30,12 +31,10 @@ "webpack": "^5.61.0" }, "devDependencies": { - "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10", "fs-extra": "^10.0.0" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-plugin-pwa/package.json b/packages/docusaurus-plugin-pwa/package.json index 040662a5f731..f6d854643777 100644 --- a/packages/docusaurus-plugin-pwa/package.json +++ b/packages/docusaurus-plugin-pwa/package.json @@ -23,6 +23,7 @@ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0", "@babel/plugin-proposal-optional-chaining": "^7.16.0", "@babel/preset-env": "^7.16.4", + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/theme-common": "2.0.0-beta.10", "@docusaurus/theme-translations": "2.0.0-beta.10", "@docusaurus/utils": "2.0.0-beta.10", @@ -43,7 +44,6 @@ }, "peerDependencies": { "@babel/core": "^7.0.0", - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" } diff --git a/packages/docusaurus-plugin-sitemap/package.json b/packages/docusaurus-plugin-sitemap/package.json index 3e2ce07fb11b..2698b844fba8 100644 --- a/packages/docusaurus-plugin-sitemap/package.json +++ b/packages/docusaurus-plugin-sitemap/package.json @@ -18,6 +18,7 @@ }, "license": "MIT", "dependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/utils": "2.0.0-beta.10", "@docusaurus/utils-common": "2.0.0-beta.10", "@docusaurus/utils-validation": "2.0.0-beta.10", @@ -26,11 +27,9 @@ "tslib": "^2.3.1" }, "devDependencies": { - "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-preset-classic/package.json b/packages/docusaurus-preset-classic/package.json index 31df113eefbb..29953a7acf6e 100644 --- a/packages/docusaurus-preset-classic/package.json +++ b/packages/docusaurus-preset-classic/package.json @@ -18,6 +18,7 @@ }, "license": "MIT", "dependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/plugin-content-blog": "2.0.0-beta.10", "@docusaurus/plugin-content-docs": "2.0.0-beta.10", "@docusaurus/plugin-content-pages": "2.0.0-beta.10", @@ -29,7 +30,6 @@ "@docusaurus/theme-search-algolia": "2.0.0-beta.10" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-theme-classic/package.json b/packages/docusaurus-theme-classic/package.json index 7a51744390f1..30c6d90dfbc3 100644 --- a/packages/docusaurus-theme-classic/package.json +++ b/packages/docusaurus-theme-classic/package.json @@ -45,6 +45,7 @@ "rtlcss": "^3.3.0" }, "devDependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/module-type-aliases": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10", "@types/mdx-js__react": "^1.5.4", @@ -55,7 +56,6 @@ "utility-types": "^3.10.0" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-theme-common/package.json b/packages/docusaurus-theme-common/package.json index 5d06961b12b9..a3f3fd742c7c 100644 --- a/packages/docusaurus-theme-common/package.json +++ b/packages/docusaurus-theme-common/package.json @@ -28,13 +28,13 @@ "utility-types": "^3.10.0" }, "devDependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/module-type-aliases": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10", "@testing-library/react-hooks": "^7.0.2", "lodash": "^4.17.20" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "prism-react-renderer": "^1.2.1", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" diff --git a/packages/docusaurus-theme-live-codeblock/package.json b/packages/docusaurus-theme-live-codeblock/package.json index 44144b8d48a8..8c44589b3f43 100644 --- a/packages/docusaurus-theme-live-codeblock/package.json +++ b/packages/docusaurus-theme-live-codeblock/package.json @@ -17,6 +17,7 @@ }, "license": "MIT", "dependencies": { + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/theme-translations": "2.0.0-beta.10", "@docusaurus/utils": "2.0.0-beta.10", "@docusaurus/utils-validation": "2.0.0-beta.10", @@ -28,12 +29,10 @@ "react-live": "2.2.3" }, "devDependencies": { - "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/types": "2.0.0-beta.10", "@types/buble": "^0.20.1" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" }, diff --git a/packages/docusaurus-theme-search-algolia/package.json b/packages/docusaurus-theme-search-algolia/package.json index 29910b2f66b7..ac4da1a7cf91 100644 --- a/packages/docusaurus-theme-search-algolia/package.json +++ b/packages/docusaurus-theme-search-algolia/package.json @@ -21,6 +21,7 @@ }, "dependencies": { "@docsearch/react": "^3.0.0-alpha.39", + "@docusaurus/core": "2.0.0-beta.10", "@docusaurus/theme-common": "2.0.0-beta.10", "@docusaurus/theme-translations": "2.0.0-beta.10", "@docusaurus/utils": "2.0.0-beta.10", @@ -36,7 +37,6 @@ "fs-extra": "^10.0.0" }, "peerDependencies": { - "@docusaurus/core": "2.0.0-beta.9", "react": "^16.8.4 || ^17.0.0", "react-dom": "^16.8.4 || ^17.0.0" },