From c7fd8d17028212c3858fbd227f4316cf341dacae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Thu, 10 Oct 2024 17:14:14 +0200 Subject: [PATCH] fix(core): move @docusaurus/faster to bundler peerDeps (#10573) --- packages/docusaurus-bundler/package.json | 9 ++++++++- packages/docusaurus/package.json | 6 ------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/docusaurus-bundler/package.json b/packages/docusaurus-bundler/package.json index 771d42ab6792..99458f5286f9 100644 --- a/packages/docusaurus-bundler/package.json +++ b/packages/docusaurus-bundler/package.json @@ -21,7 +21,6 @@ "@babel/core": "^7.23.3", "@docusaurus/babel": "3.5.2", "@docusaurus/cssnano-preset": "3.5.2", - "@docusaurus/faster": "3.5.2", "@docusaurus/logger": "3.5.2", "@docusaurus/types": "3.5.2", "@docusaurus/utils": "3.5.2", @@ -45,6 +44,14 @@ "webpack": "^5.95.0", "webpackbar": "^6.0.1" }, + "peerDependencies": { + "@docusaurus/faster": "3.5.2" + }, + "peerDependenciesMeta": { + "@docusaurus/faster": { + "optional": true + } + }, "devDependencies": { "@total-typescript/shoehorn": "^0.1.2" }, diff --git a/packages/docusaurus/package.json b/packages/docusaurus/package.json index 21411f0baf28..77f14261f24e 100644 --- a/packages/docusaurus/package.json +++ b/packages/docusaurus/package.json @@ -93,16 +93,10 @@ "tree-node-cli": "^1.6.0" }, "peerDependencies": { - "@docusaurus/faster": "3.5.2", "@mdx-js/react": "^3.0.0", "react": "^18.0.0", "react-dom": "^18.0.0" }, - "peerDependenciesMeta": { - "@docusaurus/faster": { - "optional": true - } - }, "engines": { "node": ">=18.0" }