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

Commit 0d526fc

Browse files
authored
chore: upgrades, apollo-client => urql, cleanup (#338)
* chore: upgrades, apollo-client => urql, cleanup * upgrade `graphql-js`, `graphql-language-service-server`, `graphql-config` * adopt urql in place of apollo client@1 * fix some typing issues, use `skipLibCheck` * upgrade dev dependencies * remove yarn.lock * cleanup * upgrade language server with graphql config 4, activation events * latest graphql 15 for peer dep warnings * esbuild bundling, vsce, etc
1 parent 4a29c07 commit 0d526fc

14 files changed

+5497
-3217
lines changed

.github/workflows/publish-marketplace.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
env:
12-
PAT: ${{ secrets.PAT }}
12+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
1313

1414
jobs:
1515
publish:
@@ -22,4 +22,4 @@ jobs:
2222
run: npm install
2323
- name: Publish Extension as Patch to marketplace
2424
run: |
25-
./node_modules/.bin/vsce publish --pat $PAT
25+
./node_modules/.bin/vsce publish

.vscode/launch.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
"request": "launch",
2020
"runtimeExecutable": "${execPath}",
2121
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
22-
"outFiles": ["${workspaceFolder}/out/**/*.js"],
22+
"outFiles": ["${workspaceFolder}/out/extension.js"],
2323
"sourceMaps": true,
24-
"preLaunchTask": "npm: watch"
24+
"preLaunchTask": "npm: compile"
2525
},
2626
{
2727
"name": "Extension Tests",

.vscode/tasks.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
// See https://go.microsoft.com/fwlink/?LinkId=733558
22
// for the documentation about the tasks.json format
33
{
4-
"version": "2.0.0",
5-
"tasks": [
6-
{
7-
"type": "npm",
8-
"script": "watch",
9-
"problemMatcher": "$tsc-watch",
10-
"isBackground": true,
11-
"presentation": {
12-
"reveal": "never"
13-
},
14-
"group": {
15-
"kind": "build",
16-
"isDefault": true
17-
}
18-
}
19-
]
20-
}
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"problemMatcher": "$tsc-watch",
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "always"
13+
},
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
}
18+
}
19+
]
20+
}

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ 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.19
10+
11+
- support `graphql-config` for `.ts` and `.toml` files by upgrading `graphql-config` & `graphql-language-service-server`
12+
- use `*` activation event, because `graphql-config` in `package.json` is impossible to detect otherwise using vscode `activationEvents`
13+
- support additional language features in `graphql-language-service-server` such as interface implements interfaces, etc
14+
- upgrade operation execution to use a new graphql client and support subscriptions
15+
- fix openvsx & vscode publish by re-creating PATs and signing new agreements
16+
17+
Note: there are still some known bugs in the language server we will be fixing soon:
18+
19+
- if you don't see editor output, please check your config
20+
- output channel may show errors even after your configuration works
21+
- there may be issues with schema file loading
22+
923
# 0.3.13
1024

1125
LSP bugfixes:

0 commit comments

Comments
 (0)