Reputation: 1703
We use the following lib as dependencies in our project https://github.com/rlidwka/sinopia
In this lib the package.json
they use express
https://github.com/rlidwka/sinopia/blob/master/package.yaml
dependencies:
express: '>=5.0.0-0 <6.0.0-0'
which is very problematic and we cannot use it since version 5 (5.0.0-alpha.1) is not official outside
https://github.com/expressjs/express
the npm released version is 4.14
my question is the following
Upvotes: 0
Views: 240
Reputation: 5261
How do I override nested NPM dependency versions? suggests using a partial npm-shrinkwrap.json to achieve what you want.
According to Allow partial npm-shrinkwrap.json to only force some dependencies, this is supported in npm@3.
Upvotes: 1