Skip to content

Commit 248269f

Browse files
chore: broaden support to node 20+
1 parent 2971e4f commit 248269f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tools]
2-
node = "22.19.0"
2+
node = "24.11.1"
33
"npm:@antfu/ni" = "latest"
44

55
[env]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ https://codepunkt.de/writing/blazing-fast-prisma-and-postgres-tests-in-vitest/
4949

5050
## Installation & Setup
5151

52-
> Requires Node.js 22.19.0 or newer (tested in CI on 22.x and 24.x).
52+
> Requires Node.js 20 or newer (CI covers 20.x, 22.x, 24.x).
5353
5454
#### Step 1: Install the environment
5555

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"url": "https://github.com/codepunkt/vitest-environment-prisma-postgres"
1212
},
1313
"engines": {
14-
"node": ">=22.19.0"
14+
"node": ">=20"
1515
},
1616
"scripts": {
1717
"build": "tsup",

tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { defineConfig } from 'tsup';
33
export default defineConfig({
44
entry: ['src/index.ts', 'src/setup.ts'],
55
format: ['esm'],
6-
target: 'node22',
6+
target: 'node20',
77
outDir: 'dist',
88
sourcemap: true,
99
clean: true,

0 commit comments

Comments
 (0)