mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
upgrade telemetry used by html ext
This commit is contained in:
parent
3f26922adb
commit
ccefc7747a
|
@ -29,6 +29,7 @@ export function activate(context: ExtensionContext) {
|
|||
|
||||
let packageInfo = getPackageInfo(context);
|
||||
let telemetryReporter: TelemetryReporter = packageInfo && new TelemetryReporter(packageInfo.name, packageInfo.version, packageInfo.aiKey);
|
||||
context.subscriptions.push(telemetryReporter);
|
||||
|
||||
// The server is implemented in node
|
||||
let serverModule = context.asAbsolutePath(path.join('server', 'out', 'htmlServerMain.js'));
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
declare module 'vscode-extension-telemetry' {
|
||||
export default class TelemetryReporter {
|
||||
constructor(extensionId: string, extensionVersion: string, key: string);
|
||||
sendTelemetryEvent(eventName: string, properties?: { [key: string]: string }, measures?: { [key: string]: number }): void;
|
||||
}
|
||||
}
|
18
extensions/html/npm-shrinkwrap.json
generated
18
extensions/html/npm-shrinkwrap.json
generated
|
@ -3,14 +3,14 @@
|
|||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"applicationinsights": {
|
||||
"version": "0.15.6",
|
||||
"from": "applicationinsights@0.15.6",
|
||||
"resolved": "https://registry.npmjs.org/applicationinsights/-/applicationinsights-0.15.6.tgz"
|
||||
"version": "0.18.0",
|
||||
"from": "applicationinsights@0.18.0",
|
||||
"resolved": "https://registry.npmjs.org/applicationinsights/-/applicationinsights-0.18.0.tgz"
|
||||
},
|
||||
"vscode-extension-telemetry": {
|
||||
"version": "0.0.5",
|
||||
"from": "vscode-extension-telemetry@>=0.0.5 <0.0.6",
|
||||
"resolved": "https://registry.npmjs.org/vscode-extension-telemetry/-/vscode-extension-telemetry-0.0.5.tgz"
|
||||
"version": "0.0.6",
|
||||
"from": "vscode-extension-telemetry@>=0.0.6 <0.0.7",
|
||||
"resolved": "https://registry.npmjs.org/vscode-extension-telemetry/-/vscode-extension-telemetry-0.0.6.tgz"
|
||||
},
|
||||
"vscode-jsonrpc": {
|
||||
"version": "3.1.0-alpha.1",
|
||||
|
@ -33,9 +33,9 @@
|
|||
"resolved": "https://registry.npmjs.org/vscode-nls/-/vscode-nls-2.0.2.tgz"
|
||||
},
|
||||
"winreg": {
|
||||
"version": "0.0.13",
|
||||
"from": "winreg@0.0.13",
|
||||
"resolved": "https://registry.npmjs.org/winreg/-/winreg-0.0.13.tgz"
|
||||
"version": "1.2.3",
|
||||
"from": "winreg@1.2.3",
|
||||
"resolved": "https://registry.npmjs.org/winreg/-/winreg-1.2.3.tgz"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"vscode-extension-telemetry": "0.0.5",
|
||||
"vscode-extension-telemetry": "^0.0.6",
|
||||
"vscode-languageclient": "^3.1.0-alpha.1",
|
||||
"vscode-languageserver-types": "^3.0.3",
|
||||
"vscode-nls": "^2.0.2"
|
||||
|
|
Loading…
Reference in a new issue