Skip to content

Commit

Permalink
#131 Add dep resolutions to example app
Browse files Browse the repository at this point in the history
  • Loading branch information
lrebscher committed Jul 26, 2021
1 parent 385864a commit 228db4f
Show file tree
Hide file tree
Showing 3 changed files with 2,016 additions and 2,350 deletions.
10 changes: 8 additions & 2 deletions examples/redux-react-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,14 @@ See [Available Scripts](https://create-react-app.dev/docs/available-scripts) for
3. Define a default layout (see `src/app/layout.js`)
4. Create the Redux store by using the `createStore` function in `@metacell/geppetto-meta-client/common` (see `src/redux/store.js`) and pass the componentMap and layout
5. Add the Layout component to your App (see `src/app/showcase.js`)
6. Add the `sass` package to your project
7. Import the desired flex-layout theme (see App.js)
6. Import the desired flex-layout theme (see App.js)
1. light: `@metacell/geppetto-meta-ui/flex-layout/style/light.scss`
2. dark: `@metacell/geppetto-meta-ui/flex-layout/style/dark.scss`
3. gray: `@metacell/geppetto-meta-ui/flex-layout/style/gray.scss`
7. Required dependency resolutions
```javascript
"resolutions": {
"bezier-js": "4.0.3",
"three": "0.111.0"
}
```
5 changes: 3 additions & 2 deletions examples/redux-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"sass": "^1.35.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.3",
"react-scripts": "4.0.3"
},
"resolutions": {
"@metacell/geppetto-meta-core": "file:.yalc/@metacell/geppetto-meta-core",
"@metacell/geppetto-meta-ui": "file:.yalc/@metacell/geppetto-meta-ui"
"@metacell/geppetto-meta-ui": "file:.yalc/@metacell/geppetto-meta-ui",
"bezier-js": "4.0.3",
"three": "0.111.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
Loading

0 comments on commit 228db4f

Please sign in to comment.