@nuxt/telemetry
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -5,2 +5,9 @@ # Changelog | ||
## [1.2.0](https://github.com/nuxt/telemetry/compare/v1.1.1...v1.2.0) (2020-06-26) | ||
### Features | ||
* **module:** support `telemetry: true` ([4010c07](https://github.com/nuxt/telemetry/commit/4010c072c38fbc4ac7804d98673b1de963b94be7)) | ||
### [1.1.1](https://github.com/nuxt/telemetry/compare/v1.1.0...v1.1.1) (2020-06-26) | ||
@@ -7,0 +14,0 @@ |
@@ -27,3 +27,3 @@ 'use strict'; | ||
var name = "@nuxt/telemetry"; | ||
var version = "1.1.1"; | ||
var version = "1.2.0"; | ||
@@ -503,5 +503,7 @@ function updateUserNuxtRc(key, val) { | ||
if (toptions.enabled === false || nuxt.options.telemetry === false || !(await ensureUserconsent(toptions))) { | ||
log.info('Telemetry disabled'); | ||
return; | ||
if (nuxt.options.telemetry !== true) { | ||
if (toptions.enabled === false || nuxt.options.telemetry === false || !(await ensureUserconsent(toptions))) { | ||
log.info('Telemetry disabled'); | ||
return; | ||
} | ||
} | ||
@@ -508,0 +510,0 @@ |
{ | ||
"name": "@nuxt/telemetry", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"repository": "nuxt/telemetry", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -62,9 +62,11 @@ # Nuxt Telemetry Module | ||
1. Using `npx nuxt telemetry disable` | ||
1. Setting `telemetry: false` in your `nuxt.config`: | ||
```bash | ||
npx nuxt telemetry [status|enable|disable] [-g,--global] [dir] | ||
```js | ||
export default { | ||
telemetry: false | ||
} | ||
``` | ||
2. Using an environment variable | ||
2. Using an environment variable: | ||
@@ -75,7 +77,15 @@ ```bash | ||
3. Setting `telemetry: false` in your `nuxt.config.js`: | ||
3. Using `npx nuxt telemetry disable` | ||
```bash | ||
npx nuxt telemetry [status|enable|disable] [-g,--global] [dir] | ||
``` | ||
## Skip Prompt | ||
If you encounter problems with consent prompt, and want to participate without asking this question, you can set `telemetry: true` from `nuxt.config`: | ||
```js | ||
export default { | ||
telemetry: false | ||
telemetry: true | ||
} | ||
@@ -82,0 +92,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28331
633
101