As you can see solidarity allows you to check if your system has the requirements and also to report on everything important so that you can check where versions collide when something fails. So let’s take a look at how we can add it to your React Native project.

The snapshot command generates a file with React Native related dependencies pinned to the versions you are using. You can go ahead and make the rules less strict by changing the values in the semantic versioning syntax. The file generated looks similar to this one:

In my humble opinion, this simple tool helps teams of React Native developers to keep their work environment sane and stable. You can read more about solidarity here: https://infinitered.github.io/solidarity/#/

This is only the first step

Keeping the environment stable is one concern, setting up new development machines is a completely different story. If you want to know more about how to automate this effectively, please leave a comment with your biggest pain when setting up a new service and I will link you the follow-up post.