Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
fix @hegel/language-server
Browse files Browse the repository at this point in the history
  • Loading branch information
thecotne committed May 27, 2020
1 parent dec9b9d commit d047745
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}/client/client.js",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"]
"args": ["--extensionDevelopmentPath=${workspaceFolder}/packages/language-server"]
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}/client/client.js",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/test"
"--extensionDevelopmentPath=${workspaceFolder}/packages/language-server",
"--extensionTestsPath=${workspaceFolder}/packages/language-server/test"
]
}
]
Expand Down
1 change: 1 addition & 0 deletions packages/cli/.hegelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ include:
exclude:
- ./node_modules/**
- ./build/**
- ./.history/**
types:
- ./@types
- ./node_modules/@types
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@hegel/cli",
"version": "0.0.43",
"description": "",
"main": "index.js",
"main": "./build/index.js",
"bin": {
"hegel": "./build/index.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Artem Kobzar",
"version": "0.0.43",
"description": "",
"main": "build/index.js",
"main": "./build/index.js",
"files": [
"build/*",
"README.md"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const { ObjectType } = require("@hegel/core/type-graph/types/object-type");
const { GenericType } = require("@hegel/core/type-graph/types/generic-type");
const { FunctionType } = require("@hegel/core/type-graph/types/function-type");
const { ObjectType } = require("@hegel/core/build/type-graph/types/object-type");
const { GenericType } = require("@hegel/core/build/type-graph/types/generic-type");
const { FunctionType } = require("@hegel/core/build/type-graph/types/function-type");
const { CompletionItemKind } = require("vscode-languageserver");
const {
THIS_TYPE,
CONSTRUCTABLE,
} = require("@hegel/core/type-graph/constants");
} = require("@hegel/core/build/type-graph/constants");

/**
* Find type kind of variable.
Expand Down
4 changes: 2 additions & 2 deletions packages/language-server/server/validation/typings.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { getConfig } = require("@hegel/cli/lib/config");
const { importModule } = require("@hegel/cli/lib/module");
const { getConfig } = require("@hegel/cli/build/config");
const { importModule } = require("@hegel/cli/build/module");
const { getBabylonAST } = require("../utils/document-ast");
const { createGlobalScope } = require("@hegel/core");
const { mixTypeDefinitions } = require("./type-definitions");
Expand Down

0 comments on commit d047745

Please sign in to comment.