Links

Updating to New Releases

Create ScandiPWA App is divided into two packages:
  • create-scandipwa-app is a global command-line utility that you use to create new projects.
  • @scandipwa/scandipwa-scripts is a development dependency in the generated projects (including this one).
When you run npx create-scandipwa-app my-app it automatically installs the latest version of Create React App.
Create React App creates a project with the latest version of @scandipwa/scandipwa-scripts so you’ll get all the new features and improvements in newly created apps automatically.
To update an existing project to a new version of @scandipwa/scandipwa-scripts, open the change-log, find the version you’re currently on (check package.json in this folder, if you’re not sure), and apply the migration instructions for the newer versions.
In most cases bumping the @scandipwa/scandipwa-scripts version in package.json and running npm install (or yarn install) in this folder should be enough, but it’s good to consult the change-log for potential breaking changes.
To bump the version of @scandipwa/scandipwa-scripts to latest available version, use:
yarn (recommended)
npm
yarn add @scandipwa/[email protected]
npm install @scandipwa/[email protected]
We commit to keeping the breaking changes minimal so you can upgrade @scandipwa/scandipwa-scripts painlessly.