From 6c1794a2ce026c3de2d28f132c48b64f8ea47d4b Mon Sep 17 00:00:00 2001 From: David Sancho Moreno Date: Fri, 13 Oct 2023 10:17:39 +0200 Subject: [PATCH] Rename errorBoundary to ReasonReactErrorBoundary --- src/{errorBoundary.re => ReasonReactErrorBoundary.re} | 0 src/{ErrorBoundary.rei => ReasonReactErrorBoundary.rei} | 0 src/dune | 9 +++++++-- 3 files changed, 7 insertions(+), 2 deletions(-) rename src/{errorBoundary.re => ReasonReactErrorBoundary.re} (100%) rename src/{ErrorBoundary.rei => ReasonReactErrorBoundary.rei} (100%) diff --git a/src/errorBoundary.re b/src/ReasonReactErrorBoundary.re similarity index 100% rename from src/errorBoundary.re rename to src/ReasonReactErrorBoundary.re diff --git a/src/ErrorBoundary.rei b/src/ReasonReactErrorBoundary.rei similarity index 100% rename from src/ErrorBoundary.rei rename to src/ReasonReactErrorBoundary.rei diff --git a/src/dune b/src/dune index 35deef4b0..d1b80a874 100644 --- a/src/dune +++ b/src/dune @@ -3,8 +3,13 @@ (public_name reason-react) (wrapped false) ; Explicitly adding modules isn't necessary, but it's a good idea - ; if wrapped is false, so we don't export something by accident - (modules React ReactDOM ReactTestRenderer ReasonReactRouter ErrorBoundary) + ; when wrapped is false, so we don't export something by accident + (modules + React + ReactDOM + ReactTestRenderer + ReasonReactRouter + ReasonReactErrorBoundary) (preprocess (pps melange.ppx reason-react-ppx)) (libraries melange.dom)