Re: [DISCUSS] non-global Cordova installs

2019-05-10 Thread Jan Piotrowski
Afaik nvm-windows also supports npx for quite some time [1], with 1.1.7 it works for every new-ish node I installed. [1] https://github.com/coreybutler/nvm-windows/commit/ce756027a816042ed41c3ee60b18d0ebc2599c2b Am Fr., 10. Mai 2019 um 02:09 Uhr schrieb julio cesar sanchez : > > npx is included

Re: [DISCUSS] non-global Cordova installs

2019-05-10 Thread Oliver Salzburg
npx ships with Node. On Fri, May 10, 2019, 00:33 Jesse wrote: > Hello Dmitry, > > In my mind, cordova-cli is intended to be installed globally, in situations > where that is not is possible we could *maybe* recommend that users use > npx, but I don't think it's a great experience. btw, npx need

Re: [DISCUSS] non-global Cordova installs

2019-05-10 Thread Jan Piotrowski
While that is correct, nvm-windows indeed had problems with npx not working after it was first added to node - so Julio's was indeed true in the past. Luckily it was fixed, so even we lowly Windows users now can use npx. Am Fr., 10. Mai 2019 um 09:48 Uhr schrieb Oliver Salzburg : > > npx ships wit

Re: [DISCUSS] non-global Cordova installs

2019-05-10 Thread Oliver Salzburg
I don't see how third-party tools like nvm or nvm-windows play a role in this. If those tools have defects, so be it, but that shouldn't steer a decision when the tools in question ship with the official tools that we use (NodeJS). This holds especially true if the issues have already been fixe

Re: [DISCUSS] non-global Cordova installs

2019-05-10 Thread julio cesar sanchez
My comment about nvm-windows was related to Jesse's comment about people using nvm or similar tools to manage node and needing to globally install npx, anyway, it's no longer true, as long as users have node 8 and npm 5.2, no matter what they use for managing their node versions. As long as we sup

Re: [DISCUSS] non-global Cordova installs

2019-05-10 Thread raphinesse
Thanks for that structured write-up, Oliver. You saved me from writing all of that myself. +100 on all those points Oliver Salzburg schrieb am Fr., 10. Mai 2019, 11:01: > I don't see how third-party tools like nvm or nvm-windows play a role in > this. If those tools have defects, so be it, but

Re: [DISCUSS] non-global Cordova installs

2019-05-10 Thread Jesse
Also thanks for the comprehensive write-up Oliver! Yeah, I am good with a move to recommend npx. I just ran thru the steps and everything seems to work fine with it. One other reservation I had was just about network usage, and being sensitive to places where bandwidth during the day is extremely

Re: [DISCUSS] non-global Cordova installs

2019-05-10 Thread Oliver Salzburg
I have already started working on a PR to make the necessary changes to the documentation, as I was under the impression that consensus regarding this issue was already reached: https://github.com/apache/cordova-docs/pull/987 Specifically this might be of interest: https://github.com/apache/cord

Re: [DISCUSS] non-global Cordova installs

2019-05-10 Thread Chris Brody
I am very sorry to say that I am still not convinced about this idea. I just raised some concerns in a recent comment in: https://github.com/apache/cordova-docs/issues/838 And I think I am not the only one right now. As I said in cordova-docs#838, I would favor that we mention using `npx cordova`

Re: Plugin CI: Updates to OS/versions

2019-05-10 Thread Jan Piotrowski
The work on https://github.com/apache/cordova-paramedic continued and we settled on a set of OS/version combinations to test. I rewrote the script so that is can be mostly just copied over to the plugins, making it unnecessary to maintain different versions for paramedic and the plugins. The first

Re: [DISCUSS] non-global Cordova installs

2019-05-10 Thread Oliver Salzburg
Our DX is not good and this proposal would have the potential to have a positive impact on that. I'm sorry that you're not convinced yet. Because I don't want to skip back and forth between GitHub and the mailing list, I'll address your points here. - When you start a new project, unless you crea

Nightly build #1087 for cordova has succeeded!

2019-05-10 Thread Apache Jenkins Server
Nightly build #1087 for cordova has succeeded! The latest nightly has been published and you can try it out with 'npm i -g cordova@nightly' For details check build console at https://builds.apache.org/job/cordova-nightly/1087/consoleFull - Jenkins for Apache Cordova ---