AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Npm update package version10/8/2023 ![]() Upgrading your Expo project to a new version of React Native requires updating the react-native, react, and expo package versions in your package.json file. Upgrading requires a small amount of effort, but we try to make it straightforward for you. The next step in the process involves using the migrate CLI in order to apply the migrations that were generated in migrations.json in the previous step.Įach Nx plugin is able to provide a set of migrations which are relevant to particular versions of the package, and so migrations.json will only contain migrations which are appropriate for the update you are currently applying.Upgrading to new versions of React Native will give you access to more APIs, views, developer tools and other goodies. npm install, yarn, or pnpm install) but in the next step nx migrate -run-migrations will also run this automatically for you. Inspect the changesĪt this stage, after inspecting the package.json, you may wish to manually run the appropriate install command for your workspace (e.g. Feel free to manually apply the desired adjustments. Sometimes the migration can update a package to a version that is either not allowed or conflicts with another package. ![]() ![]() Now, you can inspect package.json to see if the changes make sense.
0 Comments
Read More
Leave a Reply. |