Commit Graph

340 Commits

Author SHA1 Message Date
Mohamed Hegazy 02cb9ad9c2 Update version 2016-02-25 17:04:38 -08:00
Vladimir Matveev e51fb151e8 Merge pull request #7228 from Microsoft/bundledDeclarationEmit
avoid multiple passes over the program when computing diagnostics for…
2016-02-25 12:48:29 -08:00
Mohamed Hegazy 1f599398e1 Do not report all declarations in Program.emit, only declaration diagnostics 2016-02-16 16:35:13 -08:00
Bill Ticehurst bbf48bb89c Fixed wording and updated tests
(cherry picked from commit fe60490c2a)
2016-02-16 11:28:51 -08:00
Bill Ticehurst dd80e87355 Set experimentalDecorators warning for JavaScript
(cherry picked from commit ed7abcc1e9)
2016-02-16 11:28:50 -08:00
Bill Ticehurst d396f6e8c9 Allow decorators in JavaScript files
(cherry picked from commit f601e6dd76)
2016-02-16 11:28:50 -08:00
Bill Ticehurst cf0b9f6ee2 Fix fallback to classic resolution
(cherry picked from commit e03a45a824)
2016-02-12 15:46:16 -08:00
Bill Ticehurst 195e69c889 Added module: none as an option 2016-02-11 12:45:52 -08:00
Bill Ticehurst 4a67dc5e08 Dont default to CommonJS modules for ES6 target 2016-02-11 11:53:10 -08:00
Bill Ticehurst 73fa45bd2e Added back errors for module kind none 2016-02-11 11:01:10 -08:00
Vladimir Matveev 7404b901b9 fix falling tests and linter issues 2016-02-11 09:48:47 -08:00
Bill Ticehurst f2e7f9f50f Removed errors for missing module specifier 2016-02-10 19:56:31 -08:00
Vladimir Matveev 9fe10a6ac0 Merge pull request #6846 from Microsoft/noErrorOnEmptyDtsFile
do not error if typings for external library is empty .d.ts file
2016-02-02 12:13:42 -08:00
Daniel Rosenwasser 34a0deb561 Only error on 'export =' declarations. 2016-02-01 13:28:58 -08:00
Vladimir Matveev f55f28f82f Merge pull request #6789 from Microsoft/transpileJs
suppress validation of output paths in transpile scenarios
2016-02-01 11:29:04 -08:00
Vladimir Matveev 37dafcd7df Merge pull request #6704 from Microsoft/isRequireCall_fix
add extra argument to 'isRequireCall' to check if argument is string …
2016-01-28 15:17:46 -08:00
Mohamed Hegazy 15bc82c24c Update version 2016-01-28 14:17:38 -08:00
Mohamed Hegazy 2453e54f93 Revert "Update version"
This reverts commit add91052bb.
2016-01-27 18:50:29 -08:00
Mohamed Hegazy add91052bb Update version 2016-01-25 17:08:15 -08:00
Daniel Rosenwasser 26fdf891e9 Fix lint errors. 2016-01-16 14:05:46 -08:00
Vladimir Matveev 3aa92f5611 addressed PR feedback 2016-01-14 10:56:49 -08:00
vladima 0e1c6e3c9a fix linter issues 2016-01-11 22:34:38 -08:00
vladima 7cef1efb4e merge with origin/master 2016-01-11 22:12:03 -08:00
Mohamed Hegazy ec70105c9d Add check for reactNamespace value 2016-01-07 15:00:50 -08:00
Vladimir Matveev 36af815bba add optional 'directoryExists' method to hosts to reduce amount of disk probings that are known to fail 2016-01-06 12:37:52 -08:00
Vladimir Matveev 7f2ebf928a use 'declare global' to define augmentations for the global scope 2015-12-28 12:03:54 -08:00
Nathan Shively-Sanders abf9961528 Merge branch 'master' into lint-nested-++ 2015-12-22 16:12:07 -08:00
Nathan Shively-Sanders 401a393519 Fix ++/-- lint 2015-12-22 15:45:00 -08:00
Vladimir Matveev 4a963a26c3 initial revision of external module augmentations 2015-12-22 13:56:22 -08:00
vladima 39605fe5f8 report pre-emit diagnostics that blocked emit 2015-12-21 21:43:51 -08:00
yaoyao e95ae4f100 Improve 'Cannot compile modules unless the '--module' flag is provided.' message 2015-12-08 08:56:41 +08:00
Tim Perry 384ee18c7b Gracefully handle errors where 'typings' is not a string (fixes #4828) 2015-12-07 18:25:25 +01:00
Sheetal Nandi 5772dade97 Add test case for reporting file preprocessing error in javascript file 2015-11-30 13:59:03 -08:00
Sheetal Nandi 6b42712eb2 Report bind diagnostics, program diagnostics and file pre processing diagnostics in javascript file
Handles #5785
2015-11-30 13:26:00 -08:00
Wesley Wigham b11786866b Merge branch 'master' into use-common-directory-for-out 2015-11-20 13:32:12 -08:00
Wesley Wigham 08045dfd31 Refactor getCommonSourceDirectory into a closure function 2015-11-18 17:10:22 -08:00
Wesley Wigham c0f185943c remove comment 2015-11-18 14:10:53 -08:00
Wesley Wigham a44ebbbc7e only make common dir on call 2015-11-18 13:19:56 -08:00
Wesley Wigham c7a3bee916 Merge branch 'master' into use-common-directory-for-out 2015-11-18 13:10:23 -08:00
Sheetal Nandi a19307d533 Merge branch 'master' into jsFileCompilation 2015-11-18 11:26:58 -08:00
Sheetal Nandi 5ac6eb2d79 PR feedback 2015-11-18 10:48:03 -08:00
Wesley Wigham a989595044 use getCanonicalFileName on path fragments as in other utility methods 2015-11-17 11:24:17 -08:00
Wesley Wigham 3fd9eb5637 Merge branch 'master' into compute-common-source-dir 2015-11-17 10:11:37 -08:00
Sheetal Nandi 073b69aaf5 Merge branch 'master' into jsFileCompilation 2015-11-16 12:04:42 -08:00
Sheetal Nandi 1ee5022350 Change the api for node name resolver to take compiler options instead of supportedExtensions 2015-11-16 11:49:26 -08:00
Vladimir Matveev 078ed3f485 use normalized absolute file names when doing consistency check 2015-11-16 09:49:58 -08:00
Wesley Wigham 39ebe81b89 Merge branch 'master' into compute-common-source-dir 2015-11-13 17:56:04 -08:00
Wesley Wigham e41bfd1ccc fix many lints 2015-11-13 17:43:53 -08:00
Wesley Wigham 7e69f014f3 Always compute a common source directory for a program 2015-11-13 14:41:09 -08:00
Sheetal Nandi 0482afdc1e Load only typescript files if resolving from node modules 2015-11-13 14:28:40 -08:00