diff --git a/chassis/tsconfig.json b/chassis/tsconfig.json index f2d40bc..f87d2bb 100644 --- a/chassis/tsconfig.json +++ b/chassis/tsconfig.json @@ -1,8 +1,12 @@ { "compilerOptions": { - "noEmit": true, - "allowImportingTsExtensions": true + "allowImportingTsExtensions": true, + "emitDeclarationOnly": true, + "declaration": true, + "composite": true, + "resolveJsonModule": true, + "outDir": "dist" }, - "include": ["src"], + "include": ["src", "./package.json"], "extends": "../tsconfig.base.json" } diff --git a/mf-communities/tsconfig.json b/mf-communities/tsconfig.json index f2d40bc..f87d2bb 100644 --- a/mf-communities/tsconfig.json +++ b/mf-communities/tsconfig.json @@ -1,8 +1,12 @@ { "compilerOptions": { - "noEmit": true, - "allowImportingTsExtensions": true + "allowImportingTsExtensions": true, + "emitDeclarationOnly": true, + "declaration": true, + "composite": true, + "resolveJsonModule": true, + "outDir": "dist" }, - "include": ["src"], + "include": ["src", "./package.json"], "extends": "../tsconfig.base.json" } diff --git a/mf-explore/tsconfig.json b/mf-explore/tsconfig.json index f2d40bc..f87d2bb 100644 --- a/mf-explore/tsconfig.json +++ b/mf-explore/tsconfig.json @@ -1,8 +1,12 @@ { "compilerOptions": { - "noEmit": true, - "allowImportingTsExtensions": true + "allowImportingTsExtensions": true, + "emitDeclarationOnly": true, + "declaration": true, + "composite": true, + "resolveJsonModule": true, + "outDir": "dist" }, - "include": ["src"], + "include": ["src", "./package.json"], "extends": "../tsconfig.base.json" } diff --git a/mf-messages/tsconfig.json b/mf-messages/tsconfig.json index f2d40bc..f87d2bb 100644 --- a/mf-messages/tsconfig.json +++ b/mf-messages/tsconfig.json @@ -1,8 +1,12 @@ { "compilerOptions": { - "noEmit": true, - "allowImportingTsExtensions": true + "allowImportingTsExtensions": true, + "emitDeclarationOnly": true, + "declaration": true, + "composite": true, + "resolveJsonModule": true, + "outDir": "dist" }, - "include": ["src"], + "include": ["src", "./package.json"], "extends": "../tsconfig.base.json" } diff --git a/mf-notifications/tsconfig.json b/mf-notifications/tsconfig.json index f2d40bc..f87d2bb 100644 --- a/mf-notifications/tsconfig.json +++ b/mf-notifications/tsconfig.json @@ -1,8 +1,12 @@ { "compilerOptions": { - "noEmit": true, - "allowImportingTsExtensions": true + "allowImportingTsExtensions": true, + "emitDeclarationOnly": true, + "declaration": true, + "composite": true, + "resolveJsonModule": true, + "outDir": "dist" }, - "include": ["src"], + "include": ["src", "./package.json"], "extends": "../tsconfig.base.json" } diff --git a/mf-timeline/tsconfig.json b/mf-timeline/tsconfig.json index f2d40bc..f87d2bb 100644 --- a/mf-timeline/tsconfig.json +++ b/mf-timeline/tsconfig.json @@ -1,8 +1,12 @@ { "compilerOptions": { - "noEmit": true, - "allowImportingTsExtensions": true + "allowImportingTsExtensions": true, + "emitDeclarationOnly": true, + "declaration": true, + "composite": true, + "resolveJsonModule": true, + "outDir": "dist" }, - "include": ["src"], + "include": ["src", "./package.json"], "extends": "../tsconfig.base.json" } diff --git a/mf-verified/tsconfig.json b/mf-verified/tsconfig.json index f2d40bc..f87d2bb 100644 --- a/mf-verified/tsconfig.json +++ b/mf-verified/tsconfig.json @@ -1,8 +1,12 @@ { "compilerOptions": { - "noEmit": true, - "allowImportingTsExtensions": true + "allowImportingTsExtensions": true, + "emitDeclarationOnly": true, + "declaration": true, + "composite": true, + "resolveJsonModule": true, + "outDir": "dist" }, - "include": ["src"], + "include": ["src", "./package.json"], "extends": "../tsconfig.base.json" } diff --git a/scripts/generate-package-typings.sh b/scripts/generate-package-typings.sh index ce60fc6..7e4cc8c 100644 --- a/scripts/generate-package-typings.sh +++ b/scripts/generate-package-typings.sh @@ -1,4 +1,6 @@ echo -E " declare const schema: $(cat ./package.json); export default schema; -" > ./package.json.d.ts \ No newline at end of file +" > ./package.json.d.ts + +cp ../tsconfig.app.json ./tsconfig.json \ No newline at end of file diff --git a/tsconfig.app.json b/tsconfig.app.json new file mode 100644 index 0000000..f87d2bb --- /dev/null +++ b/tsconfig.app.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "allowImportingTsExtensions": true, + "emitDeclarationOnly": true, + "declaration": true, + "composite": true, + "resolveJsonModule": true, + "outDir": "dist" + }, + "include": ["src", "./package.json"], + "extends": "../tsconfig.base.json" +}