npm latest tag is still 1.x

I noticed when I installed webpack via npm that 1.x installed instead of 2.x.

$ npm dist-tag ls webpack
beta: 2.2.0
latest: 1.14.0

To fix this you all need to set the dist-tag of the latest release, 2.2.0, to latest.

$ npm dist-tag rm webpack beta
$ npm dist-tag add webpack@2.2.0 latest

Author: Fantashit

2 thoughts on “npm latest tag is still 1.x

  1. Yeah we just wanted to be safe and announce and let the anxious folks grab it and then that way the community can help those who end up with a webpack 2 automagically from an install and are confused.

    Next releases we will plan to treat like conventional ones on the latest tag.

  2. Btw, I don’t think I’ve said it enough but you all have totally improved the way I develop. As a lib author y’all are simply magic and give me so many more options to cater to the various consumption needs of my users. I get seriously giddy compiling bundles. Soo many air high-fives have been given 🙌🙌

Comments are closed.