Skip to content

create_npm: fixes to allow eg Angular2 based applications

Anders Darander openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7create_npm.py: add devDependencies to dependsscripts/lib/recipetool/create_npm.py+13 -42 replies
2/7create_npm.py: convert MIT/X11 to MITscripts/lib/recipetool/create_npm.py+2 -03 replies
3/7lib/oe/package.py: remove @ from package namemeta/lib/oe/package.py+1 -00 replies
4/7classes/npm: allow installation of devDependenciesmeta/classes/npm.bbclass+11 -20 replies
5/7scripts/lib/create_npm: rewrite see license in eulascripts/lib/recipetool/create_npm.py+4 -20 replies
6/7scripts/lib/create_npm: handle AND and OR in licensesscripts/lib/recipetool/create_npm.py+15 -10 replies
7/7scripts/lib/create_npm: handle Public Domain licensesscripts/lib/recipetool/create_npm.py+1 -00 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/7] create_npm: fixes to allow eg Angular2 based applications

After the fixes to bitbake, which have gone in to master, there's still some issues with having devtool add work correctly with a angular2 based applications.

Some of the issues, license strings gets split incorrectly, AND and OR are used in license strings in npm, @ and / in npm package names...

There's also a need to be able to install devDependencies from a package.json file.

The following changes since commit 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f:

recipes: Make use of the new bb.utils.filter() function (2017-03-01 11:17:22 +0000)

are available in the git repository at:

git://github.com/darander/openembedded-core npm
https://github.com/darander/openembedded-core/tree/npm

Anders Darander (7):
create_npm.py: add devDependencies to depends create_npm.py: convert MIT/X11 to MIT lib/oe/package.py: remove @ from package name classes/npm: allow installation of devDependencies scripts/lib/create_npm: rewrite see license in eula scripts/lib/create_npm: handle AND and OR in licenses scripts/lib/create_npm: handle Public Domain licenses

 meta/classes/npm.bbclass             | 13 ++++++++++--
 meta/lib/oe/package.py               |  1 +
 scripts/lib/recipetool/create_npm.py | 38 +++++++++++++++++++++++++++++++-----
 3 files changed, 45 insertions(+), 7 deletions(-)
Signature · 1 line
2.10.2