From fe15d01e14178bf77e5c7df60239e7975fee6c2c Mon Sep 17 00:00:00 2001 From: Chui Tey Date: Thu, 27 Feb 2020 20:40:33 +1000 Subject: [PATCH 1/2] fix: unable to build ra-input-rich-text src/index.tsx(11,33): error TS2307: Cannot find module 'ra-ui-materialui'. --- packages/ra-input-rich-text/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ra-input-rich-text/package.json b/packages/ra-input-rich-text/package.json index db412d5cee1..b2d8c84c1b4 100644 --- a/packages/ra-input-rich-text/package.json +++ b/packages/ra-input-rich-text/package.json @@ -45,6 +45,7 @@ "react-dom": "^16.9.0" }, "dependencies": { + "ra-ui-materialui": "^3.0.0", "@types/quill": "~1.3.0", "lodash": "~4.17.5", "prop-types": "^15.6.0", From 139599e38d7d4a6f19019fc8098d9cf681e7ea2d Mon Sep 17 00:00:00 2001 From: Chui Tey Date: Tue, 10 Mar 2020 23:12:26 +1000 Subject: [PATCH 2/2] Make ra-ui-materialui a peer dependency --- packages/ra-input-rich-text/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ra-input-rich-text/package.json b/packages/ra-input-rich-text/package.json index b2d8c84c1b4..8191b886a2c 100644 --- a/packages/ra-input-rich-text/package.json +++ b/packages/ra-input-rich-text/package.json @@ -41,11 +41,11 @@ }, "peerDependencies": { "ra-core": "^3.0.0", + "ra-ui-materialui": "^3.0.0", "react": "^16.9.0", "react-dom": "^16.9.0" }, "dependencies": { - "ra-ui-materialui": "^3.0.0", "@types/quill": "~1.3.0", "lodash": "~4.17.5", "prop-types": "^15.6.0",