diff --git a/DEVELOPER_GUIDE.md b/DEVELOPER_GUIDE.md index 975c412..74ca2d0 100644 --- a/DEVELOPER_GUIDE.md +++ b/DEVELOPER_GUIDE.md @@ -18,6 +18,7 @@ yarn link --cwd node_modules/react yarn link --cwd node_modules/react-dom yarn link --cwd node_modules/react-router-dom yarn link --cwd node_modules/react-router +yarn link --cwd node_modules/@material-ui/core # Go to the root of the plugin repository sh yarn-links.sh diff --git a/package.json b/package.json index c1fd627..5442173 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "snyk": "^1.1243.0" }, "peerDependencies": { + "@material-ui/core": "^4.12.2", "react": "^16.13.1 || ^17.0.0", "react-dom": "^16.13.1 || ^17.0.0", "react-router-dom": "^6.18.0" diff --git a/yarn-links.sh b/yarn-links.sh index 16ad059..aeebb1b 100755 --- a/yarn-links.sh +++ b/yarn-links.sh @@ -5,4 +5,5 @@ yarn link react yarn link react-router-dom yarn link react-dom -yarn link react-router \ No newline at end of file +yarn link react-router +yarn link @material-ui/core \ No newline at end of file diff --git a/yarn-unlink.sh b/yarn-unlink.sh index 2078ec5..c6335ef 100755 --- a/yarn-unlink.sh +++ b/yarn-unlink.sh @@ -4,4 +4,5 @@ yarn unlink react yarn unlink react-router-dom yarn unlink react-dom -yarn unlink react-router \ No newline at end of file +yarn unlink react-router +yarn unlink @material-ui/core \ No newline at end of file