Sheetal Nandi
cd195c91c6
Add options tsBuildInfoFile to provide name for the buildinfo file
2019-03-01 10:28:57 -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
9fa28158bb
Enable building typescript.d.ts with current source
2019-02-22 18:11:27 -08:00
Kagami Sascha Rosylight
13c72b786e
Merge remote-tracking branch 'upstream/master' into es2019
2019-02-08 06:55:56 +09:00
Kagami Sascha Rosylight
b3c179540a
String.prototype.{trimStart,trimEnd} hit stage 4
2019-02-08 00:51:23 +09:00
Kagami Sascha Rosylight
f525a89e87
Array.prototype.{flat,flatMap} hit stage 4
2019-02-08 00:10:34 +09:00
Kagami Sascha Rosylight
40a4bd0a95
revive esnext.symbol
2019-02-07 10:45:44 +09:00
Kagami Sascha Rosylight
a8823f5169
Merge branch 'master' into es2019
2019-02-07 10:08:26 +09: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
Matthew Aynalem
f30e8a284a
fix spelling errors
2019-01-27 20:33:33 -08:00
Kagami Sascha Rosylight
1d8a2ea38c
Symbol.prototype.description hit stage 4
2019-01-06 11:42:55 +09:00
Kagami Sascha Rosylight
c89a80736e
add ES2019 target
2018-12-27 19:46:21 +09:00
Kagami Sascha Rosylight
60996b5bed
Merge remote-tracking branch 'upstream/master' into async-es2018
2018-12-26 17:15:03 +09:00
Wesley Wigham
2109c34a8c
Merge pull request #28856 from weswigham/showConfig-exhaustive-test
...
Fix paths showConfig, exhaustively test showConfig
2018-12-04 23:19:35 -08:00
Wesley Wigham
19de47f2db
Fix paths showConfig, exhaustively test showConfig
2018-12-04 16:24:25 -08:00
r7kamura
0f5121df9f
Add terminating newline to generated tsconfig.json
...
This commit adds a terminating newline to tsconfig.json
generated by `tsc --init`, just like `npm init`'s package.json.
The main reason I created this pull request is for editor friendliness.
Recently I created a new TypeScript project with `tsc --init`,
then I modified some compilerOptions and tried to git-commit the change,
but I found a newline was automatically added by my editor.
I think it's better that the default tsconfig.json template has a
terminating newline.
2018-12-01 03:07:11 +09:00
Wesley Wigham
9319ea4941
--showConfig files list condition was inverted from what it needed to be ( #28693 )
...
* --showConfig files list condition was inverted from what it needed to be
* Make no assumptions about file list normalization
* accept updated, correct, baseline
2018-11-28 14:01:02 -08:00
Sheetal Nandi
99d357db57
Enable statistics reporting per program through temporary build api
2018-11-19 12:38:36 -08:00
Daniel Rosenwasser
25462beeb7
Merge pull request #28456 from Microsoft/nonExperimentalBigInt
...
BigInt shouldn't be considered experimental
2018-11-12 15:59:15 -08:00
Michael Tang
4e0bb7a80a
Fix typo comment
2018-11-11 19:03:46 -08:00
Kagami Sascha Rosylight
7017d1a9ef
Merge branch 'master' into async-es2018
2018-11-12 11:04:21 +09:00
Daniel Rosenwasser
f7ad54b432
Only complain about BigInt literals in pre-ESNext targets.
2018-11-09 16:20:54 -08:00
Sheetal Nandi
c77f0c41c2
Add affectsModuleResolution to compile options: maxNodeModuleJsDepth
...
Fixes inferred project incorrectly modifying existing compiler options
Fixes #27108
2018-11-09 10:48:28 -08:00
Caleb Sander
28e9ec497c
Address review comments
2018-11-05 11:36:32 -08:00
Caleb Sander
95c24c6c6a
experimentalBigInt compiler flag
2018-11-05 11:36:31 -08:00
Caleb Sander
0c1bf316a2
Declaration files for BigInt
2018-11-05 11:36:30 -08:00
Sheetal Nandi
77ef9cedab
Report error summary in pretty mode during normal compilation
2018-11-01 16:11:22 -07:00
Wesley Wigham
a4a1bed88b
Add showConfig tsc flag for debugging configs ( #27353 )
...
* Add showConfig tsc flag for debugging configs
* Merge showConfig implementation with init implementation, add basic unit tests
* Fix lint
* Add missing semicolon
* showConfig when theres no config file
2018-10-31 15:57:09 -07:00
Andy
7c515bf6e8
Remove toSortedArray and toDeduplicatedSortedArray, use sort and sortAndDeduplicate ( #28214 )
2018-10-30 08:41:31 -07:00
Wesley Wigham
05716a74a5
Add support for configuration inheritance via packages ( #27348 )
...
* Add support for configuration inheritance via packages
* Fix lint
* Propagate trace into config parse hosts
2018-10-25 10:19:57 -07:00
Sheetal Nandi
91bb32ade4
Merge pull request #27560 from Microsoft/transitiveReferences
...
Resolve modules, type reference directives in context of referenced file
2018-10-18 13:03:10 -07:00
Wesley Wigham
e58371e03a
Remove now unnessesary casts ( #27954 )
2018-10-17 15:17:21 -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
94df5167b0
Handle resolution caching when referenced tsconfig changes
2018-10-04 15:04:12 -07:00
Sheetal Nandi
0ac96580d5
Resolve project references transitively
2018-10-04 15:04:10 -07:00
Sheetal Nandi
6e8027e95e
Merge pull request #27395 from Microsoft/noFilesError
...
Refactoring to unify updating no input files error
2018-10-01 15:03:44 -07:00
Sheetal Nandi
0245c2d35e
Only copy non error values in array when converting the json
...
Fixes #27432
2018-09-28 13:49:00 -07:00
Wesley Wigham
7bf382e73f
Allow empty files lists in tsconfigs with an extends member ( #27383 )
2018-09-27 12:40:29 -07:00
Sheetal Nandi
aed876dfb4
Refactoring to unify updating no input files error
2018-09-27 11:58:15 -07:00
Anders Hejlsberg
5510e0755e
Merge branch 'master' into typedBindCallApply
...
# Conflicts:
# tests/baselines/reference/tsxTypeArgumentPartialDefinitionStillErrors.errors.txt
# tests/baselines/reference/wrappedAndRecursiveConstraints4.errors.txt
2018-09-24 16:38:39 -07:00
Sheetal Nandi
b6d90841c9
Add traceResolution option to build options
2018-09-17 18:48:57 -07:00
Ryan Cavanaugh
577ee49106
Merge pull request #27139 from ajafff/config-extends
...
fix getExtendedConfig in commandLineParser
2018-09-17 16:29:16 -07:00
Klaus Meinhardt
f71030f011
Simply override extendedSourceFiles array
2018-09-17 21:24:26 +02:00
Andy
a57467a317
Fix bugs: Replace SourceFile if '--noUnusedLabels' changed ( #27060 )
...
* Fix bugs: Replace SourceFile if '--noUnusedLabels' changed
* Use properties on CommandLineOptionBase
* Handle "alwaysStrict" and better categorize options
* Properly handle "strict"
* Code review
* fix test
2018-09-17 10:53:48 -07:00
Klaus Meinhardt
78d221993b
fix getExtendedConfig in commandLineParser
...
* remove invalid assertion
* fix invalid array spread on possibly undefined value
* only add unique files to extendedSourceFiles, preventing the array from growing infinitely
2018-09-17 14:41:48 +02:00
Sheetal Nandi
513a16264b
Make parseCommandLineWorker non generic
2018-09-14 10:05:14 -07:00
Sheetal Nandi
4cf746cdc4
Enable listFiles and listEmittedFiles as build option
2018-09-13 11:17:03 -07:00
Sheetal Nandi
0d60348e45
Unify the commandline parsing worker
2018-09-13 10:30:45 -07:00