From 3f9028fb74dfde774e9c970913fbb0a533edbf36 Mon Sep 17 00:00:00 2001 From: Hyun Jin Kim Date: Wed, 2 Aug 2023 17:13:41 +0900 Subject: [PATCH] tsconfig/fix: remove @tsconfig --- tsconfig/backend-mixed.json | 16 ++-------------- tsconfig/backend.json | 18 ++---------------- tsconfig/common.json | 2 +- tsconfig/package-lock.json | 17 +---------------- tsconfig/package.json | 3 --- 5 files changed, 6 insertions(+), 50 deletions(-) diff --git a/tsconfig/backend-mixed.json b/tsconfig/backend-mixed.json index 8821224..dca343b 100644 --- a/tsconfig/backend-mixed.json +++ b/tsconfig/backend-mixed.json @@ -1,22 +1,10 @@ { "$schema": "https://json.schemastore.org/tsconfig", "display": "@day1co/tsconfig/backend-mixed", - "extends": "@tsconfig/node-lts/tsconfig.json", + "extends": "common.json", "compilerOptions": { "noImplicitAny": false, - "allowUnreachableCode": false, - "noImplicitOverride": true, - "noImplicitReturns": true, - "strict": true, - "module": "commonjs", - "moduleResolution": "node", "types": ["jest", "node"], - "declaration": true, - "newLine": "lf", - "sourceMap": true, - "allowJs": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "target": "es2021" + "allowJs": true } } diff --git a/tsconfig/backend.json b/tsconfig/backend.json index 00e8729..2caeb08 100644 --- a/tsconfig/backend.json +++ b/tsconfig/backend.json @@ -1,22 +1,8 @@ { "$schema": "https://json.schemastore.org/tsconfig", "display": "@day1co/tsconfig/backend", - "extends": "@tsconfig/node-lts/tsconfig.json", + "extends": "common.json", "compilerOptions": { - "allowUnreachableCode": false, - "noImplicitOverride": true, - "noImplicitReturns": true, - "strict": true, - "module": "commonjs", - "moduleResolution": "node", - "types": ["node", "jest"], - "declaration": true, - "newLine": "lf", - "sourceMap": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, - "target": "es2021" + "types": ["node", "jest"] } } diff --git a/tsconfig/common.json b/tsconfig/common.json index 3ea4745..6a6f3f8 100644 --- a/tsconfig/common.json +++ b/tsconfig/common.json @@ -1,8 +1,8 @@ { "$schema": "https://json.schemastore.org/tsconfig", "display": "@day1co/tsconfig/common", - "extends": "@tsconfig/node-lts/tsconfig.json", "compilerOptions": { + "lib": [ "es2022" ], "allowUnreachableCode": false, "noImplicitOverride": true, "noImplicitReturns": true, diff --git a/tsconfig/package-lock.json b/tsconfig/package-lock.json index 56339f0..7cbd427 100644 --- a/tsconfig/package-lock.json +++ b/tsconfig/package-lock.json @@ -7,22 +7,7 @@ "": { "name": "@day1co/tsconfig", "version": "1.2.1", - "license": "MIT", - "dependencies": { - "@tsconfig/node-lts": "^18.12.1" - } - }, - "node_modules/@tsconfig/node-lts": { - "version": "18.12.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node-lts/-/node-lts-18.12.1.tgz", - "integrity": "sha512-UkIaMWDwJ+qJX/os8lzYh7m47qQJY7sIp1WZiEStASrpzczp27+jA0fJES+IjnS2OlDDLeBghNrVkKw8iYIRdA==" - } - }, - "dependencies": { - "@tsconfig/node-lts": { - "version": "18.12.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node-lts/-/node-lts-18.12.1.tgz", - "integrity": "sha512-UkIaMWDwJ+qJX/os8lzYh7m47qQJY7sIp1WZiEStASrpzczp27+jA0fJES+IjnS2OlDDLeBghNrVkKw8iYIRdA==" + "license": "MIT" } } } diff --git a/tsconfig/package.json b/tsconfig/package.json index b8792bc..870347b 100644 --- a/tsconfig/package.json +++ b/tsconfig/package.json @@ -9,8 +9,5 @@ }, "publishConfig": { "registry": "https://npm.pkg.github.com" - }, - "dependencies": { - "@tsconfig/node-lts": "^18.12.1" } }