From 9409b7c78ec9c9cb00f374767e8142cda7d917bc Mon Sep 17 00:00:00 2001 From: fisker Date: Wed, 28 Oct 2026 15:47:52 +0800 Subject: [PATCH] Require Node.js>=22 --- .github/workflows/test.yml | 5 ----- package.json | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ea8346..919ca9d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,11 +16,6 @@ jobs: - '26' - '24' - '22' - - '20' - - '18' - - '16' - - '14' - - '12' name: Node.js ${{ matrix.node_version }} runs-on: ubuntu-latest steps: diff --git a/package.json b/package.json index b5bed53..2c78f9f 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,10 @@ "maintainer": "Andrew Powell ", "homepage": "https://github.com/prettier/postcss-less", "bugs": "https://github.com/prettier/postcss-less/issues", - "main": "lib/index.js", "engines": { - "node": ">=12" + "node": ">=22" }, + "exports": "./lib/index.js", "scripts": { "fix": "run-p --continue-on-error \"fix:*\"", "fix:eslint": "yarn lint:eslint --fix",