Merge pull request #58 from hercules-ci/extension-update

migrate to new @types/vscode, add vsce devDependency
This commit is contained in:
Moritz Kiefer 2019-09-14 12:52:35 +02:00 committed by GitHub
commit 855c18ea93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 356 additions and 571 deletions

View File

@ -61,9 +61,8 @@ Install the VS code extension (see https://code.visualstudio.com/docs/setup/mac
1. `cd extension/`
2. `npm ci`
3. `npm install vsce --global` (may require `sudo`)
4. `vsce package`
5. `code --install-extension ghcide-0.0.1.vsix`
3. `npm run vscepackage`
4. `code --install-extension ghcide-0.0.1.vsix`
Now opening a `.hs` file should work with `ghcide`.

File diff suppressed because it is too large Load Diff

View File

@ -49,8 +49,8 @@
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"vscepackage": "vsce package"
},
"extensionDependencies": [
"justusadam.language-haskell"
@ -59,10 +59,11 @@
"vscode-languageclient": "^4.1.4"
},
"devDependencies": {
"typescript": "^3.3.1",
"vscode": "^1.1.28",
"tslint": "^5.12.1",
"@types/mocha": "^2.2.42",
"@types/node": "^10.12.21",
"@types/mocha": "^2.2.42"
"@types/vscode": "1.35.0",
"tslint": "^5.12.1",
"typescript": "^3.3.1",
"vsce": "^1.66.0"
}
}