Skip to content

Commit 3567ea2

Browse files
authored
Support React 18 (#613)
* 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
1 parent c3bf628 commit 3567ea2

File tree

5 files changed

+430
-373
lines changed

5 files changed

+430
-373
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@launchpadlab/lp-components",
3-
"version": "9.1.0",
3+
"version": "9.2.0",
44
"engines": {
55
"node": "^18.12"
66
},
@@ -71,8 +71,8 @@
7171
"@storybook/manager-webpack5": "^6.5.14",
7272
"@storybook/react": "^6.4.22",
7373
"@testing-library/dom": "^9.3.1",
74-
"@testing-library/jest-dom": "^5.16.5",
75-
"@testing-library/react": "^12.1.5",
74+
"@testing-library/jest-dom": "^6.1.3",
75+
"@testing-library/react": "^14.0.0",
7676
"@testing-library/user-event": "^14.4.3",
7777
"babel-loader": "^9.1.0",
7878
"bourbon": "^7.2.0",
@@ -87,8 +87,8 @@
8787
"jest-environment-jsdom": "^29.6.2",
8888
"lint-staged": "^14.0.1",
8989
"prettier": "^3.0.0",
90-
"react": "^17.0.0",
91-
"react-dom": "^17.0.0",
90+
"react": "^18.0.0",
91+
"react-dom": "^18.0.0",
9292
"redux": "^4.1.2",
9393
"regenerator-runtime": "^0.14.0",
9494
"sass": "^1.56.1",
@@ -98,7 +98,7 @@
9898
"webpack": "^5.75.0"
9999
},
100100
"peerDependencies": {
101-
"react": "^16.14.0 || ^17.0.0"
101+
"react": "^16.14.0 || ^17.0.0 || ^18.0.0"
102102
},
103103
"prettier": "@launchpadlab/prettier-config",
104104
"lint-staged": {

0 commit comments

Comments
 (0)