]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: properly handle npm optional dependencies
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 6 Feb 2017 20:45:41 +0000 (09:45 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Feb 2017 14:48:55 +0000 (14:48 +0000)
commit2b66cb9982d10ce1744d430858eaef3e5a72c8c0
tree08f583a7cb279fa2c34f7f6f309d58931bea3f32
parenta667cb9ed2dceb804b85d1a024e2619bc34d2681
recipetool: create: properly handle npm optional dependencies

npm's package.json supports two types of dependencies -
optionalDependencies and dependencies; in the code for creating a recipe
from a non-npm source (e.g. a git repository) we were not handling
optionalDependencies and thus when pointed at a node.js application
outside of npm we weren't taking care of all dependencies.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_npm.py