website logo
Navigate through spaces
⌘K
OVERVIEW
ORDER MANAGEMENT (OMS)
SHIPPING - SETUP
Shipping Methods
Shipping Zones
Shipping Method Setup Examples
TAXES - Setup
Tax Automation with Stripe Tax
Tax Automation with Avalara
CONTENT MANAGEMENT (CMS)
DATA
CUSTOMER LIFETIME REVENUE
Customer Lifetime Revenue Explanation
Customer Lifetime Revenue and Purchase Likelihood
Recency Frequency and Monetary
CLR and RFM Data Table Glossary
RFM and CLR in the Hub
LOOKER
Modifying a Dashboard
Timestamp differences between Looker, OMS and Shopify
How to create custom calculations in Looker
Looker and Shopify data models
Custom fields
How to 'Save and Schedule' reports
Creating Custom Reports or Look
Looks vs Dashboards
Login Looker FAQ
Looker Glossary
SEGMENT EVENT TRACKING
What are event tracking
Adding Tracking
What is the Tracking Plan?
The Chord Tracking Plan
The Shopify Tracking Plan
Event Tracking FAQ
EVENT UPDATES PAGE
Email Subscription Payment Event Update
Product Feed Setup
Getting Segment to Production
Consent Management
Installing in Next.js
Installing in Gatsby
Integrations
👩‍💻Developer Tools
Using Chord with Shopify
Docs powered by archbee 

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
npm
|
$ npx install-peerdeps --yarn @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.

Updated 03 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
v1.5.0 to v2.0.0 Migration Guide
NEXT
v3.x to v4.x Migration Guide
Docs powered by archbee 
TABLE OF CONTENTS
Upgrade Guide