You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Brian Hulette (JIRA)" <ji...@apache.org> on 2018/09/23 23:41:00 UTC

[jira] [Commented] (ARROW-3302) [JS] Reduce number of dependencies

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

Brian Hulette commented on ARROW-3302:
--------------------------------------

Thanks for pointing this out [~domoritz]. I knew we had a lot of dependencies but not having done a fresh install in a while, I didn't realize how long that first run could take. It looks like there's probably some low-hanging fruit here, e.g. removing `lint-staged`, which doesn't seem to even be used, drops the total size of node_modules from 445M to 422M. I'll see what else I can find

> [JS] Reduce number of dependencies
> ----------------------------------
>
>                 Key: ARROW-3302
>                 URL: https://issues.apache.org/jira/browse/ARROW-3302
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: JavaScript
>            Reporter: Dominik Moritz
>            Priority: Major
>              Labels: refactoring
>
> I installed the dependencies for arrow js today and it took 10 minutes (5 minutes the for the second run) with npm and less than one minute with yarn (I think there is an argument for using yarn instead of npm). Arrow js has 2792 dependencies right now. Installation takes very long but there is also some danger that the library will be hard to maintain in the future with this many dependencies. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)