Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable incremental typescript builds #1671

Merged
merged 1 commit into from Sep 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -72,4 +72,7 @@ typings/
# Do not check sensitive files.
.coveralls.yml

# typescript incremental builds cache
.tsbuildinfo

# cspell:ignore pids jscoverage wscript jspm dotenv eslintcache
4 changes: 3 additions & 1 deletion packages/cspell-bundled-dicts/tsconfig.json
Expand Up @@ -60,6 +60,8 @@
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
/* Advanced Options */
"skipLibCheck": true, /* Skip type checking of declaration files. */
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
}
}
4 changes: 3 additions & 1 deletion packages/cspell-dynamic-loader/tsconfig.json
Expand Up @@ -19,7 +19,9 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist",
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src/**/*.ts",
Expand Down
3 changes: 3 additions & 0 deletions packages/cspell-glob/.npmignore
Expand Up @@ -22,3 +22,6 @@
tsconfig.json
jest.config.js
*.log

# typescript incremental builds cache
.tsbuildinfo
4 changes: 3 additions & 1 deletion packages/cspell-glob/tsconfig.json
Expand Up @@ -13,7 +13,9 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist",
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src/**/*.ts",
Expand Down
3 changes: 3 additions & 0 deletions packages/cspell-io/.npmignore
Expand Up @@ -22,3 +22,6 @@
tsconfig.json
jest.config.js
*.log

# typescript incremental builds cache
.tsbuildinfo
4 changes: 3 additions & 1 deletion packages/cspell-io/tsconfig.json
Expand Up @@ -16,7 +16,9 @@
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist"
"outDir": "dist",
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src"
Expand Down
3 changes: 3 additions & 0 deletions packages/cspell-lib/.npmignore
Expand Up @@ -4,3 +4,6 @@ __mocks__
**/*.test.*
**/*.spec.*
**/*.map

# typescript incremental builds cache
.tsbuildinfo
4 changes: 3 additions & 1 deletion packages/cspell-lib/tsconfig.json
Expand Up @@ -14,7 +14,9 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist",
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src/**/*.ts",
Expand Down
3 changes: 3 additions & 0 deletions packages/cspell-tools/.npmignore
Expand Up @@ -22,3 +22,6 @@
tsconfig.json
jest.config.js
*.log

# typescript incremental builds cache
.tsbuildinfo
4 changes: 3 additions & 1 deletion packages/cspell-tools/tsconfig.json
Expand Up @@ -11,7 +11,9 @@
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"outDir": "dist"
"outDir": "dist",
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src"
Expand Down
3 changes: 3 additions & 0 deletions packages/cspell-trie-lib/.npmignore
Expand Up @@ -22,3 +22,6 @@
tsconfig.json
jest.config.js
*.log

# typescript incremental builds cache
.tsbuildinfo
4 changes: 3 additions & 1 deletion packages/cspell-trie-lib/tsconfig.json
Expand Up @@ -13,7 +13,9 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist"
"outDir": "dist",
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src"
Expand Down
3 changes: 3 additions & 0 deletions packages/cspell-trie/.npmignore
Expand Up @@ -22,3 +22,6 @@
tsconfig.json
jest.config.js
*.log

# typescript incremental builds cache
.tsbuildinfo
4 changes: 3 additions & 1 deletion packages/cspell-trie/tsconfig.json
Expand Up @@ -13,7 +13,9 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist"
"outDir": "dist",
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src"
Expand Down
3 changes: 3 additions & 0 deletions packages/cspell-trie2-lib/.npmignore
Expand Up @@ -22,3 +22,6 @@
tsconfig.json
jest.config.js
*.log

# typescript incremental builds cache
.tsbuildinfo
4 changes: 3 additions & 1 deletion packages/cspell-trie2-lib/tsconfig.json
Expand Up @@ -13,7 +13,9 @@
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist"
"outDir": "dist",
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src"
Expand Down
4 changes: 3 additions & 1 deletion packages/cspell-types/tsconfig.json
Expand Up @@ -19,7 +19,9 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist",
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src/**/*.ts",
Expand Down
3 changes: 3 additions & 0 deletions packages/cspell/.npmignore
Expand Up @@ -4,3 +4,6 @@ __mocks__
**/*.test.*
**/*.spec.*
**/*.map

# typescript incremental builds cache
.tsbuildinfo
4 changes: 3 additions & 1 deletion packages/cspell/tsconfig.json
Expand Up @@ -19,7 +19,9 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist",
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src/**/*.ts",
Expand Down
2 changes: 2 additions & 0 deletions packages/hunspell-reader/.npmignore
Expand Up @@ -12,3 +12,5 @@ tsconfig.json
tslint.json
typings.json

# typescript incremental builds cache
.tsbuildinfo
4 changes: 3 additions & 1 deletion packages/hunspell-reader/tsconfig.json
Expand Up @@ -15,7 +15,9 @@
"preserveConstEnums": false,
"outDir": "dist",
"lib": ["dom", "dom.iterable", "es2015"],
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"exclude": ["node_modules", "dist"]
}
4 changes: 3 additions & 1 deletion test-packages/test-cspell-glob/tsconfig.json
Expand Up @@ -16,7 +16,9 @@
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist"
"outDir": "dist",
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src"
Expand Down
4 changes: 3 additions & 1 deletion test-packages/test-cspell-io/tsconfig.json
Expand Up @@ -16,7 +16,9 @@
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist"
"outDir": "dist",
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src"
Expand Down
4 changes: 3 additions & 1 deletion test-packages/test-cspell-lib-webpack/tsconfig.json
Expand Up @@ -16,7 +16,9 @@
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist"
"outDir": "dist",
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src"
Expand Down
4 changes: 3 additions & 1 deletion test-packages/test-cspell-lib/tsconfig.json
Expand Up @@ -16,7 +16,9 @@
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist"
"outDir": "dist",
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src"
Expand Down
4 changes: 3 additions & 1 deletion test-packages/test-cspell-tools/tsconfig.json
Expand Up @@ -16,7 +16,9 @@
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist"
"outDir": "dist",
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src"
Expand Down
4 changes: 3 additions & 1 deletion test-packages/test-cspell/tsconfig.json
Expand Up @@ -16,7 +16,9 @@
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist"
"outDir": "dist",
"incremental": true,
"tsBuildInfoFile": "./.tsbuildinfo"
},
"include": [
"src"
Expand Down