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

Commit 8878e42

Browse files
authored
Activation event for package.json files (#452)
Replace `*` for activation when `package.json` is present, the only exception for `graphql-config`
1 parent 22d6fe0 commit 8878e42

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.changeset/quick-rabbits-hunt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"vscode-graphql": patch
3+
---
4+
5+
Limit activation events for package.json file provided `graphql-config`

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vscode-graphql",
3-
"version": "0.3.50",
3+
"version": "0.3.51",
44
"preview": true,
55
"private": true,
66
"license": "MIT",
@@ -11,7 +11,7 @@
1111
"lsp",
1212
"graph"
1313
],
14-
"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.",
14+
"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.",
1515
"icon": "assets/images/logo.png",
1616
"repository": {
1717
"type": "git",
@@ -39,7 +39,7 @@
3939
"workspaceContains:**/.graphqlrc",
4040
"workspaceContains:**/.graphqlrc.{json,yaml,yml,js,ts,toml}",
4141
"workspaceContains:**/graphql.config.{json,yaml,yml,js,ts,toml}",
42-
"*"
42+
"workspaceContains:**/package.json"
4343
],
4444
"main": "./out/extension",
4545
"contributes": {

0 commit comments

Comments
 (0)