Is your feature request related to a problem? Please describe.
Sometimes for developers overlook, an npm command gets run in the repo and a package-lock.json gets created even if a yarn.lock is already present.
This creates problems in Netlify and other auto-deploy platforma, because they choose the tool depending on which files they find.
Describe the solution you'd like
Any accurapp command (start / build / lint) could check: if package-lock.json AND yarn.lock are present, block everything and alert with a big red flashy warning.
Solution for the user: delete one of the two files (preferably the NPM one)
Thoughts?
Is your feature request related to a problem? Please describe.
Sometimes for developers overlook, an
npmcommand gets run in the repo and apackage-lock.jsongets created even if ayarn.lockis already present.This creates problems in Netlify and other auto-deploy platforma, because they choose the tool depending on which files they find.
Describe the solution you'd like
Any
accurappcommand (start / build / lint) could check: ifpackage-lock.jsonANDyarn.lockare present, block everything and alert with a big red flashy warning.Solution for the user: delete one of the two files (preferably the NPM one)
Thoughts?