From 578e469be2a75c6ce2d6c2a6b73ad239c051f009 Mon Sep 17 00:00:00 2001 From: Kieran Ryan Date: Sat, 23 Mar 2024 14:59:02 +0000 Subject: [PATCH] Specify minimum compatible node version (#100) * Drop node v14 from workflow * Changelog drop node v14 support * Specify minimum supported node version --- .github/workflows/test-javascript.yml | 6 ++---- CHANGELOG.md | 1 + package.json | 3 +++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-javascript.yml b/.github/workflows/test-javascript.yml index c31f47f3..e1eca532 100644 --- a/.github/workflows/test-javascript.yml +++ b/.github/workflows/test-javascript.yml @@ -19,12 +19,10 @@ jobs: os: - macos-latest - ubuntu-latest + - windows-latest # 16.12.0 has broken ESM support # 17.x cannot install tree-sitter: https://github.com/tree-sitter/tree-sitter/issues/1503 - node-version: ['14.x', '16.11.x'] - include: - - os: windows-latest - node-version: '16.11.x' + node-version: ['16.11.x'] steps: - name: set git core.autocrlf to 'input' diff --git a/CHANGELOG.md b/CHANGELOG.md index 09843069..242e5687 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Fixed c-sharp glob paths for step definitions and feature files - [#89](https://github.com/cucumber/language-server/pull/89) +- Specify minimum supported node version ([#100](https://github.com/cucumber/language-server/pull/100)) ### Added - Allow Javascript/Typescript glue files with the following file extensions: cjs, mjs, cts, mts - [#85](https://github.com/cucumber/language-server/pull/85) diff --git a/package.json b/package.json index 1d50f08a..f6b846d6 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "@cucumber/language-server", "version": "1.4.0", "description": "Cucumber Language Server", + "engines": { + "node": ">=16.0.0" + }, "type": "module", "main": "dist/cjs/src/index.js", "module": "dist/esm/src/index.js",