From e5087781d252e17c19c02794a65845379243961a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Tue, 15 Oct 2024 18:41:31 +0200 Subject: [PATCH 1/6] chore: add `engines.node` to `package.json` --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 1643dba..b03015f 100644 --- a/package.json +++ b/package.json @@ -70,5 +70,8 @@ "typescript": "^5.5.4", "unbuild": "^2.0.0", "vitest": "^2.0.5" + }, + "engines": { + "node": ">=18.0.0" } } From 202f24da05d8bd116e65c4b43a3f78203b293284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Tue, 15 Oct 2024 18:50:43 +0200 Subject: [PATCH 2/6] Update package.json --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b03015f..2ada4f7 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,9 @@ "lint": "eslint .", "test": "vitest" }, + "engines": { + "node": ">=18.0.0" + }, "devDependencies": { "@antfu/eslint-config": "^2.27.1", "@types/fs-extra": "^11.0.4", @@ -70,8 +73,5 @@ "typescript": "^5.5.4", "unbuild": "^2.0.0", "vitest": "^2.0.5" - }, - "engines": { - "node": ">=18.0.0" } } From 7c8ece58cd8b75cd78df38a8e86d9292f5c89e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Tue, 15 Oct 2024 18:57:04 +0200 Subject: [PATCH 3/6] Update package.json --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2ada4f7..110587d 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,9 @@ ] } }, + "engines": { + "node": ">=18.0.0" + }, "files": [ "dist" ], @@ -60,9 +63,6 @@ "lint": "eslint .", "test": "vitest" }, - "engines": { - "node": ">=18.0.0" - }, "devDependencies": { "@antfu/eslint-config": "^2.27.1", "@types/fs-extra": "^11.0.4", From 6ee0f485a80c8b1e2ab6021eeeceac5ff36530d3 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Tue, 15 Oct 2024 09:57:28 -0700 Subject: [PATCH 4/6] see if it will run on node 16 --- .github/workflows/test.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d392c7..2352829 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [18.x, lts/*] + node-version: [16.x, lts/*] steps: - uses: actions/checkout@v4 diff --git a/package.json b/package.json index 110587d..e1755a6 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ } }, "engines": { - "node": ">=18.0.0" + "node": ">=16.0.0" }, "files": [ "dist" From 1905cd1e8eac3d6bad4390e5ca185520687f3d68 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:00:39 -0700 Subject: [PATCH 5/6] gahh. why is pnpm so unnecessarily breaky Revert "see if it will run on node 16" This reverts commit 6ee0f485a80c8b1e2ab6021eeeceac5ff36530d3. --- .github/workflows/test.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2352829..1d392c7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [16.x, lts/*] + node-version: [18.x, lts/*] steps: - uses: actions/checkout@v4 diff --git a/package.json b/package.json index e1755a6..110587d 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ } }, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" }, "files": [ "dist" From 1d878560d996eddd2aceafd4b244ea3ab4586416 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:02:38 -0700 Subject: [PATCH 6/6] order --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 110587d..a2a7a3e 100644 --- a/package.json +++ b/package.json @@ -49,12 +49,12 @@ ] } }, - "engines": { - "node": ">=18.0.0" - }, "files": [ "dist" ], + "engines": { + "node": ">=18.0.0" + }, "scripts": { "prepublishOnly": "npm run build", "build": "unbuild",