Skip to content

Commit db733f9

Browse files
chore: support node 20+ runtime (#16)
* chore: support node 22.19+ runtime * chore: broaden support to node 20+
1 parent b1f4e14 commit db733f9

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ https://codepunkt.de/writing/blazing-fast-prisma-and-postgres-tests-in-vitest/
4949

5050
## Installation & Setup
5151

52+
> Requires Node.js 20 or newer (CI covers 20.x, 22.x, 24.x).
53+
5254
#### Step 1: Install the environment
5355

5456
First, install the environnment:

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": "24.11.1"
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: 'node24',
6+
target: 'node20',
77
outDir: 'dist',
88
sourcemap: true,
99
clean: true,

0 commit comments

Comments
 (0)