You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/05/10 20:22:56 UTC

[GitHub] [cordova-docs] brodybits commented on issue #838: Docs should not encourage global npm installation

brodybits commented on issue #838: Docs should not encourage global npm installation
URL: https://github.com/apache/cordova-docs/issues/838#issuecomment-491418963
 
 
   I am also not so enthusiastic about directing people to use `npx cordova` for multiple reasons.
   
   I think the Cordova CLI is a bit big for this kind of usage, especially at the stage when someone *starts* a new Cordova project.
   
   The Cordova CLI behavior can change over time, major one has been what is configured in `config.xml` vs `package.json` which does not seem to be as consistently synchronized starting with Cordova 9.
   
   Also seems to be a bit extra to type out for every operation that is done on the project.
   
   I think it would be ideal if we could find a way to break the Cordova CLI into smaller, simpler tools. Just like someone could do `create-react-app` or `react-native init`, and then use npm package scripts to do the rest.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org