]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib:npm_registry: initial checkin
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Thu, 19 May 2022 10:05:55 +0000 (12:05 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jun 2022 11:53:55 +0000 (12:53 +0100)
commit6cd5886ad05fee704e8a5892bd370c360c8c3b54
tree061a89d82078130bf865a795956357e9d84d2cbf
parent7a09a50bbe4c258ad6dc80889b0a9d2e5f554675
lib:npm_registry: initial checkin

Helper module to:

- generate meta information from package.json content.  This data has
  a format as provided by https://registry.npmjs.org

- put this meta information and the corresponding tarball in the
  nodejs cache.  This uses an external, nodejs version specific helper
  script (oe-npm-cache) shipped in oe-meta

To avoid further nodejs version dependencies, future versions of this
module might omit the caching completely and serve meta information
and tarball by an http server.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/npm_registry.py [new file with mode: 0644]