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
|
|
This adds support for Arborist.audit()
|
|
|
|
|
|
Just replaced Integer.MAX_SAFE_INTEGER with Number.MAX_SAFE_INTEGER.
PR-URL: https://github.com/npm/cli/pull/229
Credit: @gall0ws
Close: #229
Reviewed-by: @isaacs
|
|
|
|
|
|
|
|
Credit: @isaacs
|
|
|
|
* add
* add
* remove test files from distribution
* doc and style updates
Credit: @isaacs
|
|
Add BNF grammar to documentation.
Credit: @isaacs
Reviewed-By: @othiym23
|
|
Adds new functions to extract the {major,minor,patch} parts from a
version (no changes to npm).
|
|
Fixed an unfortunate typo that prevented the examples from rendering
correctly. Partial fix for #7310 / #7317.
|
|
Support for diffing two versions by type of release delta.
|
|
Minor documentation changes to sync up with 7c1299d.
|
|
More consistent prerelease handling.
|
|
|
|
This makes the '^' operator stricter for 0.x.y versions, even if 'x' is
not 0.
As a direct result, several *other* deps had to be updated, because they
either depended on semver 2.x, or because the new stricter rules meant
that they (or their deps) were no longer valid.
The update to 'read-installed', in particular, causes a test failure.
That update must be rolled back, or the test made to pass, prior to a
stable npm 2.0.0 release going out.
|
|
This adds the "prerelease", "prepatch", "preminor", "premajor" options
for `npm version`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|