228 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan
9e2df0459e Address PR 2016-03-16 16:35:51 -07:00
Kanchalai Tanglertsampan
266a92b1f3 Address PR 2016-03-16 15:29:13 -07:00
Kanchalai Tanglertsampan
f7a55fa5a2 Remove --lib 2016-03-16 14:08:49 -07:00
Kanchalai Tanglertsampan
92bee6a533 Unify error message for custom-type compiler option 2016-03-16 13:49:36 -07:00
Kanchalai Tanglertsampan
4d915e59d9 Using ts.filter instead of just .filter 2016-03-15 17:04:18 -07:00
Kanchalai Tanglertsampan
95b43dac29 Handle default compiler-options and typing-options 2016-03-15 16:30:11 -07:00
Kanchalai Tanglertsampan
f4e920e2c1 Add unittest for testing convert compiler-options and typing-options 2016-03-15 11:45:21 -07:00
Kanchalai Tanglertsampan
157b8e7456 Add a new unittest for command line parsing for --lib 2016-03-15 11:44:33 -07:00
Kanchalai Tanglertsampan
be0592da3b Add correct options for --lib 2016-03-14 15:53:42 -07:00
Kanchalai Tanglertsampan
eb82824697 Chagne specifies -> specify 2016-03-14 15:49:29 -07:00
Mohamed Hegazy
0735f465f0 Add support for list types
consolidate typings options and commmandline option parsing from json files

Fix
2016-03-14 15:28:49 -07:00
Mohamed Hegazy
3adab0cec3 revert 2016-03-14 14:42:43 -07:00
jramsay
de47fcc113 Merge pull request #7179 from Microsoft/jsTypingForAcquireDts
Salsa: JS support for discovering and acquiring d.ts files
2016-03-02 11:10:12 -08:00
Jason Ramsay
b3ceea3b3d - replacing TryParseJson with existing readConfig
- push error for invalid enableAutoDiscovery option
- adding interfaces for jsons
- removing updateNotFoundTypings
- node_modules normalize file names before using
- adding safeListPath to discoverTypings
2016-03-01 11:50:27 -08:00
zhengbli
5981d8e60c CR feedback 2016-02-26 14:27:37 -08:00
Jason Ramsay
18883f9d32 Using removeComments from commandLineParser. This is more robust as it removes both single and multiline comments 2016-02-23 13:30:24 -08:00
Jason Ramsay
71bfefccb9 Switch let -> const from lint validation 2016-02-22 19:33:45 -08:00
Jason Ramsay
5b06edbc54 Addressing CR comments
- Adding check to ensure TypingOptions 'include' and 'exclude' arrays are composed of strings
- Allow leading whitespace when removing comments from json
2016-02-22 19:00:06 -08:00
Jason Ramsay
284d9f527c Salsa: JS support for discovering and acquiring d.ts files
(Mostly isolating VS host changes from PR#6448)
2016-02-21 21:35:02 -08:00
Asad Saeeduddin
ba63a48fe1 Add declarationDir option 2016-02-20 13:28:21 -05:00
Vladimir Matveev
7d2ce0f5c1 fix falling tests and linter issues
(cherry picked from commit 7404b901b962d0673b7d4522cd961c3dd8859e9b)
2016-02-11 14:23:01 -08:00
Bill Ticehurst
9d008feba3 Added module: none as an option
(cherry picked from commit 195e69c8893a1b67f3a7885619d8df74b911c03a)
2016-02-11 14:09:10 -08:00
Bill Ticehurst
6a8ccd0b56 Dont default to CommonJS modules for ES6 target
(cherry picked from commit 4a67dc5e0823ca934eda4cd62b99bf4e7270a1dd)
2016-02-11 14:08:26 -08:00
Bill Ticehurst
ece77866e4 Do not add minified JavaScript files on file crawl
(cherry picked from commit fc5d94df579414192dd074771e50f805466a3417)
2016-02-11 14:07:35 -08:00
Bill Ticehurst
b93d112a8a Fix node_modules exclude
(cherry picked from commit 2922bd59a6a73a99646b02e42ec40721dcb66835)
2016-02-11 14:07:35 -08:00
Bill Ticehurst
bb28424b45 Removed errors for missing module specifier
(cherry picked from commit f2e7f9f50f58ebe35d31e04c8f82fb37ae9dbcef)
2016-02-11 14:07:32 -08:00
Bill Ticehurst
3cf96529e7 Changed node_modules and module defaults
(cherry picked from commit b791fd89cdce0fd1eee7c9d1ee9c6767d2ca4ebe)
2016-02-11 14:05:24 -08:00
Mohamed Hegazy
6f804e40ef change flag name 2016-02-05 16:30:01 -08:00
Mohamed Hegazy
1611f56481 Rename flag 2016-02-04 12:44:03 -08:00
Mohamed Hegazy
10522f9eee Add flag to emit modules in loose mode 2016-02-03 14:16:22 -08:00
Vladimir Matveev
adacad326a addressed PR feedback 2016-01-26 21:38:12 -08:00
Vladimir Matveev
8a8ed0a871 update implementation based on the results of design meeting 2016-01-25 11:49:26 -08:00
Vladimir Matveev
cb3e93f75b Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2016-01-24 19:57:13 -08:00
Zhengbo Li
31f5502f2b set default module to commonjs for jsconfig.json 2016-01-21 16:05:44 -08:00
Zhengbo Li
d64b603e4b revert breaking changes 2016-01-20 16:53:15 -08:00
zhengbli
b5ed7f3eda Add support for jsconfig.json in language service 2016-01-19 16:30:52 -08:00
vladima
39ad0774ae merge with origin/master 2016-01-11 22:49:19 -08:00
Mohamed Hegazy
cc1947b94f Rename jsxNamespace to reactNamespace 2016-01-07 13:59:25 -08:00
Mohamed Hegazy
c0b28a3a40 Merge branch 'react-factory-option' of https://github.com/rwyborn/TypeScript into rwyborn-react-factory-option
Conflicts:
	src/compiler/checker.ts
2016-01-07 13:50:03 -08:00
Vladimir Matveev
39a50fa8a3 merge with origin/master 2016-01-04 12:07:26 -08:00
Nathan Shively-Sanders
401a393519 Fix ++/-- lint 2015-12-22 15:45:00 -08:00
Rowan Wyborn
b7f60704bb Initial check in - Support other JSX factories Issue #3788
- added jsxNamespace compile option
- when jsx mode is "react", jsxNamespace optionally specifies the emit namespace for React calls, eg "--jsxNamespace MyDOMLib" will emit calls as MyDOMLib.createElement (instead of React.createElement)
- symbol specified by jsxNamespace must be present, else compile error is generated (same handling as is done for React symbol when no jsxNamespace is specified)
2015-12-18 21:56:08 +11:00
Vladimir Matveev
4e3cba1f7c Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-11-25 21:23:45 -08:00
Wesley Wigham
adc3f2bd19 update description 2015-11-25 17:27:07 -08:00
Vladimir Matveev
62370a0d08 addressed PR feedback 2015-11-25 16:41:09 -08:00
Vladimir Matveev
25cc97bb75 addressed PR feedback 2015-11-24 16:41:41 -08:00
Wesley Wigham
f28958fe18 Merge branch 'master' into autohoist-default 2015-11-20 13:45:25 -08:00
Vladimir Matveev
6844285782 verbose module resolution 2015-11-19 21:33:33 -08:00
Vladimir Matveev
6bed1ba53a merge with master 2015-11-19 21:11:57 -08:00
Vladimir Matveev
d2fd6437d7 initial implementation of path mapping based module resolution 2015-11-18 21:46:45 -08:00