diff --git a/packages/ecc-client-elixir-cloud-registry/src/providers/cr-provider.ts b/packages/ecc-client-elixir-cloud-registry/src/providers/cr-provider.ts index 15cbdae5..f17da35b 100644 --- a/packages/ecc-client-elixir-cloud-registry/src/providers/cr-provider.ts +++ b/packages/ecc-client-elixir-cloud-registry/src/providers/cr-provider.ts @@ -11,7 +11,7 @@ import { Service, ExternalService, Error, -} from "@elixir-cloud/service-registry/dist/providers"; +} from "@elixir-cloud/service-registry/providers"; // Re-export base types for use in other modules export type { ServiceType, Organization, Service, ExternalService, Error }; diff --git a/packages/ecc-client-elixir-cloud-registry/tsconfig.json b/packages/ecc-client-elixir-cloud-registry/tsconfig.json index 8c445248..c032628c 100644 --- a/packages/ecc-client-elixir-cloud-registry/tsconfig.json +++ b/packages/ecc-client-elixir-cloud-registry/tsconfig.json @@ -1,23 +1,10 @@ { - "compilerOptions": { - "target": "es2018", - "module": "esnext", - "moduleResolution": "node", - "noEmitOnError": true, - "lib": ["es2017", "dom"], - "strict": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "importHelpers": true, - "outDir": "dist", - "sourceMap": true, - "inlineSources": true, - "rootDir": "./", - "declaration": true, - "emitDeclarationOnly": true, - "skipLibCheck": true - }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "dist"] -} + "extends": "../../tsconfig.base.json", + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/packages/ecc-client-elixir-drs-filer/tsconfig.json b/packages/ecc-client-elixir-drs-filer/tsconfig.json index 858d2452..c032628c 100644 --- a/packages/ecc-client-elixir-drs-filer/tsconfig.json +++ b/packages/ecc-client-elixir-drs-filer/tsconfig.json @@ -1,23 +1,10 @@ { - "compilerOptions": { - "target": "es2018", - "module": "Node16", - "moduleResolution": "node16", - "noEmitOnError": true, - "lib": ["es2017", "dom"], - "strict": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "importHelpers": true, - "outDir": "dist", - "sourceMap": true, - "inlineSources": true, - "rootDir": "./", - "declaration": true, - "emitDeclarationOnly": true, - "skipLibCheck": true - }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "dist"] -} + "extends": "../../tsconfig.base.json", + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/packages/ecc-client-elixir-ro-crate/tsconfig.json b/packages/ecc-client-elixir-ro-crate/tsconfig.json index 8c445248..c032628c 100644 --- a/packages/ecc-client-elixir-ro-crate/tsconfig.json +++ b/packages/ecc-client-elixir-ro-crate/tsconfig.json @@ -1,23 +1,10 @@ { - "compilerOptions": { - "target": "es2018", - "module": "esnext", - "moduleResolution": "node", - "noEmitOnError": true, - "lib": ["es2017", "dom"], - "strict": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "importHelpers": true, - "outDir": "dist", - "sourceMap": true, - "inlineSources": true, - "rootDir": "./", - "declaration": true, - "emitDeclarationOnly": true, - "skipLibCheck": true - }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "dist"] -} + "extends": "../../tsconfig.base.json", + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/packages/ecc-client-elixir-trs-filer/tsconfig.json b/packages/ecc-client-elixir-trs-filer/tsconfig.json index 858d2452..c032628c 100644 --- a/packages/ecc-client-elixir-trs-filer/tsconfig.json +++ b/packages/ecc-client-elixir-trs-filer/tsconfig.json @@ -1,23 +1,10 @@ { - "compilerOptions": { - "target": "es2018", - "module": "Node16", - "moduleResolution": "node16", - "noEmitOnError": true, - "lib": ["es2017", "dom"], - "strict": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "importHelpers": true, - "outDir": "dist", - "sourceMap": true, - "inlineSources": true, - "rootDir": "./", - "declaration": true, - "emitDeclarationOnly": true, - "skipLibCheck": true - }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "dist"] -} + "extends": "../../tsconfig.base.json", + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/packages/ecc-client-ga4gh-drs/tsconfig.json b/packages/ecc-client-ga4gh-drs/tsconfig.json index 858d2452..c032628c 100644 --- a/packages/ecc-client-ga4gh-drs/tsconfig.json +++ b/packages/ecc-client-ga4gh-drs/tsconfig.json @@ -1,23 +1,10 @@ { - "compilerOptions": { - "target": "es2018", - "module": "Node16", - "moduleResolution": "node16", - "noEmitOnError": true, - "lib": ["es2017", "dom"], - "strict": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "importHelpers": true, - "outDir": "dist", - "sourceMap": true, - "inlineSources": true, - "rootDir": "./", - "declaration": true, - "emitDeclarationOnly": true, - "skipLibCheck": true - }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "dist"] -} + "extends": "../../tsconfig.base.json", + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/packages/ecc-client-ga4gh-service-registry/tsconfig.json b/packages/ecc-client-ga4gh-service-registry/tsconfig.json index 8c445248..c032628c 100644 --- a/packages/ecc-client-ga4gh-service-registry/tsconfig.json +++ b/packages/ecc-client-ga4gh-service-registry/tsconfig.json @@ -1,23 +1,10 @@ { - "compilerOptions": { - "target": "es2018", - "module": "esnext", - "moduleResolution": "node", - "noEmitOnError": true, - "lib": ["es2017", "dom"], - "strict": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "importHelpers": true, - "outDir": "dist", - "sourceMap": true, - "inlineSources": true, - "rootDir": "./", - "declaration": true, - "emitDeclarationOnly": true, - "skipLibCheck": true - }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "dist"] -} + "extends": "../../tsconfig.base.json", + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/packages/ecc-client-ga4gh-tes/tsconfig.json b/packages/ecc-client-ga4gh-tes/tsconfig.json index 8c445248..c032628c 100644 --- a/packages/ecc-client-ga4gh-tes/tsconfig.json +++ b/packages/ecc-client-ga4gh-tes/tsconfig.json @@ -1,23 +1,10 @@ { - "compilerOptions": { - "target": "es2018", - "module": "esnext", - "moduleResolution": "node", - "noEmitOnError": true, - "lib": ["es2017", "dom"], - "strict": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "importHelpers": true, - "outDir": "dist", - "sourceMap": true, - "inlineSources": true, - "rootDir": "./", - "declaration": true, - "emitDeclarationOnly": true, - "skipLibCheck": true - }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "dist"] -} + "extends": "../../tsconfig.base.json", + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/packages/ecc-client-ga4gh-trs/tsconfig.json b/packages/ecc-client-ga4gh-trs/tsconfig.json index 858d2452..c032628c 100644 --- a/packages/ecc-client-ga4gh-trs/tsconfig.json +++ b/packages/ecc-client-ga4gh-trs/tsconfig.json @@ -1,23 +1,10 @@ { - "compilerOptions": { - "target": "es2018", - "module": "Node16", - "moduleResolution": "node16", - "noEmitOnError": true, - "lib": ["es2017", "dom"], - "strict": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "importHelpers": true, - "outDir": "dist", - "sourceMap": true, - "inlineSources": true, - "rootDir": "./", - "declaration": true, - "emitDeclarationOnly": true, - "skipLibCheck": true - }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "dist"] -} + "extends": "../../tsconfig.base.json", + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/packages/ecc-client-ga4gh-wes/tsconfig.json b/packages/ecc-client-ga4gh-wes/tsconfig.json index 858d2452..c032628c 100644 --- a/packages/ecc-client-ga4gh-wes/tsconfig.json +++ b/packages/ecc-client-ga4gh-wes/tsconfig.json @@ -1,23 +1,10 @@ { - "compilerOptions": { - "target": "es2018", - "module": "Node16", - "moduleResolution": "node16", - "noEmitOnError": true, - "lib": ["es2017", "dom"], - "strict": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "importHelpers": true, - "outDir": "dist", - "sourceMap": true, - "inlineSources": true, - "rootDir": "./", - "declaration": true, - "emitDeclarationOnly": true, - "skipLibCheck": true - }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "dist"] -} + "extends": "../../tsconfig.base.json", + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/packages/ecc-utils-design/tsconfig.json b/packages/ecc-utils-design/tsconfig.json index 8c445248..c032628c 100644 --- a/packages/ecc-utils-design/tsconfig.json +++ b/packages/ecc-utils-design/tsconfig.json @@ -1,23 +1,10 @@ { - "compilerOptions": { - "target": "es2018", - "module": "esnext", - "moduleResolution": "node", - "noEmitOnError": true, - "lib": ["es2017", "dom"], - "strict": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "importHelpers": true, - "outDir": "dist", - "sourceMap": true, - "inlineSources": true, - "rootDir": "./", - "declaration": true, - "emitDeclarationOnly": true, - "skipLibCheck": true - }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "dist"] -} + "extends": "../../tsconfig.base.json", + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file diff --git a/scripts/templates/tsconfig.json b/scripts/templates/tsconfig.json index 7783c0ef..8065b057 100644 --- a/scripts/templates/tsconfig.json +++ b/scripts/templates/tsconfig.json @@ -1,21 +1,9 @@ { + "extends": "../../tsconfig.base.json", "compilerOptions": { - "target": "es2018", - "module": "esnext", - "moduleResolution": "node", - "noEmitOnError": true, - "lib": ["es2017", "dom"], - "strict": true, - "esModuleInterop": false, - "allowSyntheticDefaultImports": true, - "experimentalDecorators": true, - "importHelpers": true, - "outDir": "dist", - "sourceMap": false, - "rootDir": "./src", - "declaration": true, - "emitDeclarationOnly": true, - "skipLibCheck": true + "rootDir": "./src" }, - "include": ["src"] -} + "include": [ + "src" + ] +} \ No newline at end of file diff --git a/tsconfig.base.json b/tsconfig.base.json new file mode 100644 index 00000000..0060a3ac --- /dev/null +++ b/tsconfig.base.json @@ -0,0 +1,32 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "compilerOptions": { + "target": "es2018", + "module": "Node16", + "moduleResolution": "node16", + "noEmitOnError": true, + "lib": [ + "es2017", + "dom" + ], + "strict": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "experimentalDecorators": true, + "importHelpers": true, + "outDir": "dist", + "sourceMap": true, + "inlineSources": true, + "rootDir": "./", + "declaration": true, + "emitDeclarationOnly": true, + "skipLibCheck": true + }, + "include": [ + "**/*.ts" + ], + "exclude": [ + "node_modules", + "dist" + ] +} \ No newline at end of file