Upgrade Azure extension dependencies to their latest versions
This PR upgrades the Azure extension dependencies to their latest versions as requested:
-
@microsoft/vscode-azext-azureutils:
^3.4.5→^3.5.0 -
@microsoft/vscode-azext-utils:
^3.3.1→^3.4.0
The dependency @microsoft/vscode-azext-azureauth was not found in package.json and was skipped as instructed.
Compatibility Fix
The newer versions of these Azure utility packages expect the AuthenticationSessionRequest API which is not yet available in stable VS Code releases. To resolve the build errors while maintaining forward compatibility, I've added a minimal type declaration file at src/types/vscode-extensions.d.ts that provides the missing interface.
This approach allows the extension to build successfully with the latest Azure packages while being ready for when the AuthenticationSessionRequest API becomes available in VS Code stable releases.
Additional Changes
- Updated VS Code engine requirement from
^1.95.0to^1.103.0to reflect the API expectations of the newer dependencies - Updated
@types/vscodeto1.103.0for consistency
Verification
- ✅ Build passes without errors (
npm run build) - ✅ Lint passes without errors (
npm run lint) - ✅
main.jsremains unchanged as required - ✅
tsconfig.jsonremains unchanged as required
The changes are minimal and surgical, focusing only on the dependency upgrades and the necessary compatibility fixes to resolve build errors.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.