Skip to content

Commit

Permalink
[examples] Update with the new npm package (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Dec 2, 2017
1 parent 924f0ae commit 2c96e2e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
4 changes: 1 addition & 3 deletions examples/create-react-app-with-flow/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.*/node_modules/react-event-listener/src

; Comment this line if you do not use enzyme.
.*/node_modules/material-ui/test-utils
.*/node_modules/@material-next/core/test-utils

; flow 55
; FIXME: we should be flow checking against jss
Expand All @@ -30,8 +30,6 @@ esproposal.decorators=ignore

unsafe.enable_getters_and_setters=true

module.name_mapper='^flow-example-material-ui\/\(.*\)$' -> '<PROJECT_ROOT>/src/\1'

suppress_type=$FlowFixMe
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
6 changes: 3 additions & 3 deletions examples/create-react-app-with-flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"jss": "^8.1.0",
"jss-preset-default": "^3.0.0",
"material-ui": "^1.0.0-beta.20",
"jss": "^9.0.0",
"jss-preset-default": "^4.0.0",
"@material-next/core": "^1.0.0-beta.22",
"prop-types": "^15.6.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app-with-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"material-ui": "next",
"@material-next/core": "latest",
"react": "latest",
"react-dom": "latest",
"react-scripts-ts": "latest"
Expand Down
6 changes: 3 additions & 3 deletions examples/create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"jss": "^8.1.0",
"jss-preset-default": "^3.0.0",
"material-ui": "next",
"@material-next/core": "latest",
"jss": "latest",
"jss-preset-default": "latest",
"prop-types": "latest",
"react": "latest",
"react-dom": "latest",
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"material-ui": "next",
"@material-next/core": "latest",
"next": "latest",
"react": "latest",
"react-dom": "latest"
Expand Down

0 comments on commit 2c96e2e

Please sign in to comment.