From 7362c92dff7c59df9675278ad489f32c69fe349b Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Fri, 10 Oct 2025 17:55:32 -0400 Subject: [PATCH] Move patch-package to be a non-dev dependency This ensures that it's actually downloaded when this package is installed as a dependency of other code. I chose that instead of making it a required peer dependency because, while this is a bit janky, I feel like it makes the library easier to use by MM plugins. In the long term, we should look at replacing the patched packages or properly forking them because this is sure to cause problems at some point because having this package mess with other packages in the node_modules is a terrible idea. Or we could look at actually publishing this properly, or we could just remove React Bootstrap from MM finally. Regardless, this is a hacky fix to keep a hacky fix working. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c2dc55bad4..b8bfe20e64 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,6 @@ "lint-staged": "^7.1.1", "lodash": "^4.17.10", "mocha": "^5.2.0", - "patch-package": "^8.0.0", "prettier": "^1.12.1", "react": "^18.3.1", "react-dom": "^18.3.1", @@ -124,6 +123,7 @@ "dom-helpers": "^3.2.0", "invariant": "^2.2.4", "keycode": "^2.2.0", + "patch-package": "^8.0.0", "prop-types": "^15.6.1", "prop-types-extra": "^1.0.1", "react-overlays": "^0.9.3",