Arthur Ozga
fcc822e879
test version request
2017-12-06 14:19:08 -08:00
Andy
18a7c3fb53
For import fix, prefer symlink over a real path ( #20395 )
...
* For import fix, prefer symlink over a real path
* fixes
* Use best result from all symlinks
* Make originalPath optional more
* Only include real path if a symlink isn't available
2017-12-06 11:27:38 -08:00
Sheetal Nandi
7bb5fc22c2
Merge pull request #20427 from JoshuaKGoldberg/watch-immediate-clears
...
Added console clearing with a message to --watch starts
2017-12-05 10:54:54 -08:00
Arthur Ozga
7de6083748
Merge pull request #20291 from Microsoft/dev/aozgaa/tsserverProjectTestOrganization
...
Dev/aozgaa/tsserver project test organization
2017-12-05 10:51:32 -08:00
Andy
8f23bf813c
Add textChanges methods to insert nodes at the start of multiline bodies ( #20445 )
...
* Add textChanges methods to insert nodes at the start of multiline bodies
* Replace constructor body if not already multiline
2017-12-05 08:33:29 -08:00
Josh Goldberg
cf9b8baa8c
Merge branch 'master' into watch-immediate-clears
...
# Conflicts:
# src/harness/unittests/tscWatchMode.ts
2017-12-04 23:22:00 -08:00
Josh Goldberg
a389ff5f39
Unit test failure; clearHostScreen function
2017-12-04 23:11:01 -08:00
Ryan Cavanaugh
66ec938164
Merge pull request #20429 from Microsoft/unchai
...
Remove dependency on chai
2017-12-04 15:02:59 -08:00
Andy
93551ab93b
Update test that import code fix doesn't use node_modules global import if classic resolution is set ( #20453 )
2017-12-04 13:15:45 -08:00
Andy Hanson
2c929015d6
Fix deepEqual emptyArray tests
2017-12-04 10:47:17 -08:00
andy-ms
72b7d6ef4e
Remove dependency on chai
2017-12-03 18:36:29 -08:00
Josh Goldberg
a4f83b0835
Added console clearing with a message to --watch starts
...
I advocated against immediately clearing the console when starting --watch in #17756 because it was confusing to have the console suddenly become blank, wait a while, and _then_ give output. After using the feature for a little while, I think it's a little disorienting how the console will only start clearing after the first recompile. This change clears the console and immediately prints a new "Starting compilation in watch mode..." message.
2017-12-03 14:45:33 -08:00
benbraou
49a48ffd4d
fix(es2018): add a target and an initial lib ( #20385 )
...
* run Jake LKG before es2018 addition
Fixes #20342
* fix(es2018): add a target and an initial lib
Fixes #20342
2017-12-02 11:16:59 -08:00
Josh Goldberg
08c6dc99c6
"tsc --watch should clear screen on new compilation" Two: Electric Boogaloo ( #20389 )
...
* tsc --watch should clear screen on new compilation
* added optional clearScreen method to System]
* implemented via `x1Bc`, reset screen
* fixes 13020
* Feedback on if statements; api .d.ts baseline additions
* Stopped clearing screen in tsc.js's reportWatchMode
* Added unit tests
2017-12-02 11:11:49 -08:00
Andy
fd4d8ab96e
Support a 'recommended' completion entry ( #20020 )
...
* Support a 'recommended' completion entry
* Code review
* Restore duplicate comments
2017-12-01 13:00:01 -08:00
Mine Starks
1fbe684834
compileOnSaveAffectedFileList shouldn't return any files for noEmit projects
2017-11-30 14:55:41 -08:00
Andy
43a35bad2e
Miscellaneous fixes to avoid duplicate completions ( #20349 )
...
* Miscellaneous fixes to avoid duplicate completions
* Move typeHasCallOrConstructSignatures to utility
2017-11-30 09:36:17 -08:00
Arthur Ozga
e01c0be8e5
prefix top-level describe clauses in tsserverProjectSystem
2017-11-29 14:36:19 -08:00
Andy
b8f22f5144
Enable ban-types lint rule ( #19586 )
...
* Enable ban-types lint rule
* Improvements from code review
* More code review fixes
* Use just `void` in place of `{} | null | undefined | void`
2017-11-29 12:54:02 -08:00
Wesley Wigham
d79a474e6d
Handle parentless nodes in nodeIsDecorated ( #20314 )
2017-11-28 17:01:19 -08:00
Andrew Casey
e934c30513
Merge pull request #20173 from RyanCavanaugh/fixTypingsInstallerAgain_master
...
Always send a response to installTypings even if all types are cached
2017-11-27 10:47:05 -08:00
Andrew Casey
5ed31cff8c
Use stricter types for event bodies
2017-11-21 16:38:58 -08:00
Ryan Cavanaugh
ee2d436999
Always send a response to installTypings even if all types are cached
2017-11-20 21:32:56 -08:00
Andrew Casey
9cbe4eb614
Convert legacy safe list keys to lowercase on construction
2017-11-20 18:30:28 -08:00
Wesley Wigham
71ceb91c9d
Parallel runner shouldnt print nan and freeze on unestimatable tests when above batch count ( #20176 )
2017-11-20 15:47:46 -08:00
Arthur Ozga
65908ef8ba
Merge pull request #19864 from Microsoft/dev/aozgaa/eventPortTelemetry
...
Send events through a single stream
2017-11-17 20:22:57 -08:00
Arthur Ozga
d2cc4f15be
test overriding Session.event
2017-11-17 19:48:57 -08:00
Armando Aguirre
464ae31776
Merge pull request #20082 from armanio123/KendoOptionalMin
...
Modified Kendo regex to include -ui folders and files without min
2017-11-16 17:37:24 -08:00
Armando Aguirre
48aa83e13a
Modified Kendo regex to include -ui folders and files without min
2017-11-16 15:59:27 -08:00
Ryan Cavanaugh
a416826b64
Apply safelist exclusions even when include is not specified; recompute project contexts when installer reqs finish
2017-11-16 12:52:30 -08:00
Andy
478b404f42
Detect re-exports from "export *" in completions ( #20043 )
2017-11-16 11:15:14 -08:00
Andy
94581c1946
Strip "/index" from import fix module specifiers ( #19962 )
...
* Strip "/index" from import fix module specifiers
* Require "node" module resolution
* More tests
2017-11-16 11:12:34 -08:00
Andy
592ee00906
Have CompletionEntryDetails source use a relative path ( #19917 )
...
* Have CompletionEntryDetails source use a relative path
* Use getCanonicalFileName from services Instead of creating a new one
2017-11-14 14:26:49 -08:00
Nathan Shively-Sanders
7771d0c1fc
Merge pull request #19934 from Microsoft/add-starter-kit-to-user-tests
...
Add starter kit to user tests
2017-11-13 08:54:52 -08:00
Nathan Shively-Sanders
4d01390845
Improve assert message
2017-11-10 15:55:29 -08:00
Ryan Cavanaugh
de7fbc041a
Merge pull request #19542 from RyanCavanaugh/fix19533
...
Exclude legacy safelist files in external projects
2017-11-10 15:28:35 -08:00
Nathan Shively-Sanders
0d63589fb2
Fix quote lint
2017-11-10 14:21:53 -08:00
Sheetal Nandi
c82c6f21cb
Ensure that enum member value is computed before using it
...
Fixes #19898
2017-11-10 14:05:16 -08:00
Nathan Shively-Sanders
d66e94d09e
ExternalCompileRunner works with submodules
...
If there is a test.json in the directory, it expects to find a
submodule in the directory. The submodule should have the same name as
the directory itself. test.json contains a list of global types that
need to be available, or the empty list if none.
2017-11-10 13:50:18 -08:00
Nathan Shively-Sanders
9d56f7b7c1
Merge pull request #19887 from Microsoft/dt-runner-excludes-ExpectError
...
DefinitelyTypedRunner skips ExpectErrors
2017-11-10 10:31:19 -08:00
Nathan Shively-Sanders
5fff71742b
Use ts.stringContains instead of String.indexOf
2017-11-10 10:11:44 -08:00
Nathan Shively-Sanders
0d5800a17b
Address PR comments
2017-11-10 09:37:06 -08:00
Nathan Shively-Sanders
a5fa75a0cd
DefinitelyTypedRunner skips ExpectErrors
...
If all errors were ExpectErrors, then it does not fail.
2017-11-09 14:21:08 -08:00
Ryan Cavanaugh
0d5dec9a98
Remove commented tests
2017-11-09 13:55:20 -08:00
Andy
65a191fa2b
For import completion of default import, convert module name to identifier ( #19875 )
...
* For import completion of default import, convert module name to identifier
* Suggestions from code review
2017-11-09 13:13:23 -08:00
Ryan Cavanaugh
b043edd61c
Merge
2017-11-09 12:42:37 -08:00
Ryan Cavanaugh
0e105ad8de
Log more usefully when this test fails
2017-11-09 12:30:44 -08:00
Ryan Cavanaugh
ddd8c95c63
Remove testcases we don't like
2017-11-09 12:30:29 -08:00
Wesley Wigham
235356e6ff
Handle synthetic nodes correctly as namespace identifiers in system transform ( #19623 )
...
* Handle synthetic nodes correctly as namespace identifiers in system transform
* Add ref to issue in comment
* Lock newline for ci
2017-11-08 18:15:23 -08:00
Nathan Shively-Sanders
594ac0163c
Merge pull request #19815 from Microsoft/add-definitely-typed-runner
...
Add DefinitelyTyped runner
2017-11-08 15:45:25 -08:00