vscode-apollo 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +1 -1
- package/.github/workflows/build-prs.yml +55 -0
- package/.github/workflows/release.yml +1 -1
- package/.gitleaks.toml +10 -3
- package/.vscodeignore +0 -1
- package/CHANGELOG.md +26 -0
- package/README.md +68 -52
- package/package.json +31 -3
- package/renovate.json +5 -5
- package/sampleWorkspace/httpSchema/apollo.config.ts +2 -0
- package/sampleWorkspace/httpSchema/self-signed.crt +22 -0
- package/sampleWorkspace/httpSchema/self-signed.key +28 -0
- package/sampleWorkspace/localSchemaArray/apollo.config.json +9 -0
- package/sampleWorkspace/rover/apollo.config.yaml +2 -0
- package/sampleWorkspace/rover/supergraph.yaml +0 -0
- package/schemas/apollo.config.schema.json +184 -0
- package/src/__e2e__/mockServer.js +37 -11
- package/src/__e2e__/mocks.js +11 -7
- package/src/__e2e__/runTests.js +8 -6
- package/src/build.js +53 -1
- package/src/language-server/__e2e__/studioGraph.e2e.ts +4 -3
- package/src/language-server/config/__tests__/loadConfig.ts +35 -2
- package/src/language-server/config/cache-busting-resolver.js +65 -0
- package/src/language-server/config/cache-busting-resolver.types.ts +45 -0
- package/src/language-server/config/config.ts +136 -60
- package/src/language-server/config/loadConfig.ts +27 -6
- package/src/language-server/config/loadTsConfig.ts +74 -38
- package/src/language-server/project/base.ts +8 -8
- package/src/language-server/project/rover/DocumentSynchronization.ts +44 -22
- package/src/language-server/project/rover/project.ts +6 -0
- package/src/language-server/providers/schema/endpoint.ts +15 -8
- package/src/language-server/server.ts +8 -7
- package/src/language-server/workspace.ts +2 -5
- package/src/languageServerClient.ts +3 -1
- package/syntaxes/graphql.json +2 -2
- package/sampleWorkspace/localSchemaArray/apollo.config.js +0 -12
- package/sampleWorkspace/rover/apollo.config.js +0 -3
- /package/sampleWorkspace/localSchema/{apollo.config.js → apollo.config.ts} +0 -0
package/.circleci/config.yml
CHANGED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: Bundle Extension as Artifact Download
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
jobs:
|
|
5
|
+
test:
|
|
6
|
+
name: Bundle Extension as Artifact Download
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- uses: actions/checkout@v4
|
|
10
|
+
- uses: actions/setup-node@v4
|
|
11
|
+
with:
|
|
12
|
+
cache: "npm"
|
|
13
|
+
- run: npm install
|
|
14
|
+
- run: echo PKG_VERSION="$(git show --no-patch --format=0.0.0-build-%ct.pr-${{ github.event.pull_request.number }}.commit-%h)" >> $GITHUB_ENV
|
|
15
|
+
- run: npm pkg set "version=${{ env.PKG_VERSION }}"
|
|
16
|
+
- run: npx -y @vscode/vsce package --out vscode-apollo-${{ env.PKG_VERSION }}.vsix
|
|
17
|
+
|
|
18
|
+
- uses: actions/upload-artifact@v4
|
|
19
|
+
id: artifact-upload-step
|
|
20
|
+
with:
|
|
21
|
+
name: vscode-apollo-${{ env.PKG_VERSION }}
|
|
22
|
+
path: vscode-apollo-${{ env.PKG_VERSION }}.vsix
|
|
23
|
+
retention-days: 14
|
|
24
|
+
|
|
25
|
+
- name: Output artifact URL
|
|
26
|
+
run: echo 'Artifact URL is ${{ steps.artifact-upload-step.outputs.artifact-url }}'
|
|
27
|
+
|
|
28
|
+
- name: Find Comment
|
|
29
|
+
uses: peter-evans/find-comment@v3
|
|
30
|
+
id: fc
|
|
31
|
+
with:
|
|
32
|
+
issue-number: ${{ github.event.pull_request.number }}
|
|
33
|
+
comment-author: "github-actions[bot]"
|
|
34
|
+
body-includes: <!-- ARTIFACT-DOWNLOAD -->
|
|
35
|
+
|
|
36
|
+
- name: Create comment
|
|
37
|
+
uses: peter-evans/create-or-update-comment@v4
|
|
38
|
+
with:
|
|
39
|
+
issue-number: ${{ github.event.pull_request.number }}
|
|
40
|
+
comment-id: ${{ steps.fc.outputs.comment-id }}
|
|
41
|
+
edit-mode: replace
|
|
42
|
+
body: |
|
|
43
|
+
<!-- ARTIFACT-DOWNLOAD -->
|
|
44
|
+
You can download the latest build of the extension for this PR here:
|
|
45
|
+
[vscode-apollo-${{ env.PKG_VERSION }}.zip](${{ steps.artifact-upload-step.outputs.artifact-url }}).
|
|
46
|
+
|
|
47
|
+
To install the extension, download the file, unzip it and install it in VS Code by selecting "Install from VSIX..." in the Extensions view.
|
|
48
|
+
|
|
49
|
+
Alternatively, run
|
|
50
|
+
```sh
|
|
51
|
+
code --install-extension vscode-apollo-${{ env.PKG_VERSION }}.vsix --force
|
|
52
|
+
```
|
|
53
|
+
from the command line.
|
|
54
|
+
|
|
55
|
+
For older builds, please see the edit history of this comment.
|
|
@@ -86,7 +86,7 @@ jobs:
|
|
|
86
86
|
"type": "section",
|
|
87
87
|
"text": {
|
|
88
88
|
"type": "mrkdwn",
|
|
89
|
-
"text": "A new version of `vscode-apollo` was released: <https://github.com/apollographql/vscode-
|
|
89
|
+
"text": "A new version of `vscode-apollo` was released: <https://github.com/apollographql/vscode-graphql/releases/tag/v${{ fromJson(steps.changesets.outputs.publishedPackages)[0].version }}|v${{ fromJson(steps.changesets.outputs.publishedPackages)[0].version }}> :rocket:"
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
]
|
package/.gitleaks.toml
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# This file exists primarily to influence scheduled scans that Apollo runs of all repos in Apollo-managed orgs.
|
|
1
|
+
# This file exists primarily to influence scheduled scans that Apollo runs of all repos in Apollo-managed orgs.
|
|
2
2
|
# This is an Apollo-Internal link, but more information about these scans is available here:
|
|
3
3
|
# https://apollographql.atlassian.net/wiki/spaces/SecOps/pages/81330213/Everything+Static+Application+Security+Testing#Scheduled-Scans.1
|
|
4
|
-
#
|
|
4
|
+
#
|
|
5
5
|
# Apollo is using Gitleaks (https://github.com/gitleaks/gitleaks) to run these scans.
|
|
6
6
|
# However, this file is not something that Gitleaks natively consumes. This file is an
|
|
7
7
|
# Apollo-convention. Prior to scanning a repo, Apollo merges
|
|
8
8
|
# our standard Gitleaks configuration (which is largely just the Gitleaks-default config) with
|
|
9
9
|
# this file if it exists in a repo. The combined config is then used to scan a repo.
|
|
10
|
-
#
|
|
10
|
+
#
|
|
11
11
|
# We did this because the natively-supported allowlisting functionality in Gitleaks didn't do everything we wanted
|
|
12
12
|
# or wasn't as robust as we needed. For example, one of the allowlisting options offered by Gitleaks depends on the line number
|
|
13
13
|
# on which a false positive secret exists to allowlist it. (https://github.com/gitleaks/gitleaks#gitleaksignore).
|
|
@@ -24,3 +24,10 @@
|
|
|
24
24
|
# See https://github.com/apollographql/vscode-graphql/blob/a905280c143991b3fd675f8b4c3a7da277ccf095/packages/apollo-language-server/src/engine/index.ts#L86
|
|
25
25
|
"a905280c143991b3fd675f8b4c3a7da277ccf095"
|
|
26
26
|
]
|
|
27
|
+
|
|
28
|
+
[[ rules ]]
|
|
29
|
+
id = "private-key"
|
|
30
|
+
[ rules.allowlist ]
|
|
31
|
+
paths = [
|
|
32
|
+
'''sampleWorkspace/httpSchema/self-signed.key$''',
|
|
33
|
+
]
|
package/.vscodeignore
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 2.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#209](https://github.com/apollographql/vscode-graphql/pull/209) [`fc73ed30`](https://github.com/apollographql/vscode-graphql/commit/fc73ed3089e281aa1234268f4ec78e6aa68eae15) Thanks [@phryneas](https://github.com/phryneas)! - Change default recommended configuration file format to `json`.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#200](https://github.com/apollographql/vscode-graphql/pull/200) [`d6c6af81`](https://github.com/apollographql/vscode-graphql/commit/d6c6af811e1c04901990278e3b76057ef2221911) Thanks [@phryneas](https://github.com/phryneas)! - Fixed an issue where the configuration was not reloaded when the `.env.local` file changed.
|
|
12
|
+
|
|
13
|
+
- [#202](https://github.com/apollographql/vscode-graphql/pull/202) [`ea5cc094`](https://github.com/apollographql/vscode-graphql/commit/ea5cc0944b7015cd7b2cfee15993469c124a8356) Thanks [@phryneas](https://github.com/phryneas)! - Prevent configuration file parsing loop when transpiling TypeScript configs.
|
|
14
|
+
|
|
15
|
+
- [#204](https://github.com/apollographql/vscode-graphql/pull/204) [`c2351d2e`](https://github.com/apollographql/vscode-graphql/commit/c2351d2e179eb92fb493a4209a3461c8aa92c979) Thanks [@phryneas](https://github.com/phryneas)! - Fix a bug where config file changes could not be picked up
|
|
16
|
+
|
|
17
|
+
- [#200](https://github.com/apollographql/vscode-graphql/pull/200) [`d6c6af81`](https://github.com/apollographql/vscode-graphql/commit/d6c6af811e1c04901990278e3b76057ef2221911) Thanks [@phryneas](https://github.com/phryneas)! - Add support for `apollo.config.yml`, `apollo.config.yaml` and `apollo.config.json`.
|
|
18
|
+
|
|
19
|
+
## 2.2.1
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- [#198](https://github.com/apollographql/vscode-graphql/pull/198) [`3bebbdc4`](https://github.com/apollographql/vscode-graphql/commit/3bebbdc40faf8f9d62d0709de3312d5cb629af15) Thanks [@phryneas](https://github.com/phryneas)! - Change syntax highlighting of graphql object fields from "string" to "variable".
|
|
24
|
+
|
|
25
|
+
- [#199](https://github.com/apollographql/vscode-graphql/pull/199) [`7c1172be`](https://github.com/apollographql/vscode-graphql/commit/7c1172be690488dbf0510c2d412cba502acd1468) Thanks [@phryneas](https://github.com/phryneas)! - Fix "Toggle Line Comment"
|
|
26
|
+
|
|
27
|
+
- [#190](https://github.com/apollographql/vscode-graphql/pull/190) [`ec1e9927`](https://github.com/apollographql/vscode-graphql/commit/ec1e9927a178e75cae21d795d47426f40bf9d27b) Thanks [@phryneas](https://github.com/phryneas)! - Fix a bug that prevented `skipSSLValidation` from working.
|
|
28
|
+
|
|
3
29
|
## 2.2.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -26,31 +26,35 @@ The Apollo GraphQL extension for VS Code brings an all-in-one tooling experience
|
|
|
26
26
|
|
|
27
27
|
<h2 id="getting-started">Getting started</h2>
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
For the VS Code plugin to know how to find the schema, it needs to be linked to either a published schema or a local one.
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
2. Obtain a [Personal API key](https://www.apollographql.com/docs/graphos/api-keys) from GraphOS Studio.
|
|
31
|
+
First, create an `apollo.config.json` file at the root of the project.
|
|
32
|
+
Alternatively, you can create a `yaml`, `cjs`, `mjs`, or `ts` file with the same configuration.
|
|
34
33
|
|
|
35
|
-
|
|
34
|
+
For the contents of this configuration file, select one of these options:
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
<details>
|
|
37
|
+
<summary>
|
|
38
|
+
<h3>Configure extension for schemas published to Apollo GraphOS</h3>
|
|
39
|
+
</summary>
|
|
38
40
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
To get all the benefits of the VS Code experience, it's best to link the schema that is being developed against before installing the extension. The best way to do that is by [publishing a schema](https://www.apollographql.com/docs/graphos/delivery/publishing-schemas/) to the Apollo schema registry.
|
|
42
|
+
|
|
43
|
+
After that's done, edit the `apollo.config.json` file to look like this:
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"client": {
|
|
48
|
+
"service": "graphos-graph-name"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
45
51
|
```
|
|
46
52
|
|
|
47
53
|
The `service` name is the name of the graph you've created in [GraphOS Studio](https://studio.apollographql.com).
|
|
48
54
|
|
|
49
55
|
See [additional configuration options](#additional-apollo-config-options).
|
|
50
56
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
To authenticate with GraphOS Studio to pull down your schema, create a `.env` file in the same directory as the `apollo.config.js` file. This should be an untracked file (that is, don't commit it to Git).
|
|
57
|
+
To authenticate with GraphOS Studio to pull down your schema, create a `.env` file in the same directory as the `apollo.config.json` file. This should be an untracked file (that is, don't commit it to Git).
|
|
54
58
|
|
|
55
59
|
Then go to your [User Settings page](https://studio.apollographql.com/user-settings/api-keys?referrer=docs-content) in GraphOS Studio to create a new Personal API key.
|
|
56
60
|
|
|
@@ -64,56 +68,68 @@ APOLLO_KEY=<enter copied key here>
|
|
|
64
68
|
|
|
65
69
|
After this is done, VS Code can be reloaded and the Apollo integration will connect to GraphOS Studio to provide autocomplete, validation, and more.
|
|
66
70
|
|
|
67
|
-
|
|
71
|
+
</details>
|
|
72
|
+
|
|
73
|
+
<details>
|
|
74
|
+
<summary>
|
|
75
|
+
<h3 id="local-schemas">Configure extension to use introspection from a locally running service</h3>
|
|
76
|
+
</summary>
|
|
68
77
|
|
|
69
|
-
Sometimes it may make sense to link the editor to a locally running version of a schema to try out new designs that are in active development. To do this, the `apollo.config.
|
|
78
|
+
Sometimes it may make sense to link the editor to a locally running version of a schema to try out new designs that are in active development. To do this, the `apollo.config.json` file can be linked to a local service definition:
|
|
70
79
|
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
client: {
|
|
74
|
-
service: {
|
|
75
|
-
name: "my-graphql-app",
|
|
76
|
-
url: "http://localhost:4000/graphql"
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"client": {
|
|
83
|
+
"service": {
|
|
84
|
+
"name": "my-graphql-app",
|
|
85
|
+
"url": "http://localhost:4000/graphql"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
80
89
|
```
|
|
81
90
|
|
|
82
91
|
Linking to the local schema won't provide all features, such as switching graph variants and performance metrics.
|
|
83
92
|
|
|
84
|
-
|
|
93
|
+
</details>
|
|
94
|
+
|
|
95
|
+
<details>
|
|
96
|
+
<summary>
|
|
97
|
+
<h3 id="local-schema-files">Configure extension for local schema files</h3>
|
|
98
|
+
</summary>
|
|
85
99
|
|
|
86
100
|
You might not always have a running server to link to, so the extension also supports linking to a local schema file.
|
|
87
101
|
This is useful for working on a schema in isolation or for testing out new features.
|
|
88
|
-
To link to a local schema file, add the following to the `apollo.config.
|
|
102
|
+
To link to a local schema file, add the following to the `apollo.config.json` file:
|
|
89
103
|
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
client: {
|
|
93
|
-
service: {
|
|
104
|
+
```json
|
|
105
|
+
{
|
|
106
|
+
"client": {
|
|
107
|
+
"service": {
|
|
94
108
|
// can be a string pointing to a single file or an array of strings
|
|
95
|
-
localSchemaFile: "./path/to/schema.graphql"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
109
|
+
"localSchemaFile": "./path/to/schema.graphql"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
99
113
|
```
|
|
100
114
|
|
|
101
|
-
|
|
115
|
+
</details>
|
|
116
|
+
|
|
117
|
+
<h3 id="client-only-schemas">Adding Client-only schemas</h3>
|
|
102
118
|
|
|
103
119
|
One of the best features of the VS Code extension is the automatic merging of remote schemas and local ones when using integrated state management with Apollo Client. This happens automatically whenever schema definitions are found within a client project. By default, the VS Code extension will look for all JavaScript, TypeScript and GraphQL files under `./src` to find both the operations and schema definitions for building a complete schema for the application.
|
|
104
120
|
|
|
105
|
-
Client side schema definitions can be spread throughout the client app project and will be merged together to create one single schema. The default behavior can be controlled by adding specifications to the `apollo.config.
|
|
121
|
+
Client side schema definitions can be spread throughout the client app project and will be merged together to create one single schema. The default behavior can be controlled by adding specifications to the `apollo.config.json`:
|
|
106
122
|
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
client: {
|
|
110
|
-
service:
|
|
123
|
+
```json
|
|
124
|
+
{
|
|
125
|
+
"client": {
|
|
126
|
+
// "service": <your service configuration>,
|
|
111
127
|
// array of glob patterns
|
|
112
|
-
includes: ["./src/**/*.js"],
|
|
128
|
+
"includes": ["./src/**/*.js"],
|
|
113
129
|
// array of glob patterns
|
|
114
|
-
excludes: ["**/__tests__/**"]
|
|
115
|
-
}
|
|
116
|
-
}
|
|
130
|
+
"excludes": ["**/__tests__/**"]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
117
133
|
```
|
|
118
134
|
|
|
119
135
|
<h3 id="get-the-extension">Get the extension</h3>
|
|
@@ -195,11 +211,11 @@ _Optional_ - custom tagged template literal.
|
|
|
195
211
|
|
|
196
212
|
When using GraphQL with JavaScript or TypeScript projects, it is common to use the `gql` tagged template literal to write out operations. Apollo tools look through your files for the `gql` tag to extract your queries, so if you use a different template literal, you can configure it like so:
|
|
197
213
|
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
client: {
|
|
201
|
-
tagName: "graphql",
|
|
202
|
-
service:
|
|
214
|
+
```json
|
|
215
|
+
{
|
|
216
|
+
"client": {
|
|
217
|
+
"tagName": "graphql",
|
|
218
|
+
"service": //...
|
|
203
219
|
}
|
|
204
|
-
}
|
|
220
|
+
}
|
|
205
221
|
```
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "vscode-apollo",
|
|
3
3
|
"displayName": "Apollo GraphQL",
|
|
4
4
|
"description": "Rich editor support for GraphQL client and server development that seamlessly integrates with the Apollo platform",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.3.0",
|
|
6
6
|
"referenceID": "87197759-7617-40d0-b32e-46d378e907c7",
|
|
7
7
|
"author": "Apollo GraphQL <opensource@apollographql.com>",
|
|
8
8
|
"license": "MIT",
|
|
@@ -48,12 +48,14 @@
|
|
|
48
48
|
"graphql": "16.9.0",
|
|
49
49
|
"graphql-language-service": "5.2.2",
|
|
50
50
|
"graphql-tag": "2.12.6",
|
|
51
|
+
"jsonc-parser": "^3.3.1",
|
|
51
52
|
"lodash.debounce": "4.0.8",
|
|
52
53
|
"lodash.merge": "4.6.2",
|
|
53
54
|
"lodash.throttle": "4.1.1",
|
|
54
55
|
"lz-string": "1.5.0",
|
|
55
56
|
"minimatch": "10.0.1",
|
|
56
57
|
"moment": "2.30.1",
|
|
58
|
+
"undici": "6.19.8",
|
|
57
59
|
"vscode-languageclient": "9.0.1",
|
|
58
60
|
"vscode-languageserver": "9.0.1",
|
|
59
61
|
"vscode-languageserver-textdocument": "1.0.12",
|
|
@@ -83,6 +85,7 @@
|
|
|
83
85
|
"eslint-config-prettier": "9.0.0",
|
|
84
86
|
"eslint-plugin-prettier": "5.0.1",
|
|
85
87
|
"graphql-http": "^1.22.1",
|
|
88
|
+
"import-fresh": "^3.3.0",
|
|
86
89
|
"jest": "29.7.0",
|
|
87
90
|
"jest-environment-node": "29.7.0",
|
|
88
91
|
"memfs": "4.11.1",
|
|
@@ -92,7 +95,8 @@
|
|
|
92
95
|
"ts-jest": "29.1.2",
|
|
93
96
|
"ts-node": "^10.9.2",
|
|
94
97
|
"typescript": "^5.5.3",
|
|
95
|
-
"vscode-tmgrammar-test": "^0.1.3"
|
|
98
|
+
"vscode-tmgrammar-test": "^0.1.3",
|
|
99
|
+
"zod-to-json-schema": "^3.23.3"
|
|
96
100
|
},
|
|
97
101
|
"publisher": "apollographql",
|
|
98
102
|
"categories": [
|
|
@@ -102,7 +106,8 @@
|
|
|
102
106
|
"icon": "images/icon-apollo-blue-400x400.png",
|
|
103
107
|
"activationEvents": [
|
|
104
108
|
"workspaceContains:**/apollo.config.[jt]s",
|
|
105
|
-
"workspaceContains:**/apollo.config.[cm]js"
|
|
109
|
+
"workspaceContains:**/apollo.config.[cm]js",
|
|
110
|
+
"workspaceContains:**/apollo.config.{yaml,yml,json}"
|
|
106
111
|
],
|
|
107
112
|
"contributes": {
|
|
108
113
|
"configuration": {
|
|
@@ -146,6 +151,12 @@
|
|
|
146
151
|
"GraphQL"
|
|
147
152
|
],
|
|
148
153
|
"configuration": "./graphql.configuration.json"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "jsonc",
|
|
157
|
+
"filenames": [
|
|
158
|
+
"apollo.config.json"
|
|
159
|
+
]
|
|
149
160
|
}
|
|
150
161
|
],
|
|
151
162
|
"grammars": [
|
|
@@ -230,6 +241,23 @@
|
|
|
230
241
|
}
|
|
231
242
|
}
|
|
232
243
|
],
|
|
244
|
+
"jsonValidation": [
|
|
245
|
+
{
|
|
246
|
+
"fileMatch": "apollo.config.json",
|
|
247
|
+
"url": "./schemas/apollo.config.schema.json"
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"__yamlValidation": "For context, see https://github.com/redhat-developer/vscode-yaml?tab=readme-ov-file#mapping-a-schema-in-an-extension",
|
|
251
|
+
"yamlValidation": [
|
|
252
|
+
{
|
|
253
|
+
"fileMatch": "apollo.config.yml",
|
|
254
|
+
"url": "./schemas/apollo.config.schema.json"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"fileMatch": "apollo.config.yaml",
|
|
258
|
+
"url": "./schemas/apollo.config.schema.json"
|
|
259
|
+
}
|
|
260
|
+
],
|
|
233
261
|
"commands": [
|
|
234
262
|
{
|
|
235
263
|
"command": "apollographql/selectSchemaTag",
|
package/renovate.json
CHANGED
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
{
|
|
6
6
|
"groupName": "all @types",
|
|
7
7
|
"groupSlug": "all-types",
|
|
8
|
-
"
|
|
8
|
+
"matchPackageNames": ["/@types/*/"]
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"groupName": "all devDependencies",
|
|
12
12
|
"groupSlug": "all-dev",
|
|
13
|
-
"
|
|
14
|
-
"
|
|
13
|
+
"matchDepTypes": ["devDependencies"],
|
|
14
|
+
"matchPackageNames": ["*"]
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"groupName": "all dependencies - patch updates",
|
|
18
18
|
"groupSlug": "all-patch",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
19
|
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