Andrew Casey
f10e38fea7
Make extractSymbol explicitly drop JSDoc nodes
...
Fixes #33332
2019-09-17 10:35:11 -07:00
Wesley Wigham
038d95144d
Remove all submodules - just force clone and reset on run instead ( #33425 )
2019-09-13 16:14:33 -07:00
Arpad Borsos
a8d04b2db9
Fix Identifiers: NaN
diagnostic when having JSON SourceFiles
...
This makes sure that the `identifierCount` and `nodeCount` properties
are always initialized for `SourceFile` objects.
2019-09-12 21:10:38 +02:00
Sheetal Nandi
2692b2e214
Add failing test cases for isolatedModules after enabling declaration emit
2019-09-11 12:48:58 -07:00
Sheetal Nandi
c0f0d9f798
Merge branch 'master' into dtsOnlyEmit
2019-09-11 12:42:48 -07:00
Sheetal Nandi
b26ca160f4
Merge branch 'master' into referencesPrototypeSourceFile
2019-09-11 12:27:58 -07:00
Sheetal Nandi
8521002dff
Baseline emitted files that are written even if same file contents
2019-09-09 15:44:43 -07:00
Sheetal Nandi
e43d504422
Baseline tsbuild info section files from written files
2019-09-09 15:14:35 -07:00
Sheetal Nandi
bfc4f7a12f
Get the last output from the written files
2019-09-09 14:17:58 -07:00
Sheetal Nandi
1f149ccfd7
Use clean and written files to verify the tsbuild incremental compilation = clean build compilation
2019-09-09 14:09:54 -07:00
Sheetal Nandi
566d32b2e8
Refactor to write baseline of sourcemaps that are written
2019-09-09 13:54:59 -07:00
Sheetal Nandi
54d9ce9247
Merge branch 'master' into referencesPrototypeSourceFile
2019-09-05 13:51:56 -07:00
Alexander T
f0e8518010
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-09-04 11:35:45 +03:00
Sheetal Nandi
5de0303728
Fix transpiling when options specify incremental or tsbuildinfofile
...
Fixes #33184
2019-09-03 13:14:50 -07:00
Alexander
b1d748b644
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-31 22:12:41 +03:00
Sheetal Nandi
79bcb3d547
Handle seenEmittedFiles which was not being set when emit of a file was complete ( #33145 )
...
* Add test that fails because file is written multiple times
Reported from #33061
* Handle seenEmittedFiles which was not being set when emit of a file was complete.
It was issue only when errors are reported before emitting (which puts the files into pendingEmit that needs to check only in seenEmittedFiles)
If emit happens before semantic diagnostics query this issue is not repro, because the affected files come into play and those are being set correctly
Fixes #31398
* make baselining source map optional
* Handle emitDeclarationOnly in --build scenario
* Ensure we are using d.ts emit as signature even when --declarationMap is on (map files are emitted before d.ts)
* Move module specifiers to verifyTsBuildOutput
* implement create Hash to be default hashing plus data so we can verify it easily in baseline
* Remove failing baseline
* Accept correct baseline name
2019-08-30 16:33:44 -07:00
Sheetal Nandi
5ea4257e6e
Fix the semantic diagnostics caching in builder to handle conversion from relative to buildInfo to absolute path ( #33168 )
...
Fixes #33161
2019-08-30 15:44:51 -07:00
Alexander T
f8ab00b407
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-28 10:11:38 +03:00
Andre Sutherland
5d36aab06f
Added errorCount to WatchStatusReporter to detect 2 or more errors ( #33082 )
...
* Added errorCount to WatchStatusReporter discern between 0 and 2 or more errors
* Added test for ensuring WatchStatusReporter receives errorCount
2019-08-27 16:40:21 -07:00
Sheetal Nandi
a469fd82b9
Should not report that files are not part of config for files that are not going to be emitted
2019-08-22 13:37:36 -07:00
Sheetal Nandi
076dde4820
Test with --out as well
2019-08-22 13:00:37 -07:00
Sheetal Nandi
c6e502be7d
Verify config file errors
2019-08-22 11:26:26 -07:00
Sheetal Nandi
4c4ddf833d
Merge branch 'master' into referencesPrototypeSourceFile
2019-08-21 15:42:36 -07:00
Alexander T
0d941d6943
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-21 10:02:57 +03:00
Wesley Wigham
219a570a75
Fix discovery and execution of root-level tests in the parallel runner ( #32980 )
2019-08-20 17:18:31 -07:00
Sheetal Nandi
5ac450510a
Handle network style paths for watching ( #32888 )
...
* Refactoring
* take windows style root as test server host parameter
* Handle network style paths for watching
Fixes #32796
2019-08-20 10:52:56 -07:00
Alexander T
fea9e11174
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-20 11:07:18 +03:00
Ron Buckton
1bf218291f
Fix default behavior for transpileModule when fileName not provided ( #32982 )
2019-08-19 18:13:39 -07:00
Alexander
a7f41621fb
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-17 16:37:39 +03:00
Wesley Wigham
d304049e0c
Run user test submodule update in the correct directory ( #32921 )
2019-08-16 14:22:21 -07:00
Alexander T
b6d981aec8
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-16 12:13:57 +03:00
Andrew Branch
2dd10bdfa1
Reuse unchanged ambient declarations in incremental parsing ( #32849 )
...
* Incrementally parse unchanged ambient declarations
* Re-parse modifiers and decorators so as not to skip errors
* Revert unnecessary change
* Undo the test change that was changed 2 years ago
2019-08-15 10:05:21 -07:00
Alexander T
f20a2828f2
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-15 10:32:45 +03:00
Sheetal Nandi
31a26120f9
Merge pull request #32788 from microsoft/tsbuildFixes
...
Fixes for tsbuild scenarios
2019-08-14 09:07:24 -07:00
Alexander T
b728bf4bfa
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-14 13:42:02 +03:00
Ron Buckton
a74f109f95
Do not escape actual template literals on emit ( #32844 )
2019-08-13 15:54:35 -07:00
Sheetal Nandi
1a9198a53a
PR feedback
2019-08-12 16:06:09 -07:00
Alexander
b33b90b559
change const to let
2019-08-10 10:10:04 +03:00
Alexander
371c3c630e
remove TODO comments
2019-08-10 10:05:13 +03:00
Alexander
23a3b340b0
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-10 09:58:25 +03:00
Andrew Casey
816e7b0567
Merge pull request #32789 from amcasey/FileNotFoundError
...
Correct string template
2019-08-09 15:16:23 -07:00
Andrew Casey
8c6612b31e
Tweak message text
2019-08-09 14:50:24 -07:00
Andrew Casey
a02735e1fb
Merge pull request #32785 from amcasey/FileNotFoundError
...
Include fewer paths in exception
2019-08-09 14:28:32 -07:00
Sheetal Nandi
8ac45805c0
Add error related to file not in rootDir and file not part of included root files at the references
2019-08-09 14:19:40 -07:00
Andrew Casey
6c19c13094
Use an explicit type
2019-08-09 14:04:04 -07:00
Ron Buckton
9133e7ad0e
Use defaults for transpileModule ( #31563 )
2019-08-09 14:04:01 -07:00
Sheetal Nandi
fd515b519e
Handle status and error messages for better checking
2019-08-09 13:38:25 -07:00
Sheetal Nandi
9e8fbcd7f8
Transitively upstream blocked project should not build
2019-08-09 13:38:25 -07:00
Sheetal Nandi
94d54b967d
Circular reference in the build queue is build stoppable error
2019-08-09 13:38:25 -07:00
Sheetal Nandi
d9ad559042
Verify demo build
2019-08-09 13:38:24 -07:00
Alexander
536f59cd7d
fix formatting
2019-08-08 21:49:10 +03:00
Alexander
ceccfd8867
array-type: [ default: array, generic: array ]
2019-08-08 21:30:18 +03:00
Alexander
455f8b5511
fix eslint errors. remove tslint:* comments
2019-08-07 21:35:05 +03:00
Alexander
481d70d50d
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-07 21:23:10 +03:00
Ben Lichtman
9971e8b560
Merge pull request #32688 from uniqueiniquity/skipCOSForDTS
...
Avoid compile on save when there is no emit impact
2019-08-07 10:44:54 -07:00
Alexander
5c2e000561
remove useless TODO comment
2019-08-07 20:33:13 +03:00
Ron Buckton
d75740280f
Resolve module specifier relative to moduleFile.originalFileName ( #32722 )
...
* Resolve module specifier relative to moduleFile.originalFileName
* Use baseline testing for outputs
* Added skipLibCheck to test
* Switch to using vfs.formatPatch for output
2019-08-06 13:48:58 -07:00
Ben Lichtman
c0f187a4e8
Allow compile on save with decorator emit
2019-08-06 13:39:18 -07:00
Ron Buckton
cc3db8f448
Merge branch 'Saulzi-master'
2019-08-06 10:48:47 -07:00
Ron Buckton
3ff0a249d2
Update based on PR feedback
2019-08-06 10:46:17 -07:00
Alexander T
034ba9fd25
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-06 09:07:48 +03:00
Ron Buckton
e3f4979736
Fix emit for object rest on a module export ( #32699 )
...
* Fix emit for object rest on a module export
* Add tests for exports of empty object/array binding patterns
* Add delay for exec to ensure diff tool has enough time to start
2019-08-05 16:53:21 -07:00
sisisin
33a6509751
Fixes export destructured variables reference ( #32007 )
...
* Add basic test for current behavior
* Fixes getting destructured variables references(#31922 )
* Add test case that renames destructured property
* Fixes missing nested object destrucuturing variable references
2019-08-05 12:00:06 -07:00
Ron Buckton
5710f7d5ff
Merge branch 'master' of https://github.com/Saulzi/TypeScript into Saulzi-master
2019-08-05 11:17:32 -07:00
Alexander T
012bacc415
Define interface for TSConfig. Change compilerOnSave to compileOnSave ( #32481 )
2019-08-05 09:24:09 -07:00
Alexander
4d23429d98
fix eslint errors
2019-08-04 16:00:57 +03:00
Alexander
a292ae1789
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-08-04 15:35:41 +03:00
Alexander
a37d34a5b6
lint src/, scripts/ folders separately
2019-08-04 15:33:01 +03:00
Ben Lichtman
0cab79fc56
Add test
2019-08-02 15:56:01 -07:00
Sheetal Nandi
b84f13d7cf
Use single stats watcher per filename
...
Fixes #28690
2019-07-29 15:33:34 -07:00
Sheetal Nandi
2db8a13d81
Remove project status, watches etc when project is no longer part of build order
2019-07-29 15:33:34 -07:00
Sheetal Nandi
4efcfb7120
Some refactoring
2019-07-29 15:33:33 -07:00
Sheetal Nandi
1ac980ec96
File move
2019-07-29 15:33:33 -07:00
Alexander
b6c3c7a486
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-07-29 22:25:02 +03:00
Wesley Wigham
b963e1a2a7
Update LKG ( #32578 )
...
* Update LKG
* Add @types/node version bump
* Small paatches/casts to be compatible with latest node
* Accept API baseline update
* Make internal NodeBuffer compatable with latest Buffer
* Why do we even have an internal buffer type
* Sync up internal buffer type better
* Fix lint
* Readd mroe missing Buffer methods
2019-07-29 10:33:43 -07:00
Alexander T
e1a138312f
fix eslint errors
2019-07-29 18:42:01 +03:00
Alexander T
1b4dfbc7d6
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-07-29 18:39:29 +03:00
Alexander T
11ec6118fb
@typescript-eslint/array-type
2019-07-29 18:39:11 +03:00
Sheetal Nandi
2fe3c1b3b7
Merge pull request #32561 from microsoft/retainFreshlyCreatedProject
...
Retain the configured project opened during opening client file even if opened file isnt included in that project
2019-07-26 12:18:26 -07:00
Jesse Trinity
599e36a068
Decrement line ends if they end with a carriage return. ( #31220 )
...
* Decrement line ends if they end with a carriage return.
* Changed handling of newlines and inlined regex operation.
* fixed misname of hintSpan
* added tests
* revert inline of regex match and use getLineEndOfPosition
* fixed lint error and changed a silly thing in tests
2019-07-25 21:29:12 -07:00
Sheetal Nandi
666c4be844
Merge branch 'master' into referencesPrototypeSourceFile
2019-07-25 14:03:48 -07:00
Sheetal Nandi
10ee85c98c
Retain the configured project opened during opening client file even if opened file isnt included in that project
...
This helps not create and remove project on every open if tsconfig file isnt referenced by any open file
2019-07-25 12:38:26 -07:00
Sheetal Nandi
ee623c1ae6
Add test case before change where config project is created just to remove it
2019-07-25 12:04:13 -07:00
Salisbury, Tom
395d1515ee
#32458 stop ES5 __values with no Symbol.iterator getting stuck in loop
2019-07-25 12:17:22 +01:00
Alexander
0059763d8f
move eslint rules from eslint-plugin-microsoft-typescript to scripts/eslint
2019-07-24 13:31:17 +03:00
Wesley Wigham
40fd4efdf6
Strip more kinds of timestamps and versions from dockerfile output ( #32519 )
...
* Strip more kinds of timestamps and versions from dockerfile output, rewrite office-ui-fabric dockerfile to use new lerna build system
* Add another filter for just output
* Update user baselines (#23 )
* Update user baselines (#24 )
* Strip only maybe-present timestamps
* More lenient timestamp filter
* Update user baselines (#25 )
* Simplify and enhance vscode dockerfile to use nightly ts in ts extension, too
* Update user baselines (#26 )
* Update user baselines (#27 )
2019-07-23 17:14:50 -07:00
Alexander T
a79f598269
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-07-23 13:10:04 +03:00
Ron Buckton
d982014d73
Update __awaiter to be more spec compliant ( #32462 )
...
* Update __awaiter to be more spec compliant
* Add awaiter evaluation test
2019-07-22 17:23:35 -07:00
Ron Buckton
47e3fedb5d
Fix object spread runtime semantics ( #32514 )
2019-07-22 16:46:09 -07:00
Alexander T
40f2f77358
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-07-22 13:50:43 +03:00
Sheetal Nandi
aab3069e64
Fix the assert of reporting file infos still attached to the project for circular json reference
2019-07-19 15:55:46 -07:00
Alexander T
949770a4fe
@typescript-eslint/triple-slash-reference
2019-07-19 10:30:40 +03:00
Alexander T
2c32308f35
no-null/no-null
2019-07-18 10:50:38 +03:00
Alexander T
a8ee8fbe87
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-07-18 10:00:16 +03:00
Sheetal Nandi
b589020bb3
Merge pull request #32425 from microsoft/scopedPackageAquisition
...
Handle scoped package names in typing installer
2019-07-16 16:48:35 -07:00
Sheetal Nandi
607c9c5e26
Fix missing tokenToString for the backtick
...
Fixes #32073
2019-07-16 13:30:38 -07:00
Sheetal Nandi
49ba408e4f
Handle scoped package names in typing installer
...
Fixes #32075
2019-07-16 11:13:03 -07:00
Alexander T
64baa804a8
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-07-15 18:35:34 +03:00
Sheetal Nandi
fd4f4fe5a2
Ensure that the filePaths in compiler options are absolute before getting relative path to buildInfo directory
...
Fixes #32353
2019-07-11 13:18:35 -07:00
Sheetal Nandi
103fe5fbc5
Merge branch 'master' into referencesPrototypeSourceFile
...
Uptodate to 3.6.0-dev.20190711
2019-07-11 12:05:36 -07:00