Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: check less stuff into node_modules #3362

Merged
merged 1 commit into from
Jun 10, 2021

Commits on Jun 10, 2021

  1. chore: check less stuff into node_modules

    We bundle our deps, but we don't need to bundle docs, changelogs,
    editorconfigs, test coverage reports, .github workflow definitions,
    lint configurations, and all the rest, which we never use.
    
    This cuts about 10% off of our publish artifact file size.
    
    ```
    $ ls -laF npm-7.16.0-*.tgz
    -rw-r--r--  1 isaacs  staff  7174497 Jun  3 13:01 npm-7.16.0-release-next.tgz
    -rw-r--r--  1 isaacs  staff  6782377 Jun  3 13:00 npm-7.16.0-trim-node-modules.tgz
    
    $ ls -laF npm-7.16.0-*.tar
    -rw-r--r--  1 isaacs  staff  19020288 Jun  3 13:01 npm-7.16.0-release-next.tar
    -rw-r--r--  1 isaacs  staff  17474048 Jun  3 13:00 npm-7.16.0-trim-node-modules.tar
    ```
    
    PR-URL: #3362
    Credit: @isaacs
    Close: #3362
    Reviewed-by: @nlf
    isaacs authored and wraithgar committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    a4a0e68 View commit details
    Browse the repository at this point in the history