Skip to content

Commit ae39766

Browse files
committed
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 ```
1 parent e01149c commit ae39766

File tree

363 files changed

+42
-39150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

363 files changed

+42
-39150
lines changed

node_modules/.gitignore

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@npmcli/arborist/README.md

Lines changed: 0 additions & 335 deletions
This file was deleted.

node_modules/@npmcli/ci-detect/README.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

node_modules/@npmcli/config/README.md

Lines changed: 0 additions & 224 deletions
This file was deleted.

node_modules/@npmcli/disparity-colors/CHANGELOG.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

node_modules/@npmcli/disparity-colors/README.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)