graphql-language-service-cli 3.5.0 → 3.5.1-canary-7ff4d2d9.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/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "graphql-language-service-cli",
3
- "version": "3.5.0",
3
+ "version": "3.5.1-canary-7ff4d2d9.0",
4
4
  "description": "An interface for building GraphQL language services for IDEs",
5
5
  "contributors": [
6
6
  "Hyohyeon Jeong <asiandrummer@fb.com>",
7
- "Lee Byron <lee@leebyron.com> (http://leebyron.com/)"
7
+ "Lee Byron <lee@leebyron.com> (https://leebyron.com)"
8
8
  ],
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "http://github.com/graphql/graphiql",
11
+ "url": "https://github.com/graphql/graphiql",
12
12
  "directory": "packages/graphql-language-service-cli"
13
13
  },
14
14
  "homepage": "https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-cli#readme",
@@ -24,6 +24,9 @@
24
24
  "dist",
25
25
  "src"
26
26
  ],
27
+ "scripts": {
28
+ "test": "vitest"
29
+ },
27
30
  "keywords": [
28
31
  "graphql",
29
32
  "graphql-language-service",
@@ -32,16 +35,16 @@
32
35
  "LSP"
33
36
  ],
34
37
  "peerDependencies": {
35
- "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0-alpha.2"
38
+ "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0"
36
39
  },
37
40
  "dependencies": {
38
41
  "@babel/polyfill": "^7.12.1",
39
42
  "@types/yargs": "16.0.5",
40
- "graphql-language-service": "^5.3.0",
41
- "graphql-language-service-server": "^2.14.0",
43
+ "graphql-language-service": "^5.3.2-canary-7ff4d2d9.0",
44
+ "graphql-language-service-server": "^2.14.6-canary-7ff4d2d9.0",
42
45
  "yargs": "^16.2.0"
43
46
  },
44
47
  "devDependencies": {
45
- "graphql": "^17.0.0-alpha.5"
48
+ "graphql": "^16.9.0"
46
49
  }
47
50
  }
@@ -10,7 +10,7 @@ import main from '../client';
10
10
 
11
11
  describe('process.stderr.write', () => {
12
12
  afterEach(() => {
13
- jest.restoreAllMocks();
13
+ vi.restoreAllMocks();
14
14
  });
15
15
 
16
16
  it('is passed information on error of string type', () => {
@@ -18,10 +18,10 @@ describe('process.stderr.write', () => {
18
18
  schemaPath: '...',
19
19
  text: 'foo',
20
20
  };
21
- const mockStdErrWrite = jest
21
+ const mockStdErrWrite = vi
22
22
  .spyOn(process.stderr, 'write')
23
23
  .mockImplementation();
24
- jest.spyOn(process, 'exit').mockImplementation();
24
+ vi.spyOn(process, 'exit').mockImplementation(() => {});
25
25
  const undefinedWithNewLine = /^undefined\n$/;
26
26
 
27
27
  main('autocomplete', argv);
@@ -8,7 +8,7 @@
8
8
 
9
9
  describe('blinking light demo', () => {
10
10
  it('runs', () => {
11
- // This is just a place holder for now as all the existing tests have moved
11
+ // This is just a placeholder for now as all the existing tests have moved
12
12
  // down into the respective package directories. In the future, this will be
13
13
  // the home of the integration tests.
14
14
  expect(true).toEqual(true);