chore: bump nodejs to 24 #15

Merged
t.behrendt merged 2 commits from chore-bump-nodejs-to-24 into main 2025-09-05 18:44:13 +02:00
4 changed files with 3 additions and 15 deletions

2
.nvmrc
View File

@@ -1 +1 @@
v20
24

View File

@@ -17,5 +17,5 @@ outputs:
description: "The new incremented git tag"
runs:
using: "node20"
using: "node24"
main: "dist/index.js"

View File

@@ -1,12 +0,0 @@
import { build } from "esbuild";
await build({
entryPoints: ["src/index.ts"],
bundle: true,
platform: "node",
target: "node20",
outfile: "dist/index.js",
sourcemap: false,
minify: true,
logLevel: "info",
});

View File

@@ -4,7 +4,7 @@
"main": "src/index.ts",
"scripts": {
"typecheck": "tsc --noEmit",
"build": "esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node20 --minify",
"build": "esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node24 --minify",
"test": "jest",
"format": "prettier --write src/**/*.ts"
},