create-magento-app is a global command-line utility that you use to create new projects.
@scandipwa/magento-scripts is a development dependency in the generated projects (including this one).
When you run npx create-magento-app my-app it automatically installs the latest version of Create Magento App.
We create a project with the latest version of @scandipwa/magento-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/magento-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/magento-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/magento-scripts to the latest available version, use:
yarn add @scandipwa/magento-scripts@latest
npm install @scandipwa/magento-scripts@latest
To install version 1 of magento-scripts use:
npm i @scandipwa/magento-scripts@^1
We commit to keeping the breaking changes minimal so you can upgrade @scandipwa/magento-scripts painlessly.