Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-177.18.0v7.18.0release/v7.18.0Luke Karrys
2021-06-17fix(docs): rebuild docsLuke Karrys
2021-06-17update AUTHORSLuke Karrys
2021-06-17docs: changelog for v7.18.0Luke Karrys
2021-06-17feat(pack): add pack-destination configGar
This will allow users to specify a folder in which to save their tarballs. PR-URL: https://github.com/npm/cli/pull/3420 Credit: @wraithgar Close: #3420 Reviewed-by: @ruyadorno
2021-06-17libnpmexec@2.0.0Gar
* use new npxCache option
2021-06-17fix(config): add flatOptions.npxCacheGar
This adds a new `npxCache` flatOption for libnpmexec to look for to put its `_npx` content. libnpmexec will have to be patched to use that value, and continue to pass `flatOptions.cache` to pacote et al. The `flatOptions.cache` is the one that is intended to be passed down into other modules, as it has the `_cacache` suffix attached. What was happening before was that `npx` was creating a new alternate cache one directory up from where everything else was, and also putting the `_npx` content there. It is possible this is the source of at least some of our "npx doesn't find the right versions" bugs. PR-URL: https://github.com/npm/cli/pull/3430 Credit: @wraithgar Close: #3430 Reviewed-by: @ruyadorno
2021-06-17fix(ls): respect prod config for workspacesRuy Adorno
`npm ls --prod` is currently not omitting devDependencies for configured workspaces, this changes it by properly checking for the tweaked `currentDepth` value instead of root check that was in place. Fixes: https://github.com/npm/cli/issues/3382 PR-URL: https://github.com/npm/cli/pull/3429 Credit: @ruyadorno Close: #3429 Reviewed-by: @wraithgar
2021-06-17make-fetch-happen@9.0.3Gar
* fix: implement cache modes correctly
2021-06-17fix(config): update link definitionGar
The behavior for installing global versions if found has never been part of npm@7. PR-URL: https://github.com/npm/cli/pull/3418 Credit: @wraithgar Close: #3418 Reviewed-by: @lukekarrys
2021-06-16@npmcli/arborist@2.6.3Gar
* fix(inventory) handle old and british forms of 'license' * fix: removes [_complete] check to apply correct metadata * ensure node.fsParent is not set to node itself * fix extraneous deps on load-actual
2021-06-16chore(tests): use path.resolveGar
npm-package-arg is doing things more properly now so the tests should reflect that PR-URL: https://github.com/npm/cli/pull/3426 Credit: @wraithgar Close: #3426 Reviewed-by: @ruyadorno
2021-06-16npm-package-arg@8.1.5Gar
* fix: Make file: URLs (mostly) RFC 8909 compliant
2021-06-16feat(ls): support `--package-lock-only` flagGareth Jones
This enables using the virtual tree instead of node_modules. PR-URL: https://github.com/npm/cli/pull/3408 Credit: @G-Rath Close: #3408 Reviewed-by: @isaacs
2021-06-16libnpmversion@1.2.1Gar
* fix(retrieve-tag): pass match in a way git accepts
2021-06-16fix(docs): ls command usage instructionsVlad GURDIGA
PR-URL: https://github.com/npm/cli/pull/3423 Credit: @gurdiga Close: #3423 Reviewed-by: @ruyadorno
2021-06-16fix(workspaces): explicitly error in global modeGar
Also includes a preliminary refactor to consolidate workspace logic now that every command that supports workspaces has it implemented. PR-URL: https://github.com/npm/cli/pull/3417 Credit: @wraithgar Close: #3417 Reviewed-by: @ruyadorno
2021-06-16chore(refactor): finish passing npm contextGar
No more requiring npm as a singleton. This will now allow us to move forward with the other refactoring we need to always use the npm object itself in tests, not a mocked one. PR-URL: https://github.com/npm/cli/pull/3388 Credit: @wraithgar Close: #3388 Reviewed-by: @ruyadorno
2021-06-11chore(libnpmdiff): added as workspaceRuy Adorno
- Setup ./packages/* as workspaces - Moved source from: https://github.com/npm/libnpmdiff to ./packages/libnpmdiff - Added CI target for workspaces Relates to: https://github.com/npm/statusboard/issues/362 PR-URL: https://github.com/npm/cli/pull/3386 Credit: @ruyadorno Close: #3386 Reviewed-by: @wraithgar
2021-06-11fix(link): do not prune packagesRuy Adorno
`npm link <pkg>` is meant to be used as a way to link a local package to an install tree and it's very surprising to users that it may prune extraneous deps from the project. This change switches the default behavior to avoid pruning deps when reifying the dependencies in npm link. Fixes: https://github.com/npm/cli/issues/2554 PR-URL: https://github.com/npm/cli/pull/3399 Credit: @ruyadorno Close: #3399 Reviewed-by: @ljharb, @nlf
2021-06-107.17.0v7.17.0release/v7.17.0Gar
2021-06-10docs: changelog for v7.17.0Gar
2021-06-10eslint@7.28.0Gar
2021-06-10docs(workspaces): update using npm sectionRuy Adorno
Added examples of using `npm init` to bootstrap a new workspace and a section on how to add/manage dependencies to workspaces. PR-URL: https://github.com/npm/cli/pull/3392 Credit: @ruyadorno Close: #3392 Reviewed-by: @wraithgar
2021-06-10feat(diff): add workspace supportGar
Refactored a bit so that we can more easily change the `top` and `prefix` params that were being used, and are different under the workspace context. PR-URL: https://github.com/npm/cli/pull/3368 Credit: @wraithgar Close: #3368 Reviewed-by: @ruyadorno
2021-06-10fix(login): properly save scope if definedGar
setCredentialsByURI was clobbering the saving of the scope:registry config PR-URL: https://github.com/npm/cli/pull/3383 Credit: @wraithgar Close: #3383 Reviewed-by: @nlf
2021-06-10chore(package) Use a "files" listisaacs
We have a fairly small number of things that we wish to ship in our package, and they're all nicely arranged in a small number of folders. Instead of having a sprawling .npmignore file, we should just get with the recommended best practice, and use a "files" list in package.json. PR-URL: https://github.com/npm/cli/pull/3365 Credit: @isaacs Close: #3365 Reviewed-by: @wraithgar
2021-06-10chore: check less stuff into node_modulesisaacs
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
2021-06-10fix(linting): add scripts, docs, smoke-testsGar
There is code in all of these places we control so it should be linted PR-URL: https://github.com/npm/cli/pull/3367 Credit: @wraithgar Close: #3367 Reviewed-by: @isaacs
2021-06-10fix(tests): mock writeFile in pack tests so we dont create 0 byte files in ↵nlf
the repo PR-URL: https://github.com/npm/cli/pull/3364 Credit: @nlf Close: #3364 Reviewed-by: @wraithgar
2021-06-10chore: remove ignored depnlf
2021-06-04fix: update from upstream (#3363)Daniel Park
* fix: add git remote pull * wip: update workflow * wip: update to npm/node * wip: upstream sync * wip: revert standard pull * wip: revert to nodejs/node
2021-06-037.16.0v7.16.0release/v7.16.0nlf
2021-06-03docs: changelog for v7.16.0nlf
2021-06-03make-fetch-happen@9.0.2nlf
fix: work around negotiator's lazy loading
2021-06-03fix(docs): link foreground-scripts w/ loglevelGar
Since loglevel is the first place people usually look to find out why their scripts have no output when they are in the background, this will help point them to the config that addresses that situation. PR-URL: https://github.com/npm/cli/pull/3360 Credit: @wraithgar Close: #3360 Reviewed-by: @isaacs
2021-06-03fix(update-notifier): parallelize check for updatesisaacs
This prevents npm from hanging for an update notification if the server is slow to respond or the cache file is slow to write. Failure mode is just that we notify more often than needed, which is not so bad. PR-URL: https://github.com/npm/cli/pull/3348 Credit: @isaacs Close: #3348 Reviewed-by: @wraithgar
2021-06-03chore: update docs npmDaniel Park
Removes documentation for '--scripts-prepend-node-path' as this was removed in npm@7 PR-URL: https://github.com/npm/cli/pull/3353 Credit: @gimli01 Close: #3353 Reviewed-by: @wraithgar
2021-06-02make-fetch-happen@9.0.1/npm-registry-fetch@11.0.0Gar
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
2021-06-02npm-package-arg@8.1.4Gar
* fix: trim whitespace from fetchSpec * fix: handle file: when root directory begins with a special character
2021-06-02fix: do not update notify when installing npm@specisaacs/no-notifier-for-installing-npm-at-latestisaacs
PR-URL: https://github.com/npm/cli/pull/3345 Credit: @isaacs Close: #3345 Reviewed-by: @wraithgar
2021-06-02fix: update incorrect variable nameDaniel Park
PR-URL: https://github.com/npm/cli/pull/3344 Credit: @gimli01 Close: #3344 Reviewed-by: @darcyclarke
2021-06-01chore: manage docs as a workspaceRuy Adorno
- Add `./docs` as a workspace - Reinstate `./docs/package.json` to manage docs deps - Ignore `docs/content` markdown source folder from published tarball - Tweaked `make docs` to use `npm run` to run docs build step - Tweaked "bundle and gitignore" script to ignore symlinks in nm folder - Removed outdated `package.json` comment Relates to: https://github.com/npm/statusboard/issues/362 PR-URL: https://github.com/npm/cli/pull/3342 Credit: @ruyadorno Close: #3342 Reviewed-by: @wraithgar
2021-06-017.15.1v7.15.1release/v7.15.1Ruy Adorno
2021-06-01update AUTHORSRuy Adorno
2021-06-01docs: changelog for v7.15.1Ruy Adorno
2021-06-01add node16 ci targetRuy Adorno
2021-06-01libnpmexec@1.2.0Ruy Adorno
2021-06-01eslint-plugin-import@2.23.4Ruy Adorno
2021-06-01chore: ignore smoke test server file coverageRuy Adorno