@mo36924/graphql-plugin 5.4.9 → 5.4.16

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -4,7 +4,7 @@ var graphql$1 = require('@mo36924/graphql');
4
4
  var graphql$2 = require('graphql');
5
5
  var graphqlLanguageService = require('graphql-language-service');
6
6
  var packages_graphqlPlugin_dist_volar = require('./volar.cjs');
7
- require('@volar/typescript/lib/quickstart/createLanguageServicePlugin');
7
+ require('@volar/typescript/lib/quickstart/createLanguageServicePlugin.js');
8
8
  require('typescript');
9
9
 
10
10
  const graphql = ({ typescript: ts })=>{
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { getSchema } from '@mo36924/graphql';
2
2
  import { GraphQLError } from 'graphql';
3
3
  import { getDiagnostics, DIAGNOSTIC_SEVERITY, Position, getAutocompleteSuggestions, CompletionItemKind, getTokenAtPosition, getHoverInformation } from 'graphql-language-service';
4
4
  import { volar } from './volar.js';
5
- import '@volar/typescript/lib/quickstart/createLanguageServicePlugin';
5
+ import '@volar/typescript/lib/quickstart/createLanguageServicePlugin.js';
6
6
  import 'typescript';
7
7
 
8
8
  const graphql = ({ typescript: ts })=>{
package/dist/volar.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var graphql = require('@mo36924/graphql');
4
- var createLanguageServicePlugin = require('@volar/typescript/lib/quickstart/createLanguageServicePlugin');
4
+ var createLanguageServicePlugin_js = require('@volar/typescript/lib/quickstart/createLanguageServicePlugin.js');
5
5
  var ts = require('typescript');
6
6
 
7
7
  /// <reference types="@volar/typescript" />
@@ -142,7 +142,7 @@ const getLanguagePlugin = (cwd)=>{
142
142
  };
143
143
  return languagePlugin;
144
144
  };
145
- const volar = createLanguageServicePlugin.createLanguageServicePlugin((_ts, info)=>({
145
+ const volar = createLanguageServicePlugin_js.createLanguageServicePlugin((_ts, info)=>({
146
146
  languagePlugins: [
147
147
  getLanguagePlugin(info.project.getCurrentDirectory())
148
148
  ]
package/dist/volar.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { getSchema, getGqlTypeArguments } from '@mo36924/graphql';
2
- import { createLanguageServicePlugin } from '@volar/typescript/lib/quickstart/createLanguageServicePlugin';
2
+ import { createLanguageServicePlugin } from '@volar/typescript/lib/quickstart/createLanguageServicePlugin.js';
3
3
  import ts from 'typescript';
4
4
 
5
5
  /// <reference types="@volar/typescript" />
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mo36924/graphql-plugin",
3
3
  "type": "module",
4
- "version": "5.4.9",
4
+ "version": "5.4.16",
5
5
  "description": "graphql-plugin",
6
6
  "author": "mo36924",
7
7
  "license": "MIT",
@@ -47,12 +47,12 @@
47
47
  "dist"
48
48
  ],
49
49
  "dependencies": {
50
- "@mo36924/graphql": "^5.4.9",
50
+ "@mo36924/graphql": "^5.4.10",
51
51
  "@volar/typescript": "^2.4.10",
52
52
  "graphql": "^16.9.0",
53
53
  "graphql-language-service": "^5.3.0",
54
54
  "typescript": "^5.6.3",
55
55
  "vscode-languageserver-types": "^3.17.5"
56
56
  },
57
- "gitHead": "fde1718ff9f899cdcdb0269364e52a93f52401ce"
57
+ "gitHead": "93aae1f02fddb9f268aa8e9d342e2073411b1a1e"
58
58
  }