Merge pull request #136543 from jzyrobert/html_correct_command

Update html-language-features documentation and tasks to yarn
This commit is contained in:
Martin Aeschlimann
2021-11-08 11:05:00 +01:00
committed by GitHub
4 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -2,9 +2,9 @@
"version": "2.0.0",
"tasks": [
{
"label": "npm",
"command": "npm",
"args": ["run", "compile"],
"label": "yarn",
"command": "yarn",
"args": ["compile"],
"type": "shell",
"presentation": {
"reveal": "silent",
@@ -15,4 +15,4 @@
"problemMatcher": "$tsc-watch"
}
],
}
}
@@ -30,7 +30,7 @@ However, within this extension, you can run a development version of `vscode-htm
- Clone [microsoft/vscode-html-languageservice](https://github.com/microsoft/vscode-html-languageservice)
- Run `yarn` in `vscode-html-languageservice`
- Run `yarn link` in `vscode-html-languageservice`. This will compile and link `vscode-html-languageservice`
- In `html-language-features/server/`, run `npm link vscode-html-languageservice`
- In `html-language-features/server/`, run `yarn link vscode-html-languageservice`
#### Testing the development version of `vscode-html-languageservice`
@@ -2,9 +2,9 @@
"version": "2.0.0",
"tasks": [
{
"label": "npm watch",
"command": "npm",
"args": ["run", "watch"],
"label": "yarn watch",
"command": "yarn",
"args": ["watch"],
"type": "shell",
"presentation": {
"reveal": "silent",
@@ -15,4 +15,4 @@
"problemMatcher": "$tsc-watch"
}
],
}
}
@@ -27,6 +27,6 @@
"install-service-local": "yarn link vscode-css-languageservice && yarn link vscode-html-languageservice",
"install-server-next": "yarn add vscode-languageserver@next",
"install-server-local": "yarn link vscode-languageserver",
"test": "npm run compile && node ./test/index.js"
"test": "yarn compile && node ./test/index.js"
}
}