Skip to content

feat(theme): update gatsby to v3#466

Closed
joshblack wants to merge 4 commits intomainfrom
feat/update-gatsby
Closed

feat(theme): update gatsby to v3#466
joshblack wants to merge 4 commits intomainfrom
feat/update-gatsby

Conversation

@joshblack
Copy link
Member

@joshblack joshblack commented Aug 17, 2022

This PR is a proof-of-concept for updating the minimum Gatsby version for @primer/gatsby-theme-doctocat to v3 (I figured it would be easier to coordinate moving from v2 to v3 first and then v4 afterwards)

To get there, this PR does the following:

  • Update gatsby to v3
  • Raise the peerDependency range of gatsby to 3.x
  • Update gatsby-plugin-* packages to the range which supports gatsby@v3
  • Update gatsby-* packages to the range which supports gatsby@v3

It also updates the docs folder to use plugins instead of __experimentalThemes

Overview
  • Gatsby updated to v3
  • Remove gatsby-source-filesystem default to content
  • Catch links is now built-in to Gatsby
  • React LSV is now v17

@changeset-bot
Copy link

changeset-bot bot commented Aug 17, 2022

🦋 Changeset detected

Latest commit: 3b3d8f6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/gatsby-theme-doctocat Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@joshblack joshblack temporarily deployed to github-pages August 17, 2022 21:37 Inactive
@joshblack joshblack temporarily deployed to github-pages August 19, 2022 17:23 Inactive
Copy link
Contributor

@colebemis colebemis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this, @joshblack!

Let's test the canary release published from this PR in our documentation sites before merging this

@joshblack joshblack temporarily deployed to github-pages August 25, 2022 20:01 Inactive
@joshblack
Copy link
Member Author

Closing in favor of #479 which attempts the react migration separately

@joshblack joshblack closed this Sep 15, 2022
@joshblack joshblack deleted the feat/update-gatsby branch September 15, 2022 20:49
@joshblack joshblack mentioned this pull request Sep 15, 2022
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants