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

Commit 32b1343

Browse files
committed
support more jas extensions
1 parent 2d43633 commit 32b1343

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
66

77
The git log should show a fairly clean view of each of these new versions, and the issues/PRs associated.
88

9+
# 0.3.24
10+
11+
Add highlighting and langauge support for `.mjs`, `.cjs`, `.es6`, `.esm` and other similar extensions
12+
13+
# 0.3.23
14+
15+
Major bugfixes for language features. Most bugs with language features not working should be resolved.
16+
17+
The `useSchemaFileDefinition` setting was deprecated, and SDL-driven projects work by default. If you want to opt-into an experimental feature to cache graphql-config schema result for definitions (useful for remote schemas), consult the readme on how to configure `cacheSchemaFileForLookup` option in vscode settings, or graphql config (yes you can enable/disable it per-project!)
18+
19+
Definition lookup works by default with SDL file schemas. `cacheSchemaFileForLookup` must be enabled if you have a remote schema want definition lookup for input types, etc in queries
20+
921
# 0.3.19
1022

1123
- support `graphql-config` for `.ts` and `.toml` files by upgrading `graphql-config` & `graphql-language-service-server`

grammars/graphql.js.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
{
2-
"fileTypes": ["js", "jsx", "ts", "tsx", "vue", "svelte"],
2+
"fileTypes": [
3+
"js",
4+
"jsx",
5+
"mjs",
6+
"cjs",
7+
"es6",
8+
"es",
9+
"esm",
10+
"ts",
11+
"tsx",
12+
"vue",
13+
"svelte"
14+
],
315
"injectionSelector": "L:source -string -comment",
416
"patterns": [
517
{

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
"dotenv": "^10.0.0",
245245
"graphql": "^15",
246246
"graphql-config": "~4.1.0",
247-
"graphql-language-service-server": "^2.7.5",
247+
"graphql-language-service-server": "^2.7.6",
248248
"graphql-tag": "^2.12.6",
249249
"graphql-ws": "^5.5.5",
250250
"node-fetch": "^2.6.6",

0 commit comments

Comments
 (0)