Skip to content

Commit

Permalink
chore: allow react/react-dom@experimental (#36533)
Browse files Browse the repository at this point in the history
Co-authored-by: Lennart <lekoarts@gmail.com>
  • Loading branch information
wardpeet and LekoArts authored Sep 14, 2022
1 parent 186e33d commit 7ef4a3f
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 40 deletions.
4 changes: 2 additions & 2 deletions e2e-tests/themes/gatsby-theme-about/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"prettier": "2.0.4"
},
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/gatsby-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
},
"peerDependencies": {
"@gatsbyjs/reach-router": "^1.3.5",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link#readme",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-cxs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"peerDependencies": {
"cxs": ">=5.0.0",
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-feed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-fullstory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
},
"peerDependencies": {
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"engines": {
"node": ">=14.15.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-google-gtag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-google-tagmanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"gatsby": "^4.0.0-next",
"gatsby-plugin-sharp": "^4.0.0-next",
"gatsby-source-filesystem": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"dependencies": {
"@babel/code-frame": "^7.14.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-jss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"@mdx-js/react": "^2.0.0",
"gatsby": "^4.0.0-next",
"gatsby-source-filesystem": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"dependencies": {
"@mdx-js/mdx": "^2.1.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-netlify-cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"peerDependencies": {
"gatsby": "^4.0.0-next",
"netlify-cms-app": "^2.9.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"webpack": "^5.0.0"
},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-offline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-sitemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-styled-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"peerDependencies": {
"babel-plugin-styled-components": ">1.5.0",
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"styled-components": ">=2.0.0"
},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-typography/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-typography": "^0.16.1 || ^1.0.0-alpha.0",
"typography": "^0.16.0 || ^1.0.0-alpha.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-react-router-scroll/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"main": "index.js",
"peerDependencies": {
"@gatsbyjs/reach-router": "^1.3.5",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-remark-autolink-headers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"main": "index.js",
"peerDependencies": {
"gatsby": "^4.0.0-next",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
},
"peerDependencies": {
"@gatsbyjs/reach-router": "^1.3.5",
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"engines": {
"node": ">=14.15.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@
"main": "cache-dir/commonjs/gatsby-browser-entry.js",
"module": "cache-dir/gatsby-browser-entry.js",
"peerDependencies": {
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
"react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0",
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^0.0.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 7ef4a3f

Please sign in to comment.