diff --git a/package.json b/package.json index 760ff477fef82..8e1184a1d37e8 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ }, "private": true, "scripts": { - "bootstrap": "cross-env COMPILER_OPTIONS=\"GATSBY_MAJOR=4\" npm-run-all -s check-versions \"lerna-prepare -- --{@}\" --", + "bootstrap": "npm-run-all -s check-versions \"lerna-prepare -- --{@}\" --", "check-repo-fields": "node scripts/check-repo-fields.js", "check-versions": "node scripts/check-versions.js", "format": "npm run format:code && npm run format:other && npm run format:svg", @@ -135,7 +135,7 @@ "prettier": "prettier \"**/*.{md,css,scss,yaml,yml}\"", "publish": "echo \"Use 'yarn publish-next' or 'yarn publish-release' instead of 'yarn run publish'\"", "publish-canary": "node scripts/check-publish-access && lerna publish --canary --yes", - "publish-next": "node scripts/check-publish-access && node scripts/clear-package-dir prerelease --verbose && cross-env COMPILER_OPTIONS=\"GATSBY_MAJOR=4\" lerna publish prerelease --pre-dist-tag=next --preid=next --allow-branch=master --message=\"chore(release): Publish next\"", + "publish-next": "node scripts/check-publish-access && node scripts/clear-package-dir prerelease --verbose && lerna publish prerelease --pre-dist-tag=next --preid=next --allow-branch=master --message=\"chore(release): Publish next\"", "publish-preminor": "node scripts/check-publish-access && node scripts/clear-package-dir preminor --verbose && lerna publish preminor --pre-dist-tag=next --preid=next --force-publish --allow-branch=master --message=\"chore(release): Publish next pre-minor\"", "publish-rc": "node scripts/check-publish-access && node scripts/clear-package-dir prerelease --verbose && lerna publish prerelease --pre-dist-tag=rc --preid=rc --message=\"chore(release): Publish rc\"", "publish-release": "node scripts/check-publish-access && node scripts/clear-package-dir patch --verbose && lerna publish patch", diff --git a/patches/v4/0-node-version.patch b/patches/v4/0-node-version.patch deleted file mode 100644 index ea9d83e989a68..0000000000000 --- a/patches/v4/0-node-version.patch +++ /dev/null @@ -1,1292 +0,0 @@ -diff --git a/packages/babel-plugin-remove-graphql-queries/package.json b/packages/babel-plugin-remove-graphql-queries/package.json -index f06122dc87..b86a428dd3 100644 ---- a/packages/babel-plugin-remove-graphql-queries/package.json -+++ b/packages/babel-plugin-remove-graphql-queries/package.json -@@ -27,6 +27,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\" --extensions \".ts,.js\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/babel-preset-gatsby-package/lib/__tests__/__snapshots__/index.js.snap b/packages/babel-preset-gatsby-package/lib/__tests__/__snapshots__/index.js.snap -index 3c8396ca3a..06b00135af 100644 ---- a/packages/babel-preset-gatsby-package/lib/__tests__/__snapshots__/index.js.snap -+++ b/packages/babel-preset-gatsby-package/lib/__tests__/__snapshots__/index.js.snap -@@ -118,7 +118,7 @@ Array [ - "modules": "commonjs", - "shippedProposals": true, - "targets": Object { -- "node": "12.13.0", -+ "node": "14.15.0", - }, - "useBuiltIns": "entry", - }, -@@ -142,7 +142,7 @@ Array [ - "modules": "commonjs", - "shippedProposals": true, - "targets": Object { -- "node": "12.13.0", -+ "node": "14.15.0", - }, - "useBuiltIns": "entry", - }, -diff --git a/packages/babel-preset-gatsby-package/package.json b/packages/babel-preset-gatsby-package/package.json -index 9e4656e584..6f30be792a 100644 ---- a/packages/babel-preset-gatsby-package/package.json -+++ b/packages/babel-preset-gatsby-package/package.json -@@ -33,7 +33,7 @@ - "license": "MIT", - "main": "lib/index.js", - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - }, - "files": [ - "lib/*.js" -diff --git a/packages/babel-preset-gatsby-package/lib/index.js b/packages/babel-preset-gatsby-package/lib/index.js -index 037b1998a7..198f324f00 100644 ---- a/packages/babel-preset-gatsby-package/lib/index.js -+++ b/packages/babel-preset-gatsby-package/lib/index.js -@@ -4,7 +4,7 @@ function preset(context, options = {}) { - const { - browser = false, - debug = false, -- nodeVersion = `12.13.0`, -+ nodeVersion = `14.15.0`, - esm = false, - availableCompilerFlags = [`GATSBY_MAJOR`], - } = options -diff --git a/packages/babel-preset-gatsby/package.json b/packages/babel-preset-gatsby/package.json -index 60ccfdc163..4fac99ab61 100644 ---- a/packages/babel-preset-gatsby/package.json -+++ b/packages/babel-preset-gatsby/package.json -@@ -43,6 +43,6 @@ - "slash": "^3.0.0" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json -index 9e2f252d6b..263790fc55 100644 ---- a/packages/gatsby-cli/package.json -+++ b/packages/gatsby-cli/package.json -@@ -99,6 +99,6 @@ - "postinstall": "node scripts/postinstall.js" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-cli/src/__tests__/index.ts b/packages/gatsby-cli/src/__tests__/index.ts -index 7f578dd757..650d019753 100644 ---- a/packages/gatsby-cli/src/__tests__/index.ts -+++ b/packages/gatsby-cli/src/__tests__/index.ts -@@ -52,8 +52,8 @@ const setup = (version?: string): ReturnType => { - } - - describe(`error handling`, () => { -- it(`panics on Node < 12.13.0`, () => { -- ;[`6.0.0`, `8.0.0`, `10.0.0`, `12.0.0`].forEach(version => { -+ it(`panics on Node < 14.15.0`, () => { -+ ;[`6.0.0`, `8.0.0`, `12.13.0`, `13.0.0`].forEach(version => { - const { reporter } = setup(version) - - expect(reporter.panic).toHaveBeenCalledTimes(1) -@@ -95,8 +95,8 @@ describe(`error handling`, () => { - // }) - - describe(`normal behavior`, () => { -- it(`does not panic on Node >= 12.13.0`, () => { -- ;[`12.13.0`, `13.0.0`, `14.0.0`].forEach(version => { -+ it(`does not panic on Node >= 14.15.0`, () => { -+ ;[`14.15.0`, `15.0.0`, `16.3.0`].forEach(version => { - const { reporter } = setup(version) - - expect(reporter.panic).not.toHaveBeenCalled() -diff --git a/packages/gatsby-codemods/package.json b/packages/gatsby-codemods/package.json -index b3d35d17c7..fb647fb90b 100644 ---- a/packages/gatsby-codemods/package.json -+++ b/packages/gatsby-codemods/package.json -@@ -40,7 +40,7 @@ - "cross-env": "^7.0.3" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - }, - "bin": "./bin/gatsby-codemods.js" - } -diff --git a/packages/gatsby-core-utils/package.json b/packages/gatsby-core-utils/package.json -index 8ac6435e64..6119bd3827 100644 ---- a/packages/gatsby-core-utils/package.json -+++ b/packages/gatsby-core-utils/package.json -@@ -47,6 +47,6 @@ - "typescript": "^4.3.5" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-cypress/package.json b/packages/gatsby-cypress/package.json -index 9f9c70227d..aad3d9660a 100644 ---- a/packages/gatsby-cypress/package.json -+++ b/packages/gatsby-cypress/package.json -@@ -39,6 +39,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-design-tokens/package.json b/packages/gatsby-design-tokens/package.json -index a8f1f88464..4339eb55be 100644 ---- a/packages/gatsby-design-tokens/package.json -+++ b/packages/gatsby-design-tokens/package.json -@@ -35,6 +35,6 @@ - "preval.macro": "^5.0.0" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-dev-cli/package.json b/packages/gatsby-dev-cli/package.json -index d12a97e607..938b4d5d05 100644 ---- a/packages/gatsby-dev-cli/package.json -+++ b/packages/gatsby-dev-cli/package.json -@@ -48,6 +48,6 @@ - "watch": "babel -w src --out-dir dist --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-graphiql-explorer/package.json b/packages/gatsby-graphiql-explorer/package.json -index 811773db17..fec9f4ba7e 100644 ---- a/packages/gatsby-graphiql-explorer/package.json -+++ b/packages/gatsby-graphiql-explorer/package.json -@@ -56,6 +56,6 @@ - "whatwg-fetch": "^3.6.2" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-link/package.json b/packages/gatsby-link/package.json -index eb998cb3cb..b4ca4ea63f 100644 ---- a/packages/gatsby-link/package.json -+++ b/packages/gatsby-link/package.json -@@ -41,6 +41,6 @@ - }, - "types": "index.d.ts", - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-page-utils/package.json b/packages/gatsby-page-utils/package.json -index 1f75e269fd..f409e1b1a1 100644 ---- a/packages/gatsby-page-utils/package.json -+++ b/packages/gatsby-page-utils/package.json -@@ -44,6 +44,6 @@ - "dist/" - ], - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-benchmark-reporting/package.json b/packages/gatsby-plugin-benchmark-reporting/package.json -index 506de45faa..69742f0bb1 100644 ---- a/packages/gatsby-plugin-benchmark-reporting/package.json -+++ b/packages/gatsby-plugin-benchmark-reporting/package.json -@@ -29,6 +29,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-canonical-urls/package.json b/packages/gatsby-plugin-canonical-urls/package.json -index 7d37e98c6a..b8ae3f0931 100644 ---- a/packages/gatsby-plugin-canonical-urls/package.json -+++ b/packages/gatsby-plugin-canonical-urls/package.json -@@ -36,6 +36,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-catch-links/package.json b/packages/gatsby-plugin-catch-links/package.json -index 74155d558f..1276c33ea6 100644 ---- a/packages/gatsby-plugin-catch-links/package.json -+++ b/packages/gatsby-plugin-catch-links/package.json -@@ -37,6 +37,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-coffeescript/package.json b/packages/gatsby-plugin-coffeescript/package.json -index b6e38ffaba..3ef5323827 100644 ---- a/packages/gatsby-plugin-coffeescript/package.json -+++ b/packages/gatsby-plugin-coffeescript/package.json -@@ -43,6 +43,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-create-client-paths/package.json b/packages/gatsby-plugin-create-client-paths/package.json -index 633225920b..18ec1be79c 100644 ---- a/packages/gatsby-plugin-create-client-paths/package.json -+++ b/packages/gatsby-plugin-create-client-paths/package.json -@@ -36,6 +36,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-cxs/package.json b/packages/gatsby-plugin-cxs/package.json -index e2c1ccca76..0fb61cd2c1 100644 ---- a/packages/gatsby-plugin-cxs/package.json -+++ b/packages/gatsby-plugin-cxs/package.json -@@ -42,6 +42,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-emotion/package.json b/packages/gatsby-plugin-emotion/package.json -index e6981cfef0..713f7bba51 100644 ---- a/packages/gatsby-plugin-emotion/package.json -+++ b/packages/gatsby-plugin-emotion/package.json -@@ -41,6 +41,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-facebook-analytics/package.json b/packages/gatsby-plugin-facebook-analytics/package.json -index ba9f14276e..8844ae2136 100644 ---- a/packages/gatsby-plugin-facebook-analytics/package.json -+++ b/packages/gatsby-plugin-facebook-analytics/package.json -@@ -38,6 +38,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-feed/package.json b/packages/gatsby-plugin-feed/package.json -index cdf6f1fcdd..f2b8fcdab1 100644 ---- a/packages/gatsby-plugin-feed/package.json -+++ b/packages/gatsby-plugin-feed/package.json -@@ -47,6 +47,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-flow/package.json b/packages/gatsby-plugin-flow/package.json -index 7445f602db..455cf62ca8 100644 ---- a/packages/gatsby-plugin-flow/package.json -+++ b/packages/gatsby-plugin-flow/package.json -@@ -38,6 +38,6 @@ - "gatsby": "^3.0.0-next.0" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-fullstory/package.json b/packages/gatsby-plugin-fullstory/package.json -index 5cdab6f285..b738d13bf5 100644 ---- a/packages/gatsby-plugin-fullstory/package.json -+++ b/packages/gatsby-plugin-fullstory/package.json -@@ -38,6 +38,6 @@ - "react-dom": "^16.9.0 || ^17.0.0" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-gatsby-cloud/package.json b/packages/gatsby-plugin-gatsby-cloud/package.json -index ff5be56471..aece4e6917 100644 ---- a/packages/gatsby-plugin-gatsby-cloud/package.json -+++ b/packages/gatsby-plugin-gatsby-cloud/package.json -@@ -52,6 +52,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-google-analytics/package.json b/packages/gatsby-plugin-google-analytics/package.json -index 7b35d2c6de..d1fbadfb63 100644 ---- a/packages/gatsby-plugin-google-analytics/package.json -+++ b/packages/gatsby-plugin-google-analytics/package.json -@@ -42,7 +42,7 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - }, - "types": "./index.d.ts" - } -diff --git a/packages/gatsby-plugin-google-gtag/package.json b/packages/gatsby-plugin-google-gtag/package.json -index 3714cfb443..058fe6fe55 100644 ---- a/packages/gatsby-plugin-google-gtag/package.json -+++ b/packages/gatsby-plugin-google-gtag/package.json -@@ -41,6 +41,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-google-tagmanager/package.json b/packages/gatsby-plugin-google-tagmanager/package.json -index 5d781c38b4..8ce596536d 100644 ---- a/packages/gatsby-plugin-google-tagmanager/package.json -+++ b/packages/gatsby-plugin-google-tagmanager/package.json -@@ -42,6 +42,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-graphql-config/package.json b/packages/gatsby-plugin-graphql-config/package.json -index 7df1378e46..29b40ba50d 100644 ---- a/packages/gatsby-plugin-graphql-config/package.json -+++ b/packages/gatsby-plugin-graphql-config/package.json -@@ -38,6 +38,6 @@ - "prepare": "cross-env NODE_ENV=production npm run build" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-jss/package.json b/packages/gatsby-plugin-jss/package.json -index e3be3982af..e01a3d1e7a 100644 ---- a/packages/gatsby-plugin-jss/package.json -+++ b/packages/gatsby-plugin-jss/package.json -@@ -40,6 +40,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-layout/package.json b/packages/gatsby-plugin-layout/package.json -index a78ce82ccd..a3c0e97be0 100644 ---- a/packages/gatsby-plugin-layout/package.json -+++ b/packages/gatsby-plugin-layout/package.json -@@ -36,6 +36,6 @@ - "gatsby": "^3.0.0-next.0" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-less/package.json b/packages/gatsby-plugin-less/package.json -index 97c8ccdefd..390bf7f60d 100644 ---- a/packages/gatsby-plugin-less/package.json -+++ b/packages/gatsby-plugin-less/package.json -@@ -38,6 +38,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__,theme-test.js\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-lodash/package.json b/packages/gatsby-plugin-lodash/package.json -index cffa370ef6..07efd60a26 100644 ---- a/packages/gatsby-plugin-lodash/package.json -+++ b/packages/gatsby-plugin-lodash/package.json -@@ -38,6 +38,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-manifest/package.json b/packages/gatsby-plugin-manifest/package.json -index a81785fbc9..3e5b6daa3b 100644 ---- a/packages/gatsby-plugin-manifest/package.json -+++ b/packages/gatsby-plugin-manifest/package.json -@@ -45,6 +45,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-netlify-cms/package.json b/packages/gatsby-plugin-netlify-cms/package.json -index 1ff565ef38..d5bb8e134f 100644 ---- a/packages/gatsby-plugin-netlify-cms/package.json -+++ b/packages/gatsby-plugin-netlify-cms/package.json -@@ -52,6 +52,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-no-sourcemaps/package.json b/packages/gatsby-plugin-no-sourcemaps/package.json -index 3cab404fbc..82bb36c6d6 100644 ---- a/packages/gatsby-plugin-no-sourcemaps/package.json -+++ b/packages/gatsby-plugin-no-sourcemaps/package.json -@@ -24,6 +24,6 @@ - "gatsby": "^3.0.0-next.0" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-nprogress/package.json b/packages/gatsby-plugin-nprogress/package.json -index e4b3fbe717..2f8b1ec8f5 100644 ---- a/packages/gatsby-plugin-nprogress/package.json -+++ b/packages/gatsby-plugin-nprogress/package.json -@@ -37,6 +37,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-offline/package.json b/packages/gatsby-plugin-offline/package.json -index 7db3df810a..a930500f7d 100644 ---- a/packages/gatsby-plugin-offline/package.json -+++ b/packages/gatsby-plugin-offline/package.json -@@ -52,6 +52,6 @@ - "watch": "npm run build:sw-append -- --watch & npm run build:src -- --watch" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-page-creator/package.json b/packages/gatsby-plugin-page-creator/package.json -index c7f735c18f..86311b862e 100644 ---- a/packages/gatsby-plugin-page-creator/package.json -+++ b/packages/gatsby-plugin-page-creator/package.json -@@ -44,6 +44,6 @@ - "gatsby": "^3.0.0-next.0" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-postcss/package.json b/packages/gatsby-plugin-postcss/package.json -index 0b00d19c6a..d05007beff 100644 ---- a/packages/gatsby-plugin-postcss/package.json -+++ b/packages/gatsby-plugin-postcss/package.json -@@ -39,6 +39,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-preact/package.json b/packages/gatsby-plugin-preact/package.json -index 96b86dc3ef..35e1fdee1a 100644 ---- a/packages/gatsby-plugin-preact/package.json -+++ b/packages/gatsby-plugin-preact/package.json -@@ -42,6 +42,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-react-css-modules/package.json b/packages/gatsby-plugin-react-css-modules/package.json -index e112985970..fb52974000 100644 ---- a/packages/gatsby-plugin-react-css-modules/package.json -+++ b/packages/gatsby-plugin-react-css-modules/package.json -@@ -45,6 +45,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-react-helmet/package.json b/packages/gatsby-plugin-react-helmet/package.json -index 106d907d4b..18612d029c 100644 ---- a/packages/gatsby-plugin-react-helmet/package.json -+++ b/packages/gatsby-plugin-react-helmet/package.json -@@ -49,6 +49,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\",**/__mocks__" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-remove-trailing-slashes/package.json b/packages/gatsby-plugin-remove-trailing-slashes/package.json -index 7e839648b0..d8a4d1792d 100644 ---- a/packages/gatsby-plugin-remove-trailing-slashes/package.json -+++ b/packages/gatsby-plugin-remove-trailing-slashes/package.json -@@ -36,6 +36,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-sass/package.json b/packages/gatsby-plugin-sass/package.json -index 2de15edd5e..284caa9556 100644 ---- a/packages/gatsby-plugin-sass/package.json -+++ b/packages/gatsby-plugin-sass/package.json -@@ -43,6 +43,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-sharp/package.json b/packages/gatsby-plugin-sharp/package.json -index fa37813871..0940db3665 100644 ---- a/packages/gatsby-plugin-sharp/package.json -+++ b/packages/gatsby-plugin-sharp/package.json -@@ -60,6 +60,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\" --extensions \".ts,.js\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-sitemap/package.json b/packages/gatsby-plugin-sitemap/package.json -index 655d62832e..d20ababc75 100644 ---- a/packages/gatsby-plugin-sitemap/package.json -+++ b/packages/gatsby-plugin-sitemap/package.json -@@ -47,6 +47,6 @@ - "test:watch": "jest --watch" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-styled-components/package.json b/packages/gatsby-plugin-styled-components/package.json -index 68ac5a09f3..14edd339da 100644 ---- a/packages/gatsby-plugin-styled-components/package.json -+++ b/packages/gatsby-plugin-styled-components/package.json -@@ -41,6 +41,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-styled-jsx/package.json b/packages/gatsby-plugin-styled-jsx/package.json -index ed544cce92..5fb6881d2f 100644 ---- a/packages/gatsby-plugin-styled-jsx/package.json -+++ b/packages/gatsby-plugin-styled-jsx/package.json -@@ -38,6 +38,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-styletron/package.json b/packages/gatsby-plugin-styletron/package.json -index e3c9c84349..0dba2dfbd7 100644 ---- a/packages/gatsby-plugin-styletron/package.json -+++ b/packages/gatsby-plugin-styletron/package.json -@@ -38,6 +38,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-stylus/package.json b/packages/gatsby-plugin-stylus/package.json -index 99abf5af30..a4b9aa17a4 100644 ---- a/packages/gatsby-plugin-stylus/package.json -+++ b/packages/gatsby-plugin-stylus/package.json -@@ -39,6 +39,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-subfont/package.json b/packages/gatsby-plugin-subfont/package.json -index d921716eb5..41f5b64813 100644 ---- a/packages/gatsby-plugin-subfont/package.json -+++ b/packages/gatsby-plugin-subfont/package.json -@@ -36,6 +36,6 @@ - "gatsby": "^3.0.0-next.0" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-twitter/package.json b/packages/gatsby-plugin-twitter/package.json -index d28b304804..85ecd09c69 100644 ---- a/packages/gatsby-plugin-twitter/package.json -+++ b/packages/gatsby-plugin-twitter/package.json -@@ -37,6 +37,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-typescript/package.json b/packages/gatsby-plugin-typescript/package.json -index 80fa18937a..a2e5e62884 100644 ---- a/packages/gatsby-plugin-typescript/package.json -+++ b/packages/gatsby-plugin-typescript/package.json -@@ -46,6 +46,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-typography/package.json b/packages/gatsby-plugin-typography/package.json -index 4607b8e4ab..caed363471 100644 ---- a/packages/gatsby-plugin-typography/package.json -+++ b/packages/gatsby-plugin-typography/package.json -@@ -46,6 +46,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-plugin-utils/package.json b/packages/gatsby-plugin-utils/package.json -index 8f81bc59bc..9a0d9a3747 100644 ---- a/packages/gatsby-plugin-utils/package.json -+++ b/packages/gatsby-plugin-utils/package.json -@@ -39,6 +39,6 @@ - "src/" - ], - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-react-router-scroll/package.json b/packages/gatsby-react-router-scroll/package.json -index b7edfb862f..4817f29576 100644 ---- a/packages/gatsby-react-router-scroll/package.json -+++ b/packages/gatsby-react-router-scroll/package.json -@@ -39,6 +39,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\" --extensions \".ts,.tsx\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-autolink-headers/package.json b/packages/gatsby-remark-autolink-headers/package.json -index e6e9818a99..c5aa58bac3 100644 ---- a/packages/gatsby-remark-autolink-headers/package.json -+++ b/packages/gatsby-remark-autolink-headers/package.json -@@ -44,6 +44,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-code-repls/package.json b/packages/gatsby-remark-code-repls/package.json -index 6b1b936527..907a3e5189 100644 ---- a/packages/gatsby-remark-code-repls/package.json -+++ b/packages/gatsby-remark-code-repls/package.json -@@ -46,6 +46,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-copy-linked-files/package.json b/packages/gatsby-remark-copy-linked-files/package.json -index c64de19588..131a8eccf8 100644 ---- a/packages/gatsby-remark-copy-linked-files/package.json -+++ b/packages/gatsby-remark-copy-linked-files/package.json -@@ -47,6 +47,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-custom-blocks/package.json b/packages/gatsby-remark-custom-blocks/package.json -index 1b5201a1a2..14f1e43921 100644 ---- a/packages/gatsby-remark-custom-blocks/package.json -+++ b/packages/gatsby-remark-custom-blocks/package.json -@@ -46,6 +46,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-embed-snippet/package.json b/packages/gatsby-remark-embed-snippet/package.json -index c4cff408b7..6997efc708 100644 ---- a/packages/gatsby-remark-embed-snippet/package.json -+++ b/packages/gatsby-remark-embed-snippet/package.json -@@ -42,6 +42,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-graphviz/package.json b/packages/gatsby-remark-graphviz/package.json -index 69effc7ba8..6b2b12c9af 100644 ---- a/packages/gatsby-remark-graphviz/package.json -+++ b/packages/gatsby-remark-graphviz/package.json -@@ -50,6 +50,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-images-contentful/package.json b/packages/gatsby-remark-images-contentful/package.json -index e4b8bf76f4..6d51cf629d 100644 ---- a/packages/gatsby-remark-images-contentful/package.json -+++ b/packages/gatsby-remark-images-contentful/package.json -@@ -43,6 +43,6 @@ - "gatsby": "^3.0.0-next.0" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-images/package.json b/packages/gatsby-remark-images/package.json -index a54d5e53ca..01d97e9b0b 100644 ---- a/packages/gatsby-remark-images/package.json -+++ b/packages/gatsby-remark-images/package.json -@@ -54,6 +54,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-katex/package.json b/packages/gatsby-remark-katex/package.json -index 9728ee603e..1ec869be9c 100644 ---- a/packages/gatsby-remark-katex/package.json -+++ b/packages/gatsby-remark-katex/package.json -@@ -46,6 +46,6 @@ - "test": "jest src/__tests__/index.js" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-prismjs/package.json b/packages/gatsby-remark-prismjs/package.json -index 2d249b6186..4a7fc97966 100644 ---- a/packages/gatsby-remark-prismjs/package.json -+++ b/packages/gatsby-remark-prismjs/package.json -@@ -44,6 +44,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-responsive-iframe/package.json b/packages/gatsby-remark-responsive-iframe/package.json -index 013ac6e0d2..2e5578e272 100644 ---- a/packages/gatsby-remark-responsive-iframe/package.json -+++ b/packages/gatsby-remark-responsive-iframe/package.json -@@ -44,6 +44,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-remark-smartypants/package.json b/packages/gatsby-remark-smartypants/package.json -index 3abe53afa1..1fbb2c08df 100644 ---- a/packages/gatsby-remark-smartypants/package.json -+++ b/packages/gatsby-remark-smartypants/package.json -@@ -40,6 +40,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-source-contentful/package.json b/packages/gatsby-source-contentful/package.json -index a483a7676d..809f939569 100644 ---- a/packages/gatsby-source-contentful/package.json -+++ b/packages/gatsby-source-contentful/package.json -@@ -59,7 +59,7 @@ - "watch": "babel -w src --out-dir . --ignore **/__tests__ --ignore **/__fixtures__" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - }, - "types": "index.d.ts" - } -diff --git a/packages/gatsby-source-drupal/package.json b/packages/gatsby-source-drupal/package.json -index 2ca9cde21e..fd87d53f9a 100644 ---- a/packages/gatsby-source-drupal/package.json -+++ b/packages/gatsby-source-drupal/package.json -@@ -26,7 +26,7 @@ - "cross-env": "^7.0.3" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - }, - "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-drupal#readme", - "keywords": [ -diff --git a/packages/gatsby-source-faker/package.json b/packages/gatsby-source-faker/package.json -index f41ac4b266..bd16e8808d 100644 ---- a/packages/gatsby-source-faker/package.json -+++ b/packages/gatsby-source-faker/package.json -@@ -38,6 +38,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json -index ee5076e72b..745f38578f 100644 ---- a/packages/gatsby-source-filesystem/package.json -+++ b/packages/gatsby-source-filesystem/package.json -@@ -49,6 +49,6 @@ - }, - "types": "index.d.ts", - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-source-graphql/package.json b/packages/gatsby-source-graphql/package.json -index 0fe4010aad..f8e91ab907 100644 ---- a/packages/gatsby-source-graphql/package.json -+++ b/packages/gatsby-source-graphql/package.json -@@ -44,6 +44,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-source-hacker-news/package.json b/packages/gatsby-source-hacker-news/package.json -index a6dd73defd..fc2efe3f14 100644 ---- a/packages/gatsby-source-hacker-news/package.json -+++ b/packages/gatsby-source-hacker-news/package.json -@@ -38,6 +38,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-source-lever/package.json b/packages/gatsby-source-lever/package.json -index 6537bcbbf9..ac63ee3bd8 100644 ---- a/packages/gatsby-source-lever/package.json -+++ b/packages/gatsby-source-lever/package.json -@@ -44,6 +44,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-source-medium/package.json b/packages/gatsby-source-medium/package.json -index 8af716599a..86d5510ebd 100644 ---- a/packages/gatsby-source-medium/package.json -+++ b/packages/gatsby-source-medium/package.json -@@ -37,6 +37,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-source-mongodb/package.json b/packages/gatsby-source-mongodb/package.json -index d7c3f86434..9622931458 100644 ---- a/packages/gatsby-source-mongodb/package.json -+++ b/packages/gatsby-source-mongodb/package.json -@@ -43,6 +43,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-source-npm-package-search/package.json b/packages/gatsby-source-npm-package-search/package.json -index 3b8024a125..66dd4491c5 100644 ---- a/packages/gatsby-source-npm-package-search/package.json -+++ b/packages/gatsby-source-npm-package-search/package.json -@@ -35,6 +35,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-source-wikipedia/package.json b/packages/gatsby-source-wikipedia/package.json -index 5e8e08d8fb..3058ef3a4d 100644 ---- a/packages/gatsby-source-wikipedia/package.json -+++ b/packages/gatsby-source-wikipedia/package.json -@@ -40,6 +40,6 @@ - "cross-env": "^7.0.3" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json -index 6eac8517ef..7c463054aa 100644 ---- a/packages/gatsby-source-wordpress/package.json -+++ b/packages/gatsby-source-wordpress/package.json -@@ -88,6 +88,6 @@ - "generate-plugin-options-docs": "node ./generate-plugin-options-docs.js" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-telemetry/package.json b/packages/gatsby-telemetry/package.json -index 079e5ec5e8..ddf3237f66 100644 ---- a/packages/gatsby-telemetry/package.json -+++ b/packages/gatsby-telemetry/package.json -@@ -61,6 +61,6 @@ - "boolean-negation": false - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-asciidoc/package.json b/packages/gatsby-transformer-asciidoc/package.json -index 01df5463c9..f3b0ae5556 100644 ---- a/packages/gatsby-transformer-asciidoc/package.json -+++ b/packages/gatsby-transformer-asciidoc/package.json -@@ -38,6 +38,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-csv/package.json b/packages/gatsby-transformer-csv/package.json -index ee5b997c71..88da858fdd 100644 ---- a/packages/gatsby-transformer-csv/package.json -+++ b/packages/gatsby-transformer-csv/package.json -@@ -39,6 +39,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-documentationjs/package.json b/packages/gatsby-transformer-documentationjs/package.json -index 32ea95fd96..4664839d2f 100644 ---- a/packages/gatsby-transformer-documentationjs/package.json -+++ b/packages/gatsby-transformer-documentationjs/package.json -@@ -40,6 +40,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-excel/package.json b/packages/gatsby-transformer-excel/package.json -index 0580915e35..ef881ee5eb 100644 ---- a/packages/gatsby-transformer-excel/package.json -+++ b/packages/gatsby-transformer-excel/package.json -@@ -38,6 +38,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-hjson/package.json b/packages/gatsby-transformer-hjson/package.json -index c0a3eda709..13c9923145 100644 ---- a/packages/gatsby-transformer-hjson/package.json -+++ b/packages/gatsby-transformer-hjson/package.json -@@ -38,6 +38,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-javascript-frontmatter/package.json b/packages/gatsby-transformer-javascript-frontmatter/package.json -index d20b77a6d9..d9ed5102c1 100644 ---- a/packages/gatsby-transformer-javascript-frontmatter/package.json -+++ b/packages/gatsby-transformer-javascript-frontmatter/package.json -@@ -37,6 +37,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-javascript-static-exports/package.json b/packages/gatsby-transformer-javascript-static-exports/package.json -index 3f9847b212..d9777bc174 100644 ---- a/packages/gatsby-transformer-javascript-static-exports/package.json -+++ b/packages/gatsby-transformer-javascript-static-exports/package.json -@@ -39,6 +39,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-json/package.json b/packages/gatsby-transformer-json/package.json -index 3df7be98ea..071f596908 100644 ---- a/packages/gatsby-transformer-json/package.json -+++ b/packages/gatsby-transformer-json/package.json -@@ -37,6 +37,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-pdf/package.json b/packages/gatsby-transformer-pdf/package.json -index c2c5db21de..2afd83d852 100644 ---- a/packages/gatsby-transformer-pdf/package.json -+++ b/packages/gatsby-transformer-pdf/package.json -@@ -39,6 +39,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-react-docgen/package.json b/packages/gatsby-transformer-react-docgen/package.json -index 8be0946fb5..0ee3498501 100644 ---- a/packages/gatsby-transformer-react-docgen/package.json -+++ b/packages/gatsby-transformer-react-docgen/package.json -@@ -44,6 +44,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-remark/package.json b/packages/gatsby-transformer-remark/package.json -index 34e289fb88..2fecdee720 100644 ---- a/packages/gatsby-transformer-remark/package.json -+++ b/packages/gatsby-transformer-remark/package.json -@@ -59,6 +59,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-screenshot/lambda/package.json b/packages/gatsby-transformer-screenshot/lambda/package.json -index 69036d3a52..6a89414b28 100644 ---- a/packages/gatsby-transformer-screenshot/lambda/package.json -+++ b/packages/gatsby-transformer-screenshot/lambda/package.json -@@ -9,6 +9,6 @@ - }, - "keywords": [], - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-screenshot/package.json b/packages/gatsby-transformer-screenshot/package.json -index d0eaa7332e..dc6a2859e7 100644 ---- a/packages/gatsby-transformer-screenshot/package.json -+++ b/packages/gatsby-transformer-screenshot/package.json -@@ -40,6 +40,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\" --ignore lambda" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-sharp/package.json b/packages/gatsby-transformer-sharp/package.json -index 10532c33b0..4bb26d185b 100644 ---- a/packages/gatsby-transformer-sharp/package.json -+++ b/packages/gatsby-transformer-sharp/package.json -@@ -46,6 +46,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\" --extensions \".ts,.js\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-sqip/package.json b/packages/gatsby-transformer-sqip/package.json -index 49dfb6bce2..1bd387e9ba 100644 ---- a/packages/gatsby-transformer-sqip/package.json -+++ b/packages/gatsby-transformer-sqip/package.json -@@ -47,6 +47,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-toml/package.json b/packages/gatsby-transformer-toml/package.json -index 9aff844214..c9aaf62a5a 100644 ---- a/packages/gatsby-transformer-toml/package.json -+++ b/packages/gatsby-transformer-toml/package.json -@@ -38,6 +38,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-xml/package.json b/packages/gatsby-transformer-xml/package.json -index 441d87974f..7a144bdf74 100644 ---- a/packages/gatsby-transformer-xml/package.json -+++ b/packages/gatsby-transformer-xml/package.json -@@ -39,6 +39,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-transformer-yaml/package.json b/packages/gatsby-transformer-yaml/package.json -index 3129d7f69f..1d9726382c 100644 ---- a/packages/gatsby-transformer-yaml/package.json -+++ b/packages/gatsby-transformer-yaml/package.json -@@ -39,6 +39,6 @@ - "watch": "babel -w src --out-dir . --ignore \"**/__tests__\"" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby-worker/package.json b/packages/gatsby-worker/package.json -index b633dbe27d..906648ae2d 100644 ---- a/packages/gatsby-worker/package.json -+++ b/packages/gatsby-worker/package.json -@@ -36,6 +36,6 @@ - "typegen": "rimraf \"dist/**/*.d.ts\" && tsc --emitDeclarationOnly --declaration --declarationDir dist/" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - } - } -diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json -index f9b0648b15..0798c38517 100644 ---- a/packages/gatsby/package.json -+++ b/packages/gatsby/package.json -@@ -191,7 +191,7 @@ - "zipkin-transport-http": "^0.22.0" - }, - "engines": { -- "node": ">=12.13.0" -+ "node": ">=14.15.0" - }, - "files": [ - "apis.json", -diff --git a/packages/gatsby/src/utils/webpack.config.js b/packages/gatsby/src/utils/webpack.config.js -index 1611d48014..63fa7ff6b0 100644 ---- a/packages/gatsby/src/utils/webpack.config.js -+++ b/packages/gatsby/src/utils/webpack.config.js -@@ -525,7 +525,7 @@ module.exports = async ( - stage === `build-ssr` - ) { - const [major, minor] = process.version.replace(`v`, ``).split(`.`) -- config.target = `node12.13` -+ config.target = `node14.15` - } else { - config.target = [`web`, `es5`] - } diff --git a/patches/v4/1-lmdb-default.patch b/patches/v4/1-lmdb-default.patch deleted file mode 100644 index 1a7a82c1f976a..0000000000000 --- a/patches/v4/1-lmdb-default.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json -index f9b0648b15..bfbd311aca 100644 ---- a/packages/gatsby/package.json -+++ b/packages/gatsby/package.json -@@ -101,6 +101,7 @@ - "json-loader": "^0.5.7", - "latest-version": "5.1.0", - "lodash": "^4.17.21", -+ "lmdb-store": "^1.6.6", - "md5-file": "^5.0.0", - "meant": "^1.0.1", - "memoizee": "^0.4.15", -@@ -180,7 +181,6 @@ - "cross-env": "^7.0.3", - "documentation": "^13.1.0", - "enhanced-resolve": "^5.8.2", -- "lmdb-store": "~1.5.5", - "react": "^16.12.0", - "react-dom": "^16.12.0", - "rimraf": "^3.0.2", diff --git a/patches/v4/3-onplugininit.patch b/patches/v4/3-onplugininit.patch deleted file mode 100644 index bd0f36b956ffc..0000000000000 --- a/patches/v4/3-onplugininit.patch +++ /dev/null @@ -1,69 +0,0 @@ -diff --git a/packages/gatsby/index.d.ts b/packages/gatsby/index.d.ts -index 4ed2e22114..df803ef8b4 100644 ---- a/packages/gatsby/index.d.ts -+++ b/packages/gatsby/index.d.ts -@@ -350,7 +350,7 @@ export interface GatsbyNode< - callback: PluginCallback - ): void | Promise - -- /** Called at the end of the bootstrap process after all other extension APIs have been called. If you indend to use this API in a plugin, use "unstable_onPluginInit" instead. */ -+ /** Called at the end of the bootstrap process after all other extension APIs have been called. If you indend to use this API in a plugin, use "onPluginInit" instead. */ - onPreBootstrap?( - args: ParentSpanPluginArgs, - options: PluginOptions, -@@ -376,18 +376,18 @@ export interface GatsbyNode< - * @gatsbyVersion 3.9.0 - * @example - * let createJobV2 -- * exports.unstable_onPluginInit = ({ actions }) => { -+ * exports.onPluginInit = ({ actions }) => { - * // Store job creation action to use it later - * createJobV2 = actions.createJobV2 - * } - */ -- unstable_onPluginInit?( -+ onPluginInit?( - args: ParentSpanPluginArgs, - options: PluginOptions, - callback: PluginCallback - ): void | Promise - -- /** The first API called during Gatsby execution, runs as soon as plugins are loaded, before cache initialization and bootstrap preparation. If you indend to use this API in a plugin, use "unstable_onPluginInit" instead. */ -+ /** The first API called during Gatsby execution, runs as soon as plugins are loaded, before cache initialization and bootstrap preparation. If you indend to use this API in a plugin, use "onPluginInit" instead. */ - onPreInit?( - args: ParentSpanPluginArgs, - options: PluginOptions, -diff --git a/packages/gatsby/scripts/__tests__/api.js b/packages/gatsby/scripts/__tests__/api.js -index c0b7735a76..593059e8ce 100644 ---- a/packages/gatsby/scripts/__tests__/api.js -+++ b/packages/gatsby/scripts/__tests__/api.js -@@ -57,7 +57,7 @@ it("generates the expected api output", done => { - "resolvableExtensions": Object {}, - "setFieldsOnGraphQLNodeType": Object {}, - "sourceNodes": Object {}, -- "unstable_onPluginInit": Object { -+ "onPluginInit": Object { - "version": "3.9.0", - }, - "unstable_shouldOnCreateNode": Object { -diff --git a/packages/gatsby/src/utils/api-node-docs.ts b/packages/gatsby/src/utils/api-node-docs.ts -index 793386f614..06b2259350 100644 ---- a/packages/gatsby/src/utils/api-node-docs.ts -+++ b/packages/gatsby/src/utils/api-node-docs.ts -@@ -415,14 +415,13 @@ export const onPreInit = true - * - * @example - * let createJobV2 -- * exports.unstable_onPluginInit = ({ actions }) => { -+ * exports.onPluginInit = ({ actions }) => { - * // store job creation action to use it later - * createJobV2 = actions.createJobV2 - * } - * @gatsbyVersion 3.9.0 - */ --// eslint-disable-next-line @typescript-eslint/naming-convention --export const unstable_onPluginInit = true -+export const onPluginInit = true - - /** - * Called once Gatsby has initialized itself and is ready to bootstrap your site. diff --git a/patches/v4/4-gatsby-plugin-mdx-subplugin.patch b/patches/v4/4-gatsby-plugin-mdx-subplugin.patch deleted file mode 100644 index 42a127d4569ba..0000000000000 --- a/patches/v4/4-gatsby-plugin-mdx-subplugin.patch +++ /dev/null @@ -1,94 +0,0 @@ -diff --git a/packages/gatsby-plugin-mdx/gatsby-node.js b/packages/gatsby-plugin-mdx/gatsby-node.js -index a5e0f5bb92..4c7b964582 100644 ---- a/packages/gatsby-plugin-mdx/gatsby-node.js -+++ b/packages/gatsby-plugin-mdx/gatsby-node.js -@@ -80,16 +80,9 @@ exports.pluginOptionsSchema = function ({ Joi }) { - .unknown(true) - .default({}) - .description(`Set the layout components for MDX source types`), -- gatsbyRemarkPlugins: Joi.array() -- .items( -- Joi.string(), -- Joi.object({ -- resolve: Joi.string(), -- options: Joi.object({}).unknown(true), -- }) -- ) -- .default([]) -- .description(`Use Gatsby-specific remark plugins`), -+ gatsbyRemarkPlugins: Joi.subPlugins({ entry: `index` }).description( -+ `Use Gatsby-specific remark plugins` -+ ), - lessBabel: Joi.boolean() - .default(false) - .description( -diff --git a/packages/gatsby-plugin-mdx/gatsby/create-schema-customization.js b/packages/gatsby-plugin-mdx/gatsby/create-schema-customization.js -index aca0536a58..33e7480ff9 100644 ---- a/packages/gatsby-plugin-mdx/gatsby/create-schema-customization.js -+++ b/packages/gatsby-plugin-mdx/gatsby/create-schema-customization.js -@@ -17,7 +17,6 @@ const getTableOfContents = require(`../utils/get-table-of-content`) - const defaultOptions = require(`../utils/default-options`) - const genMDX = require(`../utils/gen-mdx`) - const { mdxHTMLLoader: loader } = require(`../utils/render-html`) --const { interopDefault } = require(`../utils/interop-default`) - - async function getCounts({ mdast }) { - const counts = {} -@@ -75,7 +74,7 @@ module.exports = function createSchemaCustomization( - */ - for (const plugin of options.gatsbyRemarkPlugins) { - debug(`requiring`, plugin.resolve) -- const requiredPlugin = interopDefault(require(plugin.resolve)) -+ const requiredPlugin = plugin.module - debug(`required`, plugin) - if (_.isFunction(requiredPlugin.setParserPlugins)) { - for (const parserPlugin of requiredPlugin.setParserPlugins( -diff --git a/packages/gatsby-plugin-mdx/loaders/mdx-loader.js b/packages/gatsby-plugin-mdx/loaders/mdx-loader.js -index a602ca833c..9f9432df06 100644 ---- a/packages/gatsby-plugin-mdx/loaders/mdx-loader.js -+++ b/packages/gatsby-plugin-mdx/loaders/mdx-loader.js -@@ -5,7 +5,6 @@ const path = require(`path`) - const unified = require(`unified`) - const babel = require(`@babel/core`) - const { createRequireFromPath, slash } = require(`gatsby-core-utils`) --const { interopDefault } = require(`../utils/interop-default`) - - const { - isImport, -@@ -206,7 +205,7 @@ ${contentWithoutFrontmatter}` - */ - for (const plugin of options.gatsbyRemarkPlugins) { - debug(`requiring`, plugin.resolve) -- const requiredPlugin = interopDefault(require(plugin.resolve)) -+ const requiredPlugin = plugin.module - debug(`required`, plugin) - if (_.isFunction(requiredPlugin.setParserPlugins)) { - for (const parserPlugin of requiredPlugin.setParserPlugins( -diff --git a/packages/gatsby-plugin-mdx/utils/get-source-plugins-as-remark-plugins.js b/packages/gatsby-plugin-mdx/utils/get-source-plugins-as-remark-plugins.js -index 86f14c514e..6246062755 100644 ---- a/packages/gatsby-plugin-mdx/utils/get-source-plugins-as-remark-plugins.js -+++ b/packages/gatsby-plugin-mdx/utils/get-source-plugins-as-remark-plugins.js -@@ -1,5 +1,4 @@ - const visit = require(`unist-util-visit`) --const { interopDefault } = require(`./interop-default`) - - // ensure only one `/` in new url - const withPathPrefix = (url, pathPrefix) => -@@ -36,7 +35,7 @@ module.exports = async function getSourcePluginsAsRemarkPlugins({ - - // return list of remarkPlugins - const userPluginsFiltered = gatsbyRemarkPlugins.filter( -- plugin => typeof interopDefault(require(plugin.resolve)) === `function` -+ plugin => typeof plugin.module === `function` - ) - - if (!userPluginsFiltered.length) { -@@ -44,7 +43,7 @@ module.exports = async function getSourcePluginsAsRemarkPlugins({ - } - - const userPlugins = userPluginsFiltered.map(plugin => { -- const requiredPlugin = interopDefault(require(plugin.resolve)) -+ const requiredPlugin = plugin.module - const wrappedPlugin = () => - async function transformer(markdownAST) { - await requiredPlugin( diff --git a/patches/v4/5-plugins-use-webpack-from-gatsby.patch b/patches/v4/5-plugins-use-webpack-from-gatsby.patch deleted file mode 100644 index 8b2151556e88c..0000000000000 --- a/patches/v4/5-plugins-use-webpack-from-gatsby.patch +++ /dev/null @@ -1,58 +0,0 @@ -diff --git a/packages/gatsby-plugin-mdx/package.json b/packages/gatsby-plugin-mdx/package.json -index 4fa83e356f..4e18ac3fa0 100644 ---- a/packages/gatsby-plugin-mdx/package.json -+++ b/packages/gatsby-plugin-mdx/package.json -@@ -14,6 +14,7 @@ - "directory": "packages/gatsby-plugin-mdx" - }, - "peerDependencies": { -+ "gatsby": "^4.0.0-alpha-9689ff", - "@mdx-js/mdx": "^1.0.0", - "@mdx-js/react": "^1.0.0", - "react": "^16.9.0 || ^17.0.0", -diff --git a/packages/gatsby-plugin-mdx/utils/render-html.js b/packages/gatsby-plugin-mdx/utils/render-html.js -index 16d1080b21..ab390241b3 100644 ---- a/packages/gatsby-plugin-mdx/utils/render-html.js -+++ b/packages/gatsby-plugin-mdx/utils/render-html.js -@@ -1,4 +1,4 @@ --const webpack = require(`webpack`) -+const webpack = require(`gatsby/webpack`) - const path = require(`path`) - const evaluate = require(`eval`) - const debug = require(`debug`)(`gatsby-plugin-mdx:render-html`) -diff --git a/packages/gatsby-plugin-netlify-cms/package.json b/packages/gatsby-plugin-netlify-cms/package.json -index cdd3644243..c84c97d074 100644 ---- a/packages/gatsby-plugin-netlify-cms/package.json -+++ b/packages/gatsby-plugin-netlify-cms/package.json -@@ -15,8 +15,7 @@ - "html-webpack-tags-plugin": "^3.0.1", - "lodash": "^4.17.21", - "mini-css-extract-plugin": "1.6.2", -- "netlify-identity-widget": "^1.9.2", -- "webpack": "^5.35.0" -+ "netlify-identity-widget": "^1.9.2" - }, - "devDependencies": { - "@babel/cli": "^7.15.4", -@@ -40,7 +39,8 @@ - "gatsby": "^4.0.0-alpha-9689ff", - "netlify-cms-app": "^2.9.0", - "react": "^16.9.0 || ^17.0.0", -- "react-dom": "^16.9.0 || ^17.0.0" -+ "react-dom": "^16.9.0 || ^17.0.0", -+ "webpack": "^5.0.0" - }, - "repository": { - "type": "git", -diff --git a/packages/gatsby-plugin-netlify-cms/src/gatsby-node.js b/packages/gatsby-plugin-netlify-cms/src/gatsby-node.js -index 3f060702bb..bb04a2a389 100644 ---- a/packages/gatsby-plugin-netlify-cms/src/gatsby-node.js -+++ b/packages/gatsby-plugin-netlify-cms/src/gatsby-node.js -@@ -1,6 +1,6 @@ - import path from "path" - import { mapValues, isPlainObject, trim } from "lodash" --import webpack from "webpack" -+import webpack from "gatsby/webpack" - import HtmlWebpackPlugin from "html-webpack-plugin" - import { HtmlWebpackSkipAssetsPlugin } from "html-webpack-skip-assets-plugin" - import MiniCssExtractPlugin from "mini-css-extract-plugin" diff --git a/patches/v4/2-gatsby-peerdeps.patch b/patches/v5/0-gatsby-peerdeps.patch similarity index 65% rename from patches/v4/2-gatsby-peerdeps.patch rename to patches/v5/0-gatsby-peerdeps.patch index 37b7564da0242..0adb697cfaac1 100644 --- a/patches/v4/2-gatsby-peerdeps.patch +++ b/patches/v5/0-gatsby-peerdeps.patch @@ -1,1169 +1,1244 @@ +diff --git a/e2e-tests/themes/gatsby-theme-about/package.json b/e2e-tests/themes/gatsby-theme-about/package.json +index 27e04f8589..3ef3228aed 100644 +--- a/e2e-tests/themes/gatsby-theme-about/package.json ++++ b/e2e-tests/themes/gatsby-theme-about/package.json +@@ -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": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" + } + } diff --git a/packages/babel-plugin-remove-graphql-queries/package.json b/packages/babel-plugin-remove-graphql-queries/package.json -index 066c17909b..8bf8a69bba 100644 +index ff112dd914..e514715102 100644 --- a/packages/babel-plugin-remove-graphql-queries/package.json +++ b/packages/babel-plugin-remove-graphql-queries/package.json -@@ -20,7 +20,7 @@ +@@ -21,7 +21,7 @@ }, "peerDependencies": { "@babel/core": "^7.0.0", -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "license": "MIT", "main": "index.js", diff --git a/packages/gatsby-cypress/package.json b/packages/gatsby-cypress/package.json -index b4347eca51..da60cf2a96 100644 +index 7190ae2240..df1431b15e 100644 --- a/packages/gatsby-cypress/package.json +++ b/packages/gatsby-cypress/package.json @@ -31,7 +31,7 @@ ], "peerDependencies": { "cypress": "^3.1.0", -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "scripts": { "build": "babel src --out-dir . --ignore \"**/__tests__\"", +diff --git a/packages/gatsby-link/package.json b/packages/gatsby-link/package.json +index 6b40be8815..3572108b70 100644 +--- a/packages/gatsby-link/package.json ++++ b/packages/gatsby-link/package.json +@@ -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": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" + }, + "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-link#readme", + "keywords": [ diff --git a/packages/gatsby-plugin-canonical-urls/package.json b/packages/gatsby-plugin-canonical-urls/package.json -index 7f442a0634..abd6d9b218 100644 +index d91ae53819..5599292840 100644 --- a/packages/gatsby-plugin-canonical-urls/package.json +++ b/packages/gatsby-plugin-canonical-urls/package.json @@ -23,7 +23,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-catch-links/package.json b/packages/gatsby-plugin-catch-links/package.json -index 8f34cec420..c250c671ba 100644 +index fcbb6034a8..d5b2ceb948 100644 --- a/packages/gatsby-plugin-catch-links/package.json +++ b/packages/gatsby-plugin-catch-links/package.json @@ -24,7 +24,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-coffeescript/package.json b/packages/gatsby-plugin-coffeescript/package.json -index 687fc32b2d..45cca545ce 100644 +index 930f9a751f..0ffd1154af 100644 --- a/packages/gatsby-plugin-coffeescript/package.json +++ b/packages/gatsby-plugin-coffeescript/package.json @@ -30,7 +30,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" - }, - "repository": { - "type": "git", -diff --git a/packages/gatsby-plugin-create-client-paths/package.json b/packages/gatsby-plugin-create-client-paths/package.json -index 2d26413cdf..1c8150c5a1 100644 ---- a/packages/gatsby-plugin-create-client-paths/package.json -+++ b/packages/gatsby-plugin-create-client-paths/package.json -@@ -23,7 +23,7 @@ - "license": "MIT", - "main": "index.js", - "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-cxs/package.json b/packages/gatsby-plugin-cxs/package.json -index 20278d7ad9..cbc5f20df1 100644 +index e87427224e..ca94fb5ed0 100644 --- a/packages/gatsby-plugin-cxs/package.json +++ b/packages/gatsby-plugin-cxs/package.json -@@ -27,7 +27,7 @@ +@@ -27,9 +27,9 @@ "main": "index.js", "peerDependencies": { "cxs": ">=5.0.0", -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.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" ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" }, + "repository": { + "type": "git", diff --git a/packages/gatsby-plugin-emotion/package.json b/packages/gatsby-plugin-emotion/package.json -index 46381ae43a..4c76fc08bc 100644 +index a940f93bc7..3a231d6985 100644 --- a/packages/gatsby-plugin-emotion/package.json +++ b/packages/gatsby-plugin-emotion/package.json @@ -19,7 +19,7 @@ "peerDependencies": { "@babel/core": "^7.11.6", "@emotion/react": "^11.0.0", -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-emotion#readme", "keywords": [ diff --git a/packages/gatsby-plugin-facebook-analytics/package.json b/packages/gatsby-plugin-facebook-analytics/package.json -index e331360c54..f460e61567 100644 +index 90b166e66f..6a66c77f49 100644 --- a/packages/gatsby-plugin-facebook-analytics/package.json +++ b/packages/gatsby-plugin-facebook-analytics/package.json @@ -25,7 +25,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-feed/package.json b/packages/gatsby-plugin-feed/package.json -index 76f0e095f2..a5fc85fabd 100644 +index de5e071b2c..11f94a0f7a 100644 --- a/packages/gatsby-plugin-feed/package.json +++ b/packages/gatsby-plugin-feed/package.json -@@ -32,7 +32,7 @@ +@@ -32,9 +32,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.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" ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" }, + "repository": { + "type": "git", diff --git a/packages/gatsby-plugin-flow/package.json b/packages/gatsby-plugin-flow/package.json -index c458d396d0..7ac1a8cb01 100644 +index 63b165e2ec..91e34525bf 100644 --- a/packages/gatsby-plugin-flow/package.json +++ b/packages/gatsby-plugin-flow/package.json @@ -35,7 +35,7 @@ - "gatsby-plugin-utils": "^1.14.0-next.2" + "gatsby-plugin-utils": "^3.17.0-next.0" }, "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "engines": { "node": ">=14.15.0" diff --git a/packages/gatsby-plugin-fullstory/package.json b/packages/gatsby-plugin-fullstory/package.json -index 8f1a963aa6..7555657a5f 100644 +index 7bc1f5703e..3adf1927c6 100644 --- a/packages/gatsby-plugin-fullstory/package.json +++ b/packages/gatsby-plugin-fullstory/package.json -@@ -33,7 +33,7 @@ +@@ -33,9 +33,9 @@ "cross-env": "^7.0.3" }, "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.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" ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" }, + "engines": { + "node": ">=14.15.0" diff --git a/packages/gatsby-plugin-gatsby-cloud/package.json b/packages/gatsby-plugin-gatsby-cloud/package.json -index 208db2ce13..cc4a5d9d5a 100644 +index fa4cf4d02c..3f3cfa4c62 100644 --- a/packages/gatsby-plugin-gatsby-cloud/package.json +++ b/packages/gatsby-plugin-gatsby-cloud/package.json -@@ -42,7 +42,7 @@ +@@ -35,7 +35,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", "webpack": "*" }, "repository": { diff --git a/packages/gatsby-plugin-google-analytics/package.json b/packages/gatsby-plugin-google-analytics/package.json -index d3be7c08f9..d330eb3e15 100644 +index 2493b5b115..cc50e2487b 100644 --- a/packages/gatsby-plugin-google-analytics/package.json +++ b/packages/gatsby-plugin-google-analytics/package.json -@@ -27,7 +27,7 @@ +@@ -27,9 +27,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.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" ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" }, + "repository": { + "type": "git", diff --git a/packages/gatsby-plugin-google-gtag/package.json b/packages/gatsby-plugin-google-gtag/package.json -index 4a3f7a1623..605f60806a 100644 +index 562bbf68c8..2eb5779f75 100644 --- a/packages/gatsby-plugin-google-gtag/package.json +++ b/packages/gatsby-plugin-google-gtag/package.json -@@ -26,7 +26,7 @@ +@@ -26,9 +26,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.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" ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" }, + "repository": { + "type": "git", diff --git a/packages/gatsby-plugin-google-tagmanager/package.json b/packages/gatsby-plugin-google-tagmanager/package.json -index 601bb57338..fb5f4cf392 100644 +index 48aa110a4c..d859e54bfd 100644 --- a/packages/gatsby-plugin-google-tagmanager/package.json +++ b/packages/gatsby-plugin-google-tagmanager/package.json -@@ -27,7 +27,7 @@ +@@ -27,9 +27,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.0.0" - }, -diff --git a/packages/gatsby-plugin-graphql-config/package.json b/packages/gatsby-plugin-graphql-config/package.json -index 0962ebdbda..8d1163576a 100644 ---- a/packages/gatsby-plugin-graphql-config/package.json -+++ b/packages/gatsby-plugin-graphql-config/package.json -@@ -17,7 +17,7 @@ - "cross-env": "^7.0.3" +- "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" ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" }, - "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" - }, - "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-graphql-config#readme", - "keywords": [ + "repository": { + "type": "git", diff --git a/packages/gatsby-plugin-image/package.json b/packages/gatsby-plugin-image/package.json -index f672c573a2..9f46f01253 100644 +index 39d741e61b..2554cab444 100644 --- a/packages/gatsby-plugin-image/package.json +++ b/packages/gatsby-plugin-image/package.json -@@ -65,9 +65,9 @@ +@@ -67,11 +67,11 @@ }, "peerDependencies": { "@babel/core": "^7.12.3", -- "gatsby": "^3.0.0-next.0", -- "gatsby-plugin-sharp": "^3.0.0-next.0", -- "gatsby-source-filesystem": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", -+ "gatsby-plugin-sharp": "^4.0.0-alpha-9689ff", -+ "gatsby-source-filesystem": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.0.0" - }, +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", + "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": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" + }, + "dependencies": { + "@babel/code-frame": "^7.14.0", diff --git a/packages/gatsby-plugin-jss/package.json b/packages/gatsby-plugin-jss/package.json -index 762fea84ef..f47b068e8c 100644 +index 68b01c7944..c0137b0f23 100644 --- a/packages/gatsby-plugin-jss/package.json +++ b/packages/gatsby-plugin-jss/package.json -@@ -25,7 +25,7 @@ +@@ -25,9 +25,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.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" ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" }, + "repository": { + "type": "git", diff --git a/packages/gatsby-plugin-layout/package.json b/packages/gatsby-plugin-layout/package.json -index e2ca3114a5..7d465f6e1a 100644 +index 975cd65925..101ef967cb 100644 --- a/packages/gatsby-plugin-layout/package.json +++ b/packages/gatsby-plugin-layout/package.json @@ -33,7 +33,7 @@ "cross-env": "^7.0.3" }, "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "engines": { "node": ">=14.15.0" diff --git a/packages/gatsby-plugin-less/package.json b/packages/gatsby-plugin-less/package.json -index fdc54ec158..cdda0af73f 100644 +index 1428254da5..ad9039d1e0 100644 --- a/packages/gatsby-plugin-less/package.json +++ b/packages/gatsby-plugin-less/package.json @@ -25,7 +25,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-lodash/package.json b/packages/gatsby-plugin-lodash/package.json -index a2e65acbc9..e9ae1b12b6 100644 +index 5d68e9ea8e..6fc416a77b 100644 --- a/packages/gatsby-plugin-lodash/package.json +++ b/packages/gatsby-plugin-lodash/package.json @@ -25,7 +25,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-manifest/package.json b/packages/gatsby-plugin-manifest/package.json -index 5a5f50a42d..e029d83501 100644 +index 51643753c7..5904508592 100644 --- a/packages/gatsby-plugin-manifest/package.json +++ b/packages/gatsby-plugin-manifest/package.json @@ -32,7 +32,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", +diff --git a/packages/gatsby-plugin-mdx/package.json b/packages/gatsby-plugin-mdx/package.json +index dc9c1b51fe..bd9fb8cb2d 100644 +--- a/packages/gatsby-plugin-mdx/package.json ++++ b/packages/gatsby-plugin-mdx/package.json +@@ -21,10 +21,10 @@ + }, + "peerDependencies": { + "@mdx-js/react": "^2.0.0", +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", + "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": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" + }, + "dependencies": { + "@mdx-js/mdx": "^2.1.1", diff --git a/packages/gatsby-plugin-netlify-cms/package.json b/packages/gatsby-plugin-netlify-cms/package.json -index e4196508b4..7baca2a7c3 100644 +index efcdff25f4..f9826fa26f 100644 --- a/packages/gatsby-plugin-netlify-cms/package.json +++ b/packages/gatsby-plugin-netlify-cms/package.json -@@ -37,7 +37,7 @@ +@@ -36,10 +36,10 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", "netlify-cms-app": "^2.9.0", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.0.0" +- "react": "^16.9.0 || ^17.0.0 || ^18.0.0", +- "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0", + "webpack": "^5.0.0" + }, + "repository": { diff --git a/packages/gatsby-plugin-no-sourcemaps/package.json b/packages/gatsby-plugin-no-sourcemaps/package.json -index 8e48fb3d67..23d9fb9d1c 100644 +index b144ab1b14..7c8b9fe6a9 100644 --- a/packages/gatsby-plugin-no-sourcemaps/package.json +++ b/packages/gatsby-plugin-no-sourcemaps/package.json @@ -24,7 +24,7 @@ "@babel/runtime": "^7.15.4" }, "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "engines": { "node": ">=14.15.0" diff --git a/packages/gatsby-plugin-nprogress/package.json b/packages/gatsby-plugin-nprogress/package.json -index 9ebbfa2ff3..02398e3729 100644 +index 3034c4bb68..c63634cf8c 100644 --- a/packages/gatsby-plugin-nprogress/package.json +++ b/packages/gatsby-plugin-nprogress/package.json @@ -24,7 +24,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-offline/package.json b/packages/gatsby-plugin-offline/package.json -index 4e518148d5..07650510cb 100644 +index cbb6c9b3f9..ac85ce3a24 100644 --- a/packages/gatsby-plugin-offline/package.json +++ b/packages/gatsby-plugin-offline/package.json -@@ -35,7 +35,7 @@ +@@ -35,9 +35,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.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" ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" }, + "repository": { + "type": "git", diff --git a/packages/gatsby-plugin-page-creator/package.json b/packages/gatsby-plugin-page-creator/package.json -index 2c1ad3b923..f1f70ffbd6 100644 +index 947cb376e2..4df1fa1362 100644 --- a/packages/gatsby-plugin-page-creator/package.json +++ b/packages/gatsby-plugin-page-creator/package.json -@@ -42,7 +42,7 @@ +@@ -44,7 +44,7 @@ "cross-env": "^7.0.3" }, "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "engines": { "node": ">=14.15.0" diff --git a/packages/gatsby-plugin-postcss/package.json b/packages/gatsby-plugin-postcss/package.json -index 1935c7cf59..66cf10d870 100644 +index f3e4120c85..485e9416e4 100644 --- a/packages/gatsby-plugin-postcss/package.json +++ b/packages/gatsby-plugin-postcss/package.json @@ -25,7 +25,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", "postcss": "^8.0.5" }, "repository": { diff --git a/packages/gatsby-plugin-preact/package.json b/packages/gatsby-plugin-preact/package.json -index e4c274361c..1f0db5ea5f 100644 +index 89d3ead4d6..394d566d35 100644 --- a/packages/gatsby-plugin-preact/package.json +++ b/packages/gatsby-plugin-preact/package.json -@@ -28,7 +28,7 @@ +@@ -29,7 +29,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", "preact": "^10.3.4", "preact-render-to-string": "^5.1.8" }, diff --git a/packages/gatsby-plugin-preload-fonts/package.json b/packages/gatsby-plugin-preload-fonts/package.json -index 98944bd999..3385665fd5 100644 +index 61d9651d18..a896dadb49 100644 --- a/packages/gatsby-plugin-preload-fonts/package.json +++ b/packages/gatsby-plugin-preload-fonts/package.json @@ -37,7 +37,7 @@ ], "license": "ISC", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-react-css-modules/package.json b/packages/gatsby-plugin-react-css-modules/package.json -index b09711b8a1..0de6f9d8b0 100644 +index 45d5224af5..585b86c3b4 100644 --- a/packages/gatsby-plugin-react-css-modules/package.json +++ b/packages/gatsby-plugin-react-css-modules/package.json @@ -32,7 +32,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-react-helmet/package.json b/packages/gatsby-plugin-react-helmet/package.json -index b37e77fa04..2b8819b317 100644 +index d138cc1a4f..ba967863e0 100644 --- a/packages/gatsby-plugin-react-helmet/package.json +++ b/packages/gatsby-plugin-react-helmet/package.json @@ -35,7 +35,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", "react-helmet": "^5.1.3 || ^6.0.0" }, "repository": { -diff --git a/packages/gatsby-plugin-remove-trailing-slashes/package.json b/packages/gatsby-plugin-remove-trailing-slashes/package.json -index 07f90a568b..00d8725c31 100644 ---- a/packages/gatsby-plugin-remove-trailing-slashes/package.json -+++ b/packages/gatsby-plugin-remove-trailing-slashes/package.json -@@ -23,7 +23,7 @@ - "license": "MIT", - "main": "index.js", - "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" - }, - "repository": { - "type": "git", diff --git a/packages/gatsby-plugin-sass/package.json b/packages/gatsby-plugin-sass/package.json -index 0fcd36f6ed..feb7a034b8 100644 +index 203a1c60ec..1e7bf2d0fc 100644 --- a/packages/gatsby-plugin-sass/package.json +++ b/packages/gatsby-plugin-sass/package.json @@ -29,7 +29,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", "sass": "^1.30.0" }, "repository": { diff --git a/packages/gatsby-plugin-schema-snapshot/package.json b/packages/gatsby-plugin-schema-snapshot/package.json -index 9aeb92e2b6..b1c14a111c 100644 +index 713d28c3bb..a7b25099a0 100644 --- a/packages/gatsby-plugin-schema-snapshot/package.json +++ b/packages/gatsby-plugin-schema-snapshot/package.json @@ -20,6 +20,6 @@ "@babel/runtime": "^7.15.4" }, "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" } } diff --git a/packages/gatsby-plugin-sharp/package.json b/packages/gatsby-plugin-sharp/package.json -index 9f1a689db2..39d188ec9d 100644 +index 4f186f4ed6..a5ffbf3e2f 100644 --- a/packages/gatsby-plugin-sharp/package.json +++ b/packages/gatsby-plugin-sharp/package.json -@@ -44,7 +44,7 @@ +@@ -41,7 +41,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-sitemap/package.json b/packages/gatsby-plugin-sitemap/package.json -index fcfc604aa2..3d030e1cfd 100644 +index d329eb8adf..ce284d4b5f 100644 --- a/packages/gatsby-plugin-sitemap/package.json +++ b/packages/gatsby-plugin-sitemap/package.json -@@ -30,7 +30,7 @@ +@@ -30,9 +30,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.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" ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" }, + "repository": { + "type": "git", diff --git a/packages/gatsby-plugin-styled-components/package.json b/packages/gatsby-plugin-styled-components/package.json -index 97cc06ddca..0a0270a66a 100644 +index 933b322dd3..8ef421766e 100644 --- a/packages/gatsby-plugin-styled-components/package.json +++ b/packages/gatsby-plugin-styled-components/package.json -@@ -25,7 +25,7 @@ +@@ -25,9 +25,9 @@ "main": "index.js", "peerDependencies": { "babel-plugin-styled-components": ">1.5.0", -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.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", ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0", "styled-components": ">=2.0.0" + }, + "repository": { diff --git a/packages/gatsby-plugin-styled-jsx/package.json b/packages/gatsby-plugin-styled-jsx/package.json -index 564f3f26a2..8a0a912bad 100644 +index 021d875985..5f4c3ba1d2 100644 --- a/packages/gatsby-plugin-styled-jsx/package.json +++ b/packages/gatsby-plugin-styled-jsx/package.json @@ -24,7 +24,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", "styled-jsx": "^3.0.2" }, "repository": { diff --git a/packages/gatsby-plugin-styletron/package.json b/packages/gatsby-plugin-styletron/package.json -index ec613a3312..2c88365edc 100644 +index 733fa06e3a..fc7009044c 100644 --- a/packages/gatsby-plugin-styletron/package.json +++ b/packages/gatsby-plugin-styletron/package.json -@@ -25,7 +25,7 @@ +@@ -25,8 +25,8 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", +- "gatsby": "^4.0.0-next", +- "react": "^16.9.0 || ^17.0.0", ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", "styletron-engine-atomic": "^1.4.8", "styletron-react": "^5.2.7 || ^6.0.0" + }, diff --git a/packages/gatsby-plugin-stylus/package.json b/packages/gatsby-plugin-stylus/package.json -index 7468cbce31..13852b2b02 100644 +index 8258aadb58..6d587b1e2a 100644 --- a/packages/gatsby-plugin-stylus/package.json +++ b/packages/gatsby-plugin-stylus/package.json @@ -26,7 +26,7 @@ "license": "MIT", "main": "./gatsby-node.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-subfont/package.json b/packages/gatsby-plugin-subfont/package.json -index 606ad6f5a9..210be5e86d 100644 +index 94c8eced07..20e08bd57e 100644 --- a/packages/gatsby-plugin-subfont/package.json +++ b/packages/gatsby-plugin-subfont/package.json @@ -34,7 +34,7 @@ "cross-env": "^7.0.3" }, "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "engines": { "node": ">=14.15.0" diff --git a/packages/gatsby-plugin-twitter/package.json b/packages/gatsby-plugin-twitter/package.json -index 9c8f1463f2..b542e8b272 100644 +index 13d742dcf6..a3773c08e9 100644 --- a/packages/gatsby-plugin-twitter/package.json +++ b/packages/gatsby-plugin-twitter/package.json @@ -24,7 +24,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-plugin-typescript/package.json b/packages/gatsby-plugin-typescript/package.json -index d19a5bd59e..58adf0f9c2 100644 +index 15250caceb..0cab9b0572 100644 --- a/packages/gatsby-plugin-typescript/package.json +++ b/packages/gatsby-plugin-typescript/package.json @@ -25,7 +25,7 @@ "cross-env": "^7.0.3" }, "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-typescript#readme", "keywords": [ diff --git a/packages/gatsby-plugin-typography/package.json b/packages/gatsby-plugin-typography/package.json -index abd3aa40a8..7b2240255d 100644 +index 88853ca307..e75f9d00ef 100644 --- a/packages/gatsby-plugin-typography/package.json +++ b/packages/gatsby-plugin-typography/package.json -@@ -29,7 +29,7 @@ +@@ -29,9 +29,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.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", ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^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" + }, diff --git a/packages/gatsby-plugin-utils/package.json b/packages/gatsby-plugin-utils/package.json -index 19551fa581..d035a71ec4 100644 +index 73c4c7ef44..7178fc2695 100644 --- a/packages/gatsby-plugin-utils/package.json +++ b/packages/gatsby-plugin-utils/package.json -@@ -33,7 +33,7 @@ - "typescript": "^4.3.5" +@@ -69,7 +69,7 @@ + "typescript": "^4.7.4" }, "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", + "graphql": "^15.0.0" }, "files": [ - "dist/", +diff --git a/packages/gatsby-react-router-scroll/package.json b/packages/gatsby-react-router-scroll/package.json +index 1425cc911b..434478a3dd 100644 +--- a/packages/gatsby-react-router-scroll/package.json ++++ b/packages/gatsby-react-router-scroll/package.json +@@ -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": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" + }, + "repository": { + "type": "git", diff --git a/packages/gatsby-remark-autolink-headers/package.json b/packages/gatsby-remark-autolink-headers/package.json -index 4d983799a6..e447649799 100644 +index d5a941deb9..6404fcc842 100644 --- a/packages/gatsby-remark-autolink-headers/package.json +++ b/packages/gatsby-remark-autolink-headers/package.json -@@ -29,7 +29,7 @@ +@@ -29,9 +29,9 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.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" ++ "gatsby": "^5.0.0-alpha-v5", ++ "react": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" }, + "repository": { + "type": "git", diff --git a/packages/gatsby-remark-code-repls/package.json b/packages/gatsby-remark-code-repls/package.json -index 48b7d52fa5..51521117d1 100644 +index f75aa3f423..3cf542d35b 100644 --- a/packages/gatsby-remark-code-repls/package.json +++ b/packages/gatsby-remark-code-repls/package.json @@ -33,7 +33,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-remark-copy-linked-files/package.json b/packages/gatsby-remark-copy-linked-files/package.json -index 4c7c06c92e..0f3ced8fc5 100644 +index bbc078ff15..ecf797e839 100644 --- a/packages/gatsby-remark-copy-linked-files/package.json +++ b/packages/gatsby-remark-copy-linked-files/package.json @@ -34,7 +34,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-remark-custom-blocks/package.json b/packages/gatsby-remark-custom-blocks/package.json -index d4b3b8f712..4a75a56cb9 100644 +index 30b55a822f..36ce7e53a6 100644 --- a/packages/gatsby-remark-custom-blocks/package.json +++ b/packages/gatsby-remark-custom-blocks/package.json @@ -32,7 +32,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "private": false, "repository": { diff --git a/packages/gatsby-remark-embed-snippet/package.json b/packages/gatsby-remark-embed-snippet/package.json -index 077b9849d3..223d1b2851 100644 +index 151d5fc214..6680583051 100644 --- a/packages/gatsby-remark-embed-snippet/package.json +++ b/packages/gatsby-remark-embed-snippet/package.json -@@ -26,8 +26,8 @@ +@@ -26,7 +26,7 @@ "remark" ], "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -- "gatsby-remark-prismjs": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff", -+ "gatsby-remark-prismjs": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", + "gatsby-remark-prismjs": "^4.0.0-next" }, "license": "MIT", - "main": "index.js", diff --git a/packages/gatsby-remark-graphviz/package.json b/packages/gatsby-remark-graphviz/package.json -index 7b3a3879b9..e5107a2127 100644 +index b09e3ce770..16e639dd9a 100644 --- a/packages/gatsby-remark-graphviz/package.json +++ b/packages/gatsby-remark-graphviz/package.json @@ -37,7 +37,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-remark-images-contentful/package.json b/packages/gatsby-remark-images-contentful/package.json -index 8676089af3..876d3d824f 100644 +index da6df66370..b0e2fa8539 100644 --- a/packages/gatsby-remark-images-contentful/package.json +++ b/packages/gatsby-remark-images-contentful/package.json @@ -40,7 +40,7 @@ "author": "Khaled Garbaya ", "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "engines": { "node": ">=14.15.0" diff --git a/packages/gatsby-remark-images/package.json b/packages/gatsby-remark-images/package.json -index ad9a842f3b..dde599f1c0 100644 +index 4a3d1fafec..89ad9456a6 100644 --- a/packages/gatsby-remark-images/package.json +++ b/packages/gatsby-remark-images/package.json -@@ -40,8 +40,8 @@ +@@ -40,7 +40,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -- "gatsby-plugin-sharp": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff", -+ "gatsby-plugin-sharp": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", + "gatsby-plugin-sharp": "^4.0.0-next" }, "repository": { - "type": "git", diff --git a/packages/gatsby-remark-katex/package.json b/packages/gatsby-remark-katex/package.json -index 5d6a248ffe..581a0a32d0 100644 +index ed6cacaf4c..23f2dafe96 100644 --- a/packages/gatsby-remark-katex/package.json +++ b/packages/gatsby-remark-katex/package.json @@ -31,7 +31,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", "katex": "^0.13.3" }, "repository": { diff --git a/packages/gatsby-remark-prismjs/package.json b/packages/gatsby-remark-prismjs/package.json -index 8ddfd8f578..cdcf929bd7 100644 +index 43503c9f0f..50be1d67ad 100644 --- a/packages/gatsby-remark-prismjs/package.json +++ b/packages/gatsby-remark-prismjs/package.json @@ -21,7 +21,7 @@ "remark": "^13.0.0" }, "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -+ "gatsby": "^4.0.0-alpha-9689ff", +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", "prismjs": "^1.15.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-prismjs#readme", diff --git a/packages/gatsby-remark-responsive-iframe/package.json b/packages/gatsby-remark-responsive-iframe/package.json -index 4648709bcc..14051ebfc2 100644 +index c10b2baa28..e14d4e900f 100644 --- a/packages/gatsby-remark-responsive-iframe/package.json +++ b/packages/gatsby-remark-responsive-iframe/package.json @@ -31,7 +31,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-remark-smartypants/package.json b/packages/gatsby-remark-smartypants/package.json -index a3798ae079..fa27c4201b 100644 +index a52929e74f..30080dca82 100644 --- a/packages/gatsby-remark-smartypants/package.json +++ b/packages/gatsby-remark-smartypants/package.json @@ -27,7 +27,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", +diff --git a/packages/gatsby-script/package.json b/packages/gatsby-script/package.json +index e38859eb6b..c2b991bd3a 100644 +--- a/packages/gatsby-script/package.json ++++ b/packages/gatsby-script/package.json +@@ -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": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" + }, + "engines": { + "node": ">=14.15.0" diff --git a/packages/gatsby-source-contentful/package.json b/packages/gatsby-source-contentful/package.json -index 450f9d966f..ad7b9d0a05 100644 +index ff30ae319d..e69c65f33a 100644 --- a/packages/gatsby-source-contentful/package.json +++ b/packages/gatsby-source-contentful/package.json -@@ -43,10 +43,10 @@ +@@ -41,7 +41,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -- "gatsby-plugin-image": "^1.3.0-next.1", -- "gatsby-plugin-sharp": "^3.0.0-next.0", -- "sharp": "^0.26.0" -+ "gatsby": "^4.0.0-alpha-9689ff", -+ "gatsby-plugin-image": "^2.0.0-alpha-9689ff", -+ "gatsby-plugin-sharp": "^4.0.0-alpha-9689ff", -+ "sharp": "^0.29.0" - }, - "repository": { - "type": "git", +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", + "gatsby-plugin-image": "^2.0.0-next", + "gatsby-plugin-sharp": "^4.0.0-next", + "sharp": "^0.30.1" diff --git a/packages/gatsby-source-drupal/package.json b/packages/gatsby-source-drupal/package.json -index 63265bfcb0..04476c24d7 100644 +index 91450d7691..8470fe29e8 100644 --- a/packages/gatsby-source-drupal/package.json +++ b/packages/gatsby-source-drupal/package.json -@@ -36,7 +36,7 @@ +@@ -40,7 +40,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-source-faker/package.json b/packages/gatsby-source-faker/package.json -index eb6e04f9c4..719b88d74f 100644 +index d4928685f0..e1d739ff4f 100644 --- a/packages/gatsby-source-faker/package.json +++ b/packages/gatsby-source-faker/package.json @@ -25,7 +25,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json -index c62d00f06d..86b72e48ad 100644 +index 62dbe4af6c..0a4c096cc7 100644 --- a/packages/gatsby-source-filesystem/package.json +++ b/packages/gatsby-source-filesystem/package.json -@@ -34,7 +34,7 @@ +@@ -31,7 +31,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-source-graphql/package.json b/packages/gatsby-source-graphql/package.json -index 2a221cf0be..e73b563990 100644 +index 0e9bbaceba..24db0d17f8 100644 --- a/packages/gatsby-source-graphql/package.json +++ b/packages/gatsby-source-graphql/package.json -@@ -31,7 +31,7 @@ +@@ -30,7 +30,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-source-hacker-news/package.json b/packages/gatsby-source-hacker-news/package.json -index 5b01ca9658..30876ee1a2 100644 +index c18651f63f..d81ea4083e 100644 --- a/packages/gatsby-source-hacker-news/package.json +++ b/packages/gatsby-source-hacker-news/package.json @@ -25,7 +25,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-source-lever/package.json b/packages/gatsby-source-lever/package.json -index 7f55e5fceb..2817f818c1 100644 +index 3f5b389fcf..5aab41fb9c 100644 --- a/packages/gatsby-source-lever/package.json +++ b/packages/gatsby-source-lever/package.json @@ -31,7 +31,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-source-medium/package.json b/packages/gatsby-source-medium/package.json -index da6f95dcbe..e621ebf300 100644 +index 18956043bf..014e474cd3 100644 --- a/packages/gatsby-source-medium/package.json +++ b/packages/gatsby-source-medium/package.json @@ -24,7 +24,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-source-mongodb/package.json b/packages/gatsby-source-mongodb/package.json -index f6e4316d66..1ba381c979 100644 +index 0bc1943ea8..66ae4c6854 100644 --- a/packages/gatsby-source-mongodb/package.json +++ b/packages/gatsby-source-mongodb/package.json @@ -30,7 +30,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-source-npm-package-search/package.json b/packages/gatsby-source-npm-package-search/package.json -index f6b7131afd..1d1f69129e 100644 +index b0cae98614..0c94331f9b 100644 --- a/packages/gatsby-source-npm-package-search/package.json +++ b/packages/gatsby-source-npm-package-search/package.json @@ -27,7 +27,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "scripts": { "build": "babel src --out-dir . --ignore \"**/__tests__\"", diff --git a/packages/gatsby-source-wikipedia/package.json b/packages/gatsby-source-wikipedia/package.json -index 8e549b1d98..a0b16f9b46 100644 +index 496225c67a..12e1368050 100644 --- a/packages/gatsby-source-wikipedia/package.json +++ b/packages/gatsby-source-wikipedia/package.json @@ -20,7 +20,7 @@ }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-wikipedia#readme", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" - }, - "repository": { - "type": "git", -diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json -index 140213ed7d..2c3be00d91 100644 ---- a/packages/gatsby-source-wordpress/package.json -+++ b/packages/gatsby-source-wordpress/package.json -@@ -72,9 +72,9 @@ - ], - "license": "MIT", - "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -- "gatsby-plugin-sharp": "^3.0.0-next.0", -- "gatsby-transformer-sharp": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff", -+ "gatsby-plugin-sharp": "^4.0.0-alpha-9689ff", -+ "gatsby-transformer-sharp": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-asciidoc/package.json b/packages/gatsby-transformer-asciidoc/package.json -index 24d628dc59..80ed20b523 100644 +index dbdbd7a898..f7251c1967 100644 --- a/packages/gatsby-transformer-asciidoc/package.json +++ b/packages/gatsby-transformer-asciidoc/package.json @@ -25,7 +25,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-csv/package.json b/packages/gatsby-transformer-csv/package.json -index c4aca040a4..cad9c931f5 100644 +index 8e330eec8d..81139ae3d5 100644 --- a/packages/gatsby-transformer-csv/package.json +++ b/packages/gatsby-transformer-csv/package.json @@ -26,7 +26,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-documentationjs/package.json b/packages/gatsby-transformer-documentationjs/package.json -index fa2e693dfc..be58f9e599 100644 +index 9f4c86966e..0d80b1c9be 100644 --- a/packages/gatsby-transformer-documentationjs/package.json +++ b/packages/gatsby-transformer-documentationjs/package.json @@ -27,7 +27,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-excel/package.json b/packages/gatsby-transformer-excel/package.json -index 58a15e5304..b7867ffe5f 100644 +index 22cf672523..9e4769bb5d 100644 --- a/packages/gatsby-transformer-excel/package.json +++ b/packages/gatsby-transformer-excel/package.json @@ -25,7 +25,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-hjson/package.json b/packages/gatsby-transformer-hjson/package.json -index 944e165f98..8bec0f3a2c 100644 +index 26a97c7639..534fda9492 100644 --- a/packages/gatsby-transformer-hjson/package.json +++ b/packages/gatsby-transformer-hjson/package.json @@ -25,7 +25,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-javascript-frontmatter/package.json b/packages/gatsby-transformer-javascript-frontmatter/package.json -index a68cb372a1..82cb7b0c07 100644 +index 61d88e775a..4e2c3a9fa6 100644 --- a/packages/gatsby-transformer-javascript-frontmatter/package.json +++ b/packages/gatsby-transformer-javascript-frontmatter/package.json -@@ -23,8 +23,8 @@ +@@ -23,7 +23,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -- "gatsby-source-filesystem": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff", -+ "gatsby-source-filesystem": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", + "gatsby-source-filesystem": "^4.0.0-next" }, "repository": { - "type": "git", diff --git a/packages/gatsby-transformer-javascript-static-exports/package.json b/packages/gatsby-transformer-javascript-static-exports/package.json -index 09449955b3..05e637a3cb 100644 +index 4b873f3f31..bb1003eead 100644 --- a/packages/gatsby-transformer-javascript-static-exports/package.json +++ b/packages/gatsby-transformer-javascript-static-exports/package.json @@ -26,7 +26,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-json/package.json b/packages/gatsby-transformer-json/package.json -index 0c3f6f7461..50e814067c 100644 +index 76377fde95..6be80c4fe4 100644 --- a/packages/gatsby-transformer-json/package.json +++ b/packages/gatsby-transformer-json/package.json @@ -24,7 +24,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-pdf/package.json b/packages/gatsby-transformer-pdf/package.json -index 36d43b604e..5195bae7b8 100644 +index 6d395d4175..3687853c54 100644 --- a/packages/gatsby-transformer-pdf/package.json +++ b/packages/gatsby-transformer-pdf/package.json @@ -26,7 +26,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-react-docgen/package.json b/packages/gatsby-transformer-react-docgen/package.json -index e4939fd201..c93ff0788a 100644 +index d757c83b52..8f10430d29 100644 --- a/packages/gatsby-transformer-react-docgen/package.json +++ b/packages/gatsby-transformer-react-docgen/package.json @@ -31,7 +31,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-remark/package.json b/packages/gatsby-transformer-remark/package.json -index 036722d220..eab7e9a5af 100644 +index 9d69e9fdb0..8a7e3aeda1 100644 --- a/packages/gatsby-transformer-remark/package.json +++ b/packages/gatsby-transformer-remark/package.json @@ -46,7 +46,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-screenshot/package.json b/packages/gatsby-transformer-screenshot/package.json -index 4ab5944b10..3c399191ce 100644 +index 869a284af0..0bef73ad35 100644 --- a/packages/gatsby-transformer-screenshot/package.json +++ b/packages/gatsby-transformer-screenshot/package.json @@ -26,7 +26,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-sharp/package.json b/packages/gatsby-transformer-sharp/package.json -index e97434062e..fb56aaa8a6 100644 +index 42175ff9dd..64b8363282 100644 --- a/packages/gatsby-transformer-sharp/package.json +++ b/packages/gatsby-transformer-sharp/package.json -@@ -32,8 +32,8 @@ +@@ -33,7 +33,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -- "gatsby-plugin-sharp": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff", -+ "gatsby-plugin-sharp": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", + "gatsby-plugin-sharp": "^4.0.0-next" }, "repository": { - "type": "git", diff --git a/packages/gatsby-transformer-sqip/package.json b/packages/gatsby-transformer-sqip/package.json -index 9aed5b17e3..a17f11d3fd 100644 +index 78af262248..0d7cf26efe 100644 --- a/packages/gatsby-transformer-sqip/package.json +++ b/packages/gatsby-transformer-sqip/package.json -@@ -23,9 +23,9 @@ - "debug": "^4.3.2" +@@ -24,7 +24,7 @@ + "debug": "^4.3.4" }, "peerDependencies": { -- "gatsby": "^3.0.0-next.0", -- "gatsby-source-contentful": "^5.0.0-next.0", -- "gatsby-transformer-sharp": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff", -+ "gatsby-source-contentful": "^6.0.0-alpha-9689ff", -+ "gatsby-transformer-sharp": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next", ++ "gatsby": "^5.0.0-alpha-v5", + "gatsby-source-contentful": "^6.0.0-next", + "gatsby-transformer-sharp": "^4.0.0-next" }, - "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-sqip#readme", - "keywords": [ diff --git a/packages/gatsby-transformer-toml/package.json b/packages/gatsby-transformer-toml/package.json -index cb3f9a3fdc..493ff72662 100644 +index 8bedcab4c1..7988c2bd40 100644 --- a/packages/gatsby-transformer-toml/package.json +++ b/packages/gatsby-transformer-toml/package.json @@ -25,7 +25,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-xml/package.json b/packages/gatsby-transformer-xml/package.json -index c899f0fafa..9ac486f57b 100644 +index e0929645b2..03ded90e9a 100644 --- a/packages/gatsby-transformer-xml/package.json +++ b/packages/gatsby-transformer-xml/package.json @@ -26,7 +26,7 @@ "license": "MIT", "main": "index.js", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" }, "repository": { "type": "git", diff --git a/packages/gatsby-transformer-yaml/package.json b/packages/gatsby-transformer-yaml/package.json -index 590838d0c6..61b1d7bbd0 100644 +index c26a78c872..1184db6c94 100644 --- a/packages/gatsby-transformer-yaml/package.json +++ b/packages/gatsby-transformer-yaml/package.json @@ -26,7 +26,7 @@ ], "license": "MIT", "peerDependencies": { -- "gatsby": "^3.0.0-next.0" -+ "gatsby": "^4.0.0-alpha-9689ff" +- "gatsby": "^4.0.0-next" ++ "gatsby": "^5.0.0-alpha-v5" + }, + "repository": { + "type": "git", +diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json +index 86eda2adde..baad661e40 100644 +--- a/packages/gatsby/package.json ++++ b/packages/gatsby/package.json +@@ -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": "^18.0.0 || ^0.0.0", ++ "react-dom": "^18.0.0 || ^0.0.0" }, "repository": { "type": "git", diff --git a/scripts/release-next-major.js b/scripts/release-next-major.js index fdf4fc66b721e..4a92716458833 100644 --- a/scripts/release-next-major.js +++ b/scripts/release-next-major.js @@ -6,7 +6,7 @@ * - it checks if you have publish access * - it checks if we have any uncommited files -- if so, we exit * - it cleans all non git files to make sure we have clean directory - * - run patches in patches/v4 + * - run patches in patches/v5 * - commits the patches so lerna can publish * - run full boostrap * - Publish premajor @@ -76,11 +76,11 @@ let currentGitHash = null ) const bumpType = `major` - // const tagName = `alpha-v${nextMajor}` - // const preId = `alpha-v${nextMajor}` + const tagName = `alpha-v${nextMajor}` + const preId = `alpha-v${nextMajor}` // TODO swap back to above. - const tagName = `alpha-9689ff` - const preId = `alpha-9689ff` + // const tagName = `alpha-9689ff` + // const preId = `alpha-9689ff` try { await Promise.all([