@mo36924/graphql-plugin 5.0.69 → 5.0.70

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -65,7 +65,7 @@ const init = ({ typescript: ts })=>{
65
65
  };
66
66
  return {
67
67
  create (info) {
68
- const { path, schema } = graphql.getConfig();
68
+ const { path, schema } = graphql.getConfig(info.project.getCurrentDirectory());
69
69
  const languageService = info.languageService;
70
70
  if (!path) {
71
71
  return languageService;
package/dist/index.js CHANGED
@@ -63,7 +63,7 @@ const init = ({ typescript: ts })=>{
63
63
  };
64
64
  return {
65
65
  create (info) {
66
- const { path, schema } = getConfig();
66
+ const { path, schema } = getConfig(info.project.getCurrentDirectory());
67
67
  const languageService = info.languageService;
68
68
  if (!path) {
69
69
  return languageService;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mo36924/graphql-plugin",
3
3
  "type": "module",
4
- "version": "5.0.69",
4
+ "version": "5.0.70",
5
5
  "description": "graphql-plugin",
6
6
  "author": "mo36924",
7
7
  "license": "MIT",
@@ -47,5 +47,5 @@
47
47
  "typescript": "^5.5.4",
48
48
  "vscode-languageserver-types": "^3.17.5"
49
49
  },
50
- "gitHead": "5e9a973df2dab3b8eedcc0c37f6f5f5716662aaf"
50
+ "gitHead": "4f3dc6d40bf3dee3e25acb599cf7d17e8e15e3c4"
51
51
  }