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
Sheetal Nandi
3bdad8a6b0
When excluding same base name file from compilation, check for all supported javascript extensions instead of just .js
2015-11-12 14:25:46 -08:00
Sheetal Nandi
0b215404d1
Simplified logic of getting files if files werent suppplied in tscconfig.json
...
Since we dont support arbitary list of extensions to treat as .js,
it becomes easier to simplify code based on the assumptions
2015-11-12 13:23:53 -08:00
Wesley Wigham
a32f44f9f4
Add command line flag to allow synthetic default exports
2015-11-09 14:36:00 -08:00
Sheetal Nandi
4c842591f7
Merge branch 'master' into jsFileCompilation
2015-11-06 12:39:42 -08:00
Wesley Wigham
8a93b48945
fix lint: prefer const
2015-11-04 14:51:36 -08:00
Daniel Rosenwasser
a44a340449
Fix description of '--pretty'.
2015-11-02 16:40:35 -08:00
Daniel Rosenwasser
32b259eb84
Merge branch 'master' into iFeelPrettyErr
2015-11-02 15:31:23 -08:00
Daniel Rosenwasser
e5f105367a
Merge branch 'master' into iFeelPrettyErr
2015-11-02 15:28:42 -08:00
Vladimir Matveev
fb15e9c7c0
Merge pull request #4788 from Microsoft/reachabilityChecks
...
initial revision of reachability checks
2015-11-02 14:55:19 -08:00
Daniel Rosenwasser
654cbd9779
Just name the option 'pretty' for now.
2015-11-02 13:20:48 -08:00
Sébastien Arod
638e4b758a
Use regex for repacing comments content.
...
Use space for indents
2015-11-01 15:31:16 +01:00
Sébastien Arod
00b389d477
New commit using TS scanner.
...
This commit uses TS scanner and replaces comments token text
by whitespaces to preserve orginal positions.
2015-10-31 23:17:46 +01:00