Closed Simply007 closed 4 years ago
Is Yarn capable of properly merging edits of package-lock.json made in two simultaneously running git branches? If yes, I'd vote for that too. Otherwise I'm not sure if it helped in such situations.
yarn is not using package-lock.json, it is using yarn.lock file.
it is necessary to remove package-lock.json and run yarn
command to install dependencies and generate yarn.lock file.
And it is required to adjust the Readme.md
file according to the setup.
It would be best to configure Netlify checks to run yearn as well to have all configuration consistent.
Yarn was not implemented in referenced pull request - let's leave it opened.
Was this ever addressed? If not, I'd like to give it a go.
Motivation
When generating a new project based on this starter - the warning is showed up:
Proposed solution
Use yarn instead of npm and remove package-lock.json
Additional context
Mind updating the
Readme.md
. The bootstrapped project is containingpackage,json
and alsoyarn.lock
file.