Description
In the Jupyter extension we do not directly add @types/vscode
instead we use @vscode-dts
which pulls down the necessary type definition files.
However this doesn't work well with the peerDependency in the @vscode/python-extension package.
The following command fails in npm npm list --production --parseable --depth=99999 --loglevel=error
I have used vscode-dts -f
to remove the npm package installed by the Python extension as thats not required.
Suggestion: Use optionalDependency
in favor of peerDependency
,
Basically we're unable to use the Python extension when using the vscode package @vscode/dts
https://github.com/microsoft/vscode-dts