Age | Commit message (Collapse) | Author |
|
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: https://github.com/npm/cli/pull/3362
Credit: @isaacs
Close: #3362
Reviewed-by: @nlf
|
|
make-fetch-happen@9.0.1
* breaking: complete refactor of caching. cache will no longer grow
endlessly with duplicate requests. cache will be used in cases where
it should have been but wasn't before. it will cache multiple
content-types of the same url. it will dedupe existing caches of
their unused entries.
* fix: support url-encoded proxy authorization
* fix: do not lazy-load proxy agents or agentkeepalive. fixes the
intermittent failures to update npm on slower connections.
npm-registry-fetch@11.0.0
* breaking: drop handling of deprecated warning headers
* docs: fix header type for npm-command
* docs: update registry param
* feat: improved logging of cache status
|
|
|
|
|
|
Update to accept query params as options, so we can paginate.
|
|
|
|
This causes a lot of duplicates which will be removed in subsequent
commits.
|
|
First self-install!
|
|
Reinstall everything from a clean node_modules and package-lock.json
state.
Re-generate list of bundleDependencies and node_modules/.gitignore with
a script that does the right thing based on actual dependency state.
|
|
|
|
|
|
|
|
|
|
|
|
Some of these are used under a somewhat ambiguous license, and we're
moving away from the WeAll* stuff to just rely on the centralized npm
code of conduct anyhow. Better to leave them out for now, as we go
through and update the deps themselves to have a cleaner and more
consistent project setup.
PR-URL: https://github.com/npm/cli/pull/1054
Credit: @isaacs
Close: #1054
Reviewed-by: @ruyadorno
|
|
|
|
|
|
|
|
|