Update html-language-features documentation and tasks to yarn

This commit is contained in:
Robert Jin 2021-11-05 20:15:01 +00:00
parent b13351b611
commit 8d78e70f78
4 changed files with 10 additions and 10 deletions

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"
}
],
}
}

View file

@ -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`

View file

@ -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"
}
],
}
}

View file

@ -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"
}
}