Skip to content

Commit

Permalink
Test with Recoil 0.7.0 (#63)
Browse files Browse the repository at this point in the history
* Test against Recoil 0.7

* Bump devDependencies
  • Loading branch information
spautz committed Apr 5, 2022
1 parent f7d5498 commit 18f3a44
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 115 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ A Todo List demo shows both a read-only sync from redux and a read-write sync.

| Recoil | Redux-to-Recoil |
| -------: | --------------: |
| `0.7.0` | `0.8.x` |
| `0.6.x` | `0.8.x` |
| `0.5.x` | `0.7.1`-`0.8.x` |
| `0.4.x` | `0.6.0`-`0.7.1` |
| `0.3.x` | `0.5.1`-`0.6.0` |
Expand Down
4 changes: 2 additions & 2 deletions demos/todo-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"dependencies": {
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^14.0.0",
"@testing-library/user-event": "^14.0.4",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-redux": "8.0.0-beta.3",
"react-scripts": "5.0.0",
"recoil": "^0.6.1",
"recoil": "^0.7.0",
"redux": "^4.1.2",
"redux-devtools-extension": "^2.13.9",
"redux-to-recoil": "~0.8.1",
Expand Down
16 changes: 8 additions & 8 deletions demos/todo-list/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1608,10 +1608,10 @@
"@testing-library/dom" "^8.0.0"
"@types/react-dom" "*"

"@testing-library/user-event@^14.0.0":
version "14.0.0"
resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-14.0.0.tgz#3906aa6f0e56fd012d73559f5f05c02e63ba18dd"
integrity sha512-hZhjNrle/DMi1ziHwHy8LS0fYJtf+cID7fuG5+4h+Bk83xQaRDQT/DlqfL4hJYw3mxW6KTIxoODrhGnhqJebdQ==
"@testing-library/user-event@^14.0.4":
version "14.0.4"
resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-14.0.4.tgz#5b430a9c27f25078bff4471661b755115d0db9d4"
integrity sha512-VBZe5lcUsmrQyOwIFvqOxLBoaTw1/Qy4Ek+VgmFYs719bs2SxUp42vbsb7ATlQDkHdj4OIQlucfpwxe5WoG1jA==

"@tootallnate/once@1":
version "1.1.2"
Expand Down Expand Up @@ -7171,10 +7171,10 @@ readdirp@~3.6.0:
dependencies:
picomatch "^2.2.1"

recoil@^0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/recoil/-/recoil-0.6.1.tgz#6fdf1ba6cb20b5a2e54ec4abcbdaa287e8a03fa2"
integrity sha512-J7oT3LZl2vpyFClgSUpOQjpykz84VSX/NJE/PavAtR8n7Z+whEdVBPUtwc2TEWjONeL/lJmiac2XQ+qEOQA52Q==
recoil@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/recoil/-/recoil-0.7.0.tgz#de19c6fb9816c172b0dae92cf8fe94c2c90a23ab"
integrity sha512-NYG79ZciSILFIu6Zo3aoqPOIU0Ok+dIwA9DM4NdxIx0tKXKenAZWxsalyRQyGVfxR3cVynsgVu7XCAdKNa957A==
dependencies:
hamt_plus "1.0.2"

Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@
"immutable-path": "^1.0.1"
},
"devDependencies": {
"@testing-library/react": "13.0.0-alpha.7",
"@testing-library/react": "13.0.0",
"@types/jest": "27.4.1",
"@types/node": "16.11.26",
"@types/react": "17.0.43",
"@types/react-dom": "17.0.14",
"@types/react-redux": "7.1.23",
"@typescript-eslint/eslint-plugin": "5.17.0",
"@typescript-eslint/parser": "5.17.0",
"@typescript-eslint/eslint-plugin": "5.18.0",
"@typescript-eslint/parser": "5.18.0",
"downlevel-dts": "0.9.0",
"eslint": "8.12.0",
"eslint-config-prettier": "8.5.0",
Expand All @@ -101,13 +101,13 @@
"jest": "27.5.1",
"lint-staged": "12.3.7",
"microbundle": "0.14.2",
"prettier": "2.6.1",
"prettier": "2.6.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-recoil-hooks-testing-library": "0.1.0",
"react-redux": "7.2.6",
"react-redux": "7.2.8",
"react-test-renderer": "18.0.0",
"recoil": "0.6.1",
"recoil": "0.7.0",
"redux": "4.1.2",
"reselect": "4.1.5",
"rimraf": "3.0.2",
Expand All @@ -120,7 +120,7 @@
"peerDependencies": {
"react": "^16.8.3 || ^17 || ^18",
"react-redux": "^7.0.0 || ^8",
"recoil": "^0.5.0 || ^0.6.0",
"recoil": "^0.5.0 || ^0.6.0 || ^0.7.0",
"redux": "^4.0.0-0"
},
"lint-staged": {
Expand Down
Loading

0 comments on commit 18f3a44

Please sign in to comment.