Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH] nodejs: Add npx to nodejs-npm package
@ 2017-10-12  7:25 Jonathan Liu
  2017-10-13  3:50 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Liu @ 2017-10-12  7:25 UTC (permalink / raw)
  To: openembedded-devel

${bindir}/npx is a symbolic link to npm-cli.js in the npm module.
This avoids the nodejs package depending on nodejs-npm.

Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
index 5c580fb72..5bcbc0007 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
@@ -79,7 +79,7 @@ do_install_append_class-target() {
 }
 
 PACKAGES =+ "${PN}-npm"
-FILES_${PN}-npm = "${exec_prefix}/lib/node_modules ${bindir}/npm"
+FILES_${PN}-npm = "${exec_prefix}/lib/node_modules ${bindir}/npm ${bindir}/npx"
 RDEPENDS_${PN}-npm = "bash python-shell python-datetime python-subprocess python-textutils"
 
 PACKAGES =+ "${PN}-systemtap"
-- 
2.14.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH] nodejs: Add npx to nodejs-npm package
  2017-10-12  7:25 [meta-oe][PATCH] nodejs: Add npx to nodejs-npm package Jonathan Liu
@ 2017-10-13  3:50 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2017-10-13  3:50 UTC (permalink / raw)
  To: Jonathan Liu; +Cc: openembedded-devel

On Thu, Oct 12, 2017 at 07:25:44AM +0000, Jonathan Liu wrote:
> ${bindir}/npx is a symbolic link to npm-cli.js in the npm module.
> This avoids the nodejs package depending on nodejs-npm.
> 
> Signed-off-by: Jonathan Liu <net147@gmail.com>
> ---
>  meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
> index 5c580fb72..5bcbc0007 100644
> --- a/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
> +++ b/meta-oe/recipes-devtools/nodejs/nodejs_8.4.0.bb
> @@ -79,7 +79,7 @@ do_install_append_class-target() {
>  }
>  
>  PACKAGES =+ "${PN}-npm"
> -FILES_${PN}-npm = "${exec_prefix}/lib/node_modules ${bindir}/npm"
> +FILES_${PN}-npm = "${exec_prefix}/lib/node_modules ${bindir}/npm ${bindir}/npx"

looks ok.

>  RDEPENDS_${PN}-npm = "bash python-shell python-datetime python-subprocess python-textutils"
>  
>  PACKAGES =+ "${PN}-systemtap"
> -- 
> 2.14.2
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-13  3:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-12  7:25 [meta-oe][PATCH] nodejs: Add npx to nodejs-npm package Jonathan Liu
2017-10-13  3:50 ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox