Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
All docs related scripts are now located in the docs workspace
|
|
Do not pass the `if-present` env config value to spawned processes.
Fixes: https://github.com/npm/cli/issues/3352
Close: https://github.com/npm/cli/pull/3589
|
|
|
|
* Removed dedupe --save documentation and attempted implementation.
* Remove some unneeded otplease mocks from test
`npm dedupe --save` didn't work in a easy to understand way. It would
only update a top level dependency that was duplicated in the tree.
Found this out rewriting the dedupe tests to be real. This is not very
intuitive and it's best if folks use update or install for saving to
package.json.
|
|
Futher --> Further
|
|
|
|
ci (#4666)
related to #4664
|
|
|
|
- add some basic tests for docs
- make dockhand script work on windows
- cleanup main CI to match template-oss
- add a git status check for cli ci tests
- use resetdeps for ci steps
|
|
- `no-shadow` was disabled for the cli and arborist due to the amount
of changes required. These should be fixed later.
- Manually updated linting in the cli root to match closer to what
template-oss does
- Included docs to be managed with template-oss. This required adding
an empty test for now, with the plan to add real tests later.
|
|
|
|
This also allows logs-max to be set to 0 to disable log file writing.
Closes #4466
Closes #4206
|
|
Adds a minimalistic reify step that updates the installed tree after a
version change within one of the configured workspaces when using any
of the workspaces config options.
It's also possible to use the `--save` config option in order to
auto update semver ranges of dependencies declarations accross dependent
`package.json` files.
Fixes: https://github.com/npm/cli/issues/3403
Relates to: https://github.com/npm/rfcs/issues/556
Relates to: https://github.com/npm/cli/issues/3757
Relates to: https://github.com/npm/cli/issues/4193
|
|
Also add explanation of what `--force` does for unpublish
|
|
|
|
|
|
|
|
I think this gets them all
|
|
|
|
|
|
Closes #4189
* docs: auto-generate synopsis sections
* feat: improve usage auto-generation'
* chore: auto-generate npm usage for each command
* docs: print default usage when usage is missing
* docs: add special case for npx
* fix: remove optional chaining
|
|
|
|
Closes: https://github.com/npm/cli/issues/3821
|
|
|
|
npm install <folder> doesn't install dependencies if <folder> is outside of root project.
Fixes #3358
|
|
Signed-off-by: Tierney Cyren <hello@bnb.im>
|
|
Fixes https://github.com/npm/cli/issues/4136
|
|
|
|
|
|
Fixes: https://github.com/npm/cli/issues/4344
|
|
`npm ci` should never be affected by the `package-lock` config.
Fixes: https://github.com/npm/cli/issues/4185
|
|
This has been possible since this commit in `npm-bundled`:
https://github.com/npm/npm-bundled/commit/101a94db5953e508b57de0e7b887964691d2d326
|
|
Previously `npm update` was not respecting the `save` option, it
would be impossible for users to use `npm update` and automatically
update their `package.json` files.
This fixes it by adding extra steps on `Arborist.reify._saveIdealTree`
to read direct dependencies of any `package.json` and update them as
needed when reifying using the `update` and `save` options.
- Uses config.isDefault to set a different value for the `save` config
for both the update and dedupe commands
- Tweaks arborist to make sure saveIdealTree preserves the behavior of
skipping writing to package-lock.json on save=false for install while
still writing the lockfile for `npm update` with its new default value
of save=false.
- Updated and added some new tests on arborist to cover for these tweaks
- Added `npm update --save` smoke test on cli
Fixes: https://github.com/npm/cli/issues/708
Fixes: https://github.com/npm/cli/issues/2704
Relates to: https://github.com/npm/feedback/discussions/270
|
|
- updated template-oss and manually added arborist ci
- updated arborist ci to include path
- fixed workspace reference and upgraded template-oss
- upgraded template-oss properly
|
|
PR-URL: https://github.com/npm/cli/pull/4092
Credit: @nlf
Close: #4092
Reviewed-by: @wraithgar
|
|
PR-URL: https://github.com/npm/cli/pull/4114
Credit: @lukekarrys
Close: #4114
Reviewed-by: @wraithgar
|
|
PR-URL: https://github.com/npm/cli/pull/4113
Credit: @darcyclarke
Close: #4113
Reviewed-by: @lukekarrys
|
|
PR-URL: https://github.com/npm/cli/pull/4089
Credit: @yotamselementor
Close: #4089
Reviewed-by: @wraithgar
|
|
PR-URL: https://github.com/npm/cli/pull/4081
Credit: @idleberg
Close: #4081
Reviewed-by: @wraithgar
|
|
PR-URL: https://github.com/npm/cli/pull/4072
Credit: @chalkygames123
Close: #4072
Reviewed-by: @wraithgar
|
|
|
|
PR-URL: https://github.com/npm/cli/pull/4048
Credit: @wraithgar
Close: #4048
Reviewed-by: @fritzy
|
|
PR-URL: https://github.com/npm/cli/pull/4050
Credit: @fritzy
Close: #4050
Reviewed-by: @wraithgar
PR-URL: https://github.com/npm/cli/pull/4050
Credit: @fritzy
Close: #4050
Reviewed-by: @wraithgar
|
|
PR-URL: https://github.com/npm/cli/pull/4053
Credit: @MansurAliKoroglu
Close: #4053
Reviewed-by: @wraithgar
|
|
* When rendering HTML documentation, don't use smart quotes because they're icky and hard to copy/paste.
* Add a <!DOCTYPE html> and a <meta charset="utf-8"> to be good HTML citizens.
PR-URL: https://github.com/npm/cli/pull/4046
Credit: @ethomson
Close: #4046
Reviewed-by: @wraithgar
|
|
PR-URL: https://github.com/npm/cli/pull/4009
Credit: @danielcobo
Close: #4009
Reviewed-by: @wraithgar
|