Not sure if this has been discussed somewhere, but it’s best practice to commit the package-lock.json to ensure stable and portable installs. Even npm gives the explicit message: npm notice created a lockfile as package-lock.json. You should commit this file.
Can we add the package-lock.json to the repository?
Not sure if this has been discussed somewhere, but it’s best practice to commit the
package-lock.json
to ensure stable and portable installs. Evennpm
gives the explicit message:npm notice created a lockfile as package-lock.json. You should commit this file.
Can we add the
package-lock.json
to the repository?