Created by: NoamGaash
create-react-app uses the registry.yarnpkg.com DNS resolving process as an online status indicator.
This PR propose to use the registry defined in the .npmrc file whenever registry.yarnpkg.com can't be resolved.
This is essential for organizations that use a network where registry.yarnpkg.com DNS record does not exist.