From 433d8ffa2a92e187f86f7a15224601e2a66108b9 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Fri, 19 Apr 2024 15:20:52 -0500 Subject: [PATCH] Breaking: bumps Node minimum to 18+ --- .github/workflows/ci.yml | 7 ++++--- README.md | 6 +++++- package.json | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf31d19..f0dddb3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,4 @@ +name: Node Unit Tests on: push: branches-ignore: @@ -8,12 +9,12 @@ jobs: strategy: matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] - node: ["14", "16", "18"] + node: ["18", "20"] name: Node.js ${{ matrix.node }} on ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} # cache: npm diff --git a/README.md b/README.md index fcdb54c..2d74590 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ npm install -g @11ty/eleventy-dev-server npm install @11ty/eleventy-dev-server ``` -This package requires Node 14 or newer. +This package requires Node 18 or newer. ### CLI Usage @@ -54,3 +54,7 @@ npm run test ``` - We use the [ava JavaScript test runner](https://github.com/avajs/ava) ([Assertions documentation](https://github.com/avajs/ava/blob/master/docs/03-assertions.md)) + +## Changelog + +* `v2.0.0` bumps Node.js minimum to 18. \ No newline at end of file diff --git a/package.json b/package.json index 28c8b74..9db2662 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@11ty/eleventy-dev-server", - "version": "1.0.4", + "version": "2.0.0", "description": "A minimal, modern, generic, hot-reloading local web server to help web developers.", "main": "server.js", "scripts": { @@ -9,7 +9,7 @@ }, "license": "MIT", "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "type": "opencollective",