diff --git a/js-packages/scripts/tsconfig.json b/js-packages/scripts/tsconfig.json index 3b34ea4858..c06fc27c7d 100644 --- a/js-packages/scripts/tsconfig.json +++ b/js-packages/scripts/tsconfig.json @@ -1,26 +1,18 @@ { - "include": [ - "./src/**/*" - ], - "exclude": [ - "**/*.test.*", - "node_modules" - ], - "ts-node": { - // Tell ts-node CLI to install the --loader automatically - "esm": true - }, - "compilerOptions": { - "target": "ESNext", - "module": "commonjs", - "sourceMap": true, - "outDir": "dist", - "strict": true, - "lib": [ - "esnext" - ], - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ - "skipLibCheck": true /* Skip type checking all .d.ts files. */ - } -} \ No newline at end of file + "ts-node": { + // Tell ts-node CLI to install the --loader automatically + "esm": true + }, + "compilerOptions": { + "target": "ESNext", + "module": "commonjs", + "sourceMap": true, + "strict": true, + "lib": [ + "esnext" + ], + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ + "skipLibCheck": true /* Skip type checking all .d.ts files. */ + } + } \ No newline at end of file diff --git a/js-packages/tests/tsconfig.json b/js-packages/tests/tsconfig.json index 3b34ea4858..0ff4e307e7 100644 --- a/js-packages/tests/tsconfig.json +++ b/js-packages/tests/tsconfig.json @@ -1,11 +1,4 @@ { - "include": [ - "./src/**/*" - ], - "exclude": [ - "**/*.test.*", - "node_modules" - ], "ts-node": { // Tell ts-node CLI to install the --loader automatically "esm": true @@ -14,7 +7,6 @@ "target": "ESNext", "module": "commonjs", "sourceMap": true, - "outDir": "dist", "strict": true, "lib": [ "esnext" diff --git a/js-packages/tsconfig.json b/js-packages/tsconfig.json index eecbacfb81..cf45f22921 100644 --- a/js-packages/tsconfig.json +++ b/js-packages/tsconfig.json @@ -2,15 +2,25 @@ "exclude": [ "**/node_modules" ], + "ts-node": { + // Tell ts-node CLI to install the --loader automatically + "esm": true + }, "compilerOptions": { "skipLibCheck": true, - "module": "ESNext", + "module": "commonjs", "moduleResolution": "Bundler", "target": "ES2022", "declaration": true, "checkJs": false, "strict": true, "resolveJsonModule": true, + "lib": [ + "esnext" + ], + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ + "skipLibCheck": true /* Skip type checking all .d.ts files. */ }, "include": [ "./**/*.ts"