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


Then, run the following command in your shell:

yarn
npm


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.