Commit Graph

17 Commits

Author SHA1 Message Date
Andy Hanson
2305c10a65 Fix lint errors 2017-03-17 13:54:18 -07:00
Mohamed Hegazy
81c0bd50ab Add --lib es6 to @types/node dependent targets 2017-03-08 23:03:30 -08:00
Andy Hanson
9e33585a80 Merge branch 'master' into map5 2016-12-27 12:56:05 -08:00
Vladimir Matveev
e68161adfa when language service is disabled - build program using only open files (#12809) 2016-12-13 13:21:32 -08:00
Andy Hanson
6b1cc8972d Use native maps when they're available 2016-12-08 06:40:31 -08:00
Vladimir Matveev
9a9f45f0fb use createHash from ServerHost instead of explicit require (#12043)
* use createHash from ServerHost instead of explicit require

* added missing method in ServerHost stub
2016-11-08 15:32:53 -08:00
Andy Hanson
12f6dcefa1 Revert "Merge pull request #11354 from Microsoft/map4"
This reverts commit adfdae0dc4, reversing
changes made to aad663cebf.
2016-10-27 15:50:21 -07:00
Andy Hanson
bcc0807198 Respond to PR comments 2016-10-27 13:14:56 -07:00
Andy Hanson
a11838215c Merge branch 'master' into map4 2016-10-19 13:16:55 -07:00
Andy Hanson
6814c1d883 Forbid unused locals/parameters anywhere 2016-10-19 08:27:49 -07:00
Andy Hanson
7292f9f67e Merge branch 'master' into map4 2016-10-17 06:49:53 -07:00
Vladimir Matveev
92b63fa725 Merge pull request #11550 from Microsoft/vladima/generate-protocol
Automatically generate protocol.d.ts by pulling in necessary dependencies
2016-10-12 14:18:19 -07:00
Andy Hanson
aadcbcc083 Use native maps when they're available 2016-10-06 13:29:18 -07:00
Zhengbo Li
3c20df5e93 Create folders for sys.writeFile if folder doesn't exist (#10848)
* Create folders for sys.writeFile

* Use project root path for emit output file name

* Normalize project file path for external projects

* Patch writeFile for all sys implementations

* Use the original file for single inferred project case

* recursive create directory for all sys implementations
2016-09-13 16:20:42 -07:00
Zhengbo Li
95378aa399 Fix compile on save issues (#10615)
* only return .ts and .tsx files for affected document list
* Return all files exclude mixed-content files for CoS affected list
2016-08-31 12:11:32 -07:00
Zhengbo Li
d72287e335 Fix issue when building dependency graph for files with circular refs (#10514)
* Fix issue when building dependency graph for files with circular refs

* Make "emitOnlyDtsFiles" parameter non-optional in most cases
2016-08-24 10:38:07 -07:00
Zhengbo Li
a082857ae8 Add APIs for enabling CompileOnSave on tsserver (#9837)
* Add API to get only the emited declarations output

* Add nonModuleBuilder

* Add basic tests for CompileOnSaveAffectedFileList API

* Add API for compile single file

* Avoid invoking project.languageService directly

* Add API to query if compileOnSave is enabled for a project

* Seperate check and emit signatures

* Use Path type for internal file name matching and simplifying builder logic

* Always return cascaded affected list

* Correct the tsconfig file in compileOnSave tests
Also move the CompileOnSave option out of compilerOptions

* Reduce string to path conversion
2016-08-23 16:11:52 -07:00