Skip to content

Commit

Permalink
chore: sync app tsconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
mykeels committed Oct 1, 2023
1 parent 785e53e commit 87a7781
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 22 deletions.
10 changes: 7 additions & 3 deletions chassis/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 7 additions & 3 deletions mf-communities/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 7 additions & 3 deletions mf-explore/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 7 additions & 3 deletions mf-messages/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 7 additions & 3 deletions mf-notifications/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 7 additions & 3 deletions mf-timeline/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 7 additions & 3 deletions mf-verified/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"
}
4 changes: 3 additions & 1 deletion scripts/generate-package-typings.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
echo -E "
declare const schema: $(cat ./package.json);
export default schema;
" > ./package.json.d.ts
" > ./package.json.d.ts

cp ../tsconfig.app.json ./tsconfig.json
12 changes: 12 additions & 0 deletions tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 87a7781

Please sign in to comment.