Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] latest from npm:latest #7

Open
wants to merge 968 commits into
base: latest
Choose a base branch
from
Open

[pull] latest from npm:latest #7

wants to merge 968 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 17, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

wraithgar and others added 24 commits February 22, 2024 08:20
This will allow users to tell npm whether or not to exit with an exit
code depending on if the command had any resulting entries or not.
Update scope.md

Missing = was causing error
…7254)

Remove additional example and comments about uninstall script

The document already mentiones that the uninstall script is never executed since npm 7.
A bunch of tiny tweaks to Arborist, in service of eventually cleaning it up and removing the mixin approach.

Most of the fixes are like before: removing symbols in favor of private attributes so we can easily find where state is being shared. There is also some shuffling of single-use methods into larger classes.
Makes the install tests do less DI and more network mocking
This will stop npm having to load twice on every windows invocation
* fix: added check for dry-run
  added a check for dry-run for `npm ci` so that node_modules won't be
  deleted

  closes #7239

* chore: added test for ci --dry-run check
Correct capitalization for URL
Adds a note to the `audit` docs discussing the verification of
provenance attestations.

Per: npm/documentation#1010

Signed-off-by: Brian DeHamer <bdehamer@github.com>
Fixes #7072

deps: agent-base@7.1.1

chore: add smoke-test for large prod installs
lukekarrys and others added 30 commits May 16, 2024 21:37
In refactoring this behavior previously plain strings were no longer
being passed through JSON.stringify even in json mode. This commit
changes that to the previous behavior which fixes the bug in `npm view`.
This also required changing the behavior of `npm pkg` which relied on
this.

Fixes #7537
This converts all remaining commands/utils to use the display layer for
formatting their json output
This has no functional difference but matches where
we landed for the rest of the commands.
This will fix the `npm cache add` to cache package with same header as
it's used in `npm install` by adding extra manifest call with
`fullMetadata: true` while caching to match behaviour with install
command which internally request manifest with fullMetadata.

## References
Closes #7465
<!-- What / Why -->
<!-- Describe the request in detail. What it does and why it's being
changed. -->
Updates `publish` command docs:
 - Refers to `npm tag` which is now `npm dist-tag`
 - Add docs specific for `npm publish --tag`

## References
<!-- Examples:
  Related to #0
  Depends on #0
  Blocked by #0
  Fixes #0
  Closes #0
-->
`npm publish --workspaces` will skip workspace packages marked as
private in package.json.
Currently it's skipping those packages only when you have configured
auth for those packages, it would error out with `ENEEDAUTH` if it
doesn't find the valid auth information.

this fix checks for the private property before checking for auth for
the packages that will essentially not going to get published.

Fixes #7199
Invalid scripts warnings are gone that should not be there
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet