microsoft/vscode-extension-telemetry

[BUG] Unmet peer dependency of tslib warning from yarn

jialongcheng opened this issue · 1 comments

Adding a dependency on vscode-extension-telemetry would cause the following warning:
warning "@vscode/extension-telemetry > @microsoft/1ds-core-js > @microsoft/applicationinsights-core-js@2.8.9" has unmet peer dependency "tslib@*".

A similar issue was created in application insights and the solution is to add tslib to package.json file:
microsoft/ApplicationInsights-JS#1800

Can this be done inside extension telemetry so consumers don't have to add tslib to their dependency?

This just adds to the bundle size unnecessarily and we don't need this dependency. The warning is benign and can be safely ignored.