Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 632 Bytes

nx-migration.md

File metadata and controls

38 lines (25 loc) · 632 Bytes

Nx migrations

References:

Migrate Nx and supported libraries

Ensure the nx cli is installed in your local project.

yarn add --dev @nrwl/cli

Check for the new versions.

nx migrate latest

Do the upgrades. It will update our package.json

yarn nx migrate --run-migrations

Make sure everything is working as expected.

yarn start
yarn ui:storybook

After you run all the migrations, you can remove migrations.json and commit any outstanding changes.

rm migrations.json