From: Jérôme Benoit Date: Wed, 27 Dec 2023 10:06:16 +0000 (+0100) Subject: build: switch TS module resolution to node 16 X-Git-Tag: v3.1.12-0~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c2b8c17f68877338e9f9e58db66949760f353ecb;p=poolifier.git build: switch TS module resolution to node 16 Signed-off-by: Jérôme Benoit --- diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 5530f473..361afe3d 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -4,6 +4,6 @@ module.exports = { 'ts-standard --fix', 'eslint --cache --fix' ], - '**/!(package.json)*.json': ['biome format --write'], + '**/!(package.json|tsconfig.json)*.json': ['biome format --write'], '**/*.{md,yml,yaml}': ['prettier --cache --write'] } diff --git a/tsconfig.json b/tsconfig.json index 79ab1b82..96f8109e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,8 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { "target": "ES2022", - "module": "ES2022", - "moduleResolution": "Node", + "module": "Node16", "declaration": true, "declarationDir": "./lib/dts", "strict": true,