From 86eef9f4bd724849d5a12f18b275c2343847f48a Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:06:57 -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 b2388886e..a3e5ae9fe 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ [ "@pika/plugin-build-node", { - "minNodeVersion": "14" + "minNodeVersion": 18 } ] ] @@ -107,6 +107,6 @@ "access": "public" }, "engines": { - "node": ">= 14" + "node": ">= 18" } } From b762a0841b7f03cc82cbd8dd95766cdb6d0e1c04 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:06:59 -0400 Subject: [PATCH 2/7] ci: stop testing against NodeJS v14, v16 From 7d9cf4889d5825c63f1a0f1727eb415290e35560 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:07:01 -0400 Subject: [PATCH 3/7] ci: stop testing against NodeJS v14, v16 From 9a0334f8c05f9ea35fdeb11036cddade91b7207e Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:07:03 -0400 Subject: [PATCH 4/7] ci: stop testing against NodeJS v14, v16 From 2f3aeac79840c485f02f45eeddbb317e9705784a Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:07:05 -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 d2fc25df3..83d1aa643 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,9 +13,8 @@ jobs: strategy: matrix: node_version: - - 14 - - 16 - 18 + - 20 steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node_version }} From 74d4e22bd6a7abcb120b692538888e97bf53a51d Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Sat, 13 May 2023 22:07:07 -0400 Subject: [PATCH 6/7] ci: stop testing against NodeJS v14, v16 From 2d7ecc2b67ba17a8c72175310b7c544d13493a90 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Tue, 13 Jun 2023 18:03:49 -0400 Subject: [PATCH 7/7] Update build.mjs --- scripts/build.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index 7b7ce7f3e..57f7d7b99 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -45,7 +45,7 @@ async function main() { outdir: "pkg/dist-node", bundle: true, platform: "node", - target: "node14", + target: "node18", format: "cjs", ...sharedOptions, });