Commit graph

458 commits

Author SHA1 Message Date
zhengbli d5cad239e8 Add nullchecks for typeRoots, remove getCurrentDirectory from ServerHost as it is always the installation location 2016-06-28 12:10:26 -07:00
zhengbli 6ff91b84ab Add getCurrentDirectory to ServerHost 2016-06-28 11:53:30 -07:00
Bill Ticehurst 8bf3d54524 Merge pull request #7075 from Microsoft/loadJsFromModules
Load JavaScript modules from Node packages
2016-06-27 18:42:12 -07:00
Bill Ticehurst d8e3bd99e8 Added emitHost method to return source from node modules 2016-06-27 16:32:29 -07:00
Mohamed Hegazy f67f1f7db7 Update version to 2.0.0 2016-06-27 13:43:07 -07:00
Bill Ticehurst 1b43bd8e83 Removed old TODO comment 2016-06-26 23:33:46 -07:00
Bill Ticehurst e9a0c56d3c Fixed bugs and linting 2016-06-26 20:48:22 -07:00
Bill Ticehurst 8ff2c1ad4f Fixed linting error 2016-06-21 14:00:42 -07:00
Bill Ticehurst 07bfbab6ff Changed implementation to use closure 2016-06-21 13:47:17 -07:00
Bill Ticehurst 4d4f679ec4 Merge branch 'master' into loadJsFromModules 2016-06-21 09:03:38 -07:00
Daniel Rosenwasser e9226af3f6 Array#map -> ts.map. 2016-06-17 17:18:16 -07:00
Andy Hanson dd0411a2f3 Allow property declarations in .js files 2016-06-15 09:42:52 -07:00
Ryan Cavanaugh 29f5291453 Refactor 2016-06-13 14:37:07 -07:00
Ryan Cavanaugh b10d93291f Absolute-ify paths in both places 2016-06-13 14:20:31 -07:00
Ryan Cavanaugh 6702e651a3 CR changes 2016-06-13 10:15:29 -07:00
Ryan Cavanaugh e8ac1abbd6 Baseline fix, CR comments, lint 2016-06-13 09:33:49 -07:00
Ryan Cavanaugh 576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh 9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
Mohamed Hegazy 97d7aa5fb5 Merge pull request #9042 from Microsoft/ES6ModulesES5Target
Fix #6319: Add support for `--t: es5` and  `--m es6`
2016-06-10 10:23:39 -07:00
Andy Hanson d973f4d701 Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:08:16 -07:00
Andy Hanson ff6e025e8a Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:03:54 -07:00
Sheetal Nandi a4991b9e98 Merge pull request #9057 from Microsoft/sourceRootWithInlineSources
Allow --sourceRoot with --inlineSources option
2016-06-09 15:38:21 -07:00
Andy 9ffd00d6ff Merge pull request #8939 from Microsoft/pattern_ambient_modules
Allow wildcard ("*") patterns in ambient module declarations
2016-06-09 13:08:02 -07:00
Sheetal Nandi b521fd55a4 Allow --sourceRoot with --inlineSources option
Fixes #8445
2016-06-09 11:51:53 -07:00
Andy Hanson 75c1d77606 Merge branch 'master' into shorthand_ambient_module 2016-06-09 11:43:18 -07:00
Andy 512c6719ae Merge pull request #8895 from Microsoft/strip_extension
Allow an import of "foo.js" to be matched by a file "foo.ts"
2016-06-09 11:38:26 -07:00
Vladimir Matveev d941177547 check if moduleResolution when verifying that program can be reused 2016-06-07 15:08:46 -07:00
Andy Hanson a918730df0 factor out isJsxOrTsxExtension 2016-06-06 12:17:11 -07:00
Mohamed Hegazy 18a875807c Remove restriction on --target es5 and --module es6 2016-06-05 15:37:20 -07:00
Andy Hanson 094f97e366 Respond to PR comments 2016-06-03 06:22:34 -07:00
Andy Hanson 7e9cb46a1a Support shorthand ambient module declarations 2016-06-02 12:55:48 -07:00
Andy Hanson 3b19825890 Allow wildcard ("*") patterns in ambient module declarations 2016-06-02 05:44:49 -07:00
Andy Hanson 9575b3c3ca Revert to old tryLoad implementation 2016-06-01 11:44:12 -07:00
Andy Hanson d4b8889984 Respond to more PR comments 2016-05-31 12:58:05 -07:00
Andy Hanson f4d6b67cb0 Respond to PR comments 2016-05-31 11:39:11 -07:00
Andy Hanson a0546a9310 Improve loadModuleFromFile code 2016-05-31 10:41:46 -07:00
Andy Hanson fa16a99514 Allow an import of "foo.js" to be matched by a file "foo.ts" 2016-05-31 09:26:21 -07:00
Ryan Cavanaugh 7173fa8d02 Merge pull request #8670 from RyanCavanaugh/fix8275
Automatically consume @types/ folders
2016-05-24 15:23:06 -07:00
Bill Ticehurst 75d84dcf61 Merge remote-tracking branch 'upstream/master' into loadJsFromModules 2016-05-23 17:14:23 -07:00
Bill Ticehurst ac541948c9 Fixed diagnostic message wording 2016-05-23 17:06:48 -07:00
Bill Ticehurst c76dc72b40 Merge remote-tracking branch 'upstream/master' into loadJsFromModules 2016-05-23 17:00:10 -07:00
Ryan Cavanaugh f7cc05482b Don't lose host 'this' 2016-05-23 16:25:25 -07:00
Ryan Cavanaugh 27292e4292 Merge pull request #8678 from RyanCavanaugh/fix8255
Tweak UMD / global semantics
2016-05-23 16:15:56 -07:00
Ryan Cavanaugh 3ee4a2283f Lint 2016-05-23 15:47:04 -07:00
Ryan Cavanaugh 1c253239e6 Refactor 2016-05-23 14:51:39 -07:00
Ryan Cavanaugh 41290db9c6 Tweak UMD semantics 2016-05-18 17:59:43 -07:00
Mohamed Hegazy 167c3fbc64 Fix typo 2016-05-18 17:12:59 -07:00
Mohamed Hegazy d73dd06e4b Respond to code review comments 2016-05-18 16:37:14 -07:00
Ryan Cavanaugh 58b11b631f Baseline accept and reorder program logic so common source dir is right 2016-05-18 11:30:40 -07:00
Ryan Cavanaugh f0e3ebe37d Lint 2016-05-18 11:12:02 -07:00