Is it possible to specifically target -alpha
versions of a package using semver and NPM?
The common approaches like using 1.0.0-alpha.x
or *
do not seem to work as expected due to how the version elements are interpreted. The usage of ~1.0.0-alpha
also does not give precise results, potentially matching beta versions instead. Refer to section 11.4 for more details.