Commit Graph
589 Commits
Author SHA1 Message Date
Sheetal Nandi ec4ea0e474 Watch only built projects 2019-05-16 11:21:09 -07:00
Sheetal Nandi 0cb980dd6e Add api to build referenced projects 2019-05-15 15:28:13 -07:00
Sheetal Nandi 629bc0c04d Always emit tsbuild info if path says so (irrespecitive of if there exists bundle and project) 2019-05-15 11:54:17 -07:00
Sheetal Nandi b3dac18679 Merge branch 'master' into builderAPI 2019-05-09 16:07:47 -07:00
Sheetal Nandi 97fcea14d5 Api to get next invalidated project 2019-05-09 16:02:26 -07:00
Klaus Meinhardt 0c9db717ad fix parsing of leading union/intersection operator (#31265)
* fix parsing of leading union/intersection operator

Fixes: #30995

* test declaration emit
2019-05-08 14:09:11 -07:00
Ron Buckton 0c1a283bf9 Add opt-in behavior for custom transforms to support bundles 2019-05-07 17:29:02 -07:00
Sheetal Nandi 9f9ae000cb Enable getSemanticDiagnosticsOfNextAffectedFile for EmitAndSemanticDiagnosticsBuilder 2019-05-07 16:32:52 -07:00
Sheetal Nandi f017433857 Move everything into state so we can pass it around 2019-05-06 15:43:25 -07:00
Sheetal Nandi 71b190af61 Create api for buildNextProject 2019-05-02 16:15:40 -07:00
Sheetal Nandi 3da47963d5 Remove startWatching as explicit method from api 2019-05-02 15:22:07 -07:00
Sheetal Nandi e8074f7fdc Rename cleanAll to clean and take optional project as input 2019-05-02 15:00:53 -07:00
Sheetal Nandi 5b361c8497 Make API to build project and wire cancellation token 2019-05-02 14:16:06 -07:00
Sheetal Nandi 9ba4ab1eae Merge branch 'master' into builderAPI 2019-04-30 12:36:07 -07:00
Kagami Sascha Rosylight 49d6f61298 Add ES2019 Object.fromEntries function (#30934)
* add ES2019 Object.fromEntries function

* add some comments

* apply suggested changes

* add readonly and general any
2019-04-30 09:49:58 -07:00
Sheetal Nandi 1a75c62ceb Remove resetBuildContext 2019-04-29 13:27:53 -07:00
Sheetal Nandi ddee617e84 Make SolutionBuilder and SolutionBuilderWithWatch separate 2019-04-29 13:16:36 -07:00
Sheetal Nandi 92365027a1 Remove getUpToDateStatusOfFile from solution builder since that test anyways is tested with the --watch mode 2019-04-29 13:13:22 -07:00
Sheetal Nandi 845f67a394 Make api to return build order 2019-04-29 13:13:21 -07:00
Sheetal Nandi 3e77b96824 Fix the graph ordering test case to check actual order and not just members as set 2019-04-29 13:11:52 -07:00
Sheetal Nandi fb21e70d71 Target affects emit hence mark the option so that all files are reemitted when target changes
Fixes #31118
2019-04-29 13:05:31 -07:00
Kagami Sascha Rosylight 1a75d525fa add ES2020 matchAll APIs (#30936) 2019-04-25 14:11:50 -07:00
Andy Hanson dc7c9bad3d Avoid eagerly computing test payload (#27851) 2019-04-25 13:26:19 -07:00
Sheetal Nandi f27cf9b34e Merge pull request #30971 from Microsoft/dtsSignatureChange
Handle when change in type of dts may result in only dts emit but not js emit
2019-04-24 11:16:22 -07:00
Andrew Branch 6608349ea2 Merge pull request #31008 from andrewbranch/bug/29358
Support binding patterns in Promise -> async/await refactor
2019-04-24 08:43:15 -07:00
Ryan Cavanaugh 885d4d63c8 Remove "generate types" code (#31075) 2019-04-23 13:51:47 -07:00
Andrew Branch 95fb694eed Consistify tabs/spaces in test and baselines 2019-04-19 08:58:29 -07:00
Andrew Branch 680d18207c Add tests for destructuring from variable with inferrable type 2019-04-18 12:01:11 -07:00
Andrew Branch e7fb18e395 Handle case where you have to add a destructuring after a try/catch block 2019-04-18 11:36:47 -07:00
Andrew Branch ef18453166 Add tests for binding elements that need to be renamed 2019-04-17 18:43:01 -07:00
Andrew Branch 4c73b2e7bd Basic support for binding patterns in async/await code fix 2019-04-17 18:43:00 -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 b337565747 Merge branch 'master' into tsbuildTestPerf 2019-04-17 16:05:00 -07:00
Sheetal Nandi 0c18d032e7 Merge branch 'master' into incrementalLateSymbol 2019-04-17 15:41:53 -07:00
Sheetal Nandi dc7d77f2c7 Make the tsbuild tests use simple libFile instead of bigger lib file set 2019-04-17 15:35:00 -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 707cb93891 Write test case that baselines the incremental build result
Testcase for #30780
2019-04-16 12:50:37 -07:00
Sheetal Nandi 9f5090cec7 Test case for #30891 2019-04-16 12:33:21 -07:00
Sheetal Nandi 8684c3bfb8 Merge pull request #30740 from Microsoft/moduleAndAmbientResolutionConflict
When old program resolved to module and that file is included, dont consider as ambient resolution.
2019-04-05 12:15:06 -07:00
Nathan Shively-Sanders 9e2446073d Merge pull request #30773 from Microsoft/update-user-tests
Update TypeScript-React-Native-Starter
2019-04-05 11:18:27 -07:00
Nathan Shively-Sanders 762a557fcc Update TypeScript-React-Native-Starter
Add a 'path' field to test.json.
2019-04-04 11:37:15 -07:00
Sheetal Nandi 7ccd86bf52 When old program resolved to module and that file is included, dont consider as ambient resolution.
Fixes #30422
2019-04-03 14:05:49 -07:00
Andrew Branch 9475bf7d9e Fall back from globalReadonlyArrayType to globalArrayType when transpiling 2019-04-03 11:27:53 -07:00
Sheetal Nandi 5869662c3f Merge pull request #30721 from Microsoft/amdOut
Do not create multiple sourceFile to single outputFile with project redirect as the output file is included by default
2019-04-03 10:39:28 -07:00
Benjamin Lichtman 78b0956474 VS IntelliCode-related changes (#30731)
* ensure configurePlugin gives a response

* Update tests

* Update baseline

* Enable global plugin loading for external projects

* Fix lint errors
2019-04-03 10:36:04 -07:00
Sheetal Nandi 602aec2f7d Never create redirect for sourceFiles that get emitted to single output file
Fixes #30591
2019-04-02 14:55:48 -07:00
Sheetal Nandi b559e813f4 Add test when module resolution resolves to original file of referenced project with --out
Test for #30591
2019-04-02 14:23:28 -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 cf8b308511 Add test for out file concat where command line --incremental flag changes between compilation 2019-03-29 14:42:02 -07:00