mbox series

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

Message ID cover.1652954597.git.enrico.scholz@sigma-chemnitz.de
Headers show
Series npm.bbclass: work with nodejs 16 | expand

Message

Enrico Scholz May 19, 2022, 10:05 a.m. UTC
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

Comments

Enrico Scholz May 19, 2022, 10:38 a.m. UTC | #1
"Enrico Scholz via lists.openembedded.org"
<enrico.scholz=sigma-chemnitz.de@lists.openembedded.org> writes:

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

for reference: https://lists.openembedded.org/g/openembedded-devel/message/97186
Christian Eggers May 23, 2022, 7:23 a.m. UTC | #2
This seems to solve my problem with the quicktype recipe [1]. Thank
you very much for working in this.

[1] https://lore.kernel.org/all/CANNYZj-V8O1-USTdtOYKi5hB80QjxQZH2d2=YbJ-4Y2sm5BjoA@mail.gmail.com/T/


On Thursday, 19 May 2022, 12:05:50 CEST, Enrico Scholz via lists.openembedded.org wrote:
> 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
> 
>