From b20be4b0db6acf7f30eddc13ed4c4d2e3ea469dc Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 29 Jun 2022 15:37:04 +0100 Subject: [PATCH] refactor: explicitly require Hashicorp.terraform as a dep --- .gitignore | 2 +- README.md | 6 ++---- package.json | 5 ++++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 476c3f1..773bd7f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ dist node_modules .DS_Store - +infracost-*.vsix diff --git a/README.md b/README.md index 1534f72..aa1f86e 100644 --- a/README.md +++ b/README.md @@ -27,11 +27,9 @@ Check out the video below to see the Infracost extension in action! ## Getting started 1. Install [Infracost CLI](https://www.infracost.io/docs/#1-install-infracost) on your machine & register for an API key. -2. Open VSCode and install the [Hashicorp Terraform extension](https://marketplace.visualstudio.com/items?itemName=HashiCorp.terraform). - ![](https://github.com/infracost/vscode-infracost/blob/master/.github/assets/terraform-install.png?raw=true) -3. Then install the [Infracost extension](https://marketplace.visualstudio.com/items?itemName=Infracost.infracost). +2. Open VSCode and install the [Infracost extension](https://marketplace.visualstudio.com/items?itemName=Infracost.infracost). This will also install the the [Hashicorp Terraform extension](https://marketplace.visualstudio.com/items?itemName=HashiCorp.terraform) extension if you don't already have it. ![](https://github.com/infracost/vscode-infracost/blob/master/.github/assets/infracost-install.png?raw=true) -4. Navigate to any Terraform file, if you've done the prior steps correctly you'll see costs above [supported blocks](https://www.infracost.io/docs/supported_resources/overview/). +3. Navigate to any Terraform file, if you've done the prior steps correctly you'll see costs above [supported blocks](https://www.infracost.io/docs/supported_resources/overview/). ![](https://github.com/infracost/vscode-infracost/blob/master/.github/assets/maintf.png?raw=true) ## Requirements diff --git a/package.json b/package.json index 0974227..4d51436 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "infracost", "displayName": "Infracost", "description": "Cloud cost estimates for Terraform in your editor", - "version": "0.1.6", + "version": "0.1.7", "publisher": "Infracost", "license": "Apache-2.0", "icon": "infracost-logo.png", @@ -19,6 +19,9 @@ "terraform", "hcl" ], + "extensionDependencies": [ + "HashiCorp.terraform" + ], "repository": { "type": "git", "url": "https://github.com/infracost/vscode-infracost.git"