GitHub user jkrems opened a pull request:

    https://github.com/apache/thrift/pull/672

    Fix package.json to include only the needed files

    Before:
    
    ```
    > du -sh node_modules/thrift
     28M        node_modules/thrift
    ```
    
    After:
    
    ```
    > mkdir -p /tmp/thrift-module
    > cp -r node_modules/thrift/lib/nodejs/{lib,README.md} /tmp/thrift-module
    > du -sh /tmp/thrift-module
    208K        /tmp/thrift-module
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jkrems/thrift jk-fix-npm-package

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/672.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #672
    
----
commit e744a32fcea8c4867a4269dc58d5fdd22dffe406
Author: Jan Krems <jan.kr...@groupon.com>
Date:   2015-10-30T20:32:29Z

    Fix package.json to include only the needed files
    
    Before:
    
    ```
    > du -sh node_modules/thrift
     28M        node_modules/thrift
    ```
    
    After:
    
    ```
    > mkdir -p /tmp/thrift-module
    > cp -r node_modules/thrift/lib/nodejs/{lib,README.md} /tmp/thrift-module
    > du -sh /tmp/thrift-module
    208K        /tmp/thrift-module
    ```

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to