Set node version in package.json

This commit is contained in:
Nick Alteen
2025-01-09 17:34:01 -05:00
parent c8ae611ebc
commit 8efb6d281d
4 changed files with 5 additions and 9 deletions

View File

@ -1,8 +1,7 @@
// See: https://jestjs.io/docs/configuration
import type { JestConfigWithTsJest } from 'ts-jest'
const jestConfig: JestConfigWithTsJest = {
/** @type {import('ts-jest').JestConfigWithTsJest} **/
export default {
clearMocks: true,
collectCoverage: true,
collectCoverageFrom: ['./src/**'],
@ -39,5 +38,3 @@ const jestConfig: JestConfigWithTsJest = {
},
verbose: true
}
export default jestConfig

3
package-lock.json generated
View File

@ -39,7 +39,7 @@
"typescript": "^5.7.2"
},
"engines": {
"node": ">=21"
"node": ">=20"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "*"
@ -8261,7 +8261,6 @@
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz",
"integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@cspotcode/source-map-support": "^0.8.0",
"@tsconfig/node10": "^1.0.7",

View File

@ -20,7 +20,7 @@
".": "./dist/index.js"
},
"engines": {
"node": ">=21"
"node": ">=20"
},
"scripts": {
"bundle": "npm run format:write && npm run package",

View File

@ -11,7 +11,7 @@
"__tests__",
"src",
"eslint.config.mjs",
"jest.config.ts",
"jest.config.js",
"rollup.config.ts"
]
}