Sheetal Nandi
65ed413d8d
Remove resolveProjectName as api
2019-04-29 13:16:36 -07:00
Sheetal Nandi
11b21fbba6
builderPrograms as ConfigFileMap
2019-04-29 13:16:35 -07:00
Sheetal Nandi
fd6773f944
Diagnostics as ConfigFileMap
2019-04-29 13:16:35 -07:00
Sheetal Nandi
05257e8696
configFileCache, projectStatus, buildInfoChecked is now ConfigFileMap
2019-04-29 13:16:35 -07:00
Sheetal Nandi
579d2bfe1f
Make FileMap Apis to match map but just ensure that keys are always paths
...
Turn projectPendingBuild to config file map
2019-04-29 13:14:55 -07:00
Sheetal Nandi
50741e647b
Use maps for all the watch data structures
2019-04-29 13:14:55 -07:00
Sheetal Nandi
c615d48727
Make use of maps in build order calculation
2019-04-29 13:14:55 -07:00
Sheetal Nandi
d4474a5dfc
More refactoring to move file map creation inside solution builder
2019-04-29 13:14:54 -07:00
Sheetal Nandi
b42e76b1e5
Remove usage of fileMap for output unchanged timestamp modification and simplify to use configFileMap
2019-04-29 13:13:22 -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
e9d4e0b104
Unchanged output time is no more required
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
b9eeaab050
Remove unused variable
2019-04-29 13:11:52 -07:00
Sheetal Nandi
1de70de099
No need to calculate and store project references graph
2019-04-29 13:11:52 -07:00
Sheetal Nandi
5443447eb2
Instead of maintaining queue for invalidated projects, use the pendingSet and graph queue
2019-04-29 13:11:51 -07:00
Sheetal Nandi
93b958e0ea
Share module resolution cache among different program
2019-04-24 12:47:01 -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
34c3233d18
Allow --incremental to be command line option
2019-03-20 14:48:47 -07:00
Sheetal Nandi
e94b7d8b37
Check extended tsconfig time with oldest output time to report not upto date
2019-03-19 17:19:15 -07:00
Sheetal Nandi
8cef0c592a
Merge branch 'master' into tsconfigChangeDetection
2019-03-19 16:54:25 -07:00
Sheetal Nandi
52641c531a
Passing --force option to build, builds project from start
2019-03-15 16:04:10 -07:00
Sheetal Nandi
cabf72b514
Revert "Passing --force option to build, builds project from start"
...
This reverts commit 434fa94bdc .
2019-03-15 16:03:36 -07:00
Sheetal Nandi
434fa94bdc
Passing --force option to build, builds project from start
2019-03-15 16:02:00 -07:00
Sheetal Nandi
ce490e1c77
Check oldest output time with tsconfig time to see if its out of date
...
Fixes #26503
2019-03-15 15:45:51 -07:00
Sheetal Nandi
b7c8e0951d
Merge branch 'master' into resolveJsonModule
2019-03-14 15:13:39 -07:00
Sheetal Nandi
a571e50143
Use EmitAndSemanticDiagnosticsBuilder in builder from tsc
2019-03-14 11:54:47 -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
812ff98f61
Correct the generation of output file names for tsc --b
...
Fixes #30356
2019-03-13 11:23:14 -07:00
Sheetal Nandi
b762d6205e
Merge pull request #30344 from Microsoft/uptoDate
...
Set oldestOutputFileName in uptodate status when updating just timestamps of output
2019-03-13 10:54:59 -07:00
Sheetal Nandi
2477159782
Do not schedule updating bundle if the buildInfo file wont be generated for the project
...
Fixes #30346
2019-03-12 16:08:01 -07:00
Sheetal Nandi
ffeb38456f
Set oldestOutputFileName in uptodate status when updating just timestamps of output
...
Fixes #29875
2019-03-12 13:30:17 -07:00
Sheetal Nandi
f8ec54c223
Rename setGetSourceFileAsHashVersioned
2019-03-08 16:52:07 -08:00
Sheetal Nandi
e41cbb6316
Add incremental to normal tsc
2019-03-08 15:59:59 -08:00
Sheetal Nandi
ec47859624
Make watch use sourceFileHash so it can be used with --incremental as well
2019-03-08 15:56:08 -08:00
Sheetal Nandi
68e28da141
Build project if existing project was built with different compiler version
2019-03-08 15:14:34 -08:00
Sheetal Nandi
8e7db4d4b3
Because .tsbuildinfo is flag now, use .tsbuildinfo just like any other output to determine if project needs rebuild
2019-03-01 13:12:19 -08:00
Sheetal Nandi
d53efdf380
Changes to generation of .tsbuildinfo:
...
- If composite or incremental then only the .tsbuildinfo will be generated
- if --out or --outFile the file is outputFile.tsbuildinfo
- if rootDir and outDir then outdir/relativePathOfConfigFromRootDir/configname.tsbuildinfo
- if just outDir then outDir/configname.tsbuild
- otherwise config.tsbuildinfo next to configFile
2019-02-28 13:46:26 -08:00
Sheetal Nandi
89c4c4f684
Update the message to not just mean javascript since we might need to regenerate .d.ts as well
2019-02-21 17:52:15 -08:00
Sheetal Nandi
e9fb843e56
Add test to verify incremental build is same as if its built clean
2019-02-21 12:46:04 -08:00
Sheetal Nandi
1d77008993
Handle when no .tsbuildinfo is to be generated
2019-02-07 16:27:45 -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
aa5d62a72c
Perform only emit on js file if no decl file change
2019-02-04 15:01:54 -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
Sheetal Nandi
0d9cf96e74
Make the bundle info into buildInfo
2019-01-30 10:07:29 -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
d5b5f8d289
Handle --clean with .tsbuildinfo
2019-01-29 13:58:47 -08:00
Sheetal Nandi
900d6f7c90
renames
2019-01-17 12:29:23 -08:00
Sheetal Nandi
9f3b77a8bd
PR feedback
2019-01-17 09:23:20 -08:00