Sheetal Nandi
79bcb3d547
Handle seenEmittedFiles which was not being set when emit of a file was complete ( #33145 )
...
* Add test that fails because file is written multiple times
Reported from #33061
* Handle seenEmittedFiles which was not being set when emit of a file was complete.
It was issue only when errors are reported before emitting (which puts the files into pendingEmit that needs to check only in seenEmittedFiles)
If emit happens before semantic diagnostics query this issue is not repro, because the affected files come into play and those are being set correctly
Fixes #31398
* make baselining source map optional
* Handle emitDeclarationOnly in --build scenario
* Ensure we are using d.ts emit as signature even when --declarationMap is on (map files are emitted before d.ts)
* Move module specifiers to verifyTsBuildOutput
* implement create Hash to be default hashing plus data so we can verify it easily in baseline
* Remove failing baseline
* Accept correct baseline name
2019-08-30 16:33:44 -07:00
Sheetal Nandi
1a9198a53a
PR feedback
2019-08-12 16:06:09 -07:00
Sheetal Nandi
d9ad559042
Verify demo build
2019-08-09 13:38:24 -07:00
Sheetal Nandi
0e5d95feef
Container only ref needs to be ignored from uptodate status
...
Fixes #31288
2019-06-20 16:09:35 -07:00
Sheetal Nandi
2a29880c61
Handle simple lib file in the test case
2019-04-17 16:43:10 -07:00
Sheetal Nandi
d5100bb95e
Merge branch 'master' into dtsSignatureChange
2019-04-17 16:36:09 -07:00
Sheetal Nandi
83941c4655
Fix lateBoundSymbol test case to handle the simple lib file for the test
2019-04-17 16:19:34 -07:00
Sheetal Nandi
b337565747
Merge branch 'master' into tsbuildTestPerf
2019-04-17 16:05:00 -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
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
bd229b5ed1
Exclude Json files from Project reference redirects from files to be emitted list
...
Fixes #30382
2019-03-14 11:22:26 -07:00
Sheetal Nandi
a6f7ec3464
Handle outDir and declrationDir correctly to generate output file names for the tsbuild
2019-03-14 10:00:55 -07:00
Sheetal Nandi
812ff98f61
Correct the generation of output file names for tsc --b
...
Fixes #30356
2019-03-13 11:23:14 -07:00
Sheetal Nandi
b879b435ef
Add tests to verify output of --out with modules as output
2019-03-05 11:08:44 -08:00
Sheetal Nandi
604af5c621
Handle get from readFileCache correctly.
...
Fixes #29623
2019-01-28 12:30:05 -08:00
Sheetal Nandi
9f844c4b08
Test to verify that file with --out and case mismatch works with source map
2018-10-31 15:39:31 -07:00
Sheetal Nandi
60801a261c
Report error requiring references to have composite only if the program is not container only
2018-10-30 15:22:00 -07:00
Sheetal Nandi
b69622a114
Merge branch 'master' into transitiveReferences
2018-10-16 10:41:17 -07:00
Sheetal Nandi
92f3f1cde0
Allow files to be included by *.json
pattern in include of tsconfig
...
Fixes #25636
2018-10-11 14:45:27 -07:00
Sheetal Nandi
6923f2cdb0
Handle caching of module resolution depending on project references
2018-10-04 15:04:11 -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
0ac96580d5
Resolve project references transitively
2018-10-04 15:04:10 -07:00
Wesley Wigham
3f98c51db0
Skip default lib checking in all tsbuild tests ( #27380 )
2018-09-26 15:51:55 -07:00
Sheetal Nandi
0d5aeeef22
Detect the input file of referenced project with fileNames from parsed command
...
Fixes #25864 and #26054
2018-09-18 11:44:16 -07:00
christian
959dbbba28
Add newline to bottom of tsconfig files
2018-09-03 23:16:53 -04:00
christian
c87ca2f1ab
Fix diagnostic reporting for empty files in tsconfig
2018-09-03 22:57:26 -04:00
Sheetal Nandi
723e64ba3b
Add js source maps to list of outputs when doing --build
...
Fixes #26619
2018-08-28 16:17:10 -07:00
Wesley Wigham
f6d3ac9b5d
Fix #25820 - handle redirected files when comparing paths ( #25902 )
...
* Fix #25820 - handle redirected files when comparing paths
* Update test to do case check
2018-07-24 15:24:52 -07:00
Sheetal Nandi
49ac60f286
Support resolveJsonModule option when files contain the json file
...
Fixes #25636
2018-07-13 12:21:51 -07:00
Ryan Cavanaugh
1b1ffe952b
Use getEmitDeclarations instead of .declarations
2018-07-09 14:51:40 -07:00
Ryan Cavanaugh
c58e29833f
Merge pull request #25368 from RyanCavanaugh/fix25355
...
.d.ts files don't have outputs
2018-07-02 15:37:18 -07:00
Ryan Cavanaugh
69bf73f3a2
Handle multiple output .d.ts files changedness correctly
...
Fixes #25337
2018-07-02 10:54:58 -07:00
Ryan Cavanaugh
64e6b7669b
.d.ts files don't have outputs
2018-07-02 10:15:13 -07:00
Ryan Cavanaugh
a72fe5dd8e
Add a testcase
2018-06-18 16:44:25 -07:00
Ron Buckton
575ab61c6b
Fix sources array case sensitivity
2018-06-14 23:27:04 -07:00
Ryan Cavanaugh
e40778070e
Complicate the paths of the project for better sourcemap testing
2018-06-05 14:06:13 -07:00
Ryan Cavanaugh
514a0d85a5
Add outfile-concat project refs test
2018-06-05 13:19:52 -07:00
Ryan Cavanaugh
76d2ba64df
Testing WIP
2018-05-21 21:24:29 -07:00
Ryan Cavanaugh
6d04378e90
Testing WIP
2018-05-21 19:40:09 -07:00