Skip to content

Commit 7ef4a3f

Browse files
wardpeetLekoArts
andauthoredSep 14, 2022
chore: allow react/react-dom@experimental (#36533)
Co-authored-by: Lennart <lekoarts@gmail.com>

File tree

20 files changed

+40
-40
lines changed

20 files changed

+40
-40
lines changed
 

‎e2e-tests/themes/gatsby-theme-about/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"prettier": "2.0.4"
2626
},
2727
"peerDependencies": {
28-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
29-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
28+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
29+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3030
}
3131
}

‎packages/gatsby-link/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
},
4141
"peerDependencies": {
4242
"@gatsbyjs/reach-router": "^1.3.5",
43-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
44-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
43+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
44+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
4545
},
4646
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link#readme",
4747
"keywords": [

‎packages/gatsby-plugin-cxs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"peerDependencies": {
2929
"cxs": ">=5.0.0",
3030
"gatsby": "^4.0.0-next",
31-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
32-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
31+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
32+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3333
},
3434
"repository": {
3535
"type": "git",

‎packages/gatsby-plugin-feed/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"main": "index.js",
3434
"peerDependencies": {
3535
"gatsby": "^4.0.0-next",
36-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
37-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
36+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
37+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3838
},
3939
"repository": {
4040
"type": "git",

‎packages/gatsby-plugin-fullstory/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
},
3535
"peerDependencies": {
3636
"gatsby": "^4.0.0-next",
37-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
38-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
37+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
38+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3939
},
4040
"engines": {
4141
"node": ">=14.15.0"

‎packages/gatsby-plugin-google-analytics/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"main": "index.js",
2929
"peerDependencies": {
3030
"gatsby": "^4.0.0-next",
31-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
32-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
31+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
32+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3333
},
3434
"repository": {
3535
"type": "git",

‎packages/gatsby-plugin-google-gtag/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"main": "index.js",
2828
"peerDependencies": {
2929
"gatsby": "^4.0.0-next",
30-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
31-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
30+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
31+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3232
},
3333
"repository": {
3434
"type": "git",

‎packages/gatsby-plugin-google-tagmanager/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"main": "index.js",
2929
"peerDependencies": {
3030
"gatsby": "^4.0.0-next",
31-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
32-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
31+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
32+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3333
},
3434
"repository": {
3535
"type": "git",

‎packages/gatsby-plugin-image/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
"gatsby": "^4.0.0-next",
7171
"gatsby-plugin-sharp": "^4.0.0-next",
7272
"gatsby-source-filesystem": "^4.0.0-next",
73-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
74-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
73+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
74+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
7575
},
7676
"dependencies": {
7777
"@babel/code-frame": "^7.14.0",

‎packages/gatsby-plugin-jss/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"main": "index.js",
2727
"peerDependencies": {
2828
"gatsby": "^4.0.0-next",
29-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
30-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
29+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
30+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3131
},
3232
"repository": {
3333
"type": "git",

‎packages/gatsby-plugin-mdx/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"@mdx-js/react": "^2.0.0",
2424
"gatsby": "^4.0.0-next",
2525
"gatsby-source-filesystem": "^4.0.0-next",
26-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
27-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
26+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
27+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
2828
},
2929
"dependencies": {
3030
"@mdx-js/mdx": "^2.1.1",

‎packages/gatsby-plugin-netlify-cms/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"peerDependencies": {
3939
"gatsby": "^4.0.0-next",
4040
"netlify-cms-app": "^2.9.0",
41-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
42-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
41+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
42+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
4343
"webpack": "^5.0.0"
4444
},
4545
"repository": {

‎packages/gatsby-plugin-offline/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"main": "index.js",
3737
"peerDependencies": {
3838
"gatsby": "^4.0.0-next",
39-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
40-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
39+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
40+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
4141
},
4242
"repository": {
4343
"type": "git",

‎packages/gatsby-plugin-sitemap/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"main": "index.js",
3232
"peerDependencies": {
3333
"gatsby": "^4.0.0-next",
34-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
35-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
34+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
35+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3636
},
3737
"repository": {
3838
"type": "git",

‎packages/gatsby-plugin-styled-components/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"peerDependencies": {
2727
"babel-plugin-styled-components": ">1.5.0",
2828
"gatsby": "^4.0.0-next",
29-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
30-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
29+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
30+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
3131
"styled-components": ">=2.0.0"
3232
},
3333
"repository": {

‎packages/gatsby-plugin-typography/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"main": "index.js",
3131
"peerDependencies": {
3232
"gatsby": "^4.0.0-next",
33-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
34-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
33+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
34+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
3535
"react-typography": "^0.16.1 || ^1.0.0-alpha.0",
3636
"typography": "^0.16.0 || ^1.0.0-alpha.0"
3737
},

‎packages/gatsby-react-router-scroll/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"main": "index.js",
2727
"peerDependencies": {
2828
"@gatsbyjs/reach-router": "^1.3.5",
29-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
30-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
29+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
30+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3131
},
3232
"repository": {
3333
"type": "git",

‎packages/gatsby-remark-autolink-headers/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"main": "index.js",
3131
"peerDependencies": {
3232
"gatsby": "^4.0.0-next",
33-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
34-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
33+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
34+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3535
},
3636
"repository": {
3737
"type": "git",

‎packages/gatsby-script/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
},
3232
"peerDependencies": {
3333
"@gatsbyjs/reach-router": "^1.3.5",
34-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
35-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
34+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
35+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
3636
},
3737
"engines": {
3838
"node": ">=14.15.0"

‎packages/gatsby/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@
242242
"main": "cache-dir/commonjs/gatsby-browser-entry.js",
243243
"module": "cache-dir/gatsby-browser-entry.js",
244244
"peerDependencies": {
245-
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
246-
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
245+
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
246+
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
247247
},
248248
"repository": {
249249
"type": "git",

0 commit comments

Comments
 (0)
Please sign in to comment.