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

feat(analytics): use Scarf.js to provide anonymized installation analytics #10194

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

char0n
Copy link
Member

@char0n char0n commented Nov 5, 2024

Anonymized analytics

SwaggerUI uses Scarf to collect anonymized installation analytics. These analytics help support the maintainers of this library and ONLY run during installation. To opt out, you can set the scarfSettings.enabled field to false in your project's package.json:

// package.json
{
  // ...
  "scarfSettings": {
    "enabled": false
  }
  // ...
}

Alternatively, you can set the environment variable SCARF_ANALYTICS to false as part of the environment that installs your npm packages, e.g., SCARF_ANALYTICS=false npm install.

@char0n char0n self-assigned this Nov 5, 2024
@char0n char0n added type: enhancement dependencies Pull requests that update a dependency file version: 5.x labels Nov 5, 2024
@char0n char0n requested a review from ponelat November 5, 2024 13:22
@char0n char0n merged commit fb55b9c into master Nov 5, 2024
8 checks passed
Copy link
Member

@ponelat ponelat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file type: enhancement version: 5.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants