From 8f97fd61fada0dee6fe32b07516568f8c3d39060 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Mon, 18 Nov 2024 20:41:59 +0800 Subject: [PATCH] cleanup tsconfig (#5520) - move skipLibCheck to tsconfig.shared - remove noImplicitAny was added in https://github.com/transloadit/uppy/pull/4844 but without an explanation --- packages/@uppy/audio/tsconfig.build.json | 4 +--- packages/@uppy/aws-s3/tsconfig.build.json | 4 +--- packages/@uppy/box/tsconfig.build.json | 4 +--- packages/@uppy/companion-client/tsconfig.build.json | 4 +--- packages/@uppy/compressor/tsconfig.build.json | 4 +--- packages/@uppy/core/tsconfig.build.json | 4 +--- packages/@uppy/dashboard/tsconfig.build.json | 4 +--- packages/@uppy/drag-drop/tsconfig.build.json | 4 +--- packages/@uppy/drop-target/tsconfig.build.json | 4 +--- packages/@uppy/dropbox/tsconfig.build.json | 4 +--- packages/@uppy/facebook/tsconfig.build.json | 4 +--- packages/@uppy/file-input/tsconfig.build.json | 4 +--- packages/@uppy/form/tsconfig.build.json | 4 +--- packages/@uppy/golden-retriever/tsconfig.build.json | 4 +--- packages/@uppy/google-drive/tsconfig.build.json | 4 +--- packages/@uppy/google-photos/tsconfig.build.json | 4 +--- packages/@uppy/image-editor/tsconfig.build.json | 4 +--- packages/@uppy/informer/tsconfig.build.json | 4 +--- packages/@uppy/instagram/tsconfig.build.json | 4 +--- packages/@uppy/locales/tsconfig.build.json | 3 +-- packages/@uppy/onedrive/tsconfig.build.json | 4 +--- packages/@uppy/progress-bar/tsconfig.build.json | 4 +--- packages/@uppy/provider-views/tsconfig.build.json | 4 +--- packages/@uppy/react/tsconfig.build.json | 4 +--- packages/@uppy/remote-sources/tsconfig.build.json | 4 +--- packages/@uppy/screen-capture/tsconfig.build.json | 4 +--- packages/@uppy/status-bar/tsconfig.build.json | 2 -- packages/@uppy/store-default/tsconfig.build.json | 4 +--- packages/@uppy/thumbnail-generator/tsconfig.build.json | 4 +--- packages/@uppy/transloadit/tsconfig.build.json | 4 +--- packages/@uppy/tus/tsconfig.build.json | 4 +--- packages/@uppy/unsplash/tsconfig.build.json | 4 +--- packages/@uppy/url/tsconfig.build.json | 4 +--- packages/@uppy/utils/tsconfig.build.json | 3 +-- packages/@uppy/vue/tsconfig.build.json | 4 +--- packages/@uppy/webcam/tsconfig.build.json | 4 +--- packages/@uppy/xhr-upload/tsconfig.build.json | 4 +--- packages/@uppy/zoom/tsconfig.build.json | 4 +--- packages/uppy/tsconfig.build.json | 4 +--- private/js2ts/index.mjs | 2 -- tsconfig.shared.json | 3 ++- 41 files changed, 40 insertions(+), 117 deletions(-) diff --git a/packages/@uppy/audio/tsconfig.build.json b/packages/@uppy/audio/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/audio/tsconfig.build.json +++ b/packages/@uppy/audio/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/aws-s3/tsconfig.build.json b/packages/@uppy/aws-s3/tsconfig.build.json index 40df14c108..b61a0f40cb 100644 --- a/packages/@uppy/aws-s3/tsconfig.build.json +++ b/packages/@uppy/aws-s3/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -11,8 +10,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/box/tsconfig.build.json b/packages/@uppy/box/tsconfig.build.json index 99aaf378de..0b2f94bc10 100644 --- a/packages/@uppy/box/tsconfig.build.json +++ b/packages/@uppy/box/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -13,8 +12,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/companion-client/tsconfig.build.json b/packages/@uppy/companion-client/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/companion-client/tsconfig.build.json +++ b/packages/@uppy/companion-client/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/compressor/tsconfig.build.json b/packages/@uppy/compressor/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/compressor/tsconfig.build.json +++ b/packages/@uppy/compressor/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/core/tsconfig.build.json b/packages/@uppy/core/tsconfig.build.json index db8238509c..349b88d0f1 100644 --- a/packages/@uppy/core/tsconfig.build.json +++ b/packages/@uppy/core/tsconfig.build.json @@ -4,13 +4,11 @@ "outDir": "./lib", "rootDir": "./src", "resolveJsonModule": false, - "noImplicitAny": false, "paths": { "@uppy/store-default": ["../store-default/src/index.js"], "@uppy/store-default/lib/*": ["../store-default/src/*"], "@uppy/utils/lib/*": ["../utils/src/*"] - }, - "skipLibCheck": true + } }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/dashboard/tsconfig.build.json b/packages/@uppy/dashboard/tsconfig.build.json index e1c431130b..5fde2c8b54 100644 --- a/packages/@uppy/dashboard/tsconfig.build.json +++ b/packages/@uppy/dashboard/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/informer": ["../informer/src/index.js"], @@ -23,8 +22,7 @@ "@uppy/webcam/lib/*": ["../webcam/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/drag-drop/tsconfig.build.json b/packages/@uppy/drag-drop/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/drag-drop/tsconfig.build.json +++ b/packages/@uppy/drag-drop/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/drop-target/tsconfig.build.json b/packages/@uppy/drop-target/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/drop-target/tsconfig.build.json +++ b/packages/@uppy/drop-target/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/dropbox/tsconfig.build.json b/packages/@uppy/dropbox/tsconfig.build.json index 99aaf378de..0b2f94bc10 100644 --- a/packages/@uppy/dropbox/tsconfig.build.json +++ b/packages/@uppy/dropbox/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -13,8 +12,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/facebook/tsconfig.build.json b/packages/@uppy/facebook/tsconfig.build.json index 99aaf378de..0b2f94bc10 100644 --- a/packages/@uppy/facebook/tsconfig.build.json +++ b/packages/@uppy/facebook/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -13,8 +12,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/file-input/tsconfig.build.json b/packages/@uppy/file-input/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/file-input/tsconfig.build.json +++ b/packages/@uppy/file-input/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/form/tsconfig.build.json b/packages/@uppy/form/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/form/tsconfig.build.json +++ b/packages/@uppy/form/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/golden-retriever/tsconfig.build.json b/packages/@uppy/golden-retriever/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/golden-retriever/tsconfig.build.json +++ b/packages/@uppy/golden-retriever/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/google-drive/tsconfig.build.json b/packages/@uppy/google-drive/tsconfig.build.json index 99aaf378de..0b2f94bc10 100644 --- a/packages/@uppy/google-drive/tsconfig.build.json +++ b/packages/@uppy/google-drive/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -13,8 +12,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/google-photos/tsconfig.build.json b/packages/@uppy/google-photos/tsconfig.build.json index 99aaf378de..0b2f94bc10 100644 --- a/packages/@uppy/google-photos/tsconfig.build.json +++ b/packages/@uppy/google-photos/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -13,8 +12,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/image-editor/tsconfig.build.json b/packages/@uppy/image-editor/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/image-editor/tsconfig.build.json +++ b/packages/@uppy/image-editor/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/informer/tsconfig.build.json b/packages/@uppy/informer/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/informer/tsconfig.build.json +++ b/packages/@uppy/informer/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/instagram/tsconfig.build.json b/packages/@uppy/instagram/tsconfig.build.json index 99aaf378de..0b2f94bc10 100644 --- a/packages/@uppy/instagram/tsconfig.build.json +++ b/packages/@uppy/instagram/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -13,8 +12,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/locales/tsconfig.build.json b/packages/@uppy/locales/tsconfig.build.json index b76d049caf..5d9441fd2f 100644 --- a/packages/@uppy/locales/tsconfig.build.json +++ b/packages/@uppy/locales/tsconfig.build.json @@ -5,8 +5,7 @@ "rootDir": "./src", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"] - }, - "skipLibCheck": true + } }, "include": ["./src/**/*.*"], "references": [ diff --git a/packages/@uppy/onedrive/tsconfig.build.json b/packages/@uppy/onedrive/tsconfig.build.json index 99aaf378de..0b2f94bc10 100644 --- a/packages/@uppy/onedrive/tsconfig.build.json +++ b/packages/@uppy/onedrive/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -13,8 +12,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/progress-bar/tsconfig.build.json b/packages/@uppy/progress-bar/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/progress-bar/tsconfig.build.json +++ b/packages/@uppy/progress-bar/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/provider-views/tsconfig.build.json b/packages/@uppy/provider-views/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/provider-views/tsconfig.build.json +++ b/packages/@uppy/provider-views/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/react/tsconfig.build.json b/packages/@uppy/react/tsconfig.build.json index 584a85bc3e..8a2ff2f64e 100644 --- a/packages/@uppy/react/tsconfig.build.json +++ b/packages/@uppy/react/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "jsxImportSource": "react", "jsx": "react-jsx", @@ -21,8 +20,7 @@ "@uppy/status-bar/lib/*": ["../status-bar/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.tsx"], diff --git a/packages/@uppy/remote-sources/tsconfig.build.json b/packages/@uppy/remote-sources/tsconfig.build.json index 5399803aac..fc59cd4bf2 100644 --- a/packages/@uppy/remote-sources/tsconfig.build.json +++ b/packages/@uppy/remote-sources/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/box": ["../box/src/index.js"], @@ -30,8 +29,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/screen-capture/tsconfig.build.json b/packages/@uppy/screen-capture/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/screen-capture/tsconfig.build.json +++ b/packages/@uppy/screen-capture/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/status-bar/tsconfig.build.json b/packages/@uppy/status-bar/tsconfig.build.json index 2ecfe83757..9ba78a0df7 100644 --- a/packages/@uppy/status-bar/tsconfig.build.json +++ b/packages/@uppy/status-bar/tsconfig.build.json @@ -4,8 +4,6 @@ "outDir": "./lib", "rootDir": "./src", "resolveJsonModule": false, - "noImplicitAny": false, - "skipLibCheck": true, "paths": { "@uppy/core": ["../core/src/index.js"], "@uppy/core/lib/*": ["../core/src/*"], diff --git a/packages/@uppy/store-default/tsconfig.build.json b/packages/@uppy/store-default/tsconfig.build.json index cfb3e6f0d9..850a4797d1 100644 --- a/packages/@uppy/store-default/tsconfig.build.json +++ b/packages/@uppy/store-default/tsconfig.build.json @@ -3,9 +3,7 @@ "compilerOptions": { "outDir": "./lib", "rootDir": "./src", - "resolveJsonModule": false, - "noImplicitAny": false, - "skipLibCheck": true + "resolveJsonModule": false }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/thumbnail-generator/tsconfig.build.json b/packages/@uppy/thumbnail-generator/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/thumbnail-generator/tsconfig.build.json +++ b/packages/@uppy/thumbnail-generator/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/transloadit/tsconfig.build.json b/packages/@uppy/transloadit/tsconfig.build.json index 25527c98c1..22ec6d6556 100644 --- a/packages/@uppy/transloadit/tsconfig.build.json +++ b/packages/@uppy/transloadit/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -15,8 +14,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/tus/tsconfig.build.json b/packages/@uppy/tus/tsconfig.build.json index 40df14c108..b61a0f40cb 100644 --- a/packages/@uppy/tus/tsconfig.build.json +++ b/packages/@uppy/tus/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -11,8 +10,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/unsplash/tsconfig.build.json b/packages/@uppy/unsplash/tsconfig.build.json index 99aaf378de..0b2f94bc10 100644 --- a/packages/@uppy/unsplash/tsconfig.build.json +++ b/packages/@uppy/unsplash/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -13,8 +12,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/url/tsconfig.build.json b/packages/@uppy/url/tsconfig.build.json index 40df14c108..b61a0f40cb 100644 --- a/packages/@uppy/url/tsconfig.build.json +++ b/packages/@uppy/url/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -11,8 +10,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/utils/tsconfig.build.json b/packages/@uppy/utils/tsconfig.build.json index 7618560455..15f228d2b6 100644 --- a/packages/@uppy/utils/tsconfig.build.json +++ b/packages/@uppy/utils/tsconfig.build.json @@ -3,8 +3,7 @@ "compilerOptions": { "outDir": "./lib", "rootDir": "./src", - "allowJs": true, - "skipLibCheck": true + "allowJs": true }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/vue/tsconfig.build.json b/packages/@uppy/vue/tsconfig.build.json index 3e710732aa..ed1857a09e 100644 --- a/packages/@uppy/vue/tsconfig.build.json +++ b/packages/@uppy/vue/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/core": ["../core/src/index.js"], @@ -18,8 +17,7 @@ "@uppy/status-bar/lib/*": ["../status-bar/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/webcam/tsconfig.build.json b/packages/@uppy/webcam/tsconfig.build.json index 1b0ca41093..8d9ed22fa5 100644 --- a/packages/@uppy/webcam/tsconfig.build.json +++ b/packages/@uppy/webcam/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/utils/lib/*": ["../utils/src/*"], @@ -9,8 +8,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/xhr-upload/tsconfig.build.json b/packages/@uppy/xhr-upload/tsconfig.build.json index 40df14c108..b61a0f40cb 100644 --- a/packages/@uppy/xhr-upload/tsconfig.build.json +++ b/packages/@uppy/xhr-upload/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -11,8 +10,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/@uppy/zoom/tsconfig.build.json b/packages/@uppy/zoom/tsconfig.build.json index 99aaf378de..0b2f94bc10 100644 --- a/packages/@uppy/zoom/tsconfig.build.json +++ b/packages/@uppy/zoom/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/companion-client": ["../companion-client/src/index.js"], @@ -13,8 +12,7 @@ "@uppy/core/lib/*": ["../core/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/packages/uppy/tsconfig.build.json b/packages/uppy/tsconfig.build.json index f1959778aa..e45d08c6a5 100644 --- a/packages/uppy/tsconfig.build.json +++ b/packages/uppy/tsconfig.build.json @@ -1,7 +1,6 @@ { "extends": "../../tsconfig.shared", "compilerOptions": { - "noImplicitAny": false, "outDir": "./lib", "paths": { "@uppy/audio": ["../audio/src/index.js"], @@ -74,8 +73,7 @@ "@uppy/zoom/lib/*": ["../zoom/src/*"] }, "resolveJsonModule": false, - "rootDir": "./src", - "skipLibCheck": true + "rootDir": "./src" }, "include": ["./src/**/*.*"], "exclude": ["./src/**/*.test.ts"], diff --git a/private/js2ts/index.mjs b/private/js2ts/index.mjs index 8919c5d356..27cddfea18 100755 --- a/private/js2ts/index.mjs +++ b/private/js2ts/index.mjs @@ -140,12 +140,10 @@ await writeFile( { extends: '../../../tsconfig.shared', compilerOptions: { - noImplicitAny: false, outDir: './lib', paths, resolveJsonModule: false, rootDir: './src', - skipLibCheck: true, }, include: ['./src/**/*.*'], exclude: ['./src/**/*.test.ts'], diff --git a/tsconfig.shared.json b/tsconfig.shared.json index c5727f92b0..de7d0d62f2 100644 --- a/tsconfig.shared.json +++ b/tsconfig.shared.json @@ -18,6 +18,7 @@ "noImplicitThis": true, "strict": true, "verbatimModuleSyntax": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true } }