[
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515923#comment-16515923
]
ASF GitHub Bot commented on CB-7949:
------------------------------------
brodybits commented on issue #61: CB-7949 add cordova-local to tools release
process
URL: https://github.com/apache/cordova-coho/pull/61#issuecomment-398102374
> Why not use `npx cordova`?
- extra typing
- not everyone has `npx` (Node 6)
I think the ideal solution would be to have an extremely lightweight CLI
that uses scripts from local packages. Not sure how much the newer Node.js
tooling works like this or not.
Gotta say that I am starting to agree with your point. I do sometimes use
`npx` to run local tooling that is not yet integrated with scripts in
package.json. Closing in favor of your point.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Cli command/documentation for workflow with multiple versions of cordova
> ------------------------------------------------------------------------
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
> Issue Type: New Feature
> Components: cordova-cli
> Reporter: Staci Cooper
> Assignee: Staci Cooper
> Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the
> same machine is described here:
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local
> installations of cordova and then run cordova with
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can
> be run anywhere instead of 'cordova', and finds the closest local
> installation of cordova in your directory's ancestors and passes its
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post
> was the only reference I could find.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]