Commit Graph

705 Commits

Author SHA1 Message Date
Ron Buckton
a74f109f95 Do not escape actual template literals on emit (#32844) 2019-08-13 15:54:35 -07:00
Andrew Casey
816e7b0567 Merge pull request #32789 from amcasey/FileNotFoundError
Correct string template
2019-08-09 15:16:23 -07:00
Andrew Casey
8c6612b31e Tweak message text 2019-08-09 14:50:24 -07:00
Andrew Casey
a02735e1fb Merge pull request #32785 from amcasey/FileNotFoundError
Include fewer paths in exception
2019-08-09 14:28:32 -07:00
Andrew Casey
6c19c13094 Use an explicit type 2019-08-09 14:04:04 -07:00
Ron Buckton
9133e7ad0e Use defaults for transpileModule (#31563) 2019-08-09 14:04:01 -07:00
Ben Lichtman
9971e8b560 Merge pull request #32688 from uniqueiniquity/skipCOSForDTS
Avoid compile on save when there is no emit impact
2019-08-07 10:44:54 -07:00
Ron Buckton
d75740280f Resolve module specifier relative to moduleFile.originalFileName (#32722)
* Resolve module specifier relative to moduleFile.originalFileName

* Use baseline testing for outputs

* Added skipLibCheck to test

* Switch to using vfs.formatPatch for output
2019-08-06 13:48:58 -07:00
Ben Lichtman
c0f187a4e8 Allow compile on save with decorator emit 2019-08-06 13:39:18 -07:00
Ron Buckton
cc3db8f448 Merge branch 'Saulzi-master' 2019-08-06 10:48:47 -07:00
Ron Buckton
3ff0a249d2 Update based on PR feedback 2019-08-06 10:46:17 -07:00
Ron Buckton
e3f4979736 Fix emit for object rest on a module export (#32699)
* Fix emit for object rest on a module export

* Add tests for exports of empty object/array binding patterns

* Add delay for exec to ensure diff tool has enough time to start
2019-08-05 16:53:21 -07:00
sisisin
33a6509751 Fixes export destructured variables reference (#32007)
* Add basic test for current behavior

* Fixes getting destructured variables references(#31922)

* Add test case that renames destructured property

* Fixes missing nested object destrucuturing variable references
2019-08-05 12:00:06 -07:00
Ron Buckton
5710f7d5ff Merge branch 'master' of https://github.com/Saulzi/TypeScript into Saulzi-master 2019-08-05 11:17:32 -07:00
Alexander T
012bacc415 Define interface for TSConfig. Change compilerOnSave to compileOnSave (#32481) 2019-08-05 09:24:09 -07:00
Ben Lichtman
0cab79fc56 Add test 2019-08-02 15:56:01 -07:00
Sheetal Nandi
b84f13d7cf Use single stats watcher per filename
Fixes #28690
2019-07-29 15:33:34 -07:00
Sheetal Nandi
2db8a13d81 Remove project status, watches etc when project is no longer part of build order 2019-07-29 15:33:34 -07:00
Sheetal Nandi
4efcfb7120 Some refactoring 2019-07-29 15:33:33 -07:00
Sheetal Nandi
1ac980ec96 File move 2019-07-29 15:33:33 -07:00
Wesley Wigham
b963e1a2a7 Update LKG (#32578)
* Update LKG

* Add @types/node version bump

* Small paatches/casts to be compatible with latest node

* Accept API baseline update

* Make internal NodeBuffer compatable with latest Buffer

* Why do we even have an internal buffer type

* Sync up internal buffer type better

* Fix lint

* Readd mroe missing Buffer methods
2019-07-29 10:33:43 -07:00
Sheetal Nandi
2fe3c1b3b7 Merge pull request #32561 from microsoft/retainFreshlyCreatedProject
Retain the configured project opened during opening client file even if opened file isnt included in that project
2019-07-26 12:18:26 -07:00
Jesse Trinity
599e36a068 Decrement line ends if they end with a carriage return. (#31220)
* Decrement line ends if they end with a carriage return.

* Changed handling of newlines and inlined regex operation.

* fixed misname of hintSpan

* added tests

* revert inline of regex match and use getLineEndOfPosition

* fixed lint error and changed a silly thing in tests
2019-07-25 21:29:12 -07:00
Sheetal Nandi
10ee85c98c Retain the configured project opened during opening client file even if opened file isnt included in that project
This helps not create and remove project on every open if tsconfig file isnt referenced by any open file
2019-07-25 12:38:26 -07:00
Sheetal Nandi
ee623c1ae6 Add test case before change where config project is created just to remove it 2019-07-25 12:04:13 -07:00
Salisbury, Tom
395d1515ee #32458 stop ES5 __values with no Symbol.iterator getting stuck in loop 2019-07-25 12:17:22 +01:00
Wesley Wigham
40fd4efdf6 Strip more kinds of timestamps and versions from dockerfile output (#32519)
* Strip more kinds of timestamps and versions from dockerfile output, rewrite office-ui-fabric dockerfile to use new lerna build system

* Add another filter for just output

* Update user baselines (#23)

* Update user baselines (#24)

* Strip only maybe-present timestamps

* More lenient timestamp filter

* Update user baselines (#25)

* Simplify and enhance vscode dockerfile to use nightly ts in ts extension, too

* Update user baselines (#26)

* Update user baselines (#27)
2019-07-23 17:14:50 -07:00
Ron Buckton
d982014d73 Update __awaiter to be more spec compliant (#32462)
* Update __awaiter to be more spec compliant

* Add awaiter evaluation test
2019-07-22 17:23:35 -07:00
Ron Buckton
47e3fedb5d Fix object spread runtime semantics (#32514) 2019-07-22 16:46:09 -07:00
Sheetal Nandi
aab3069e64 Fix the assert of reporting file infos still attached to the project for circular json reference 2019-07-19 15:55:46 -07:00
Sheetal Nandi
b589020bb3 Merge pull request #32425 from microsoft/scopedPackageAquisition
Handle scoped package names in typing installer
2019-07-16 16:48:35 -07:00
Sheetal Nandi
607c9c5e26 Fix missing tokenToString for the backtick
Fixes #32073
2019-07-16 13:30:38 -07:00
Sheetal Nandi
49ba408e4f Handle scoped package names in typing installer
Fixes #32075
2019-07-16 11:13:03 -07: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
Ron Buckton
e8bf9584aa Improve type checking and inference for Generators and Async Generators (#30790)
* Improve typing for Generators and Async Generators

* Add TReturn and TNext to Iterator, IterableIterator, etc.

* Update ts internal Iterator to be assignable from global Iterator

* Make 'done' optional in IteratorYieldResult

* Revert Iterable and IterableIterator to simpler versions plus other fixes

* Add additional inference tests

* Added additional tests

* PR cleanup and minor async iteration type fix

* Updated diagnostics message and added non-strict tests

* Fix expected arity of Iterator/AsyncIterator
2019-07-03 21:55:59 -07:00
Nathan Shively-Sanders
6f0baa3ae1 Merge pull request #29717 from petersandor/jsdoc-tag-author-email-support
Support email in author JSDoc tag
2019-07-03 10:42:02 -07:00
Wesley Wigham
3e6856137a Add support for sharding tests across multiple workers (#32173)
* Add support for sharding tests across multiple workers

* Disable unittests when runners are expressly provided (unless they contain the unittest runner)
2019-07-01 14:56:57 -07:00
Wesley Wigham
ff81d5261e Elide the exact node version rush complains about from the docker output (#32204) 2019-07-01 13:13:44 -07:00
Sheetal Nandi
af20e791fd Merge pull request #32167 from microsoft/tryReuseProgram
When checking sourceFile is from external library, use sourceFile.resolvedPath since thats how the source files are queried and thats the real path
2019-07-01 11:16:17 -07:00
Sheetal Nandi
f6d7261288 Merge pull request #32147 from microsoft/noDtsWhenNotUsingProjectReferences
Watch generated file if it doesnt exist when trying to translate it to to source generated position
2019-07-01 10:22:16 -07:00
Austin Cummings
c30054de63 Fix esModuleInterop affectsEmit change test 2019-06-30 11:06:00 -07:00
Austin Cummings
5b694f8302 Add tests for module and esModuleInterop affectsEmit change 2019-06-28 18:34:59 -07:00
Wesley Wigham
6760a03cec Add vscode docker test (#32152)
* Add vscode docker test

* Remove PID-log line

* Update user baselines (#18)
2019-06-28 13:22:25 -07:00
Sheetal Nandi
4f802e7205 When checking sourceFile is from external library, use sourceFile.resolvedPath since thats how the source files are queried and thats the real path
Fixes #32086
2019-06-28 10:14:33 -07:00
Wesley Wigham
2af8ac73ff Add xterm test to docker suite (#32149) 2019-06-27 15:29:22 -07:00
Sheetal Nandi
b32afb55d1 Merge pull request #31985 from microsoft/buildInfoData
Make paths in tsbuildinfo file to be relative to the file
2019-06-27 12:49:52 -07:00
Nathan Shively-Sanders
261952247a Merge pull request #31945 from microsoft/skip-costly-tests
Skip costly tests
2019-06-25 15:47:49 -07:00
Sheetal Nandi
3e49556a88 Watch generated file if it doesnt exist when trying to translate it to to source generated position 2019-06-25 15:11:44 -07:00
Wesley Wigham
a150d55592 Explicitly error when an exclude is provided by a test as it will be unused (#32014) 2019-06-24 15:29:02 -07:00
Wesley Wigham
9d23ce3d06 Sanitize rush progress numbers in docker test output (#32029) 2019-06-21 14:49:43 -07:00