]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
recipetool: create: npm: Add support for the new format of the shrinkwrap file
authorBELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Tue, 30 May 2023 22:27:49 +0000 (00:27 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Jun 2023 10:07:51 +0000 (11:07 +0100)
commit488d17c2af0c927ec66f0eee124bf6fc5b7f7c95
tree7229bb9d25e3c5bc66b80821dd72db5f356440ef
parenta5734148649be93529e5d5172cb47928957a6536
recipetool: create: npm: Add support for the new format of the shrinkwrap file

The shrinkwrap file changed its format, but npm does not version this file. So we can use it properly.
The actual changes make the script check if the npm package has dependencies in the actual shrinkwrap format.

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
scripts/lib/recipetool/create_npm.py