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
path: root/docs
AgeCommit message (Collapse)Author
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-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-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-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-05-27docs: Drop stale Python 3<->node-gyp remarkSpencer Wilson
PR-URL: https://github.com/npm/cli/pull/3313 Credit: @spencerwilson Close: #3313 Reviewed-by: @wraithgar
2021-05-27feat(link): add workspace supportisaacs
PR-URL: https://github.com/npm/cli/pull/3312 Credit: @isaacs Close: #3312 Reviewed-by: @wraithgar
2021-05-27docs: rebuild npm-pack docisaacs
2021-05-26fix(docs): typo in package-lock.json docsrethab
PR-URL: https://github.com/npm/cli/pull/3307 Credit: @rethab Close: #3307 Reviewed-by: @wraithgar
2021-05-24fix(docs): proper postinstall script file nameKevin Cormier
I think this change was incorrect: https://github.com/npm/cli/pull/2024 The point of this example is that the same script is being used for two different stages (`install` and `post-install`) so it would be a good idea to look at the `npm_lifecycle_event` environment variable inside this script to determine which stage is being run. PR-URL: https://github.com/npm/cli/pull/3282 Credit: @KevinFCormier Close: #3282 Reviewed-by: @wraithgar
2021-05-20feat: add ls workspacesRuy Adorno
- Add listing workspaces deps by default in `npm ls` - Add ability to filter the result tree by workspace using the -w config - Added tests and docs Fixes: https://github.com/npm/statusboard/issues/302 PR-URL: https://github.com/npm/cli/pull/3250 Credit: @ruyadorno Close: #3250 Reviewed-by: @isaacs
2021-05-20fix: restore '--json' argument to 'npm pack' commandmrmlnc
PR-URL: https://github.com/npm/cli/pull/3217 Credit: @mrmlnc Close: #3217 Reviewed-by: @isaacs, @wraithgar, @ruyadorno
2021-05-20feat(outdated): add workspaces supportRuy Adorno
- Add listing outdated direct deps of a workspace in `npm outdated` - Add ability to filter the results of `npm outdated` using `-w` config - Added tests and docs Fixes: https://github.com/npm/statusboard/issues/303 PR-URL: https://github.com/npm/cli/pull/3260 Credit: @ruyadorno Close: #3260 Reviewed-by: @isaacs
2021-05-20feat(unpublish): add workspace/dry-run supportGar
PR-URL: https://github.com/npm/cli/pull/3251 Credit: @wraithgar Close: #3251 Reviewed-by: @ruyadorno, @isaacs
2021-05-20Add workspaces support to reify/rebuild commandsisaacs
This adds `--workspace` support to: - audit (including audit fix) - ci - dedupe - find-dupes - install - install-ci-test - install-test - prune - rebuild - uninstall - update Also addresses missing error handling case, identified by @timoxley. https://github.com/npm/cli/pull/3227#discussion_r631024491 PR-URL: https://github.com/npm/cli/pull/3227 Credit: @isaacs Close: #3227 Reviewed-by: @ruyadorno
2021-05-20feat(explain): add workspaces supportRuy Adorno
- Add highlight style for workspaces items in human output - Add ability to filter results by workspace using `-w` config - Added tests and docs Fixes: https://github.com/npm/statusboard/issues/300 PR-URL: https://github.com/npm/cli/pull/3265 Credit: @ruyadorno Close: #3265 Reviewed-by: @isaacs
2021-05-14fix(docs): autogenerate config docs for commandsisaacs
Add a script and Makefile rule to build the "Configuration" section for all command documentation based on the command classes' `params` list. Also correct several minor problems in the documentation, and add `params` listings for commands that were lacking them, to match the existing documentation and/or behavior within the code. PR-URL: https://github.com/npm/cli/pull/3243 Credit: @isaacs Close: #3243 Reviewed-by: @wraithgar
2021-05-13feat: add fund workspacesRuy Adorno
Add workspaces support to `npm fund` - Add lib/workspaces/arborist-cmd.js base class - Add ability to filter fund results to a specific set of workspaces - Added tests and docs Fixes: https://github.com/npm/statusboard/issues/301 PR-URL: https://github.com/npm/cli/pull/3241 Credit: @ruyadorno Close: #3241 Reviewed-by: @isaacs
2021-05-13feat(publish): add workspace supportGar
Errors will make things stop altogether, dunno if we want to bikeshed that here or not PR-URL: https://github.com/npm/cli/pull/3231 Credit: @wraithgar Close: #3231 Reviewed-by: @ruyadorno
2021-05-06feat(config): add workspaces boolean to user-agentnlf
PR-URL: https://github.com/npm/cli/pull/3187 Credit: @nlf Close: #3187 Reviewed-by: @wraithgar
2021-05-06fix(docs): fix broken linkswangsai
PR-URL: https://github.com/npm/cli/pull/3182 Credit: @wangsai Close: #3182 Reviewed-by: @wraithgar
2021-05-06feat(cache): Allow `add` to accept multiple specsMarco Sirabella
This is a backwards incompatible change to the undocumented `cache add pkg version`, but Motivations for this can be found here: https://github.com/npm/cli/pull/2976#issuecomment-811511134 Signed-off-by: Marco Sirabella <marco@sirabella.org> PR-URL: https://github.com/npm/cli/pull/3098 Credit: @mjsir911 Close: #3098 Reviewed-by: @wraithgar
2021-04-29docs: mention `directories.bin` in `bin`Felipe Santos
PR-URL: https://github.com/npm/cli/pull/3146 Credit: @felipecrs Close: #3146 Reviewed-by: @wraithgar
2021-04-24Remove --always-auth config definitionisaacs
As of the recent updates to npm-registry-fetch and @npmcli/config, this config field is no longer used anywhere. Prior to those changes, it was used, but not in the manner documented.
2021-04-22feat: add init workspacesRuy Adorno
Add workspaces support to `npm init` - Fixes `npm exec` respecting `script-shell` option value - Refactored `lib/exec.js` into `libnpmexec` - Updates init-package-json@2.0.3 - Added ability to create a new workspace using the -w config PR-URL: https://github.com/npm/cli/pull/3095 Credit: @ruyadorno Close: #3095 Reviewed-by: @wraithgar
2021-04-22docs: fix refs to ws shorthandRuy Adorno
Normalizes usage of `--ws` in docs. Fixes: https://github.com/npm/statusboard/issues/313 PR-URL: https://github.com/npm/cli/pull/3109 Credit: @ruyadorno Close: #3109 Reviewed-by: @wraithgar
2021-04-22chore(docs): update view docsGar
Adds workspace/json config PR-URL: https://github.com/npm/cli/pull/3101 Credit: @wraithgar Close: #3101 Reviewed-by: @ruyadorno
2021-04-15feat(version): add workspace supportGar
PR-URL: https://github.com/npm/cli/pull/3055 Credit: @wraithgar Close: #3055 Reviewed-by: @darcyclarke
2021-04-14feat(bugs): fall back to email if providedYash Singh
If a bugs url is not provided, but a `mailto` is, then that is used. PR-URL: https://github.com/npm/cli/pull/3052 Credit: @Yash-Singh1 Close: #3052 Reviewed-by: @wraithgar
2021-04-08feat(pack): add workspace supportGar
PR-URL: https://github.com/npm/cli/pull/3033 Credit: @wraithgar Close: #3033 Reviewed-by: @darcyclarke
2021-04-08feat(workspaces): implement workspace support for dist-tagnlf
PR-URL: https://github.com/npm/cli/pull/3032 Credit: @nlf Close: #3032 Reviewed-by: @wraithgar
2021-04-01fix(docs): add workspaces configurationGar
Adds workspaces configuration to `docs`, `repo`, and `set-script`. PR-URL: https://github.com/npm/cli/pull/3013 Credit: @wraithgar Close: #3013 Reviewed-by: @darcyclarke
2021-04-01usage: specify the key each time for multiplesisaacs
If a user runs 'npm install -w foo bar baz', that won't set 'bar' and 'baz' as workspace names. The correct incantation is 'npm install -w foo -w bar -w baz'. PR-URL: https://github.com/npm/cli/pull/3016 Credit: @isaacs Close: #3016 Reviewed-by: @wraithgar
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-01feat(view): add workspace supportGar
PR-URL: https://github.com/npm/cli/pull/3001 Credit: @wraithgar Close: #3001 Reviewed-by: @nlf
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-25chore(docs): update prod configRuy Adorno
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-23fix docs generation for yes configRuy Adorno
2021-03-22feat: add exec workspacesRuy Adorno
Add workspaces support to `npm exec` - Refactored logic to read and filter workspaces into `lib/workspaces/get-workspaces.js` - Added location context message when entering interactive shell using `npm exec` (with no args) - Add ability to execute a package in the context of each configured workspace Fixes: https://github.com/npm/statusboard/issues/288 PR-URL: https://github.com/npm/cli/pull/2886 Credit: @ruyadorno Close: #2886 Reviewed-by: @wraithgar
2021-03-22fix(usage): tie usage to configGar
This starts us down the path of tying the params our commands accept to their config items. For now it is optional, and not every current config item would cleanly render if we added them today. The ones that are added here DO render nicely, and we can iterate from here. We can also at a later date do the same kind of appraoch with our positional args. PR-URL: https://github.com/npm/cli/pull/2908 Credit: @wraithgar Close: #2908 Reviewed-by: @nlf, @isaacs
2021-03-19feat: add run-script workspacesRuy Adorno
- Add workspaces-related configs: - workspace: list of workspaces names/dir to filter for - workspaces: boolean value to enable/disable workspaces awareness - adds the proposed note in the docs of each of the commands that are not affected by these configs. - Add workspaces support to `npm run-script` - add ability to serially run lifecycle scripts in workspaces - add ability to list scripts for all workspaces - add colors to `npm run` (no args) output Relates to: https://github.com/npm/rfcs/pull/117 Fixes: https://github.com/npm/statusboard/issues/276 Fixes: https://github.com/npm/statusboard/issues/283 Fixes: https://github.com/npm/statusboard/issues/284 Fixes: https://github.com/npm/statusboard/issues/285 Fixes: https://github.com/npm/statusboard/issues/286 PR-URL: https://github.com/npm/cli/pull/2864 Credit: @ruyadorno Close: #2864 Reviewed-by: @wraithgar
2021-03-18docs(package-json): document default main behaviorkbayrhammer
PR-URL: https://github.com/npm/cli/pull/2881 Credit: @klausbayrhammer Close: #2881 Reviewed-by: @wraithgar
2021-03-18docs(configuring-npm): Fix broken linkKarthik Sundari
PR-URL: https://github.com/npm/cli/pull/2860 Credit: @varmakarthik12 Close: #2860 Reviewed-by: @wraithgar
2021-03-18feat(help): refactor npm help/help-searchGar
Lots of dead code removed thanks to streamlining of logic. `npm help` `npm <command>` and `npm help-search` are all now separated concerns, handling their own use cases. `help` calls `help-search` as a last resort, but `npm <command>` no longer tries to wind its way through to `help-search` just to get the basic npm usage displayed. The `did you mean` output has been expanded. It now always suggests top level commands, scripts, and bins, and suggests them in the way they should be called. PR-URL: https://github.com/npm/cli/pull/2859 Credit: @wraithgar Close: #2859 Reviewed-by: @ruyadorno
2021-03-18Auto-generate 'npm help 7 config' from actual definitionsisaacs
2021-03-05fix: markdown error on using-npm/scripts docsrelease/v7.6.1Ruy Adorno
2021-03-05chore: update republish timeout after unpublishbaj-/update-unpublish-docsBjørn Johansen
PR-URL: https://github.com/npm/cli/pull/2809 Credit: @BAJ- Close: #2809 Reviewed-by: @christoflemke, @sarin1234, @darcyclarke
2021-03-04fix(docs): update scripts docsGar
The lifecycle events section was very out of date, and lots of other cleanup needed to happen too PR-URL: https://github.com/npm/cli/pull/2690 Credit: @wraithgar Close: #2690 Reviewed-by: @ruyadorno
2021-02-25chore(docs):update unpublish cooldownChristof Lemke
PR-URL: https://github.com/npm/cli/pull/2778 Credit: @christoflemke Close: #2778 Reviewed-by: @wraithgar, @ethomson