Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
Former-commit-id: a826769
Former-commit-id: 54a1d16
  • Loading branch information
timdorr committed Apr 23, 2019
1 parent 8f36ba9 commit b6aa55c
Show file tree
Hide file tree
Showing 37 changed files with 139 additions and 105 deletions.
2 changes: 1 addition & 1 deletion examples/async/package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions examples/async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"react-scripts": "^2.0.2"
"react-scripts": "^3.0.0"
},
"dependencies": {
"prop-types": "^15.6.1",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-redux": "^5.0.7",
"redux": "^3.5.2",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.2",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.1.0"
"redux-thunk": "^2.3.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/counter/package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions examples/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"react-scripts": "^2.0.2"
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.12.1",
"react-scripts": "^3.0.0"
},
"dependencies": {
"prop-types": "^15.6.1",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-redux": "^5.0.7",
"redux": "^3.5.2"
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.2",
"redux": "^4.0.1"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/real-world/package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions examples/real-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"react-scripts": "^2.0.2",
"redux-devtools": "^3.4.1",
"react-scripts": "^3.0.0",
"redux-devtools": "^3.5.0",
"redux-devtools-dock-monitor": "^1.1.3",
"redux-devtools-log-monitor": "^1.4.0",
"redux-logger": "^3.0.6"
},
"dependencies": {
"humps": "^2.0.0",
"lodash": "^4.17.5",
"normalizr": "^3.2.4",
"prop-types": "^15.6.1",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-redux": "^5.0.7",
"react-router-dom": "^4.1.2",
"redux": "^3.5.2",
"redux-thunk": "^2.1.0"
"lodash": "^4.17.11",
"normalizr": "^3.3.0",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.2",
"react-router-dom": "^5.0.0",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/shopping-cart/package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions examples/shopping-cart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"react-scripts": "^2.0.2"
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.12.1",
"react-scripts": "^3.0.0"
},
"dependencies": {
"prop-types": "^15.6.1",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-redux": "^5.0.7",
"redux": "^3.5.2",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.2",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.1.0"
"redux-thunk": "^2.3.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/todomvc/package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions examples/todomvc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"react-scripts": "^2.0.2",
"react-test-renderer": "^16.3.1"
"react-scripts": "^3.0.0",
"react-test-renderer": "^16.8.6"
},
"dependencies": {
"classnames": "^2.2.5",
"prop-types": "^15.6.1",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-redux": "^5.0.7",
"redux": "^3.5.2",
"reselect": "^3.0.1",
"todomvc-app-css": "^2.1.1"
"classnames": "^2.2.6",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.2",
"redux": "^4.0.1",
"reselect": "^4.0.0",
"todomvc-app-css": "^2.2.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/todos-flow/package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions examples/todos-flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"enzyme": "3.4.1",
"enzyme-adapter-react-16": "1.2.0",
"flow-bin": "0.78.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.12.1",
"flow-bin": "^0.78.0",
"flow-typed": "2.5.1",
"react-scripts": "^2.0.2",
"react-scripts": "^3.0.0",
"redux-mock-store": "1.5.3"
},
"dependencies": {
"react": "16.4.2",
"react-dom": "16.4.2",
"react-redux": "^5.0.7",
"redux": "4.0.0",
"reselect": "^3.0.1"
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.2",
"redux": "^4.0.1",
"reselect": "^4.0.0"
},
"scripts": {
"build": "react-scripts build",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`App renders without crashing 1`] = `ShallowWrapper {}`;

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Footer renders without crashing 1`] = `ShallowWrapper {}`;

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Link calls onClick() on click 1`] = `ShallowWrapper {}`;

exports[`Link renders a span when active is true 1`] = `ShallowWrapper {}`;

exports[`Link renders without crashing 1`] = `ShallowWrapper {}`;

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Todo calls onClick when clicked 1`] = `ShallowWrapper {}`;

exports[`Todo puts a line through text when completed 1`] = `ShallowWrapper {}`;

exports[`Todo renders without crashing 1`] = `ShallowWrapper {}`;

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`TodoList renders without crashing 1`] = `ShallowWrapper {}`;

exports[`TodoList with todos renders a list of todos 1`] = `ShallowWrapper {}`;

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
811906ff20e88b9d455252205cb961b1fd63f267
49c4e85dd5b8cf5dfa899090e6c2bd7c60904af4
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`AddTodo renders without crashing 1`] = `ShallowWrapper {}`;

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`FilterLink renders without crashing 1`] = `ShallowWrapper {}`;

exports[`FilterLink sets the correct filter when clicked 1`] = `ShallowWrapper {}`;

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`VisibleTodoList renders without crashing 1`] = `ShallowWrapper {}`;

exports[`VisibleTodoList shows active todos when SHOW_ACTIVE filter is active 1`] = `ShallowWrapper {}`;

exports[`VisibleTodoList shows all todos when SHOW_ALL filter is active 1`] = `ShallowWrapper {}`;

exports[`VisibleTodoList shows completed todos when SHOW_COMPLETED filter is active 1`] = `ShallowWrapper {}`;

This file was deleted.

2 changes: 1 addition & 1 deletion examples/todos-with-undo/package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions examples/todos-with-undo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"react-scripts": "^2.0.2"
"react-scripts": "^3.0.0"
},
"dependencies": {
"prop-types": "^15.6.1",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-redux": "^5.0.7",
"redux": "^3.5.2",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.2",
"redux": "^4.0.1",
"redux-undo": "^0.6.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/todos/package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions examples/todos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"react-scripts": "^2.0.2"
"react-scripts": "^3.0.0"
},
"dependencies": {
"prop-types": "^15.6.1",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-redux": "^5.0.7",
"redux": "^3.5.2"
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.2",
"redux": "^4.0.1"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/tree-view/package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions examples/tree-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"private": true,
"devDependencies": {
"deep-freeze": "0.0.1",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"react-scripts": "^2.0.2"
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.12.1",
"react-scripts": "^3.0.0"
},
"dependencies": {
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-redux": "^5.0.7",
"redux": "^3.5.2"
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.2",
"redux": "^4.0.1"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/universal/package-lock.json.REMOVED.git-id

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b6aa55c

Please sign in to comment.