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

workspace @npmcli/config and disable audit on global #5779

Merged
merged 2 commits into from
Nov 1, 2022

Conversation

fritzy
Copy link
Contributor

@fritzy fritzy commented Oct 31, 2022

  • chore: bring in @npmcli/config as a workspace
  • feat: set --no-audit when installing outside of a project (like --global)

This sets --location=project anytime the localPrefix has a package.json. Any Arborist command sets --no-audit when --global isn't set and --location isn't project.

please don't squash

@fritzy fritzy requested a review from a team as a code owner October 31, 2022 05:34
@npm-cli-bot
Copy link
Collaborator

npm-cli-bot commented Oct 31, 2022

found 1 benchmarks with statistically significant performance improvements

  • app-large: clean
timing results
app-large clean lock-only cache-only cache-only
peer-deps
modules-only no-lock no-cache no-modules no-clean no-clean
audit
npm@8 48.491 ±0.70 17.784 ±0.15 15.996 ±0.03 18.402 ±0.86 2.906 ±0.01 2.919 ±0.03 2.380 ±0.06 11.099 ±0.03 2.351 ±0.03 3.339 ±0.00
#5779 39.398 ±3.46 17.018 ±0.01 15.898 ±0.12 18.247 ±0.49 2.945 ±0.07 2.887 ±0.01 2.277 ±0.02 11.118 ±0.08 2.278 ±0.03 3.491 ±0.24
app-medium clean lock-only cache-only cache-only
peer-deps
modules-only no-lock no-cache no-modules no-clean no-clean
audit
npm@8 29.198 ±2.98 13.830 ±0.05 12.446 ±0.08 13.371 ±0.15 2.605 ±0.01 2.629 ±0.01 2.401 ±0.09 8.542 ±0.04 2.235 ±0.02 3.011 ±0.04
#5779 29.484 ±2.59 13.783 ±0.20 12.288 ±0.08 13.682 ±0.03 2.681 ±0.04 2.684 ±0.01 2.280 ±0.01 8.603 ±0.09 2.160 ±0.01 3.099 ±0.08

@fritzy fritzy force-pushed the fritzy/workspace-config branch 4 times, most recently from 2e8b121 to c4ae3fc Compare November 1, 2022 18:18
@fritzy fritzy force-pushed the fritzy/workspace-config branch 2 times, most recently from 80f0581 to ccabb78 Compare November 1, 2022 18:57
@fritzy fritzy force-pushed the fritzy/workspace-config branch 3 times, most recently from 87a1182 to 2c0766c Compare November 1, 2022 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants