From cabdf39f66fa85c23b64bef429e815454094922a Mon Sep 17 00:00:00 2001 From: Kartik Raj Date: Fri, 4 Aug 2023 11:52:30 -0700 Subject: [PATCH] Use `optionalDependencies` instead of `peerDependencies` for `@vscode/python-extension` npm package (#21763) Closes https://github.com/microsoft/vscode-python/issues/21720 --- pythonExtensionApi/package-lock.json | 2 +- pythonExtensionApi/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pythonExtensionApi/package-lock.json b/pythonExtensionApi/package-lock.json index 4c5e98adbc16..f882b489d793 100644 --- a/pythonExtensionApi/package-lock.json +++ b/pythonExtensionApi/package-lock.json @@ -16,7 +16,7 @@ "node": ">=16.17.1", "vscode": "^1.78.0" }, - "peerDependencies": { + "optionalDependencies": { "@types/vscode": "^1.78.0" } }, diff --git a/pythonExtensionApi/package.json b/pythonExtensionApi/package.json index 271542f161ec..6359a7fe0fae 100644 --- a/pythonExtensionApi/package.json +++ b/pythonExtensionApi/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Microsoft/vscode-python/issues" }, - "peerDependencies": { + "optionalDependencies": { "@types/vscode": "^1.78.0" }, "devDependencies": {