Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gatsbyjs/gatsby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: gatsby-plugin-feed@4.10.0
Choose a base ref
...
head repository: gatsbyjs/gatsby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: gatsby-plugin-feed@4.10.1
Choose a head ref
  • 4 commits
  • 28 files changed
  • 5 contributors

Commits on Mar 18, 2022

  1. fix(gatsby-cli): Resolve babel preset ts explicitly (#35153) (#35167)

    Co-authored-by: Ty Hopp <tyhopp@users.noreply.github.com>
    Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
    3 people authored Mar 18, 2022
    Copy the full SHA
    0f2ec73 View commit details
  2. fix(gatsby-plugin-utils): Add missing fs-extra dep (#35165) (#35168)

    Co-authored-by: Lennart <lekoarts@gmail.com>
    gatsbybot and LekoArts authored Mar 18, 2022
    Copy the full SHA
    3ac159f View commit details
  3. fix(gatsby-plugin-preact): fix preact alias (#35156) (#35169)

    Co-authored-by: Ward Peeters <ward@coding-tech.com>
    gatsbybot and wardpeet authored Mar 18, 2022
    Copy the full SHA
    0275fad View commit details
  4. chore(release): Publish

     - create-gatsby@2.10.1
     - gatsby-cli@4.10.1
     - gatsby-plugin-cxs@4.10.1
     - gatsby-plugin-feed@4.10.1
     - gatsby-plugin-flow@3.10.1
     - gatsby-plugin-google-tagmanager@4.10.1
     - gatsby-plugin-manifest@4.10.1
     - gatsby-plugin-mdx@3.10.1
     - gatsby-plugin-offline@5.10.1
     - gatsby-plugin-page-creator@4.10.1
     - gatsby-plugin-preact@6.10.1
     - gatsby-plugin-sass@5.10.1
     - gatsby-plugin-sharp@4.10.1
     - gatsby-plugin-sitemap@5.10.1
     - gatsby-plugin-twitter@4.10.1
     - gatsby-plugin-utils@3.4.1
     - gatsby-remark-autolink-headers@5.10.1
     - gatsby-remark-images@6.10.1
     - gatsby-source-contentful@7.8.1
     - gatsby-source-shopify@6.10.1
     - gatsby-source-wordpress@6.10.1
     - gatsby-transformer-remark@5.10.1
     - gatsby-transformer-sqip@4.10.1
     - gatsby@4.10.1
    pieh committed Mar 18, 2022
    Copy the full SHA
    f080b46 View commit details
Showing with 63 additions and 95 deletions.
  1. +2 −2 packages/create-gatsby/package.json
  2. +2 −2 packages/gatsby-cli/package.json
  3. +1 −1 packages/gatsby-cli/src/handlers/plugin-add-utils.ts
  4. +2 −2 packages/gatsby-plugin-cxs/package.json
  5. +2 −2 packages/gatsby-plugin-feed/package.json
  6. +2 −2 packages/gatsby-plugin-flow/package.json
  7. +2 −2 packages/gatsby-plugin-google-tagmanager/package.json
  8. +2 −2 packages/gatsby-plugin-manifest/package.json
  9. +2 −2 packages/gatsby-plugin-mdx/package.json
  10. +2 −2 packages/gatsby-plugin-offline/package.json
  11. +2 −2 packages/gatsby-plugin-page-creator/package.json
  12. +1 −1 packages/gatsby-plugin-preact/package.json
  13. +8 −16 packages/gatsby-plugin-preact/src/__tests__/gatsby-node.js
  14. +4 −8 packages/gatsby-plugin-preact/src/gatsby-node.js
  15. +2 −2 packages/gatsby-plugin-sass/package.json
  16. +2 −2 packages/gatsby-plugin-sharp/package.json
  17. +2 −2 packages/gatsby-plugin-sitemap/package.json
  18. +2 −2 packages/gatsby-plugin-twitter/package.json
  19. +2 −1 packages/gatsby-plugin-utils/package.json
  20. +2 −2 packages/gatsby-remark-autolink-headers/package.json
  21. +2 −2 packages/gatsby-remark-images/package.json
  22. +2 −2 packages/gatsby-source-contentful/package.json
  23. +2 −2 packages/gatsby-source-shopify/package.json
  24. +2 −2 packages/gatsby-source-wordpress/package.json
  25. +2 −2 packages/gatsby-transformer-remark/package.json
  26. +2 −2 packages/gatsby-transformer-sqip/package.json
  27. +4 −4 packages/gatsby/package.json
  28. +1 −22 yarn.lock
4 changes: 2 additions & 2 deletions packages/create-gatsby/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-gatsby",
"version": "2.10.0",
"version": "2.10.1",
"main": "lib/index.js",
"bin": "cli.js",
"license": "MIT",
@@ -28,7 +28,7 @@
"eslint": "^7.32.0",
"execa": "^5.1.1",
"fs-extra": "^10.0.0",
"gatsby-plugin-utils": "^3.4.0",
"gatsby-plugin-utils": "^3.4.1",
"joi": "^17.4.2",
"microbundle": "^0.14.2",
"node-fetch": "^2.6.6",
4 changes: 2 additions & 2 deletions packages/gatsby-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-cli",
"description": "Gatsby command-line interface for creating new sites and running Gatsby commands",
"version": "4.10.0",
"version": "4.10.1",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bin": {
"gatsby": "cli.js"
@@ -26,7 +26,7 @@
"common-tags": "^1.8.2",
"configstore": "^5.0.1",
"convert-hrtime": "^3.0.0",
"create-gatsby": "^2.10.0",
"create-gatsby": "^2.10.1",
"envinfo": "^7.8.1",
"execa": "^5.1.1",
"fs-exists-cached": "^1.0.0",
2 changes: 1 addition & 1 deletion packages/gatsby-cli/src/handlers/plugin-add-utils.ts
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ const addPluginToConfig = (

// Use the Babel TS preset if we're operating on `gatsby-config.ts`
if (srcPath.endsWith(`ts`)) {
transformOptions.presets = [`@babel/preset-typescript`]
transformOptions.presets = [require.resolve(`@babel/preset-typescript`)]
}

code = transform(src, transformOptions)?.code
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-cxs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-plugin-cxs",
"description": "Gatsby plugin to add SSR support for ctx",
"version": "4.10.0",
"version": "4.10.1",
"author": "Chen-Tai Hou <ctxhou@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
@@ -15,7 +15,7 @@
"babel-preset-gatsby-package": "^2.10.0",
"cross-env": "^7.0.3",
"cxs": "^6.2.0",
"gatsby-plugin-utils": "^3.4.0"
"gatsby-plugin-utils": "^3.4.1"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-cxs#readme",
"keywords": [
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-feed/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-plugin-feed",
"description": "Creates an RSS feed for your Gatsby site.",
"version": "4.10.0",
"version": "4.10.1",
"author": "Nicholas Young <nicholas@nicholaswyoung.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
@@ -11,7 +11,7 @@
"@hapi/joi": "^15.1.1",
"common-tags": "^1.8.2",
"fs-extra": "^10.0.0",
"gatsby-plugin-utils": "^3.4.0",
"gatsby-plugin-utils": "^3.4.1",
"lodash.merge": "^4.6.2",
"rss": "^1.2.2"
},
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-flow/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gatsby-plugin-flow",
"version": "3.10.0",
"version": "3.10.1",
"description": "Provides drop-in support for Flow by adding @babel/preset-flow.",
"main": "index.js",
"scripts": {
@@ -32,7 +32,7 @@
"@babel/core": "^7.15.5",
"babel-preset-gatsby-package": "^2.10.0",
"cross-env": "^7.0.3",
"gatsby-plugin-utils": "^3.4.0"
"gatsby-plugin-utils": "^3.4.1"
},
"peerDependencies": {
"gatsby": "^4.0.0-next"
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-google-tagmanager/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-plugin-google-tagmanager",
"description": "Gatsby plugin to add google tagmanager onto a site",
"version": "4.10.0",
"version": "4.10.1",
"author": "Thijs Koerselman <thijs@vauxlab.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
@@ -15,7 +15,7 @@
"@babel/core": "^7.15.5",
"babel-preset-gatsby-package": "^2.10.0",
"cross-env": "^7.0.3",
"gatsby-plugin-utils": "^3.4.0"
"gatsby-plugin-utils": "^3.4.1"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-tagmanager#readme",
"keywords": [
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-manifest/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "gatsby-plugin-manifest",
"description": "Gatsby plugin which adds a manifest.webmanifest to make sites progressive web apps",
"version": "4.10.0",
"version": "4.10.1",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.15.4",
"gatsby-core-utils": "^3.10.0",
"gatsby-plugin-utils": "^3.4.0",
"gatsby-plugin-utils": "^3.4.1",
"semver": "^7.3.5",
"sharp": "^0.30.1"
},
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gatsby-plugin-mdx",
"version": "3.10.0",
"version": "3.10.1",
"description": "MDX integration for Gatsby",
"main": "index.js",
"license": "MIT",
@@ -63,7 +63,7 @@
"devDependencies": {
"@mdx-js/mdx": "^1.6.16",
"@mdx-js/react": "^1.6.16",
"gatsby-plugin-utils": "^3.4.0",
"gatsby-plugin-utils": "^3.4.1",
"js-combinatorics": "^1.4.5",
"react-test-renderer": "^16.13.1"
},
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-offline/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-plugin-offline",
"description": "Gatsby plugin which sets up a site to be able to run offline",
"version": "5.10.0",
"version": "5.10.1",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
@@ -21,7 +21,7 @@
"babel-preset-gatsby-package": "^2.10.0",
"cpy-cli": "^3.1.1",
"cross-env": "^7.0.3",
"gatsby-plugin-utils": "^3.4.0",
"gatsby-plugin-utils": "^3.4.1",
"rewire": "^6.0.0"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-offline#readme",
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-page-creator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gatsby-plugin-page-creator",
"version": "4.10.0",
"version": "4.10.1",
"description": "Gatsby plugin that automatically creates pages from React components in specified directories",
"main": "index.js",
"scripts": {
@@ -31,7 +31,7 @@
"fs-exists-cached": "^1.0.0",
"gatsby-core-utils": "^3.10.0",
"gatsby-page-utils": "^2.10.0",
"gatsby-plugin-utils": "^3.4.0",
"gatsby-plugin-utils": "^3.4.1",
"gatsby-telemetry": "^3.10.0",
"globby": "^11.0.4",
"lodash": "^4.17.21"
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-preact/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-plugin-preact",
"description": "A Gatsby plugin which replaces React with Preact",
"version": "6.10.0",
"version": "6.10.1",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
24 changes: 8 additions & 16 deletions packages/gatsby-plugin-preact/src/__tests__/gatsby-node.js
Original file line number Diff line number Diff line change
@@ -29,14 +29,10 @@ describe(`gatsby-plugin-preact`, () => {
plugins: expect.arrayContaining([expect.any(PreactRefreshPlugin)]),
resolve: {
alias: {
react: expect.stringContaining(path.join(`preact`, `compat`)),
"react-dom": expect.stringContaining(path.join(`preact`, `compat`)),
"react-dom/server": expect.stringContaining(
path.join(`preact`, `compat`, `server`)
),
"react/jsx-runtime": expect.stringContaining(
path.join(`preact`, `jsx-runtime`)
),
react: `preact/compat`,
"react-dom/test-utils": `preact/test-utils`,
"react-dom": `preact/compat`,
"react/jsx-runtime": `preact/jsx-runtime`,
},
},
})
@@ -100,14 +96,10 @@ describe(`gatsby-plugin-preact`, () => {
plugins: [],
resolve: {
alias: {
react: expect.stringContaining(path.join(`preact`, `compat`)),
"react-dom": expect.stringContaining(path.join(`preact`, `compat`)),
"react-dom/server": expect.stringContaining(
path.join(`preact`, `compat`, `server`)
),
"react/jsx-runtime": expect.stringContaining(
path.join(`preact`, `jsx-runtime`)
),
react: `preact/compat`,
"react-dom/test-utils": `preact/test-utils`,
"react-dom": `preact/compat`,
"react/jsx-runtime": `preact/jsx-runtime`,
},
},
})
12 changes: 4 additions & 8 deletions packages/gatsby-plugin-preact/src/gatsby-node.js
Original file line number Diff line number Diff line change
@@ -59,17 +59,13 @@ export function onCreateWebpackConfig({ stage, actions, getConfig }) {

actions.replaceWebpackConfig(webpackConfig)

const extension =
stage === `build-javascript` || stage === `develop` ? `.module.js` : `.js`
actions.setWebpackConfig({
resolve: {
alias: {
react: require.resolve(`preact/compat`).replace(`.js`, extension),
"react-dom/server": require.resolve(`preact/compat/server`),
"react-dom": require.resolve(`preact/compat`).replace(`.js`, extension),
"react/jsx-runtime": require
.resolve(`preact/jsx-runtime`)
.replace(`.js`, extension),
react: `preact/compat`,
"react-dom/test-utils": `preact/test-utils`,
"react-dom": `preact/compat`,
"react/jsx-runtime": `preact/jsx-runtime`,
},
},
plugins: webpackPlugins,
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-sass/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-plugin-sass",
"description": "Gatsby plugin to handle SCSS/Sass files",
"version": "5.10.0",
"version": "5.10.1",
"author": "Daniel Farrell <daniel@mobelux.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
@@ -17,7 +17,7 @@
"autoprefixer": "^10.4.2",
"babel-preset-gatsby-package": "^2.10.0",
"cross-env": "^7.0.3",
"gatsby-plugin-utils": "^3.4.0"
"gatsby-plugin-utils": "^3.4.1"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sass#readme",
"keywords": [
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-sharp/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-plugin-sharp",
"description": "Wrapper of the Sharp image manipulation library for Gatsby plugins",
"version": "4.10.0",
"version": "4.10.1",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
@@ -14,7 +14,7 @@
"filenamify": "^4.3.0",
"fs-extra": "^10.0.0",
"gatsby-core-utils": "^3.10.0",
"gatsby-plugin-utils": "^3.4.0",
"gatsby-plugin-utils": "^3.4.1",
"gatsby-telemetry": "^3.10.0",
"got": "^11.8.3",
"lodash": "^4.17.21",
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-sitemap/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-plugin-sitemap",
"description": "Gatsby plugin that automatically creates a sitemap for your site",
"version": "5.10.0",
"version": "5.10.1",
"contributors": [
"Alex Moon <alex.jared.moon@gmail.com>",
"Nicholas Young <nicholas@nicholaswyoung.com>"
@@ -20,7 +20,7 @@
"@babel/core": "^7.15.5",
"babel-preset-gatsby-package": "^2.10.0",
"cross-env": "^7.0.3",
"gatsby-plugin-utils": "^3.4.0"
"gatsby-plugin-utils": "^3.4.1"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sitemap#readme",
"keywords": [
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-twitter/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-plugin-twitter",
"description": "Loads the Twitter JavaScript for embedding tweets.",
"version": "4.10.0",
"version": "4.10.1",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
@@ -14,7 +14,7 @@
"@babel/core": "^7.15.5",
"babel-preset-gatsby-package": "^2.10.0",
"cross-env": "^7.0.3",
"gatsby-plugin-utils": "^3.4.0"
"gatsby-plugin-utils": "^3.4.1"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-twitter#readme",
"keywords": [
3 changes: 2 additions & 1 deletion packages/gatsby-plugin-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gatsby-plugin-utils",
"version": "3.4.0",
"version": "3.4.1",
"description": "Gatsby utils that help creating plugins",
"main": "dist/index.js",
"exports": {
@@ -47,6 +47,7 @@
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-utils#readme",
"dependencies": {
"@babel/runtime": "^7.15.4",
"fs-extra": "^10.0.0",
"gatsby-core-utils": "^3.10.0",
"gatsby-sharp": "^0.4.0",
"graphql-compose": "^9.0.7",
4 changes: 2 additions & 2 deletions packages/gatsby-remark-autolink-headers/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-remark-autolink-headers",
"description": "Gatsby plugin to autolink headers in markdown processed by Remark",
"version": "5.10.0",
"version": "5.10.1",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
@@ -18,7 +18,7 @@
"@babel/core": "^7.15.5",
"babel-preset-gatsby-package": "^2.10.0",
"cross-env": "^7.0.3",
"gatsby-plugin-utils": "^3.4.0"
"gatsby-plugin-utils": "^3.4.1"
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-autolink-headers#readme",
"keywords": [
4 changes: 2 additions & 2 deletions packages/gatsby-remark-images/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-remark-images",
"description": "Processes images in markdown so they can be used in the production build.",
"version": "6.10.0",
"version": "6.10.1",
"author": "Kyle Mathews <mathews.kyle@gmail.com>",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
@@ -24,7 +24,7 @@
"@babel/core": "^7.15.5",
"babel-preset-gatsby-package": "^2.10.0",
"cross-env": "^7.0.3",
"gatsby-plugin-utils": "^3.4.0",
"gatsby-plugin-utils": "^3.4.1",
"hast-util-to-html": "^7.1.3",
"mdast-util-to-hast": "^10.2.0"
},
4 changes: 2 additions & 2 deletions packages/gatsby-source-contentful/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby-source-contentful",
"description": "Gatsby source plugin for building websites using the Contentful CMS as a data source",
"version": "7.8.0",
"version": "7.8.1",
"author": "Marcus Ericsson <mericsson@gmail.com> (mericsson.com)",
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
@@ -18,7 +18,7 @@
"contentful": "^8.5.8",
"fs-extra": "^10.0.0",
"gatsby-core-utils": "^3.10.0",
"gatsby-plugin-utils": "^3.4.0",
"gatsby-plugin-utils": "^3.4.1",
"gatsby-source-filesystem": "^4.10.0",
"is-online": "^8.5.1",
"json-stringify-safe": "^5.0.1",
Loading