Skip to content
Commit f36021a7 authored by BELOUARGA Mohamed's avatar BELOUARGA Mohamed Committed by Richard Purdie
Browse files

recipetool: create: npm: Add support to handle peer dependencies



NPM changed its manner to handle peer dependencies over its versions.
Before NPM 3: NPM installs automatically peer dependencies
between NPM 3 and 7: NPM shows a warning about peer dependencies
After NPM 3: NPM reworked its manner how to handle peer dependencies

The shrinkwrap doesn't have the parameters of the peer dependencies, so we cannot
fetch them. in the same time peer dependencies are not direct dependencies, they should
be installed as run time dependencies.

Signed-off-by: default avatarBELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 488d17c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment