From 2cb00812adeb102c811563ed8649bfad03b7e2e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Bostro=CC=88m?= Date: Mon, 30 Sep 2024 23:05:15 +0300 Subject: [PATCH] fix(build): extend tsconfig/recommended --- package-lock.json | 16 ++++++++-------- package.json | 2 +- tsconfig.json | 8 +++----- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6bac617..ce588e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", "@jest/globals": "^29.7.0", - "@tsconfig/node-lts": "^20.1.3", + "@tsconfig/recommended": "^1.0.7", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^8.6.0", "@typescript-eslint/parser": "^8.6.0", @@ -2730,13 +2730,6 @@ "@sinonjs/commons": "^3.0.0" } }, - "node_modules/@tsconfig/node-lts": { - "version": "20.1.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node-lts/-/node-lts-20.1.3.tgz", - "integrity": "sha512-m3b7EP2U+h5tNSpaBMfcTuHmHn04wrgRPQQrfKt75YIPq6kPs2153/KfPHdqkEWGx5pEBvS6rnvToT+yTtC1iw==", - "dev": true, - "license": "MIT" - }, "node_modules/@tsconfig/node10": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", @@ -2765,6 +2758,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@tsconfig/recommended": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@tsconfig/recommended/-/recommended-1.0.7.tgz", + "integrity": "sha512-xiNMgCuoy4mCL4JTywk9XFs5xpRUcKxtWEcMR6FNMtsgewYTIgIR+nvlP4A4iRCAzRsHMnPhvTRrzp4AGcRTEA==", + "dev": true, + "license": "MIT" + }, "node_modules/@types/babel__core": { "version": "7.20.5", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", diff --git a/package.json b/package.json index 1402fff..ac969fb 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", "@jest/globals": "^29.7.0", - "@tsconfig/node-lts": "^20.1.3", + "@tsconfig/recommended": "^1.0.7", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^8.6.0", "@typescript-eslint/parser": "^8.6.0", diff --git a/tsconfig.json b/tsconfig.json index 2a16e9c..21af8af 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,14 +1,12 @@ { - "extends": "@tsconfig/node-lts/tsconfig.json", + "extends": "@tsconfig/recommended/tsconfig.json", "compilerOptions": { - "allowJs": true, + "strict": true, "declaration": true, - "noImplicitAny": true, "outDir": "dist", "preserveConstEnums": true, "removeComments": true, - "sourceMap": true, - "strict": true + "sourceMap": true }, "include": ["src/**/*", "types/**/*"] }