From d93ffd227f46718fafd1062f9107bde2c98d4f37 Mon Sep 17 00:00:00 2001 From: Kenneth Chau <34725+kenotron@users.noreply.github.com> Date: Tue, 1 Nov 2022 13:38:56 -0700 Subject: [PATCH] cleaning up the tsconfig files (#470) * cleaning up the tsconfig files * Change files --- ...-33bd6ac9-d264-4490-8aa5-ba1c816a9a02.json | 7 +++++++ ...-916a8267-40cf-4d6a-a6e6-afc7f05cf122.json | 7 +++++++ ...-9a32b405-7917-4342-b96b-aa6727b9c17d.json | 7 +++++++ ...-77cd28a4-fe56-4ef0-afe9-de1701322570.json | 7 +++++++ ...-d065b3ba-0979-4566-aa5c-87c2af8b37c2.json | 7 +++++++ ...-9ffd4028-8596-4b11-a8ff-31d9af3549cc.json | 7 +++++++ ...-ffc5c0cc-80f0-4fa8-9226-c78d954cc9e4.json | 7 +++++++ ...-8516a32d-e8cd-4e79-9a13-5a347a6eeac3.json | 7 +++++++ ...-5171d995-ec70-4770-b4da-f150dc525238.json | 7 +++++++ ...-afe9f0a9-16e6-4f7c-9615-c87adb3292aa.json | 7 +++++++ ...-93c013f2-7f13-455f-b56c-502a8d5a2941.json | 7 +++++++ packages/cache-github-actions/tsconfig.json | 17 ++--------------- packages/cache/tsconfig.json | 17 ++--------------- packages/cli/tsconfig.json | 19 +++---------------- packages/e2e-tests/tsconfig.json | 17 ++--------------- packages/find-npm-client/tsconfig.json | 17 ++--------------- packages/format-hrtime/tsconfig.json | 17 ++--------------- packages/logger/tsconfig.json | 17 ++--------------- packages/monorepo-fixture/tsconfig.json | 19 +++---------------- packages/reporters/tsconfig.json | 17 ++--------------- packages/scheduler-types/tsconfig.json | 17 ++--------------- packages/scheduler/tsconfig.json | 17 ++--------------- packages/target-graph/tsconfig.json | 17 ++--------------- packages/tsconfig.lage2.json | 19 +++++++++++++++++++ packages/worker-threads-pool/tsconfig.json | 17 ++--------------- 25 files changed, 124 insertions(+), 197 deletions(-) create mode 100644 change/@lage-run-cache-33bd6ac9-d264-4490-8aa5-ba1c816a9a02.json create mode 100644 change/@lage-run-cache-github-actions-916a8267-40cf-4d6a-a6e6-afc7f05cf122.json create mode 100644 change/@lage-run-cli-9a32b405-7917-4342-b96b-aa6727b9c17d.json create mode 100644 change/@lage-run-find-npm-client-77cd28a4-fe56-4ef0-afe9-de1701322570.json create mode 100644 change/@lage-run-format-hrtime-d065b3ba-0979-4566-aa5c-87c2af8b37c2.json create mode 100644 change/@lage-run-logger-9ffd4028-8596-4b11-a8ff-31d9af3549cc.json create mode 100644 change/@lage-run-reporters-ffc5c0cc-80f0-4fa8-9226-c78d954cc9e4.json create mode 100644 change/@lage-run-scheduler-8516a32d-e8cd-4e79-9a13-5a347a6eeac3.json create mode 100644 change/@lage-run-scheduler-types-5171d995-ec70-4770-b4da-f150dc525238.json create mode 100644 change/@lage-run-target-graph-afe9f0a9-16e6-4f7c-9615-c87adb3292aa.json create mode 100644 change/@lage-run-worker-threads-pool-93c013f2-7f13-455f-b56c-502a8d5a2941.json create mode 100644 packages/tsconfig.lage2.json diff --git a/change/@lage-run-cache-33bd6ac9-d264-4490-8aa5-ba1c816a9a02.json b/change/@lage-run-cache-33bd6ac9-d264-4490-8aa5-ba1c816a9a02.json new file mode 100644 index 00000000..36a5ad14 --- /dev/null +++ b/change/@lage-run-cache-33bd6ac9-d264-4490-8aa5-ba1c816a9a02.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "cleaning up the tsconfig files", + "packageName": "@lage-run/cache", + "email": "kchau@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@lage-run-cache-github-actions-916a8267-40cf-4d6a-a6e6-afc7f05cf122.json b/change/@lage-run-cache-github-actions-916a8267-40cf-4d6a-a6e6-afc7f05cf122.json new file mode 100644 index 00000000..ec28397b --- /dev/null +++ b/change/@lage-run-cache-github-actions-916a8267-40cf-4d6a-a6e6-afc7f05cf122.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "cleaning up the tsconfig files", + "packageName": "@lage-run/cache-github-actions", + "email": "kchau@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@lage-run-cli-9a32b405-7917-4342-b96b-aa6727b9c17d.json b/change/@lage-run-cli-9a32b405-7917-4342-b96b-aa6727b9c17d.json new file mode 100644 index 00000000..dd048f40 --- /dev/null +++ b/change/@lage-run-cli-9a32b405-7917-4342-b96b-aa6727b9c17d.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "cleaning up the tsconfig files", + "packageName": "@lage-run/cli", + "email": "kchau@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@lage-run-find-npm-client-77cd28a4-fe56-4ef0-afe9-de1701322570.json b/change/@lage-run-find-npm-client-77cd28a4-fe56-4ef0-afe9-de1701322570.json new file mode 100644 index 00000000..c3d66a50 --- /dev/null +++ b/change/@lage-run-find-npm-client-77cd28a4-fe56-4ef0-afe9-de1701322570.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "cleaning up the tsconfig files", + "packageName": "@lage-run/find-npm-client", + "email": "kchau@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@lage-run-format-hrtime-d065b3ba-0979-4566-aa5c-87c2af8b37c2.json b/change/@lage-run-format-hrtime-d065b3ba-0979-4566-aa5c-87c2af8b37c2.json new file mode 100644 index 00000000..9f7fc596 --- /dev/null +++ b/change/@lage-run-format-hrtime-d065b3ba-0979-4566-aa5c-87c2af8b37c2.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "cleaning up the tsconfig files", + "packageName": "@lage-run/format-hrtime", + "email": "kchau@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@lage-run-logger-9ffd4028-8596-4b11-a8ff-31d9af3549cc.json b/change/@lage-run-logger-9ffd4028-8596-4b11-a8ff-31d9af3549cc.json new file mode 100644 index 00000000..57e00460 --- /dev/null +++ b/change/@lage-run-logger-9ffd4028-8596-4b11-a8ff-31d9af3549cc.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "cleaning up the tsconfig files", + "packageName": "@lage-run/logger", + "email": "kchau@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@lage-run-reporters-ffc5c0cc-80f0-4fa8-9226-c78d954cc9e4.json b/change/@lage-run-reporters-ffc5c0cc-80f0-4fa8-9226-c78d954cc9e4.json new file mode 100644 index 00000000..8329b6e0 --- /dev/null +++ b/change/@lage-run-reporters-ffc5c0cc-80f0-4fa8-9226-c78d954cc9e4.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "cleaning up the tsconfig files", + "packageName": "@lage-run/reporters", + "email": "kchau@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@lage-run-scheduler-8516a32d-e8cd-4e79-9a13-5a347a6eeac3.json b/change/@lage-run-scheduler-8516a32d-e8cd-4e79-9a13-5a347a6eeac3.json new file mode 100644 index 00000000..bf1535e2 --- /dev/null +++ b/change/@lage-run-scheduler-8516a32d-e8cd-4e79-9a13-5a347a6eeac3.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "cleaning up the tsconfig files", + "packageName": "@lage-run/scheduler", + "email": "kchau@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@lage-run-scheduler-types-5171d995-ec70-4770-b4da-f150dc525238.json b/change/@lage-run-scheduler-types-5171d995-ec70-4770-b4da-f150dc525238.json new file mode 100644 index 00000000..2db89fc3 --- /dev/null +++ b/change/@lage-run-scheduler-types-5171d995-ec70-4770-b4da-f150dc525238.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "cleaning up the tsconfig files", + "packageName": "@lage-run/scheduler-types", + "email": "kchau@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@lage-run-target-graph-afe9f0a9-16e6-4f7c-9615-c87adb3292aa.json b/change/@lage-run-target-graph-afe9f0a9-16e6-4f7c-9615-c87adb3292aa.json new file mode 100644 index 00000000..502aa233 --- /dev/null +++ b/change/@lage-run-target-graph-afe9f0a9-16e6-4f7c-9615-c87adb3292aa.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "cleaning up the tsconfig files", + "packageName": "@lage-run/target-graph", + "email": "kchau@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@lage-run-worker-threads-pool-93c013f2-7f13-455f-b56c-502a8d5a2941.json b/change/@lage-run-worker-threads-pool-93c013f2-7f13-455f-b56c-502a8d5a2941.json new file mode 100644 index 00000000..aeb290c1 --- /dev/null +++ b/change/@lage-run-worker-threads-pool-93c013f2-7f13-455f-b56c-502a8d5a2941.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "cleaning up the tsconfig files", + "packageName": "@lage-run/worker-threads-pool", + "email": "kchau@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/cache-github-actions/tsconfig.json b/packages/cache-github-actions/tsconfig.json index f184c11e..5a854f43 100644 --- a/packages/cache-github-actions/tsconfig.json +++ b/packages/cache-github-actions/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, "include": ["src"] } diff --git a/packages/cache/tsconfig.json b/packages/cache/tsconfig.json index f184c11e..5a854f43 100644 --- a/packages/cache/tsconfig.json +++ b/packages/cache/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, "include": ["src"] } diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 9bf9fcb8..6beaf1bc 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, - "include": ["src/cli.ts", "src/index.ts", "src/commands/**/*.ts"] + "include": ["src/**/*.ts", "src/index.ts"] } diff --git a/packages/e2e-tests/tsconfig.json b/packages/e2e-tests/tsconfig.json index f184c11e..5a854f43 100644 --- a/packages/e2e-tests/tsconfig.json +++ b/packages/e2e-tests/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, "include": ["src"] } diff --git a/packages/find-npm-client/tsconfig.json b/packages/find-npm-client/tsconfig.json index 1bbb436f..0b86836f 100644 --- a/packages/find-npm-client/tsconfig.json +++ b/packages/find-npm-client/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, "include": ["src/cli.ts", "src/index.ts"] } diff --git a/packages/format-hrtime/tsconfig.json b/packages/format-hrtime/tsconfig.json index f184c11e..5a854f43 100644 --- a/packages/format-hrtime/tsconfig.json +++ b/packages/format-hrtime/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, "include": ["src"] } diff --git a/packages/logger/tsconfig.json b/packages/logger/tsconfig.json index f184c11e..5a854f43 100644 --- a/packages/logger/tsconfig.json +++ b/packages/logger/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, "include": ["src"] } diff --git a/packages/monorepo-fixture/tsconfig.json b/packages/monorepo-fixture/tsconfig.json index 06c67c6d..5a854f43 100644 --- a/packages/monorepo-fixture/tsconfig.json +++ b/packages/monorepo-fixture/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, - "include": ["src", "tests"] + "include": ["src"] } diff --git a/packages/reporters/tsconfig.json b/packages/reporters/tsconfig.json index f184c11e..5a854f43 100644 --- a/packages/reporters/tsconfig.json +++ b/packages/reporters/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, "include": ["src"] } diff --git a/packages/scheduler-types/tsconfig.json b/packages/scheduler-types/tsconfig.json index f184c11e..5a854f43 100644 --- a/packages/scheduler-types/tsconfig.json +++ b/packages/scheduler-types/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, "include": ["src"] } diff --git a/packages/scheduler/tsconfig.json b/packages/scheduler/tsconfig.json index f184c11e..5a854f43 100644 --- a/packages/scheduler/tsconfig.json +++ b/packages/scheduler/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, "include": ["src"] } diff --git a/packages/target-graph/tsconfig.json b/packages/target-graph/tsconfig.json index f184c11e..5a854f43 100644 --- a/packages/target-graph/tsconfig.json +++ b/packages/target-graph/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, "include": ["src"] } diff --git a/packages/tsconfig.lage2.json b/packages/tsconfig.lage2.json new file mode 100644 index 00000000..ad6547c7 --- /dev/null +++ b/packages/tsconfig.lage2.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "ES2017", + "module": "CommonJS", + "moduleResolution": "Node", + "declaration": true, + "lib": ["ES2017"], + "allowJs": true, + "strict": true, + "noImplicitAny": false, + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, + "noUnusedLocals": false, + "sourceMap": true, + "typeRoots": ["../node_modules/@types", "../types", "node_modules/@types"] + } +} diff --git a/packages/worker-threads-pool/tsconfig.json b/packages/worker-threads-pool/tsconfig.json index f184c11e..5a854f43 100644 --- a/packages/worker-threads-pool/tsconfig.json +++ b/packages/worker-threads-pool/tsconfig.json @@ -1,20 +1,7 @@ { + "extends": "../tsconfig.lage2.json", "compilerOptions": { - "target": "ES2017", - "module": "CommonJS", - "moduleResolution": "Node", - "declaration": true, - "lib": ["ES2017"], - "allowJs": true, - "outDir": "./lib", - "strict": true, - "noImplicitAny": false, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, - "noUnusedLocals": false, - "sourceMap": true + "outDir": "./lib" }, "include": ["src"] }