141 Commits

Author SHA1 Message Date
Alexander T
f6a50067d3 @typescript-eslint/indent 2019-06-27 11:30:03 +03:00
Alexander T
5902b327db no-unused-expressions 2019-06-19 17:01:53 +03:00
Sheetal Nandi
a6c72a0cf3 Do not watch tsconfig files from folders that we canot watch
Fixes #30818
2019-06-07 12:10:21 -07:00
Sheetal Nandi
5c21fad12f
Merge pull request #31432 from microsoft/builderAPI
Api for tsc --build and --incremental
2019-06-05 12:31:00 -07:00
Benjamin Lichtman
6b92ccaffa Respond to CR 2019-05-30 17:22:12 -07:00
Benjamin Lichtman
8c443b1481 Stop invalidating resolution when file stays open 2019-05-30 15:05:53 -07:00
Sheetal Nandi
f0b7e08d2c Move towards BuildInvalidatedProject api where one can query program and perform its operations 2019-05-09 14:18:15 -07:00
Sheetal Nandi
0a255249f6 Enable apis to create incremental program 2019-05-02 15:42:08 -07:00
Sheetal Nandi
5c18513e96 Make SolutionBuilder as Public API 2019-05-02 15:36:15 -07:00
Sheetal Nandi
5b361c8497 Make API to build project and wire cancellation token 2019-05-02 14:16:06 -07:00
Sheetal Nandi
3fdd66bddf Report program's source files even when there are errors when building using --build mode 2019-04-02 13:22:22 -07:00
Sheetal Nandi
7457e5d9fe Pull out the incremental compilation into a function so we can test it 2019-03-26 14:28:05 -07:00
Sheetal Nandi
021444a248 Make it as api so we can test it 2019-03-26 14:25:56 -07:00
Sheetal Nandi
e28869d888 Ensure that from tsc with --incremental sets source file version
Fixes #30588 and #30589
2019-03-26 14:25:47 -07:00
Sheetal Nandi
a571e50143 Use EmitAndSemanticDiagnosticsBuilder in builder from tsc 2019-03-14 11:54:47 -07:00
Sheetal Nandi
f8ec54c223 Rename setGetSourceFileAsHashVersioned 2019-03-08 16:52:07 -08:00
Sheetal Nandi
0b202b2095 Fix tests after rebase 2019-03-08 16:33:53 -08:00
Sheetal Nandi
e41cbb6316 Add incremental to normal tsc 2019-03-08 15:59:59 -08:00
Sheetal Nandi
6c0b4568a0 Enable incremental program updates through tsbuildinfo in tsc --watch mode 2019-03-08 15:56:09 -08:00
Sheetal Nandi
8527be9ea8 Read program from buildInfo 2019-03-08 15:56:08 -08:00
Sheetal Nandi
ec47859624 Make watch use sourceFileHash so it can be used with --incremental as well 2019-03-08 15:56:08 -08:00
Sheetal Nandi
990b199ebd Merge branch 'master' into incrementalBuildInfo 2019-03-08 11:42:19 -08:00
Sheetal Nandi
ec2ee9ff3a Ignore anything starting with ".git"
Fixes #29782
2019-03-06 15:00:26 -08:00
Sheetal Nandi
e3f8c34bc9 Add mechanism to dump and read program to build info 2019-02-07 12:10:15 -08:00
Sheetal Nandi
9f3b77a8bd PR feedback 2019-01-17 09:23:20 -08:00
Sheetal Nandi
520e33fa51 PR feedback 2019-01-14 18:15:54 -08:00
Sheetal Nandi
abc861862a Fix typo 2019-01-10 15:18:02 -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
48baa42d65 Make SolutionBuilder handle BuilderProgram in preparation to handle incremental builds 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
0cabb00b34 Use watch factory instead of direct host functions in tsbuild to provide detailed information on watch invokations 2018-12-21 12:53:14 -08:00
Sheetal Nandi
c0587191fc
Merge pull request #28418 from ajafff/internal-comments
remove even more internal comments
2018-11-08 14:58:33 -08:00
Wesley Wigham
6ad58b242e
Do not output summary if theres nothing to report 2018-11-07 15:46:13 -08:00
Klaus Meinhardt
e2947fac1c remove even more redundant internal comments 2018-11-07 16:12:48 +00:00
Sheetal Nandi
77ef9cedab Report error summary in pretty mode during normal compilation 2018-11-01 16:11:22 -07:00
Sheetal Nandi
c9fadf1f46 Ignore wild card directory watchers with node_modules file or folder starting with . 2018-10-30 11:06:13 -07:00
Wesley Wigham
05716a74a5
Add support for configuration inheritance via packages (#27348)
* Add support for configuration inheritance via packages

* Fix lint

* Propagate trace into config parse hosts
2018-10-25 10:19:57 -07:00
Klaus Meinhardt
5b3fe6e68b update other interfaces and implementations
and accept baseline
2018-10-22 21:23:04 +02:00
Sheetal Nandi
2fb11d8530 Test transitive references in folders side by side so that later we can add tsserver tests as well 2018-10-04 15:04:12 -07:00
Sheetal Nandi
94df5167b0 Handle resolution caching when referenced tsconfig changes 2018-10-04 15:04:12 -07:00
Sheetal Nandi
0e4b10d726 Use resolution options of project reference if the file is from the project reference 2018-10-04 15:04:10 -07:00
Sheetal Nandi
aed876dfb4 Refactoring to unify updating no input files error 2018-09-27 11:58:15 -07:00
Wesley Wigham
e7cf9994ce
Implement readDirectory on the watch mode CompilerHost 2018-09-17 18:02:59 -07:00
Sheetal Nandi
40d33c809a Merge branch 'master' into watchAPIAndProjectReferences 2018-09-14 10:54:07 -07:00
Sheetal Nandi
ea67e3ac56 Fix watch of project with project references 2018-09-13 15:41:07 -07:00
Sheetal Nandi
4cf746cdc4 Enable listFiles and listEmittedFiles as build option 2018-09-13 11:17:03 -07:00
Sheetal Nandi
0831edab36 Keep only errors starting on new screen 2018-08-21 13:41:32 -07:00
Sheetal Nandi
26b4b6c9ad Create api with watchHost to include in solution builder host 2018-08-21 13:41:32 -07:00
Andy
ad63468ed5
noUnusedLocals: f(x = 1) does not use x (#26366) 2018-08-13 11:14:52 -07:00
Sheetal Nandi
ca083809a4 Fix incorrect handling of preserveWatchOutput flag is in config file
Fixes #25620
2018-07-12 18:29:02 -07:00