Skip to content

Commit

Permalink
[adapters: 14, 15, 15.4] [patch] revert peer dependency change for re…
Browse files Browse the repository at this point in the history
…act-test-renderer 14, 15, and 15.4

(#1234, #1252)
  • Loading branch information
bdwain authored and ljharb committed Oct 25, 2017
1 parent b954e95 commit c4d41ac
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
6 changes: 6 additions & 0 deletions docs/installation/react-014.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ installed, you should do so:
npm i --save react@0.14 react-dom@0.14
```

Further, enzyme with React 0.14 requires the test utilities addon be installed:

```bash
npm i --save-dev react-addons-test-utils@0.14
```

Next, to get started with enzyme, you can simply install it with npm:

```bash
Expand Down
6 changes: 6 additions & 0 deletions docs/installation/react-15.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ installed, you should do so:
npm i --save react@15 react-dom@15
```

Further, enzyme requires the test utilities addon be installed:

```bash
npm i --save-dev react-test-renderer@15
```

Next, to get started with enzyme, you can simply install it with npm:

```bash
Expand Down
4 changes: 2 additions & 2 deletions packages/enzyme-adapter-react-14/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
"lodash": "^4.17.4",
"object.assign": "^4.0.4",
"object.values": "^1.0.4",
"prop-types": "^15.5.10",
"react-addons-test-utils": "^0.14.0"
"prop-types": "^15.5.10"
},
"peerDependencies": {
"enzyme": "^3.0.0",
"react": "^0.14.0",
"react-addons-test-utils": "^0.14.0",
"react-dom": "^0.14.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/enzyme-adapter-react-15.4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
"lodash": "^4.17.4",
"object.assign": "^4.0.4",
"object.values": "^1.0.4",
"prop-types": "^15.5.10",
"react-addons-test-utils": "15.0.0-0 - 15.4.x"
"prop-types": "^15.5.10"
},
"peerDependencies": {
"enzyme": "^3.0.0",
"react": "15.0.0-0 - 15.4.x",
"react-dom": "15.0.0-0 - 15.4.x"
"react-dom": "15.0.0-0 - 15.4.x",
"react-addons-test-utils": "15.0.0-0 - 15.4.x"
},
"devDependencies": {
"babel-cli": "^6.24.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/enzyme-adapter-react-15/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
"lodash": "^4.17.4",
"object.assign": "^4.0.4",
"object.values": "^1.0.4",
"prop-types": "^15.5.10",
"react-test-renderer": "^15.5.0"
"prop-types": "^15.5.10"
},
"peerDependencies": {
"enzyme": "^3.0.0",
"react": "^15.5.0",
"react-dom": "^15.5.0"
"react-dom": "^15.5.0",
"react-test-renderer": "^15.5.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
Expand Down

0 comments on commit c4d41ac

Please sign in to comment.