diff options
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2022-05-19 12:05:56 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-28 12:55:26 +0100 |
commit | ccfa4132f9a9a1fab8c3bffdc1fa316a98ab795a (patch) | |
tree | 84d4a1d4cff436c1d07e87fe4164e6b5d53b7158 /scripts/lib/devtool/export.py | |
parent | 6ca69f66ba70c829956746cf290e39b16a950731 (diff) | |
download | poky-ccfa4132f9a9a1fab8c3bffdc1fa316a98ab795a.tar.gz |
npm: use npm_registry to cache package
With nodejs 16, the simple 'npm cache add' approach does not work
anymore because its fetcher implementation downloads also meta
information from the registry.
We have to generate these information and add them to the cache.
There is no direct support in 'npm' for task so we have to implement
it manually.
This implementation consists of a openembedded python module (in
oe-core) and a nodejs version specific helper (in oe-meta).
(From OE-Core rev: 019b9c341d539939098962c228c1fd5c99331312)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/export.py')
0 files changed, 0 insertions, 0 deletions