Re: [OE-core] Fun with npm shrinkwrap

2017-06-07 Thread Davis, Michael
> In fact, meta-nodejs is already in use here, and I've been told to give > "inherit npm-base" a try. Is that what you mean? Yes inherit npm-base should give you what you need. With the before mentioned limitations. > How "unreproducible" will builds become? The license checks are not that > cri

Re: [OE-core] Fun with npm shrinkwrap

2017-06-07 Thread Jan Kiszka
On 2017-06-07 16:09, Davis, Michael wrote: > If offline builds, license checking, or stable dependency versions are not > important to you then you can use the meta-nodejs layer. It just uses the > yarn tool directly https://github.com/imyller/meta-nodejs. > In fact, meta-nodejs is already in

Re: [OE-core] Fun with npm shrinkwrap

2017-06-07 Thread Davis, Michael
[mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Jan Kiszka Sent: Wednesday, June 07, 2017 7:04 AM To: Alexander Kanavin; openembedded-core@lists.openembedded.org Cc: Paul Eggleton Subject: Re: [OE-core] Fun with npm shrinkwrap On 2017-06-07 13:43, Alexander Kanavin wrote

Re: [OE-core] Fun with npm shrinkwrap

2017-06-07 Thread Jan Kiszka
On 2017-06-07 13:43, Alexander Kanavin wrote: > On 06/06/2017 06:14 PM, Jan Kiszka wrote: > >> Yeah, good points. Probably this problem is also related to OE >> reimplementing parts of the npm logic. >> >> But I suppose those concepts won't materialize very soon, will they? I'm >> also looking for

Re: [OE-core] Fun with npm shrinkwrap

2017-06-07 Thread Alexander Kanavin
On 06/06/2017 06:14 PM, Jan Kiszka wrote: Yeah, good points. Probably this problem is also related to OE reimplementing parts of the npm logic. But I suppose those concepts won't materialize very soon, will they? I'm also looking for a short-term solution, at least some reasonable tactic to gen

Re: [OE-core] Fun with npm shrinkwrap

2017-06-06 Thread Jan Kiszka
On 2017-06-06 16:12, Alexander Kanavin wrote: > On 06/06/2017 01:17 PM, Jan Kiszka wrote: >> devtool add / recipetool create do not work properly /wrt shrinkwrap >> when it comes to node-red-node-serialport. npm shrinkwrap finds a number >> of extraneous packages and refuses to generate an output.

Re: [OE-core] Fun with npm shrinkwrap

2017-06-06 Thread Alexander Kanavin
On 06/06/2017 01:17 PM, Jan Kiszka wrote: devtool add / recipetool create do not work properly /wrt shrinkwrap when it comes to node-red-node-serialport. npm shrinkwrap finds a number of extraneous packages and refuses to generate an output. There are various workarounds discussed in [1]. For me

[OE-core] Fun with npm shrinkwrap

2017-06-06 Thread Jan Kiszka
Hi all, devtool add / recipetool create do not work properly /wrt shrinkwrap when it comes to node-red-node-serialport. npm shrinkwrap finds a number of extraneous packages and refuses to generate an output. There are various workarounds discussed in [1]. For me this seems to work: diff --git a/