Skip to content

npm.bbclass: work with nodejs 16

Enrico Scholz openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6npm: replace 'npm pack' call by 'tar czf'meta/classes/npm.bbclass+29 -61 reply
2/6npm: return content of 'package.json' in 'npm_pack'meta/classes/npm.bbclass+4 -40 replies
3/6npm: take 'version' directly from 'package.json'meta/classes/npm.bbclass+1 -60 replies
4/6npm: disable 'audit' + 'fund'meta/classes/npm.bbclass+2 -02 replies
5/6lib:npm_registry: initial checkinmeta/lib/oe/npm_registry.py+169 -00 replies
6/6npm: use npm_registry to cache packagemeta/classes/npm.bbclass+9 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] npm.bbclass: work with nodejs 16

nodejs 16 changed internal caching significantly which breaks the existing npm.bblcass.

Simulate parts of the npm registry and cache data in the way as expected.

This patchset requires an additional one in the oe-meta layer.

Enrico Scholz (6):
npm: replace 'npm pack' call by 'tar czf'
npm: return content of 'package.json' in 'npm_pack'
npm: take 'version' directly from 'package.json'
npm: disable 'audit' + 'fund' lib:npm_registry: initial checkin
npm: use npm_registry to cache package

 meta/classes/npm.bbclass    |  65 +++++++++-----
 meta/lib/oe/npm_registry.py | 169 ++++++++++++++++++++++++++++++++++++
 2 files changed, 213 insertions(+), 21 deletions(-)
 create mode 100644 meta/lib/oe/npm_registry.py
Signature · 1 line
2.36.1