diff --git a/package-lock.json b/package-lock.json index 53cbe1a..07f5824 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,6 +41,9 @@ "tsc-watch": "^6.0.0", "typedoc": "^0.27.3", "typedoc-plugin-markdown": "^3.14.0" + }, + "engines": { + "node": ">=20.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 6a73bee..4913ade 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "pretest:watch": "docker compose -f docker-compose.test.yml up -d", - "test:watch": "npx prisma db push && jest --watch --forceExit --detectOpenHandles --runInBand --silent", + "test:watch": "DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5432/postgres npx prisma db push && jest --watch --forceExit --detectOpenHandles --runInBand --silent", "posttest:watch": "docker compose -f docker-compose.test.yml down", "pretest": "docker compose -f docker-compose.test.yml up -d", "test": "DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5432/postgres npx prisma db push && DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5432/postgres jest --forceExit --detectOpenHandles --runInBand --silent",