Chord OMS
...
Gatsby
Guides

v2.x to v3.x Migration Guide

2min
this major release of this gatsby theme moves gatsby and all related gatsby plugins and transformers from direct dependencies to peerdependencies so that consumers of this package can upgrade gatsby without any intervention from chord this will require you to do more than just bump this version in the package json upgrade guide first, edit your package json to remove @chordcommerce/gatsby theme performance and any of the package's peerdependencies from your dependencies list we will be reinstalling them next these peerdependencies are peerdependencies "@sentry/browser" ">=6 0 0", "gatsby" "^4 4 0", "gatsby plugin alias imports" "^1 0 5", "gatsby plugin image" "^2 4 0", "gatsby plugin intl" "^0 3 3", "gatsby plugin manifest" "^4 4 0", "gatsby plugin netlify" "^4 2 0", "gatsby plugin offline" "^5 4 0", "gatsby plugin react helmet" "^5 4 0", "gatsby plugin robots txt" "^1 6 14", "gatsby plugin segment js" "^3 7 1", "gatsby plugin sharp" "^4 4 0", "gatsby plugin sitemap" "^4 4 0", "gatsby react router scroll" "^4 4 0", "gatsby source contentful" "^7 2 0", "gatsby transformer inline svg" "^1 2 0", "gatsby transformer remark" "^5 4 0", "gatsby transformer sharp" "^4 4 0", "react" "^17 0 2", "react dom" "^17 0 2" then, run the following command in your shell yarn $ npx install peerdeps yarn @chordcommerce/gatsby theme performance npm $ npx install peerdeps @chordcommerce/gatsby theme performance if this command fails, npx will output an npm install/yarn add command that you can copy and run manually for more information and caveats around this, please read the installation instructions for this package