]> code.ossystems Code Review - openembedded-core.git/commit
recipetool/create_npm: refactor the npm recipe creation handler
authorJean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Fri, 24 Jan 2020 17:07:37 +0000 (18:07 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jan 2020 16:38:54 +0000 (16:38 +0000)
commit1deccb0f0c204cd02fb8606f180d8a13df9f31db
tree74e2a5db5f50037bbf28d73f1377481955e3bebe
parent2b75cc848ceebee4067788a621299bfd5fb62231
recipetool/create_npm: refactor the npm recipe creation handler

This commit refactors the npm recipe creation handler to use the new npm
behavior. The process is kept as simple as possible and only generates
the shrinkwrap file.

To avoid naming issues the recipe name is now extracted from the npm
package name and not directly mapped.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_npm.py