Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-language-service

Package Overview
Dependencies
Maintainers
3
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-language-service - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

NOTES.txt

86

package.json
{
"name": "graphql-language-service",
"repository": "https://github.com/graphql/graphql-language-service",
"version": "0.0.0",
"description": "GraphQL support, including .graphql file syntax highlighting",
"version": "0.0.1",
"description": "An interface for building GraphQL language services for IDEs",
"contributors": [

@@ -16,2 +16,5 @@ "Hyohyeon Jeong <asiandrummer@fb.com>",

},
"keywords": [
"graphql"
],
"options": {

@@ -22,3 +25,3 @@ "mocha": "--full-trace --require resources/mocha-bootload src/**/__tests__/**/*-test.js",

"scripts": {
"test": "npm run lint && npm run check && npm run testonly",
"test": "npm run lint && npm run pretty-check && npm run check && npm run testonly",
"testonly": "babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha",

@@ -28,3 +31,6 @@ "t": "babel-node ./node_modules/.bin/_mocha --require ./resources/mocha-bootload",

"build": "babel src --optional runtime --ignore __tests__ --out-dir dist/ && cp package.json dist/",
"check": "flow check"
"check": "flow check",
"check-dependencies": "node resources/checkDependencies.js",
"pretty": "node resources/pretty.js",
"pretty-check": "node resources/pretty.js --check"
},

@@ -36,43 +42,49 @@ "peerDependencies": {

"fb-watchman": "^1.9.0",
"graphql": "0.9.1",
"graphql": "^0.9.1",
"graphql-language-service-config": "0.0.5",
"graphql-language-service-interface": "0.0.5",
"graphql-language-service-parser": "0.0.4",
"graphql-language-service-server": "0.0.3",
"graphql-language-service-types": "0.0.10",
"graphql-language-service-utils": "0.0.4",
"nullthrows": "^1.0.0",
"yargs": "^6.5.0"
"vscode-jsonrpc": "^3.2.0",
"yargs": "^7.0.1"
},
"devDependencies": {
"babel-cli": "6.18.0",
"babel-eslint": "7.1.0",
"babel-plugin-check-es2015-constants": "6.8.0",
"babel-cli": "6.23.0",
"babel-eslint": "7.2.0",
"babel-plugin-check-es2015-constants": "6.22.0",
"babel-plugin-syntax-async-functions": "6.13.0",
"babel-plugin-transform-class-properties": "6.18.0",
"babel-plugin-transform-es2015-arrow-functions": "6.8.0",
"babel-plugin-transform-es2015-block-scoped-functions": "6.8.0",
"babel-plugin-transform-es2015-block-scoping": "6.18.0",
"babel-plugin-transform-es2015-classes": "6.18.0",
"babel-plugin-transform-es2015-computed-properties": "6.8.0",
"babel-plugin-transform-es2015-destructuring": "6.18.0",
"babel-plugin-transform-es2015-duplicate-keys": "6.8.0",
"babel-plugin-transform-es2015-function-name": "6.9.0",
"babel-plugin-transform-es2015-literals": "6.8.0",
"babel-plugin-transform-es2015-modules-commonjs": "6.18.0",
"babel-plugin-transform-es2015-object-super": "6.8.0",
"babel-plugin-transform-es2015-parameters": "6.18.0",
"babel-plugin-transform-es2015-shorthand-properties": "6.18.0",
"babel-plugin-transform-es2015-spread": "6.8.0",
"babel-plugin-transform-es2015-template-literals": "6.8.0",
"babel-plugin-transform-flow-strip-types": "6.18.0",
"babel-plugin-transform-object-rest-spread": "6.16.0",
"babel-plugin-transform-regenerator": "6.16.1",
"babel-polyfill": "^6.16.0",
"babel-types": "6.19.0",
"babel-plugin-transform-class-properties": "6.23.0",
"babel-plugin-transform-es2015-arrow-functions": "6.22.0",
"babel-plugin-transform-es2015-block-scoped-functions": "6.22.0",
"babel-plugin-transform-es2015-block-scoping": "6.23.0",
"babel-plugin-transform-es2015-classes": "6.23.0",
"babel-plugin-transform-es2015-computed-properties": "6.22.0",
"babel-plugin-transform-es2015-destructuring": "6.22.0",
"babel-plugin-transform-es2015-duplicate-keys": "6.22.0",
"babel-plugin-transform-es2015-function-name": "6.22.0",
"babel-plugin-transform-es2015-literals": "6.22.0",
"babel-plugin-transform-es2015-modules-commonjs": "6.23.0",
"babel-plugin-transform-es2015-object-super": "6.22.0",
"babel-plugin-transform-es2015-parameters": "6.23.0",
"babel-plugin-transform-es2015-shorthand-properties": "6.22.0",
"babel-plugin-transform-es2015-spread": "6.22.0",
"babel-plugin-transform-es2015-template-literals": "6.22.0",
"babel-plugin-transform-flow-strip-types": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.22.0",
"babel-plugin-transform-regenerator": "6.22.0",
"babel-polyfill": "6.16.0",
"babel-types": "6.22.0",
"chai": "3.5.0",
"chai-json-equal": "0.0.1",
"chai-subset": "1.3.0",
"eslint": "3.10.1",
"eslint-plugin-babel": "3.3.0",
"eslint": "3.15.0",
"eslint-plugin-babel": "4.1.0",
"eslint-plugin-dependencies": "2.0.0",
"eslint-plugin-flowtype": "2.29.1",
"eslint-plugin-flowtype": "2.30.4",
"eslint-plugin-prefer-object-spread": "1.1.0",
"flow-bin": "0.36.0",
"mocha": "3.1.2"
"flow-bin": "0.39.0",
"mocha": "3.2.0",
"prettier": "^0.22.0"
}
}

@@ -5,6 +5,8 @@ # GraphQL Language Service

GraphQL Language Service provides an interface for building GraphQL language service for IDEs.
[![Build Status](https://travis-ci.org/graphql/graphql-language-service.svg?branch=master)](https://travis-ci.org/graphql/graphql-language-service)
A subset of supported features of GraphQL language service and GraphQL language server implementation are both specification-compliant to [Microsoft's Language Server Protocol](https://github.com/Microsoft/language-server-protocol), and will be developed to fully support the specification in the future.
GraphQL Language Service provides an interface for building GraphQL language services for IDEs.
Partial support for [Microsoft's Language Server Protocol](https://github.com/Microsoft/language-server-protocol) is in place, with more to come in the future.
Currently supported features include:

@@ -21,3 +23,3 @@ - Diagnostics (GraphQL syntax linting/validations) (**spec-compliant**)

GraphQL Language Service depends on [Watchman](https://facebook.github.io/watchman/) running on your machine. Follow [this installation guide](https://facebook.github.io/watchman/docs.install.html) to install the Watchman.
GraphQL Language Service depends on [Watchman](https://facebook.github.io/watchman/) running on your machine. Follow [this installation guide](https://facebook.github.io/watchman/docs/install.html) to install Watchman.

@@ -61,3 +63,3 @@ ### Installation

Also, if GraphQL Language Service receives an RPC message that contains the path of the file being operated on, `input-dirs` and `exclude-dirs` are used to determine which product configuration the file is associated with. Refer to [GraphQLConfig class](https://github.com/graphql/graphql-language-service/blob/master/src/config/GraphQLConfig.js#L80) for more information.
Also, if GraphQL Language Service receives an RPC message that contains the path of the file being operated on, `input-dirs` and `exclude-dirs` are used to determine which product configuration the file is associated with. Refer to [GraphQLConfig class](https://github.com/graphql/graphql-language-service/blob/master/packages/graphql-language-service-config/src/index.js) for more information.

@@ -84,3 +86,3 @@ ### Using the command-line interface

Will defer to --file option if omitted.
This option is always honored over --file option.
Overrides the --file option, if any.
[string]

@@ -98,5 +100,5 @@ -f, --file File path to perform GraphQL diagnostics on.

[number]
-c, --configDir A directory path where .graphqlrc configuration object is
-c, --configDir Path to the .graphqlrc configuration file.
Walks up the directory tree from the provided config
directory, or the current working directory, until
directory, or the current working directory, until a
.graphqlrc is found or the root directory is found.

@@ -135,5 +137,5 @@ [string]

GraphQL Language Server uses [JSON-RPC](http://www.jsonrpc.org/specification) to communicate with the IDE servers to perform language service features. The language server currently supports two communication transports: Stream (stdio) and IPC. For IPC transport, the reference guide to be used for development is [the language server protocol](https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md) documentation.
GraphQL Language Server uses [JSON-RPC](http://www.jsonrpc.org/specification) to communicate with the IDE servers. Microsoft's language server currently supports two communication transports: Stream (stdio) and IPC. For IPC transport, the reference guide to be used for development is [the language server protocol](https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md) documentation.
For each transports, there is a slight difference between both JSON message format, especially in how the methods to be invoked are defined - below are the currently supported methods for each transports (will be updated as progresses are made):
For each transport, there is a slight difference in JSON message format, especially in how the methods to be invoked are defined - below are the currently supported methods for each transport (will be updated as progress is made):

@@ -140,0 +142,0 @@ | | Stream | IPC |

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc