From c63b6789cbd7ac3561f3b714f9db84cd652fe8c9 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Mon, 18 Mar 2024 08:51:16 +0900 Subject: [PATCH] Jump Node.js requirement to the latest LTS (v20) --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 2 +- CONTRIBUTING.md | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c38f78433..19b421003c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,7 +82,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: Copy exes to platform bin dirs run: node ./scripts/copyExes.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 5556ddf4a6..f97c512bec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ - `lazy` syntax is no longer supported. If you're using it, use `Lazy` module or `React.lazy_` instead. https://github.com/rescript-lang/rescript-compiler/pull/6342 - Remove handling of attributes with `bs.` prefix (`@bs.as` -> `@as` etc.). https://github.com/rescript-lang/rescript-compiler/pull/6643 - Remove obsolete `@bs.open` feature. https://github.com/rescript-lang/rescript-compiler/pull/6629 -- Drop Node.js version <18 support, due to it reaching End-of-Life. https://github.com/rescript-lang/rescript-compiler/pull/6429 +- Drop Node.js version <20 support. https://github.com/rescript-lang/rescript-compiler/pull/6484 #### :house: Internal diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 99852850d3..7feee85c9b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ Happy hacking! > Most of our contributors are working on Apple machines, so all our instructions are currently macOS / Linux centric. Contributions for Windows development welcome! -- [NodeJS v18](https://nodejs.org/) +- [NodeJS v20+](https://nodejs.org/) - C compiler toolchain (usually installed with `xcode` on Mac) - `opam` (OCaml Package Manager) - VSCode (+ [OCaml Platform Extension](https://marketplace.visualstudio.com/items?itemName=ocamllabs.ocaml-platform)) diff --git a/package.json b/package.json index f971840239..e3436a31f3 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "prettier": "2.7.1" }, "engines": { - "node": ">=18" + "node": ">=20" }, "bin": { "bsc": "bsc",