@toptal/davinci-cli-shared
Advanced tools
Comparing version 2.3.7-alpha-test-transform-imports-c6cf3d4f.3 to 2.3.7
# Change Log | ||
## 2.3.7 | ||
### Patch Changes | ||
- [#2164](https://github.com/toptal/davinci/pull/2164) [`0e449097`](https://github.com/toptal/davinci/commit/0e44909716410e4bda7a1693c4f2a771b27e5c53) Thanks [@dmaklygin](https://github.com/dmaklygin)! | ||
- do not send telemetry when running in CI | ||
## 2.3.6 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@toptal/davinci-cli-shared", | ||
"version": "2.3.7-alpha-test-transform-imports-c6cf3d4f.3+c6cf3d4f", | ||
"version": "2.3.7", | ||
"description": "Shared CLI code and CLI engine for davinci", | ||
@@ -26,6 +26,4 @@ "publishConfig": { | ||
"chalk": "^4.1.2", | ||
"commander": "^11.0.0", | ||
"execa": "^5.1.1", | ||
"find-yarn-workspace-root": "^2.0.0", | ||
"gradient-string": "^2.0.0", | ||
"inquirer": "^8.2.4", | ||
@@ -35,11 +33,12 @@ "isomorphic-git": "^1.24.5", | ||
"lodash": "^4.17.21", | ||
"ora": "^5.4.1", | ||
"proper-lockfile": "^4.1.2", | ||
"read-pkg-up": "7.0.1", | ||
"semver": "^7.5.3" | ||
"semver": "^7.5.3", | ||
"commander": "^11.0.0", | ||
"gradient-string": "^2.0.0", | ||
"ora": "^5.4.1" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^29.4.2" | ||
}, | ||
"gitHead": "c6cf3d4f159dfc2ae6eb694ac0a67710d0737cf8" | ||
} | ||
} |
import { Command } from 'commander' | ||
import { createMetricsSidecar } from '../utils/metrics/sidecar.js' | ||
// eslint-disable-next-line no-restricted-syntax | ||
import { isCi } from '../utils/ci.js' | ||
@@ -68,3 +70,8 @@ /** | ||
action(fn) { | ||
super.action(withTelemetry(fn)) | ||
// Don't send telemetry when running in CI | ||
if (isCi()) { | ||
super.action(fn) | ||
} else { | ||
super.action(withTelemetry(fn)) | ||
} | ||
@@ -71,0 +78,0 @@ return this |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
53172
1114
1
1