From d1394667208538143e49b90333a9080ca89701dd Mon Sep 17 00:00:00 2001 From: Winston Liu Date: Thu, 4 Jan 2024 16:49:51 -0500 Subject: [PATCH 1/2] Bump language service to 0.8.0 --- language-service/CHANGELOG.md | 5 +++++ language-service/package-lock.json | 4 ++-- language-service/package.json | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/language-service/CHANGELOG.md b/language-service/CHANGELOG.md index bc47235..de2c550 100644 --- a/language-service/CHANGELOG.md +++ b/language-service/CHANGELOG.md @@ -1,3 +1,8 @@ +#### 0.8.0 +- Added "go to definition" support for templates [#PR-157](https://github.com/microsoft/azure-pipelines-language-server/pull/157) - thanks @Stuart-Wilcox! +- Added a standalone `azure-pipelines-language-server` executable [#PR-147](https://github.com/microsoft/azure-pipelines-language-server/pull/147) - thanks @williamboman! +- Updated dependencies + #### 0.7.0 - Added support for using expressions as values [#PR-138](https://github.com/microsoft/azure-pipelines-language-server/pull/138) - Fixed badly-indented files crashing the language server [#PR-141](https://github.com/microsoft/azure-pipelines-language-server/pull/141) diff --git a/language-service/package-lock.json b/language-service/package-lock.json index fb48c5d..37437d5 100644 --- a/language-service/package-lock.json +++ b/language-service/package-lock.json @@ -1,12 +1,12 @@ { "name": "azure-pipelines-language-service", - "version": "0.7.0", + "version": "0.8.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "azure-pipelines-language-service", - "version": "0.7.0", + "version": "0.8.0", "license": "MIT", "dependencies": { "js-yaml": "3.13.1", diff --git a/language-service/package.json b/language-service/package.json index 2a64ada..a93aa86 100644 --- a/language-service/package.json +++ b/language-service/package.json @@ -1,7 +1,7 @@ { "name": "azure-pipelines-language-service", "description": "Azure Pipelines language service", - "version": "0.7.0", + "version": "0.8.0", "author": "Microsoft", "license": "MIT", "main": "./lib/index.js", From 28ef5e85c872d2cbced3308ed5318ee30feecb73 Mon Sep 17 00:00:00 2001 From: Winston Liu Date: Sat, 10 Feb 2024 15:48:57 -0800 Subject: [PATCH 2/2] Add path polyfill --- language-service/package-lock.json | 13 +++++++++++++ language-service/package.json | 1 + language-service/webpack.config.js | 1 + 3 files changed, 15 insertions(+) diff --git a/language-service/package-lock.json b/language-service/package-lock.json index 37437d5..6ed5bca 100644 --- a/language-service/package-lock.json +++ b/language-service/package-lock.json @@ -25,6 +25,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.1.0", "os-browserify": "^0.3.0", + "path-browserify": "^1.0.1", "rimraf": "^3.0.2", "source-map-support": "^0.5.19", "ts-loader": "^8.0.17", @@ -2984,6 +2985,12 @@ "node": ">=8" } }, + "node_modules/path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "dev": true + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -6367,6 +6374,12 @@ "release-zalgo": "^1.0.0" } }, + "path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "dev": true + }, "path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", diff --git a/language-service/package.json b/language-service/package.json index a93aa86..eff574a 100644 --- a/language-service/package.json +++ b/language-service/package.json @@ -52,6 +52,7 @@ "mocha-junit-reporter": "^2.0.0", "nyc": "^15.1.0", "os-browserify": "^0.3.0", + "path-browserify": "^1.0.1", "rimraf": "^3.0.2", "source-map-support": "^0.5.19", "ts-loader": "^8.0.17", diff --git a/language-service/webpack.config.js b/language-service/webpack.config.js index 86d8f8b..35c095c 100644 --- a/language-service/webpack.config.js +++ b/language-service/webpack.config.js @@ -24,6 +24,7 @@ module.exports = { buffer: require.resolve('buffer/'), fs: false, os: require.resolve('os-browserify/browser'), + path: require.resolve('path-browserify'), } }, mode: 'production',