Skip to content

Commit

Permalink
feat: add @material-ui/core as peer dependency to enable darkmode in …
Browse files Browse the repository at this point in the history
…development
  • Loading branch information
nnillni committed Nov 13, 2023
1 parent 476e73e commit e1a1030
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion yarn-links.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
yarn link react
yarn link react-router-dom
yarn link react-dom
yarn link react-router
yarn link react-router
yarn link @material-ui/core
3 changes: 2 additions & 1 deletion yarn-unlink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
yarn unlink react
yarn unlink react-router-dom
yarn unlink react-dom
yarn unlink react-router
yarn unlink react-router
yarn unlink @material-ui/core

0 comments on commit e1a1030

Please sign in to comment.