hardillb’s avatarhardillb’s Twitter Archive—№ 18,334

      1. Anybody really understand npm versions and tags? e.g. with ~0.3.3 in the package.json and 0.4.0-test.1 tagged with beta in the registry "npm install --tag beta" is still installing 0.3.3 not the version tagged with beta
    1. …in reply to @hardillb
      That should be ^0.3.3 in the package.json (~0.3.3 would give what I'm seeing, but even with ^ the install is not favouring the beta tag)
  1. …in reply to @hardillb
    OK worked this out, it's because my current version starts with a leading 0. This would do what I wanted if it started with a 1