Skip to content

Commit

Permalink
Support React 18 (#613)
Browse files Browse the repository at this point in the history
* Refactor cloudinary test to more closely align with RTL philosophy

* Upgrade to React 18

* Address instances where React 18 has stricter act enforcement

* Format cloudinary spec

* Bump minor

* Upgrade jest-dom

* Upgrade jest-environment-jsdom

* Upgrade datepicker

* Work around {Enter} RTL bug

* Remove unused helper function

* Remove unused imports

* Clean up my act
  • Loading branch information
chawes13 authored Sep 22, 2023
1 parent c3bf628 commit 3567ea2
Show file tree
Hide file tree
Showing 5 changed files with 430 additions and 373 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpadlab/lp-components",
"version": "9.1.0",
"version": "9.2.0",
"engines": {
"node": "^18.12"
},
Expand Down Expand Up @@ -71,8 +71,8 @@
"@storybook/manager-webpack5": "^6.5.14",
"@storybook/react": "^6.4.22",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"babel-loader": "^9.1.0",
"bourbon": "^7.2.0",
Expand All @@ -87,8 +87,8 @@
"jest-environment-jsdom": "^29.6.2",
"lint-staged": "^14.0.1",
"prettier": "^3.0.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"redux": "^4.1.2",
"regenerator-runtime": "^0.14.0",
"sass": "^1.56.1",
Expand All @@ -98,7 +98,7 @@
"webpack": "^5.75.0"
},
"peerDependencies": {
"react": "^16.14.0 || ^17.0.0"
"react": "^16.14.0 || ^17.0.0 || ^18.0.0"
},
"prettier": "@launchpadlab/prettier-config",
"lint-staged": {
Expand Down
Loading

0 comments on commit 3567ea2

Please sign in to comment.