Bill Ticehurst
|
6a8ccd0b56
|
Dont default to CommonJS modules for ES6 target
(cherry picked from commit 4a67dc5e08 )
|
2016-02-11 14:08:26 -08:00 |
|
Bill Ticehurst
|
a370103e15
|
Added back errors for module kind none
(cherry picked from commit 73fa45bd2e )
|
2016-02-11 14:08:24 -08:00 |
|
Bill Ticehurst
|
bb28424b45
|
Removed errors for missing module specifier
(cherry picked from commit f2e7f9f50f )
|
2016-02-11 14:07:32 -08:00 |
|
Josh Soref
|
284b26f49f
|
spelling fixes for src/compiler
* after
* aggressive
* appear
* asterisks
* candidate
* conflict
* directory
* dollar
* ellipsis
* exports
* failures
* folder
* followed
* highlight
* inferred
* location
* occurred
* output
* propagated
* push
* rather
* remaining
* search
* stabilized
* substitution
* successful
* even though
* will
* with
|
2016-02-11 16:56:45 +00:00 |
|
vilicvane
|
a481305292
|
Reorganize related functions
|
2016-02-11 16:38:21 +08:00 |
|
vilicvane
|
acf965a20e
|
Refine implementation
|
2016-02-10 08:47:52 +08:00 |
|
vilicvane
|
63c690813f
|
Create createHash and getModifiedTime under sys, and refactor implementation into compiler host
|
2016-02-09 22:23:43 +08:00 |
|
Vladimir Matveev
|
fb99a6697d
|
do not error if typings for external library is empty .d.ts file
|
2016-02-02 11:36:38 -08:00 |
|
Vladimir Matveev
|
555f35e2cd
|
Merge pull request #6803 from Microsoft/noDirExistsCheckInClassic
don't do 'directoryExists' check in classic resolution scheme
|
2016-02-01 16:49:51 -08:00 |
|
Vladimir Matveev
|
1f1f4d2442
|
fix linter issues
|
2016-02-01 15:34:03 -08:00 |
|
Vladimir Matveev
|
4f2cd6c4a2
|
don't do 'directoryExists' check in classic resolution scheme
|
2016-02-01 15:19:13 -08:00 |
|
Daniel Rosenwasser
|
bf4b63d3ba
|
Only error on 'export =' declarations.
|
2016-02-01 14:17:31 -08:00 |
|
Vladimir Matveev
|
b0b0712c73
|
suppress validation of output paths in transpile scenarios
|
2016-02-01 10:36:47 -08:00 |
|
Noj Vek
|
f04f93c414
|
Fix typo in compiler reactNamespace error string
|
2016-01-30 11:37:02 -08:00 |
|
Vladimir Matveev
|
3661b66be4
|
add extra argument to 'isRequireCall' to check if argument is string literal
|
2016-01-28 14:18:23 -08:00 |
|
Vladimir Matveev
|
f23c35f04d
|
Merge pull request #5728 from Microsoft/pathMappingModuleResolution
Path mapping module resolution
|
2016-01-27 11:38:33 -08:00 |
|
Anders Hejlsberg
|
98603f9f49
|
Merge pull request #6532 from Microsoft/readonlyMembers
Readonly properties and index signatures
|
2016-01-27 10:50:26 -08:00 |
|
Vladimir Matveev
|
adacad326a
|
addressed PR feedback
|
2016-01-26 21:38:12 -08:00 |
|
Mohamed Hegazy
|
add91052bb
|
Update version
|
2016-01-25 17:08:15 -08:00 |
|
Vladimir Matveev
|
8a8ed0a871
|
update implementation based on the results of design meeting
|
2016-01-25 11:49:26 -08:00 |
|
Vladimir Matveev
|
9d828e3916
|
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
|
2016-01-20 15:32:19 -08:00 |
|
Anders Hejlsberg
|
a499607845
|
Merge branch 'master' into readonlyMembers
Conflicts:
src/compiler/parser.ts
src/compiler/types.ts
|
2016-01-18 21:03: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 |
|
Anders Hejlsberg
|
b46efc9b55
|
Allow modifies on type members + introduce "readonly" modifier
|
2016-01-13 18:34:38 -08:00 |
|
vladima
|
39ad0774ae
|
merge with origin/master
|
2016-01-11 22:49:19 -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
|
3d4e2203b8
|
merge with origin/master
|
2016-01-06 14:16:56 -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
|
39a50fa8a3
|
merge with origin/master
|
2016-01-04 12:07:26 -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 |
|
Vladimir Matveev
|
a399208d73
|
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
|
2015-12-22 11:06:18 -08:00 |
|
vladima
|
39605fe5f8
|
report pre-emit diagnostics that blocked emit
|
2015-12-21 21:43:51 -08:00 |
|
vladima
|
6a63c0d52c
|
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
|
2015-12-08 21:41:29 -08:00 |
|
yaoyao
|
e95ae4f100
|
Improve 'Cannot compile modules unless the '--module' flag is provided.' message
|
2015-12-08 08:56:41 +08:00 |
|
Vladimir Matveev
|
2dbf621e97
|
merge with origin/master, add trace message with type of 'typings' field is not 'string'
|
2015-12-07 11:40:35 -08:00 |
|
Tim Perry
|
384ee18c7b
|
Gracefully handle errors where 'typings' is not a string (fixes #4828)
|
2015-12-07 18:25:25 +01:00 |
|
vladima
|
0130c23028
|
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
|
2015-12-03 22:49:55 -08: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 |
|
Vladimir Matveev
|
4e3cba1f7c
|
Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution
|
2015-11-25 21:23:45 -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
|
b11786866b
|
Merge branch 'master' into use-common-directory-for-out
|
2015-11-20 13:32:12 -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 |
|
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 |
|
Sheetal Nandi
|
fc07763499
|
Merge branch 'master' into jsFileCompilation
|
2015-11-13 13:44:57 -08:00 |
|
Wesley Wigham
|
ecd4435986
|
Go all the way back to the original solution
|
2015-11-12 16:22:35 -08:00 |
|
Wesley Wigham
|
52fbf9e12b
|
Merge branch 'master' into compute-common-source-dir
|
2015-11-12 15:59:11 -08:00 |
|
Wesley Wigham
|
5bcf861121
|
use relative path from current directory
|
2015-11-12 15:58:11 -08:00 |
|
Sheetal Nandi
|
1ed67f41ba
|
Removed the TODO as created bug for it
|
2015-11-12 11:50:58 -08:00 |
|
Sheetal Nandi
|
d2445b6286
|
PR feedback
|
2015-11-11 16:10:23 -08:00 |
|
Sheetal Nandi
|
1659300ddb
|
Fix the --sourceRoot and --mapRoot option handling
|
2015-11-11 12:59:03 -08:00 |
|
Wesley Wigham
|
c3af8bb6cc
|
Merge branch 'master' into compute-common-source-dir
|
2015-11-11 10:57:36 -08:00 |
|
Wesley Wigham
|
a1cf51faac
|
use canonical filename function
|
2015-11-10 13:25:09 -08:00 |
|
Wesley Wigham
|
6dcf3cf756
|
Add case sensitivity-check, only error on failure when outDir is specified and resource based paths are found
|
2015-11-10 12:06:25 -08:00 |
|
Ryan Cavanaugh
|
ad61788113
|
Merge pull request #5266 from Microsoft/javaScriptModules
JavaScript LS scaffolding + JS module inference
|
2015-11-10 11:59:09 -08:00 |
|
Daniel Rosenwasser
|
92d37c3029
|
Merge pull request #5511 from Microsoft/skipDefaultLibCheckWithNoDefaultLib
Skip files with no-default-lib when '--skipDefaultLibCheck' and '--noLib' are used
|
2015-11-09 15:43:26 -08:00 |
|
Ryan Cavanaugh
|
69ca1f2e1d
|
Merge remote-tracking branch 'origin/master' into javaScriptModules
# Conflicts:
# src/compiler/parser.ts
|
2015-11-09 14:48:37 -08:00 |
|
Daniel Rosenwasser
|
cece4411ca
|
Get rid of the concept of 'isDefaultLib'.
|
2015-11-09 14:40:57 -08:00 |
|
Ryan Cavanaugh
|
e630ce247b
|
Fix merge problems from master
|
2015-11-09 12:49:36 -08:00 |
|
Wesley Wigham
|
cadf54334b
|
Merge branch 'master' into out-module-concat
|
2015-11-09 12:38:23 -08:00 |
|
Ryan Cavanaugh
|
7dd1bf487d
|
Merge branch 'master' into javaScriptModules
# Conflicts:
# lib/lib.es6.d.ts
# lib/tsc.js
# lib/tsserver.js
# lib/typescript.d.ts
# lib/typescript.js
# lib/typescriptServices.d.ts
# lib/typescriptServices.js
# src/compiler/binder.ts
# src/compiler/checker.ts
# src/compiler/parser.ts
# src/compiler/program.ts
# src/harness/fourslash.ts
|
2015-11-06 16:49:09 -08:00 |
|
Ryan Cavanaugh
|
d880d4f4fb
|
Don't look for .js files when resolving node modules
|
2015-11-06 14:38:29 -08:00 |
|
Sheetal Nandi
|
4c842591f7
|
Merge branch 'master' into jsFileCompilation
|
2015-11-06 12:39:42 -08:00 |
|
Sheetal Nandi
|
def7b665bb
|
PR feedback
|
2015-11-05 20:09:40 -08:00 |
|
Wesley Wigham
|
8a93b48945
|
fix lint: prefer const
|
2015-11-04 14:51:36 -08:00 |
|
Mohamed Hegazy
|
ec716549a5
|
Update default configurations
|
2015-11-04 09:08:33 -08:00 |
|
Sheetal Nandi
|
51caf1a9ee
|
Use of FileMap instead of Map as per PR feedback
|
2015-10-30 15:54:31 -07:00 |
|
Wesley Wigham
|
70fba0b820
|
Merge branch 'master' into out-module-concat
|
2015-10-30 15:47:35 -07:00 |
|
Sheetal Nandi
|
62d4fd6d35
|
Take pr feedback into account
|
2015-10-30 15:06:23 -07:00 |
|
Wesley Wigham
|
95a3fc7143
|
feedback form pr, new baselines
|
2015-10-30 14:52:45 -07:00 |
|
Sheetal Nandi
|
c6d54d6ae6
|
Simplify verification of emit file paths using utility to iterate over each emit file
This also makes sure we dont emit --out or --outFile if there are no files that can go in that file(non module and non declaration files)
|
2015-10-30 13:22:23 -07:00 |
|
Sheetal Nandi
|
9f337bc681
|
Merge branch 'master' into jsFileCompilation
|
2015-10-30 12:16:50 -07:00 |
|
Sheetal Nandi
|
67bed265b7
|
Since js extensions are not user specified, no need to check if source map file will overwrite input file
|
2015-10-30 11:57:20 -07:00 |
|
Sheetal Nandi
|
6ea74ae7f1
|
Update the error messages as per PR feedback
|
2015-10-30 11:56:44 -07:00 |
|
Sheetal Nandi
|
daba901619
|
Report error if --allowJs option is used along with --declaration
|
2015-10-30 11:50:07 -07:00 |
|
Sheetal Nandi
|
94a647b72b
|
Do not emit declarations for javascript files
|
2015-10-30 11:36:39 -07:00 |
|
Wesley Wigham
|
6c812420ec
|
Merge branch 'master' into out-module-concat
|
2015-10-30 11:27:34 -07:00 |
|