Commit Graph

110 Commits

Author SHA1 Message Date
Alexander
ceccfd8867 array-type: [ default: array, generic: array ] 2019-08-08 21:30:18 +03:00
Alexander T
11ec6118fb @typescript-eslint/array-type 2019-07-29 18:39:11 +03:00
Alexander T
64baa804a8 Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-07-15 18:35:34 +03:00
Sheetal Nandi
fd4f4fe5a2 Ensure that the filePaths in compiler options are absolute before getting relative path to buildInfo directory
Fixes #32353
2019-07-11 13:18:35 -07:00
Alexander T
9f474150c6 Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-07-02 17:57:44 +03:00
Alexander T
136f4cfc0f no-redeclare 2019-06-27 12:29:32 +03:00
Sheetal Nandi
d36099c98d Use absolute paths for buildInfoDirectory 2019-06-20 12:55:02 -07:00
Sheetal Nandi
9446fc0c0c Convert options to relative paths 2019-06-19 12:54:22 -07:00
Sheetal Nandi
d760cbb74b Make any paths in buildInfoFile to be relative to it. 2019-06-19 12:54:21 -07:00
Alexander T
123ca0d639 no-empty 2019-06-14 10:21:51 +03:00
Sheetal Nandi
098c9008b8 Make more build options internal which correspond to internal compiler options
Also fix return type of readBuilderProgram
2019-05-16 14:50:09 -07:00
Sheetal Nandi
9f9ae000cb Enable getSemanticDiagnosticsOfNextAffectedFile for EmitAndSemanticDiagnosticsBuilder 2019-05-07 16:32:52 -07:00
Sheetal Nandi
d5100bb95e Merge branch 'master' into dtsSignatureChange 2019-04-17 16:36:09 -07:00
Sheetal Nandi
4a55025f20 Code review feedback 2019-04-17 16:32:33 -07:00
Sheetal Nandi
15ae8a7273 Make sure to emit again if change in compiler option affects emit
Fixes #30736
2019-04-16 16:18:37 -07:00
Sheetal Nandi
ae7e00e741 Combine semantic diagnostics of files using exported entities from modules and their dts emit 2019-04-16 14:18:03 -07:00
Sheetal Nandi
17d2c8bcfb Handle dts change as well as signature update when exported module affects dts but not js file 2019-04-16 13:27:51 -07:00
Sheetal Nandi
db8c6ee67a When exported types from module change, the modules exporting these types indirectly mean d.ts change too (not just semantic diagnostics) 2019-04-16 13:05:23 -07:00
Sheetal Nandi
0be9a22dbf Remove unnecessary check since seenEmittedFiles is set when getting pending affected files 2019-04-16 12:53:45 -07:00
Sheetal Nandi
35470b3f3b Make tsbuildInfoFile as commandline option to tsc (and not tsc -b) 2019-03-25 14:47:36 -07:00
Sheetal Nandi
bd229b5ed1 Exclude Json files from Project reference redirects from files to be emitted list
Fixes #30382
2019-03-14 11:22:26 -07:00
Sheetal Nandi
d4cfa41931 To test platform independent buildInfo baselines, move the logic to writeFile of SolutionBuilderHost 2019-03-08 13:00:29 -08:00
Sheetal Nandi
67930ead81 Store semantic diagnostics as well (for future tsc without build but incremental) 2019-03-05 13:51:44 -08:00
Sheetal Nandi
7d464b81d4 Redirect getProgramBuildInfo onto builder so that we can test it for baselines more easily 2019-02-21 13:21:52 -08:00
Sheetal Nandi
8f18cec80c Dont emit program information in --out scenarios 2019-02-07 13:01:10 -08:00
Sheetal Nandi
23b5b14565 Fix incremental build changes declaration dir 2019-02-07 12:10:15 -08:00
Sheetal Nandi
e3f8c34bc9 Add mechanism to dump and read program to build info 2019-02-07 12:10:15 -08:00
Matthew Aynalem
f30e8a284a fix spelling errors 2019-01-27 20:33:33 -08:00
Sheetal Nandi
900d6f7c90 renames 2019-01-17 12:29:23 -08:00
Sheetal Nandi
9f3b77a8bd PR feedback 2019-01-17 09:23:20 -08:00
Sheetal Nandi
c909becdd5 Rename indexing variable 2019-01-14 12:44:37 -08:00
Sheetal Nandi
c1edbb8522 Merge branch 'master' into incrementalBuild 2019-01-11 14:34:45 -08:00
Wesley Wigham
fadd95f72b Fix unneeded cast lints (#29383) 2019-01-11 14:24:49 -08:00
Sheetal Nandi
1b37830615 Merge branch 'master' into incrementalBuild 2019-01-09 10:40:01 -08:00
Sheetal Nandi
a633f95da7 Do not cache semantic diagnostics with --isolated modules
Fixes #28332
2019-01-03 14:07:25 -08:00
Sheetal Nandi
69abc12494 Handle declaration emit errors in tsbuild mode by backing up builder state
This helps us revert to state where we pretend as if emit is not done (since we do not do emit if there are errors)
2018-12-26 12:25:27 -08:00
Sheetal Nandi
0d9038c30a Handle prepend in incremental build. Always emit when program uses project reference with prepend since it cant tell changes in js/map files 2018-12-21 17:22:17 -08:00
Sheetal Nandi
f1949bbae8 Use emit builder to emit only changed files. 2018-12-21 12:53:26 -08:00
Sheetal Nandi
47f51060e9 Use oldProgram to create the new Program.
This helps in storing the semantic diagnostics
2018-12-21 12:53:26 -08:00
Sheetal Nandi
69193d9c20 Add method to release held Program in BuilderProgram 2018-12-21 12:53:25 -08:00
Sheetal Nandi
56a76d8b62 Revert BuilderProgram to be redirected object to Program in preparation to set Program in state to undefined for storing. 2018-12-21 12:53:25 -08:00
Sheetal Nandi
9e05abcfd3 Make BuilderProgram as Program 2018-12-21 12:53:15 -08:00
Sheetal Nandi
7c92d09e23 When removing the errors for the exports from the file, apart from removing transitive exports, remove the diagnostics of file that import these exports
Fixes #28983
2018-12-12 15:23:51 -08:00
Sheetal Nandi
b0d85c0270 Merge pull request #28450 from Microsoft/libErrors
Remove lib file errors from builder cache when global files are to be emitted
2018-11-09 17:42:08 -08:00
Sheetal Nandi
43c447867b PR feedback 2018-11-09 16:24:19 -08:00
Sheetal Nandi
a27b29f025 Remove lib file errors when all files are to be emitted.
Fixes #26389
2018-11-09 14:43:01 -08:00
Ron Buckton
151dc074a8 Merge branch 'master' into sourceMapGenerator 2018-11-09 11:50:51 -08:00
Sheetal Nandi
9dbe037e84 Use seen map to avoid circular transitive exports to cause stack over flow
Fixes #28433
2018-11-09 09:22:39 -08:00
Sheetal Nandi
23e7330ddb When removing old diagnostics for files referencing modules that export affected file with signature change, delete the diagnostics of the module as well as anything that exports that module
Fixes #28328
2018-11-05 12:17:41 -08:00
Ron Buckton
4982803a38 Merge branch 'master' into sourceMapGenerator 2018-10-08 18:01:37 -07:00