424 Commits

Author SHA1 Message Date
Mohamed Hegazy
0bc2840af4 Make generateTSConfig return a string 2017-02-08 12:41:40 -08:00
Mohamed Hegazy
f53eeae4d8 use category in serializeCompilerOptions 2017-02-08 12:35:31 -08:00
Mohamed Hegazy
6837125657 Add deprecation notice for some options 2017-02-08 12:25:38 -08:00
Mohamed Hegazy
486757f51f Add simplified help view and full help view 2017-02-08 12:14:43 -08:00
Mohamed Hegazy
3459719872 Manually order options 2017-02-07 23:10:43 -08:00
Mohamed Hegazy
57f2fbde95 Make sure all options have descriptions 2017-02-07 21:54:56 -08:00
Andy Hanson
296022831e Merge branch 'master' into include_ordering 2017-01-25 06:57:26 -08:00
David Sheldrick
8d590d5191 rename preserveWithJsExtension to react-native 2017-01-23 21:42:39 +01:00
David Sheldrick
dd0ed44b9a Add option to output .js files while preserving jsx
This commit adds the ability to preserve jsx in source code, but
also to output .js files rather than .jsx files. This is useful
for react-native which does not support .jsx files.
2017-01-23 18:17:16 +01:00
Andy Hanson
37e18d9741 Add createMapFromTemplate helper 2017-01-11 09:52:50 -08:00
Andy Hanson
f0e1fd93f7 Merge branch 'master' into map5 2017-01-11 07:17:37 -08:00
Homa Wong
41af749196 Update based on feedback 2017-01-09 21:29:34 -08:00
Andy Hanson
589db585b0 Merge branch 'master' into include_ordering 2017-01-09 06:38:16 -08:00
Homa Wong
54e9ae32e6 Fix --project help 2017-01-06 23:44:17 -08:00
Andy Hanson
932eaa3f90 Rename and consolidate map iteration helpers 2016-12-28 09:16:38 -08:00
Andy Hanson
39c19a74ea Inline keysOfMap and valuesOfMap. 2016-12-28 09:05:52 -08:00
Andy Hanson
9e33585a80 Merge branch 'master' into map5 2016-12-27 12:56:05 -08:00
Andy Hanson
3d7b5e6019 Make createMapLike private and rename to createDictionaryObject 2016-12-27 12:46:28 -08:00
Mohamed Hegazy
e4b81d0331 Merge pull request #13006 from SaschaNaz/lintfix
Fix latest tslint errors
2016-12-26 11:24:25 -08:00
Mohamed Hegazy
94b10f8186 Merge pull request #12667 from bb/patch-1
Normalize 'basePath' in 'parseJsonConfigFileContent'
2016-12-22 11:42:21 -08:00
Kagami Sascha Rosylight
27a60e4580 fix linting errors 2016-12-18 15:44:54 +09:00
Vladimir Matveev
366dfc052f expose parseCommandLine (#12934) 2016-12-14 21:53:33 -08:00
Andy Hanson
55fc62bc45 Merge branch 'master' into map5 2016-12-12 07:50:09 -08:00
Jason Ramsay
05160cae8e Rename fileExtensionMap: fileExtensionMapItem[] to extraFileExtensions: FileExtensionInfo[] 2016-12-09 13:36:43 -08:00
Jason Ramsay
d52894302a Changes due to CR comments 2016-12-08 17:56:08 -08:00
Andy Hanson
6b1cc8972d Use native maps when they're available 2016-12-08 06:40:31 -08:00
Jason Ramsay
1c3689edef Merge branch 'master' into tsconfigMixedContentSupportRedux 2016-12-07 15:33:42 -08:00
Andy Hanson
efa8c4171b Reuse code from convertJsonOptionOfCustomType 2016-12-07 08:19:47 -08:00
Benjamin Bock
fee777dd9c fixes #9123
like 1f43720026/src/compiler/commandLineParser.ts but without removing the open-curly of the function
2016-12-05 11:35:38 +01:00
arusakov
edb376db01 Update cli --target description (es2016 and 2017) 2016-12-02 18:54:11 +03:00
Andy Hanson
b220831ab7 Sort matched files by include order 2016-11-29 08:37:31 -08:00
jramsay
855431a943 Merge pull request #12373 from Microsoft/RenameTypingOptions
Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable
2016-11-22 17:22:30 -08:00
Jason Ramsay
2b89d919a0 Addressing CR feedback 2016-11-22 17:08:43 -08:00
Jason Ramsay
70e130b08c Maintain support for deprecated API typingOptions.enableAutoDiscovery 2016-11-21 18:17:27 -08:00
Jason Ramsay
5a9451ae23 Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable 2016-11-18 18:14:32 -08:00
Jason Ramsay
464bc0e9e0 Merge branch 'master' into tsconfigMixedContentSupportRedux 2016-11-18 16:15:15 -08:00
Jason Ramsay
7dd30dbfd4 tsconfig.json mixed content support 2016-11-18 15:51:28 -08:00
Andy Hanson
aa0d2ce2ee Make "exclude" default to empty if "include" is present. 2016-11-18 06:55:03 -08:00
Zhengbo Li
6f409b580e Fix grammar issue (#12096)
* Fix grammar issue

* Improve the error message

* cr feedback
2016-11-16 14:13:29 -08:00
Cotton Hou
9a8e1bf8a6 Add ES2017 string padding (#12152)
* add es2017.string.d.ts for String.prototype.{padStart,padEnd}

* append es2017.string.d.ts into es2017.d.ts

* add es2017.string into commandLineParser

* append es2017.string into error message for unit tests of commandLineParser

* append es2017.string into Gulpfile

* append es2017.string into Jakefile
2016-11-10 12:43:51 -08:00
Sheetal Nandi
c458576553 Merge pull request #12135 from Microsoft/jsxFactory
Support for --jsxFactory option
2016-11-10 09:49:57 -08:00
Sheetal Nandi
4b8a55793a Add support for taking in jsxFactory option and report errors for invalid combinations 2016-11-09 12:23:59 -08:00
Nathan Shively-Sanders
7b9a42f995 Add --target esnext
Currently, this disables the rest and spread transforms. This will
change as proposals enter and leave stage 3.
2016-11-07 09:54:48 -08:00
Andy Hanson
040942f2b2 Merge branch 'master' into includes_glob 2016-10-25 08:19:37 -07:00
Mohamed Hegazy
4dc6028263 Fix #11650 add an error message for no source files parsing a tsconfig.json (#11743)
* Fix #11650 add an error message for no source files parsing a tsconfig.json

* Use the file name in error message

* Use constants

* Review comments: change message text
2016-10-24 11:00:32 -07:00
(´・ω・`)
287b54518d Fix #10967, allow boolean flags to have explicit value (#11798)
* Fix #10967, allow boolean flag to have explicit value

* add commandLineParsing test for boolean flags
2016-10-24 10:45:07 -07:00
Andy Hanson
7157692191 Respond to PR comments 2016-10-24 06:48:05 -07:00
Andy Hanson
1f7f67de17 Type arguments to formatStringFromArgs as strings instead of implicitly stringifying 2016-10-18 08:48:40 -07:00
Andrej Baran
17d60d5d8f Merged master into es2017-target 2016-10-15 08:31:22 +02:00
Andrej Baran
86784a5eef Get rid of ES6 completely 2016-10-14 10:54:54 +02:00