Ensure npm package is updated

dnafication

Dina

Posted on July 26, 2020

Ensure npm package is updated

Do you install your private node modules as below?



// package.json

"dependencies": {
  "private-module": "git+ssh://git@github.com:private-module.git#v5.5.5"
}



Enter fullscreen mode Exit fullscreen mode

If yes, chances are when you upgrade the package version to #v5.5.6, and do npm install, your package-lock.json wont be updated and neither the actual files inside node_modules. To ensure the update, I am having to manually update the package-lock file. Has anyone faced this?

๐Ÿ’– ๐Ÿ’ช ๐Ÿ™… ๐Ÿšฉ
dnafication
Dina

Posted on July 26, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

ยฉ TheLazy.dev

About