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-04-01Add a 'envExport' flag for config definitionsisaacs/add-env-export-false-flag-for-config-defsisaacs
It defaults to true, but setting it to any falsey value will tell `@npmcli/config` not to export it into the environment, and will also put a remark in the documentation that it is not exported. PR-URL: https://github.com/npm/cli/pull/3014 Credit: @isaacs Close: #3014 Reviewed-by: @nlf
2021-04-01@npmcli/config@2.1.0isaacs
2021-04-01fix(tests): update snapshotsGar
This got left out of the npm view workspaces PR
2021-04-01feat(view): add workspace supportGar
PR-URL: https://github.com/npm/cli/pull/3001 Credit: @wraithgar Close: #3001 Reviewed-by: @nlf
2021-04-01feat(set-script): implement workspacesnlf
Implements workspaces for set-script, also refactors tests to mock as little as possible. PR-URL: https://github.com/npm/cli/pull/2998 Credit: @nlf Close: #2998 Reviewed-by: @wraithgar
2021-03-31feat(workspaces): add repo and docsGar
This adds workspaces support to `npm repo` and `npm docs`. It also updates the usage output to support the -w and -ws parameters output, and cleans up some unneccessary functions in `run-script` and `exec`. PR-URL: https://github.com/npm/cli/pull/2972 Credit: @wraithgar Close: #2972 Reviewed-by: @nlf
2021-03-297.7.6v7.7.6release/v7.7.6Ruy Adorno
2021-03-29update AUTHORSRuy Adorno
2021-03-29docs: changelog for v7.7.6Ruy Adorno
2021-03-29@npmcli/metavuln-calculator@1.1.1Ruy Adorno
2021-03-29npm-packlist@2.1.5Ruy Adorno
2021-03-29chore: fix smoke-tests snapshotsRuy Adorno
2021-03-29change 'maxsockets' default value back to 15Andreas
The default value for 'maxsockets' was changed during the refactoring in #2878 from 50 to 'Inifinity', this PR changes it to the more accurate value of 15, which was the default used in: https://github.com/npm/make-fetch-happen/blob/785af652ec0c8f108a43004903afd2183af93904/agent.js#L15 Fixes #2978 PR-URL: https://github.com/npm/cli/pull/2979 Credit: @wallrat Close: #2979 Reviewed-by: @ruyadorno Co-authored-by: Gar <gar+gh@danger.computer>
2021-03-29docs: fix spelling in workspaces.md fileSeth Thomas
PR-URL: https://github.com/npm/cli/pull/2973 Credit: @sethomas Close: #2973 Reviewed-by: @wraithgar, @nosisky
2021-03-29fix: empty newline printed to stderrRuy Adorno
Starting in v7.7.0 running `npm` (no args) is printing an empty newline to stderr. This fixes that by correctly exiting via errorHandler and avoiding hitting the cb() never called error and adds a test to make sure we avoid that regression moving forward. Fixes: https://github.com/nodejs/node/pull/37678#issuecomment-808734374 Co-authored-by: Gar <gar+gh@danger.computer>
2021-03-29libnpmversion@1.1.0Ruy Adorno
2021-03-29jsdom@16.5.2Ruy Adorno
2021-03-29eslint@7.23.0Ruy Adorno
2021-03-26test: skip smoke tests coverage checkRuy Adorno
2021-03-267.7.5v7.7.5release/v7.7.5Ruy Adorno
2021-03-26update AUTHORSRuy Adorno
2021-03-26docs: changelog for v7.7.5Ruy Adorno
2021-03-26fix(config): tie save-exact/save-prefix togetherGar
Each affects the other PR-URL: https://github.com/npm/cli/pull/2965 Credit: @wraithgar Close: #2965 Reviewed-by: @nlf
2021-03-26fix(config): properly translate user-agentGar
This config item is a bit of a unique one, as it can be set as a template, but then gets translated and also populated to process.env.npm_config_user_agent. This adds that logic back in during the flattening. PR-URL: https://github.com/npm/cli/pull/2964 Credit: @wraithgar Close: #2964 Reviewed-by: @nlf
2021-03-26add smoke testsRuy Adorno
Lightweight smoke test suite that runs common commands so that we can also have a holistic check during CI. PR-URL: https://github.com/npm/cli/pull/2959 Credit: @ruyadorno Close: #2959 Reviewed-by: @nlf
2021-03-26Always set npm.command to canonical command nameisaacs/set-npm-command-to-canonical-commandisaacs
This ensures that we get a npm_command env set to, eg 'run-script' instead of the shorthand 'run'. PR-URL: https://github.com/npm/cli/pull/2958 Credit: @isaacs Close: #2958 Reviewed-by: @wraithgar
2021-03-26Fix manNumberRegex in help.jsDanielle Church
The current regex will match any .[0-9]. pattern anywhere in the path, which will give incorrect results if npm is installed to a path like .../node-v14.5.5/... This change restricts it to only the last path element. PR-URL: https://github.com/npm/cli/pull/2949 Credit: @dmchurch Close: #2949 Reviewed-by: @wraithgar
2021-03-257.7.4v7.7.4release/v7.7.4Ruy Adorno
2021-03-25docs: changelog for v7.7.4Ruy Adorno
2021-03-25chore(docs): update prod configRuy Adorno
2021-03-25fix(config): accept explicit production=falseGar
This allows for overriding the implicit omit value based on if NODE_ENV=production PR-URL: https://github.com/npm/cli/pull/2951 Credit: @wraithgar Close: #2951 Reviewed-by: @ruyadorno
2021-03-25fix: npm config warn on workspacesRuy Adorno
When a workspace/workspaces config option is defined, we should log a warning message to be explicit about not supporting workspaces in the context of the `npm config` command. PR-URL: https://github.com/npm/cli/pull/2950 Credit: @ruyadorno Close: #2950 Reviewed-by: @wraithgar
2021-03-25fix(changelog): correct versions in changelogGar
This manual process is really prone to errors PR-URL: https://github.com/npm/cli/pull/2948 Credit: @wraithgar Close: #2948 Reviewed-by: @ruyadorno
2021-03-247.7.3v7.7.3release/v7.7.3Gar
2021-03-24update AUTHORSGar
2021-03-24docs: changelog for v7.7.3Gar
2021-03-24fix(set-script): add completionYash Singh
PR-URL: https://github.com/npm/cli/pull/2925 Credit: @Yash-Singh1 Close: #2925 Reviewed-by: @ruyadorno
2021-03-24fix(flatOptions): re-add `_auth`Gar
This was not being added to flatOptions, and things like `npm-registry-fetch` are looking for it. PR-URL: https://github.com/npm/cli/pull/2946 Credit: @wraithgar Close: #2946 Reviewed-by: @nlf
2021-03-24fix(progress): re-add progress bar to reifyGar
The logger was no longer in flatOptions, we pass it in explicitly now PR-URL: https://github.com/npm/cli/pull/2944 Credit: @wraithgar Close: #2944 Reviewed-by: @nlf
2021-03-24fix: config should not error when workspaces are configurednlf
PR-URL: https://github.com/npm/cli/pull/2945 Credit: @nlf Close: #2945 Reviewed-by: @wraithgar
2021-03-24fix(audit-level): add `info` audit levelGar
This is a valid level but wasn't configured to be allowed. Also added this param to the usage output for `npm audit` PR-URL: https://github.com/npm/cli/pull/2923 Credit: @wraithgar Close: #2923 Reviewed-by: @ruyadorno
2021-03-24fix(install): ignore auditLevelGar
`npm install` should not be affected by the `auditLevel` config, as the results of audit do not change its exit status. PR-URL: https://github.com/npm/cli/pull/2929 Credit: @wraithgar Close: #2929 Reviewed-by: @ljharb, @ruyadorno
2021-03-247.7.2v7.7.2release/v7.7.2Gar
2021-03-24docs: changelog for v7.7.2Gar
2021-03-24chore: rebuild package-lockGar
2021-03-24config: Restore --dev flag, unify --omit flattenersisaacs
This consolidates all the various --include and --omit configuration flatteners into a single function, since they have to be interdependent in order to function properly. Fix: #2936 PR-URL: https://github.com/npm/cli/pull/2942 Credit: @isaacs Close: #2942 Reviewed-by: @wraithgar
2021-03-24chore: rebuild package-locknlf
2021-03-24hosted-git-info@4.0.2Gar
2021-03-247.7.1v7.7.1release/v7.7.1Ruy Adorno
2021-03-24update AUTHORSRuy Adorno