Wrap runDshSdkCommand so each command times itself and, in a finally block, resolves consent (option A) and sends one best-effort, fire-and-forget telemetry event (redacted cordis.yml + package.json content; never reads .env). Never affects the command's exit code. Adds dsh-scripts -> dsh-telemetry dependency. Default-on via absent consent entry; opt-out by a disabled telemetry entry. The config/create wizard opt-out toggle is deferred (see design doc).
15 lines
307 B
JSON
15 lines
307 B
JSON
{
|
|
"extends": "../../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"rootDir": "src",
|
|
"outDir": "lib/types"
|
|
},
|
|
"include": ["src"],
|
|
"references": [
|
|
{ "path": "../helper" },
|
|
{ "path": "../telemetry" },
|
|
{ "path": "../../ui/app-boot" },
|
|
{ "path": "../../../vendor/cordis" }
|
|
]
|
|
}
|