Skip to content

Commit

Permalink
Make tsconfig build into a cache directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterp committed Aug 5, 2020
1 parent 972700c commit e0e2344
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.DS_Store
node_modules
dist
packages/api/importAll.macro.js
.buildcache
lerna-debug.log
yarn-error.log
**/*.tsbuildinfo
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
**/dist
packages/api/importAll.macro.js

# Do not format Markdown files to allow easier documentation contribution
*.md
4 changes: 2 additions & 2 deletions packages/api/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.compilerOption.json",
"compilerOptions": {
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist",
"tsBuildInfoFile": ".buildcache/tsconfig.tsbuildinfo",
"outDir": ".buildcache",
},
"include": ["src", "src/../package.json"],
"references": [
Expand Down
4 changes: 2 additions & 2 deletions packages/auth/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.compilerOption.json",
"compilerOptions": {
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"baseUrl": ".",
"outDir": "dist",
"rootDir": "src",
"tsBuildInfoFile": ".buildcache/tsconfig.tsbuildinfo",
"outDir": ".buildcache",
},
"include": ["src"],
}
4 changes: 2 additions & 2 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.compilerOption.json",
"compilerOptions": {
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist"
"tsBuildInfoFile": ".buildcache/tsconfig.tsbuildinfo",
"outDir": ".buildcache",
},
"include": ["src"],
"references": [
Expand Down
4 changes: 2 additions & 2 deletions packages/dev-server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.compilerOption.json",
"compilerOptions": {
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist"
"tsBuildInfoFile": ".buildcache/tsconfig.tsbuildinfo",
"outDir": ".buildcache",
},
"include": ["src", "ambient.d.ts"],
"references": [{ "path": "../internal" }]
Expand Down
6 changes: 3 additions & 3 deletions packages/forms/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"extends": "../../tsconfig.compilerOption.json",
"compilerOptions": {
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist",
"tsBuildInfoFile": ".buildcache/tsconfig.tsbuildinfo",
"outDir": ".buildcache",
},
"files": [
"src/types.d.ts"
"./src/types.d.ts"
]
}
4 changes: 2 additions & 2 deletions packages/internal/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.compilerOption.json",
"compilerOptions": {
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist"
"tsBuildInfoFile": ".buildcache/tsconfig.tsbuildinfo",
"outDir": ".buildcache",
},
"include": ["src", "./ambient.d.ts"],
}
4 changes: 2 additions & 2 deletions packages/structure/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.compilerOption.json",
"compilerOptions": {
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist",
"tsBuildInfoFile": ".buildcache/tsconfig.tsbuildinfo",
"outDir": ".buildcache",
"experimentalDecorators": true,
"noImplicitReturns": false,
"noImplicitAny": false,
Expand Down
4 changes: 2 additions & 2 deletions packages/testing/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.compilerOption.json",
"compilerOptions": {
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist",
"tsBuildInfoFile": ".buildcache/tsconfig.tsbuildinfo",
"outDir": ".buildcache",
},
"include": [
"src"
Expand Down
4 changes: 2 additions & 2 deletions packages/web/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.compilerOption.json",
"compilerOptions": {
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"baseUrl": ".",
"rootDir": "src",
"outDir": "dist",
"tsBuildInfoFile": ".buildcache/tsconfig.tsbuildinfo",
"outDir": ".buildcache",
},
"references": [
{
Expand Down
1 change: 1 addition & 0 deletions tsconfig.compilerOption.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"emitDeclarationOnly": true,
"sourceMap": true,
"composite": true,
"incremental": true,
"strict": true,
"esModuleInterop": true,
"noUnusedLocals": true,
Expand Down

0 comments on commit e0e2344

Please sign in to comment.