Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Commit

Permalink
Activation event for package.json files (#452)
Browse files Browse the repository at this point in the history
Replace `*` for activation when `package.json` is present, the only exception for `graphql-config`
  • Loading branch information
acao authored Mar 14, 2022
1 parent 22d6fe0 commit 8878e42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/quick-rabbits-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vscode-graphql": patch
---

Limit activation events for package.json file provided `graphql-config`
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vscode-graphql",
"version": "0.3.50",
"version": "0.3.51",
"preview": true,
"private": true,
"license": "MIT",
Expand All @@ -11,7 +11,7 @@
"lsp",
"graph"
],
"description": "GraphQL extension for VSCode adds syntax highlighting, validation, and language features like go to definition, hover information and autocompletion for graphql projects. This extension also works with queries annotated with gql tag.",
"description": "GraphQL extension for VSCode adds syntax highlighting, validation, and language features like go to definition, hover information and autocompletion for graphql projects. This extension also works with queries annotated with gql tags or comments.",
"icon": "assets/images/logo.png",
"repository": {
"type": "git",
Expand Down Expand Up @@ -39,7 +39,7 @@
"workspaceContains:**/.graphqlrc",
"workspaceContains:**/.graphqlrc.{json,yaml,yml,js,ts,toml}",
"workspaceContains:**/graphql.config.{json,yaml,yml,js,ts,toml}",
"*"
"workspaceContains:**/package.json"
],
"main": "./out/extension",
"contributes": {
Expand Down

0 comments on commit 8878e42

Please sign in to comment.