Skip to content

Commit 35fc9e9

Browse files
committed
switch to using yarn
Use yarn which makes it consisten with the LSP
1 parent c805abd commit 35fc9e9

File tree

5 files changed

+1881
-5790
lines changed

5 files changed

+1881
-5790
lines changed

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// the command is a shell script
1010
"type": "shell",
1111
// we run the custom npm script "compile" as defined in package.json
12-
"command": "npm run compile --loglevel silent",
12+
"command": "yarn run compile --loglevel silent",
1313
// show the output window only if unrecognized errors occur.
1414
"presentation": {
1515
"reveal": "silent"

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ All contributions are welcome!
4646
├──── yaml-language-server/
4747
```
4848

49-
3. Run `npm install` in both directories to initialize `node_modules` dependencies.
49+
3. Run `yarn install` in both directories to initialize `node_modules` dependencies.
5050

5151
4. In `vscode-yaml/src/extension.ts` set the `serverModule` variable to:
5252

@@ -59,7 +59,7 @@ All contributions are welcome!
5959
5. In BOTH directories run:
6060

6161
```bash
62-
npm run compile
62+
yarn run compile
6363
```
6464

6565
6. To run the language server in VSCode, click `View -> Debug`, then from the drop down menu beside the green arrow select `Launch Extension (vscode-yaml)`, click the arrow, and a new VSCode window should load with the YAML LS running.

0 commit comments

Comments
 (0)