You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (Sujan) (JIRA)" <ji...@apache.org> on 2017/11/16 10:43:00 UTC

[jira] [Comment Edited] (CB-12242) Use yarn js instead of npm when adding plugins

    [ https://issues.apache.org/jira/browse/CB-12242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16255102#comment-16255102 ] 

Jan Piotrowski (Sujan) edited comment on CB-12242 at 11/16/17 10:42 AM:
------------------------------------------------------------------------

Feel free to start by evaluating what and where would need to be changed. All groundwork already taken care of makes it easier for someone to pick this issue and create a PR (or multiple PRs, as I suspect this to be spread about over multiple repos) that implements this.

My (unofficial!) impression in general is that from Cordova side there is no real need to tackle this right now.


was (Author: sujan12):
Feel free to start by evaluating what and where would need to be changed. All groundwork already taken care of makes it easier for someone to pick this issue and create a PR (or multiple PRs, as I suspect this to be spread about over multiple repos) that implements this.

My impression in general is that from Cordova side there is no real need to tackle this right now.

> Use yarn js instead of npm when adding plugins
> ----------------------------------------------
>
>                 Key: CB-12242
>                 URL: https://issues.apache.org/jira/browse/CB-12242
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-cli, cordova-lib
>            Reporter: Jacques de Villiers
>
> Currently it can take quite long to add certain plugins to my project (using cordova plugin add), especially if I need to re-add the plugins. My suggestion is to update the cordova cli to start using yarn js instead of npm directly.
> When I looked at this page, I realised yarn was just a wrapper for npm, and much better at caching packages locally.
> https://shift.infinite.red/npm-vs-yarn-cheat-sheet-8755b092e5cc#.jiz27n1hc
> I would imagine this change would be relatively straightforward, and would be a massive win for the cli.
> I was thinking of creating a fork to do a PR but realised I am not totally sure how to proceed on this.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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