Commit Graph
453 Commits
Author SHA1 Message Date
Sheetal Nandi 1d77008993 Handle when no .tsbuildinfo is to be generated 2019-02-07 16:27:45 -08:00
Sheetal Nandi 99df3230aa Merge branch 'master' into incrementalBuildInfo 2019-02-07 15:05:58 -08:00
Sheetal Nandi adcb79a111 Emit bundle information into bundle field of buildinfo and only if bundled emit 2019-02-07 14:32:52 -08:00
Ron Buckton b9ca653cf6 Merge branch 'async-es2018' of https://github.com/saschanaz/TypeScript into saschanaz-async-es2018 2019-02-07 13:27:25 -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
Sheetal Nandi 212cd62f05 Generate buildInfo for non --out and prepend options as well 2019-02-07 12:10:14 -08:00
Sheetal Nandi 9794080ee7 Merge branch 'master' into usePrependToSkipBuild 2019-02-07 12:09:36 -08:00
Ron Buckton a94c383b71 Merge pull request #27292 from kpreisser/fix26090
Align the ShimMap iterator behavior with native Maps
2019-02-07 11:17:22 -08:00
Sheetal Nandi ada1c3ffd9 Fix missing comma 2019-02-07 11:11:14 -08:00
Sheetal Nandi ab7d65e01f Merge branch 'master' into usePrependToSkipBuild 2019-02-07 10:39:41 -08:00
Sheetal Nandi 3a28fb0786 Add another test to generate baseline when sample's logic config file changes declaration dir 2019-02-07 10:29:56 -08:00
Kagami Sascha Rosylight 5a6dc081f6 revive esnext.asynciterable 2019-02-07 10:01:36 +09:00
Kagami Sascha Rosylight 2c4589d5a9 Merge remote-tracking branch 'upstream/master' into async-es2018 2019-02-07 09:51:26 +09:00
Sheetal Nandi ee9d3439a1 Generate baselines for sample 2019-02-06 15:22:55 -08:00
Sheetal Nandi 057163142b Generate baseline of .tsbuildinfo sections 2019-02-06 15:20:48 -08:00
Nathan Shively-Sanders 33af4ea250 assertNever no longer crashes on string input (#29764) 2019-02-06 08:57:24 -08:00
Sheetal Nandi e6b74ef7f1 Factor out baseline generation into tsbuild helper so that sample can generate baselines as well 2019-02-05 15:13:13 -08:00
Sheetal Nandi a0a4e6b0c2 Update test baselines 2019-02-04 15:02:35 -08:00
Sheetal Nandi a64e5ad3f3 Even though .d.ts doesnt change, the map file most likely changes, so emit that 2019-02-04 15:02:06 -08:00
Sheetal Nandi aa5d62a72c Perform only emit on js file if no decl file change 2019-02-04 15:01:54 -08:00
Sheetal Nandi 66dab21565 More refactoring 2019-02-01 10:46:37 -08:00
kpreisser c4960d3c11 Adjust the unit test to spot a missed bug in the delete() implementation. 2019-02-01 11:59:26 +01:00
kpreisser b502ae98e1 Add a unit test for the shimMap (currently failing).
This will test that iteration is in insertion order, new entries added during iteration will be visited by the iterator, and values can be deleted while an iterator is running.
2019-02-01 11:59:22 +01:00
Sheetal Nandi 03fa5bd90f Merge branch 'master' into usePrependToSkipBuild 2019-01-31 22:05:51 -08:00
Sheetal Nandi 79b5992247 Verify header updates 2019-01-31 22:01:54 -08:00
Sheetal Nandi 10f01318a3 Dont do base build again for each incremental scenario 2019-01-31 21:24:46 -08:00
Sheetal Nandi b7defb3cac Some more reorg in test 2019-01-31 20:06:52 -08:00
Sheetal Nandi 3cf46f16bf Dont diff with only sources in incremental compilation, diff with the base build 2019-01-31 19:43:30 -08:00
Sheetal Nandi 4205eaf021 Baseline incremental build baselines 2019-01-31 19:30:15 -08:00
Sheetal Nandi db3a4fe25d Separate out the tests for tsbuild into its own folder 2019-01-31 15:36:34 -08:00
Sheetal Nandi 39e37a2c57 Generate .tsbuildInfo if bundle uses references with prepend 2019-01-31 10:24:13 -08:00
Sheetal Nandi bd769406ca If the project only needs prepend output to be changed, prepare to just manipulate output
Step 1: Update the verbose log to reflect it
2019-01-31 10:24:12 -08:00
Ryan Cavanaugh 2f7627b363 Merge pull request #28190 from ispedals/bug/24709
Support synthesized SourceFile parent in getOrCreateEmitNode (#24709)
2019-01-30 19:12:11 -08:00
Benjamin Lichtman 62cf44cb9b Allow per-file setting for rename default behavior preferences (#29593)
<!--
Thank you for submitting a pull request!

Here's a checklist you might find useful.
* [ ] There is an associated issue that is labeled
  'Bug' or 'help wanted' or is in the Community milestone
* [ ] Code is up-to-date with the `master` branch
* [ ] You've successfully run `jake runtests` locally
* [ ] You've signed the CLA
* [ ] There are new or updated unit tests validating the change

Refer to CONTRIBUTING.MD for more details.
  https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md
-->

Fixes #29585.
#29314 and #29385 made it so their respective settings are only recognized when provided to the host as a whole.
This PR makes it so that the relevant settings for the preferences on the file override those of the preferences on the host.
2019-01-30 19:08:30 -08:00
Sheetal Nandi d1f3aca2d0 Test case when final project isnt composite project 2019-01-30 17:57:44 -08:00
Sheetal Nandi bb76259e7a More logs verification 2019-01-30 14:52:04 -08:00
Sheetal Nandi 315a4dd226 Merge branch 'master' into prependWithBundleInfo 2019-01-30 13:38:28 -08:00
Sheetal Nandi 26e546aeaa Merge pull request #29626 from Microsoft/toLowerCase
Handle get from readFileCache correctly.
2019-01-30 13:10:40 -08:00
Sheetal Nandi 0d9cf96e74 Make the bundle info into buildInfo 2019-01-30 10:07:29 -08:00
Sheetal Nandi 00873f66c8 Make file generic to be .tsbuildinfo 2019-01-30 09:41:43 -08:00
Sheetal Nandi c8ff9ace0e Merge branch 'master' into prependWithBundleInfo 2019-01-30 09:25:51 -08:00
Sheetal Nandi 717dad9ebf Dont use tsbundleInfo to determine if bundle needs to be rebuilt 2019-01-29 15:29:12 -08:00
Sheetal Nandi 36ae7be415 Create tests when bundleInfo file is not present 2019-01-29 15:13:26 -08:00
Sheetal Nandi d5b5f8d289 Handle --clean with .tsbuildinfo 2019-01-29 13:58:47 -08:00
Sheetal Nandi 0aaa880197 Use bundle info to store info about prologues, emit Helpers, references etc 2019-01-29 10:51:22 -08:00
Sheetal Nandi 604af5c621 Handle get from readFileCache correctly.
Fixes #29623
2019-01-28 12:30:05 -08:00
Klaus Meinhardt 451ff29263 revert change of trailing comment parsing 2019-01-27 17:41:20 +01:00
Klaus Meinhardt 68133e5fad Merge branch 'master' into shebang-comments 2019-01-27 17:37:10 +01:00
Sheetal Nandi a90ff10d8a Tests for multiple prologues 2019-01-25 14:31:39 -08:00