From f37b532f6e43d7e626429dc01ebf2c5674a063ce Mon Sep 17 00:00:00 2001 From: Thibault Gagnaux Date: Fri, 24 Feb 2023 11:42:07 +0100 Subject: [PATCH] chore: use my yaml language server fork I want to support openshift and different kubernetes version schemas. Therefore, I use this fork until the [upstream pr](https://github.com/redhat-developer/yaml-language-server/pull/841) is merged. --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 26a08a2b..e4fed43d 100644 --- a/package.json +++ b/package.json @@ -236,7 +236,7 @@ }, "extensionDependencies": [], "scripts": { - "build": "yarn run clean && yarn run lint && yarn run vscode:prepublish", + "build": "yarn run clean && yarn run build-yaml-language-server && yarn run lint && yarn run vscode:prepublish", "check-dependencies": "node ./scripts/check-dependencies.js", "clean": "rimraf out && rimraf dist", "compile": "webpack --mode none", @@ -247,7 +247,8 @@ "vscode:prepublish": "webpack --mode production", "watch": "webpack --mode development --watch --info-verbosity verbose", "test-compile": "yarn clean && tsc -p ./ && webpack --mode development", - "run-in-chromium": "npm run compile && vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ." + "run-in-chromium": "npm run compile && vscode-test-web --browserType=chromium --extensionDevelopmentPath=. .", + "build-yaml-language-server": "cd node_modules/yaml-language-server && yarn install && yarn build" }, "devDependencies": { "@types/chai": "^4.2.12", @@ -292,6 +293,6 @@ "vscode-languageclient": "7.0.0", "vscode-nls": "^3.2.1", "vscode-uri": "^2.0.3", - "yaml-language-server": "next" + "yaml-language-server": "tricktron/yaml-language-server#develop" } }