graphql-language-service-cli 3.3.12 → 3.3.13

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.
Files changed (2) hide show
  1. package/README.md +24 -11
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # graphql-language-service-cli
2
2
 
3
- > Note: As of 3.0.0, this package has been renamed from `graphql-language-service` to `graphql-language-service-cli`. please now use the `graphql-lsp` bin, instead of the `graphql` binary.
3
+ > Note: As of 3.0.0, this package has been renamed from
4
+ > `graphql-language-service` to `graphql-language-service-cli`. please now use
5
+ > the `graphql-lsp` bin, instead of the `graphql` binary.
4
6
 
5
7
  [![NPM](https://img.shields.io/npm/v/graphql-language-service-cli.svg)](https://npmjs.com/graphql-language-service-cli)
6
8
  ![npm downloads](https://img.shields.io/npm/dm/graphql-language-service-vli?label=npm%20downloads)
@@ -9,27 +11,34 @@
9
11
 
10
12
  _We welcome your feedback and suggestions._
11
13
 
12
- GraphQL Language Service provides an interface for building GraphQL language services for IDEs.
14
+ GraphQL Language Service provides an interface for building GraphQL language
15
+ services for IDEs.
13
16
 
14
- Almost 100% for [Microsoft's Language Server Protocol](https://github.com/Microsoft/language-server-protocol) is in place
17
+ Almost 100% for
18
+ [Microsoft's Language Server Protocol](https://github.com/Microsoft/language-server-protocol)
19
+ is in place
15
20
 
16
21
  Supported features include:
17
22
 
18
23
  - Diagnostics (GraphQL syntax linting/validations) (**spec-compliant**)
19
24
  - Autocomplete suggestions (**spec-compliant**)
20
- - Hyperlink to fragment definitions and named types (type, input, enum) definitions (**spec-compliant**)
25
+ - Hyperlink to fragment definitions and named types (type, input, enum)
26
+ definitions (**spec-compliant**)
21
27
  - Outline view support for queries and SDL
22
28
  - Symbols support across the workspace
23
29
 
24
- see more information at [`graphql-language-service-server`](https://npmjs.com/graphql-language-service-server)
30
+ see more information at
31
+ [`graphql-language-service-server`](https://npmjs.com/graphql-language-service-server)
25
32
 
26
33
  ## Installation and Usage
27
34
 
28
35
  ### Dependencies
29
36
 
30
- An LSP-compatible client with a file watcher that sends watch notifications to the server.
37
+ An LSP-compatible client with a file watcher that sends watch notifications to
38
+ the server.
31
39
 
32
- **DROPPED**: GraphQL Language Service no longer depends on [Watchman](https://facebook.github.io/watchman/)
40
+ **DROPPED**: GraphQL Language Service no longer depends on
41
+ [Watchman](https://facebook.github.io/watchman/)
33
42
 
34
43
  Only node 9 or greater, and npm or yarn are required dependencies.
35
44
 
@@ -56,11 +65,13 @@ Check out [graphql-config](https://graphql-config.com/docs)
56
65
  The custom graphql language configurations are:
57
66
 
58
67
  - `customDirectives` - `['@myExampleDirective']`
59
- - `customValidationRules` - returns rules array with parameter `ValidationContext` from `graphql/validation`
68
+ - `customValidationRules` - returns rules array with parameter
69
+ `ValidationContext` from `graphql/validation`
60
70
 
61
71
  ### LSP Workspace Configuration
62
72
 
63
- When running `server`, your LSP-compatible client can [provide additional workspace configuration](https://npmjs.com/graphql-language-service-server#workspace-configuration).
73
+ When running `server`, your LSP-compatible client can
74
+ [provide additional workspace configuration](https://npmjs.com/graphql-language-service-server#workspace-configuration).
64
75
 
65
76
  For example, `coc.nvim` allows for providing custom `settings`
66
77
 
@@ -78,7 +89,8 @@ For example, `coc.nvim` allows for providing custom `settings`
78
89
  }
79
90
  ```
80
91
 
81
- this would allow for legacy `graphql-config` file formats like `.graphqlconfig`, useful on projects maintaining compatibility with the intellij plugin
92
+ this would allow for legacy `graphql-config` file formats like `.graphqlconfig`,
93
+ useful on projects maintaining compatibility with the intellij plugin
82
94
 
83
95
  ### Using the command-line interface
84
96
 
@@ -86,7 +98,8 @@ this would allow for legacy `graphql-config` file formats like `.graphqlconfig`,
86
98
  graphql-lsp server --schema=localhost:3000
87
99
  ```
88
100
 
89
- The node executable contains several commands: `server` and the command-line language service methods (`validate`, `autocomplete`, `outline`).
101
+ The node executable contains several commands: `server` and the command-line
102
+ language service methods (`validate`, `autocomplete`, `outline`).
90
103
 
91
104
  ### CLI Options
92
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphql-language-service-cli",
3
- "version": "3.3.12",
3
+ "version": "3.3.13",
4
4
  "description": "An interface for building GraphQL language services for IDEs",
5
5
  "contributors": [
6
6
  "Hyohyeon Jeong <asiandrummer@fb.com>",
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@babel/polyfill": "^7.8.7",
39
39
  "graphql-language-service": "^5.1.0",
40
- "graphql-language-service-server": "^2.9.2",
40
+ "graphql-language-service-server": "^2.9.3",
41
41
  "yargs": "^16.2.0"
42
42
  },
43
43
  "devDependencies": {