From f698d26b7cc905222c0d4f690e7027e2289524db Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:02:41 -0400 Subject: [PATCH 1/7] build(package): set minimal node version in engines field to v18 BREAKING CHANGE: Drop support for NodeJS v14, v16 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e8df0fd7..8c4f0709 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ [ "@pika/plugin-build-node", { - "minNodeVersion": "14" + "minNodeVersion": 18 } ], [ @@ -99,6 +99,6 @@ ] }, "engines": { - "node": ">= 14" + "node": ">= 18" } } From c27b7472593a545f73d1bc3efbb36b09d2055f75 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:02:43 -0400 Subject: [PATCH 2/7] ci: stop testing against NodeJS v14, v16 From 2eecdefc72be0547ea817a64a7a772c08082e211 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:02:45 -0400 Subject: [PATCH 3/7] ci: stop testing against NodeJS v14, v16 From 87f9c30efd26672cc44d30ee578cc1a1bd925e8a Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:02:47 -0400 Subject: [PATCH 4/7] ci: stop testing against NodeJS v14, v16 From 477800007e1acd8701cca411dfbbe1e9201fdea2 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:02:49 -0400 Subject: [PATCH 5/7] ci: stop testing against NodeJS v14, v16 --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index df3add67..dda5433c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,9 +14,8 @@ jobs: strategy: matrix: node_version: - - 14 - - 16 - 18 + - 20 steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node_version }} From 5836c576afa2c727761d1b2c8058fc6e05cd38f4 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:02:51 -0400 Subject: [PATCH 6/7] ci: stop testing against NodeJS v14, v16 From e0308f461a8831e81886b5a7a4299379e5b5d7d5 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 3 Jun 2023 12:06:51 -0400 Subject: [PATCH 7/7] build: set target to `node18` --- scripts/build.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index c573f634..67f82f14 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -42,7 +42,7 @@ async function main() { outdir: "pkg/dist-node", bundle: true, platform: "node", - target: "node14", + target: "node18", format: "cjs", ...sharedOptions, }),