Skip to content

Commit

Permalink
Dev/hshami/fix extension dependency for dev containers (#625)
Browse files Browse the repository at this point in the history
* Add missing extension dependencies

* Update version

* Update telemetry client package from deprecated

* Update with PR Comments
  • Loading branch information
mhshami01 authored Jan 24, 2022
1 parent a596548 commit 878e48f
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 26 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Change Log
## 1.25.5 - 2022-01-20
### Changed
* Added dependent extensions to Dev Container definitions.

## 1.25.4 - 2021-12-15
### Changed
* Replaced deprecated 'Request' with axios for http requests.
Expand Down
2 changes: 2 additions & 0 deletions assets/containers/CSharp/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
"extensions": [
"ms-dotnettools.csharp",
"ms-azuretools.vscode-docker",
"ms-vscode.azure-account",
"vsciot-vscode.vscode-iot-device-cube",
"vsciot-vscode.azure-iot-tools"
],

Expand Down
2 changes: 2 additions & 0 deletions assets/containers/Cpp/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"extensions": [
"ms-vscode.cpptools",
"ms-azuretools.vscode-docker",
"ms-vscode.azure-account",
"vsciot-vscode.vscode-iot-device-cube",
"vsciot-vscode.azure-iot-tools"
],

Expand Down
2 changes: 2 additions & 0 deletions assets/containers/Java/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"extensions": [
"vscjava.vscode-java-pack",
"ms-azuretools.vscode-docker",
"ms-vscode.azure-account",
"vsciot-vscode.vscode-iot-device-cube",
"vsciot-vscode.azure-iot-tools"
],

Expand Down
2 changes: 2 additions & 0 deletions assets/containers/Node/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
"extensions": [
"dbaeumer.vscode-eslint",
"ms-azuretools.vscode-docker",
"ms-vscode.azure-account",
"vsciot-vscode.vscode-iot-device-cube",
"vsciot-vscode.azure-iot-tools"
],

Expand Down
2 changes: 2 additions & 0 deletions assets/containers/Python/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
"ms-python.python",
"ms-python.vscode-pylance",
"ms-azuretools.vscode-docker",
"ms-vscode.azure-account",
"vsciot-vscode.vscode-iot-device-cube",
"vsciot-vscode.azure-iot-tools"
],

Expand Down
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "azure-iot-edge",
"displayName": "Azure IoT Edge",
"description": "This extension is now a part of Azure IoT Tools extension pack. We highly recommend installing Azure IoT Tools to get full capabilities for Azure IoT development. Develop, deploy, debug, and manage your IoT Edge solution.",
"version": "1.25.4",
"version": "1.25.5",
"publisher": "vsciot-vscode",
"aiKey": "95b20d64-f54f-4de3-8ad5-165a75a6c6fe",
"icon": "logo.png",
Expand Down Expand Up @@ -584,7 +584,7 @@
"strip-json-comments": "^2.0.1",
"tmp": "0.0.33",
"unzipper": "^0.10.5",
"vscode-extension-telemetry": "^0.4.2"
"@vscode/extension-telemetry": "^0.4.6"
},
"extensionDependencies": [
"ms-vscode.azure-account",
Expand Down
2 changes: 1 addition & 1 deletion src/common/telemetryClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Licensed under the MIT license.

"use strict";
import TelemetryReporter from "@vscode/extension-telemetry";
import * as vscode from "vscode";
import TelemetryReporter from "vscode-extension-telemetry";
import { Constants } from "./constants";

const packageJSON = vscode.extensions.getExtension(Constants.ExtensionId).packageJSON;
Expand Down

0 comments on commit 878e48f

Please sign in to comment.