diff --git a/package.json b/package.json index b2a802b..0ff1b06 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "type": "module", "engines": { - "node": "^18.17.0" + "node": "^22.2.0" }, "workspaces": [ "reuse", @@ -42,7 +42,7 @@ "dayjs": "^1.11.11" }, "volta": { - "node": "18.17.1" + "node": "22.2.0" }, "optionalDependencies": { "@rollup/rollup-darwin-arm64": "^4.17.2" diff --git a/tsconfig.json b/tsconfig.json index b0d775d..c2eeaba 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,9 @@ { "include": ["./**/*.ts"], "compilerOptions": { - "lib": ["ESNext"], - "module": "ESNext", - "moduleResolution": "nodenext", + "lib": ["ESNext", "DOM"], + "module": "NodeNext", + "moduleResolution": "NodeNext", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true,