contentful-labs / starter-gatsby-blog

Gatsby starter for a Contentful project from the community.
https://contentful.github.io/starter-gatsby-blog/
MIT License
195 stars 199 forks source link

Update to use `gatsby-transformer-remark` #198

Closed aghreed closed 2 years ago

aghreed commented 2 years ago

Purpose

This PR addresses a bug reported by Gatsby users where they are unable to build the project due to the raw field not being found on a number of Rich Text / Long Text based nodes.

It updates the starter to utilize gatsby-transformer-remark for these types of fields as is specified in this documentation.

It also updates some outdated dependencies and removes some unnecessary ones, as well as gives the README a refresh.

aghreed commented 2 years ago

Closing this PR as it turns out we had an outdated copy of the export.json within the Gatsby Cloud codebase that was inserting long text rather than rich text fields when users used the "Clone a Starter" add site flow.

I'll plan to open up a separate PR with the updates unrelated to the rich text field type model change.