Sheetal Nandi
b631850978
Add option disableSourceOfProjectReferenceRedirect to disable using sources of project reference redirect from editor
2019-07-10 15:49:53 -07:00
Alexander T
9d01ef0f8e
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-07-10 14:36:10 +03:00
Sheetal Nandi
824c22c460
Source of project reference behave as if those files cannot be emitted.
2019-07-09 14:52:27 -07:00
Sheetal Nandi
b1fa2ebff5
Errors using DiagnosticsSync commands
2019-07-05 12:40:27 -07:00
Sheetal Nandi
9be475bdaa
Refactoring
2019-07-05 10:17:42 -07:00
Alexander T
4defd1d635
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-07-04 12:49:33 +03:00
Ron Buckton
e8bf9584aa
Improve type checking and inference for Generators and Async Generators ( #30790 )
...
* Improve typing for Generators and Async Generators
* Add TReturn and TNext to Iterator, IterableIterator, etc.
* Update ts internal Iterator to be assignable from global Iterator
* Make 'done' optional in IteratorYieldResult
* Revert Iterable and IterableIterator to simpler versions plus other fixes
* Add additional inference tests
* Added additional tests
* PR cleanup and minor async iteration type fix
* Updated diagnostics message and added non-strict tests
* Fix expected arity of Iterator/AsyncIterator
2019-07-03 21:55:59 -07:00
Sheetal Nandi
15b68a9396
Skip typechecking of source of project reference redirect
2019-07-03 15:39:29 -07:00
Sheetal Nandi
b5737fc535
Refactor tests so its easy to edit and reason about them
2019-07-03 12:15:24 -07:00
Nathan Shively-Sanders
6f0baa3ae1
Merge pull request #29717 from petersandor/jsdoc-tag-author-email-support
...
Support email in author JSDoc tag
2019-07-03 10:42:02 -07:00
Alexander T
9f474150c6
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-07-02 17:57:44 +03:00
Wesley Wigham
3e6856137a
Add support for sharding tests across multiple workers ( #32173 )
...
* Add support for sharding tests across multiple workers
* Disable unittests when runners are expressly provided (unless they contain the unittest runner)
2019-07-01 14:56:57 -07:00
Wesley Wigham
ff81d5261e
Elide the exact node version rush complains about from the docker output ( #32204 )
2019-07-01 13:13:44 -07:00
Sheetal Nandi
4d13f53df8
Merge branch 'master' into referencesPrototypeSourceFile
2019-07-01 11:50:11 -07:00
Sheetal Nandi
f72af3be60
Verify the scenarios when d.ts directory of dependency doesnt exist
2019-07-01 11:34:57 -07:00
Sheetal Nandi
af20e791fd
Merge pull request #32167 from microsoft/tryReuseProgram
...
When checking sourceFile is from external library, use sourceFile.resolvedPath since thats how the source files are queried and thats the real path
2019-07-01 11:16:17 -07:00
Sheetal Nandi
f6d7261288
Merge pull request #32147 from microsoft/noDtsWhenNotUsingProjectReferences
...
Watch generated file if it doesnt exist when trying to translate it to to source generated position
2019-07-01 10:22:16 -07:00
Austin Cummings
c30054de63
Fix esModuleInterop affectsEmit change test
2019-06-30 11:06:00 -07:00
Austin Cummings
5b694f8302
Add tests for module and esModuleInterop affectsEmit change
2019-06-28 18:34:59 -07:00
Wesley Wigham
6760a03cec
Add vscode docker test ( #32152 )
...
* Add vscode docker test
* Remove PID-log line
* Update user baselines (#18 )
2019-06-28 13:22:25 -07:00
Sheetal Nandi
96a8c86c65
Merge branch 'master' into referencesPrototypeSourceFile
2019-06-28 12:42:22 -07:00
Sheetal Nandi
4f802e7205
When checking sourceFile is from external library, use sourceFile.resolvedPath since thats how the source files are queried and thats the real path
...
Fixes #32086
2019-06-28 10:14:33 -07:00
Wesley Wigham
2af8ac73ff
Add xterm test to docker suite ( #32149 )
2019-06-27 15:29:22 -07:00
Sheetal Nandi
b32afb55d1
Merge pull request #31985 from microsoft/buildInfoData
...
Make paths in tsbuildinfo file to be relative to the file
2019-06-27 12:49:52 -07:00
Sheetal Nandi
75bd3cd9be
Fix more tests
2019-06-27 12:16:32 -07:00
Sheetal Nandi
da9260c013
Create original project when location is in source of project reference redirect
2019-06-27 10:38:52 -07:00
Alexander T
769bb0b475
remove tslint configuration
2019-06-27 13:49:35 +03:00
Alexander T
810303542d
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-06-27 11:51:20 +03:00
Alexander T
f6a50067d3
@typescript-eslint/indent
2019-06-27 11:30:03 +03:00
Sheetal Nandi
2f30add809
More tests
2019-06-26 15:29:35 -07:00
Sheetal Nandi
012ecdacde
Add sourceOf project reference redirect to filesByName list for redirect path so that module symbol is correctly resolved
2019-06-26 14:56:21 -07:00
Nathan Shively-Sanders
261952247a
Merge pull request #31945 from microsoft/skip-costly-tests
...
Skip costly tests
2019-06-25 15:47:49 -07:00
Sheetal Nandi
f4728682b7
Watch generated file if it doesnt exist when trying to translate it to to source generated position
2019-06-25 15:16:11 -07:00
Sheetal Nandi
3e49556a88
Watch generated file if it doesnt exist when trying to translate it to to source generated position
2019-06-25 15:11:44 -07:00
Wesley Wigham
a150d55592
Explicitly error when an exclude is provided by a test as it will be unused ( #32014 )
2019-06-24 15:29:02 -07:00
Alexander
4b5017d551
fix eslint errors after merge
2019-06-23 18:58:07 +03:00
Alexander
7389200ce2
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-06-23 18:49:35 +03:00
Sheetal Nandi
181028821b
Fix tests
2019-06-21 14:54:38 -07:00
Wesley Wigham
9d23ce3d06
Sanitize rush progress numbers in docker test output ( #32029 )
2019-06-21 14:49:43 -07:00
Sheetal Nandi
179e0a606a
Merge pull request #32027 from microsoft/containerReference
...
Container only ref needs to be ignored from uptodate status
2019-06-21 11:28:45 -07:00
Sheetal Nandi
d0282b75a1
Add test to verify when source changes
2019-06-21 09:07:14 -07:00
Wesley Wigham
37b20f6afd
Eliminate references to defunct LSHost in comments ( #32018 )
2019-06-20 19:11:46 -07:00
Sheetal Nandi
0e5d95feef
Container only ref needs to be ignored from uptodate status
...
Fixes #31288
2019-06-20 16:09:35 -07:00
Wesley Wigham
c39a877a92
Add dockerfile based tests for azure-sdk-for-js
and office-ui-fabric-react
( #31948 )
...
* Add dockerfile based tests
* Update tests/cases/docker/README.md
Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
* Combine sanitize functions
* Add some debugging instructions to README
* Fix listed command order
2019-06-20 12:47:57 -07:00
Sheetal Nandi
36df28d800
Merge pull request #31986 from microsoft/buildLocale
...
Support --locale with --build
2019-06-20 12:25:37 -07:00
Alexander T
9fcaa19ab0
microsoft-typescript/no-in-operator
2019-06-20 14:13:46 +03:00
Sheetal Nandi
06d188a255
Support --locale with --build
...
Fixes #31960
2019-06-19 15:38:05 -07:00
Sheetal Nandi
b9fc44ece7
Bundle info paths as relative to tsbuildinfo file
2019-06-19 14:49:13 -07:00
Sheetal Nandi
9446fc0c0c
Convert options to relative paths
2019-06-19 12:54:22 -07:00
Sheetal Nandi
d760cbb74b
Make any paths in buildInfoFile to be relative to it.
2019-06-19 12:54:21 -07:00
Alexander T
33eeceec9e
Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint
2019-06-19 18:48:52 +03:00
Alexander T
62119ec9cc
@typescript-eslint/no-unnecessary-type-assertion
2019-06-19 18:45:02 +03:00
Nathan Shively-Sanders
fce7f9f87b
Move .test-cost.json
...
Also include parameter name in test output so that people will know what
to do to change the percent chance of failure.
2019-06-19 08:40:06 -07:00
Alexander T
5ce8c831b4
prefer-const
2019-06-19 17:58:49 +03:00
Alexander T
504b932f7b
@typescript-eslint/camelcase
2019-06-19 17:30:28 +03:00
Alexander T
5902b327db
no-unused-expressions
2019-06-19 17:01:53 +03:00
Alexander T
fdfff3593e
no-template-curly-in-string
2019-06-19 16:42:05 +03:00
Suhas Deshpande
f8004a33dd
semi-colon
2019-06-18 23:17:58 -07:00
Suhas Deshpande
8a11f15569
Add unit test
2019-06-18 22:50:48 -07:00
Sheetal Nandi
7ed3896a0a
Merge pull request #31587 from microsoft/definitionSpan
...
Include declarationSpan as relevant declaration span when defintion or other places are declaration name
2019-06-18 14:07:15 -07:00
Nathan Shively-Sanders
b4b5bf04a1
Fix lint
2019-06-14 16:07:41 -07:00
Nathan Shively-Sanders
3ef953a819
Allow passing skipPercent
...
Currently, the default is 5%.
0 gives you 0% time savings
2.5 gives you 29%
5 gives you 38%
10 gives you 50%
20 gives you 65%
2019-06-14 15:59:39 -07:00
Nathan Shively-Sanders
a852f2feea
Skip costly tests
...
1. Add a script to generate a sorted list of most costly tests. A tests'
cost is roughly `runtime% / number of edits`. A slow test that's only
been updated once is much less valuable than a slow test that has
been updated 20 times: the latter test is catching more changes in the
type system.
2. Check in the results of running this script. I want to make the
skipping behaviour deterministic and the same for everybody, even though
you may get slightly better performance by examining only *your* test
changes.
3. Add code to skip tests until it reaches a 5% chance of missing an
edit. Right now this provides a 38% speedup.
Still not done:
4. Make this value configurable.
5. Make the CI configuration specify a 0% chance of missing an edit.
2019-06-14 13:35:41 -07:00
Alexander T
a18aeee1eb
@typescript-eslint/no-unnecessary-qualifier
2019-06-14 12:34:28 +03:00
Alexander T
bea1bcb466
brace-style
2019-06-14 10:51:09 +03:00
Alexander T
123ca0d639
no-empty
2019-06-14 10:21:51 +03:00
Alexander T
d8796d5eaf
@typescript-eslint/no-this-alias
2019-06-14 10:16:19 +03:00
Alexander T
f96fb53e4c
no-restricted-globals
2019-06-14 10:12:06 +03:00
Sheetal Nandi
73bf2684ac
Rename to use contextSpan
2019-06-13 12:41:21 -07:00
Sheetal Nandi
da2aa9781e
Revert to using spread instead of mutating value later
2019-06-12 15:25:16 -07:00
Sheetal Nandi
a0d164f142
Merge pull request #31820 from microsoft/nodeModules
...
When resolving from typings cache, handle node code modules
2019-06-12 10:55:26 -07:00
Sheetal Nandi
520f7e8067
Merge pull request #31818 from microsoft/sharepointIssue
...
Do not watch tsconfig files from folders that we canot watch (because they are at roots we want to ignore)
2019-06-12 10:47:17 -07:00
Daniel Rosenwasser
a7a0c3300d
Improve ts6307 error ( #31706 )
...
Improve ts6307 error
2019-06-10 15:17:49 -07:00
Sheetal Nandi
2fd80b3142
When resolving from typings cache, handle node code modules
...
Fixes #29865
2019-06-07 16:21:39 -07:00
Sheetal Nandi
6ed8aae683
Test when node typings dont get added on subsequent update graph because of invalid typing
...
Test for #29865
2019-06-07 16:19:56 -07:00
Sheetal Nandi
a6c72a0cf3
Do not watch tsconfig files from folders that we canot watch
...
Fixes #30818
2019-06-07 12:10:21 -07:00
Sheetal Nandi
a84ed93f72
Merge branch 'master' into definitionSpan
2019-06-06 14:13:09 -07:00
Sheetal Nandi
a67b375d0e
Handle module specifiers
2019-06-06 13:39:04 -07:00
Sheetal Nandi
5c21fad12f
Merge pull request #31432 from microsoft/builderAPI
...
Api for tsc --build and --incremental
2019-06-05 12:31:00 -07:00
Paul van Brenk
c5578a2b43
Update error message as requested by @danielrosenwasser
2019-06-04 19:08:34 -04:00
Paul van Brenk
a658f728a9
Include the project filepath in the error message for files not being
...
listed in the 'include' pattern. TS6307
2019-06-02 11:54:48 -04:00
Benjamin Lichtman
eb81feaf04
Merge pull request #31685 from uniqueiniquity/stopInvalidatingOnOpenFileSave
...
Stop invalidating module resolution cache when saving an open file
2019-05-31 20:36:33 -04:00
Benjamin Lichtman
d3b6ba557a
Change test instead of behavior
2019-05-31 14:46:15 -07:00
Benjamin Lichtman
7ac5fa783b
Refactor and add wildcard scenario
2019-05-31 11:24:54 -07:00
Benjamin Lichtman
a30cacb562
Add test
2019-05-30 16:56:27 -07:00
Andrew Branch
b8dcf27c3e
Merge pull request #31482 from andrewbranch/bug/31338
...
Organize imports: don’t delete import declarations used for module augmentation
2019-05-30 14:01:55 -07:00
Sheetal Nandi
fd86f40d05
Include declarationSpan as relevant declaration span when defintion or other places are declaration name
...
Fixes #30849
2019-05-24 15:44:32 -07:00
Andrew Branch
60d0bb9b19
Don’t touch imports used for module augmentation in non-declaration files since it could change JS emit
2019-05-22 11:37:35 -07:00
Ron Buckton
3d2af9ff33
Relocate Debug namespace to reduce duplication ( #31524 )
2019-05-22 11:20:29 -07:00
Sheetal Nandi
1e7a77cf78
Merge pull request #31503 from microsoft/casing
...
Ignore drive letters when comparing casings of the files with forceConsistentCasingInFileNames
2019-05-22 09:25:34 -07:00
Sheetal Nandi
38f689d19e
Merge pull request #31484 from microsoft/completionsSorting
...
Add sortText depending scope of symbols
2019-05-21 12:59:01 -07:00
Sheetal Nandi
43c7eb77e1
Switch to using File not found message instead of trace message file does not exit
...
Fixes #30872
2019-05-21 09:43:40 -07:00
Sheetal Nandi
db150517d7
Ignore drive letters when comparing casings of the files with forceConsistentCasingInFileNames
...
Fixes #31327
2019-05-21 09:32:17 -07:00
Sheetal Nandi
00cea41b65
Add sortText depending scope of symbols
...
Fixes #15024
2019-05-20 15:53:51 -07:00
Andrew Branch
6faeee449d
Don’t remove imports that are used for module augmentation, just remove their import clauses
2019-05-20 14:49:28 -07:00
Andrew Branch
0f15bda45f
Add failing test
2019-05-20 13:31:44 -07:00
Sheetal Nandi
138f757709
Fix the test since tsbuildinfo is now always emitted ( 629bc0c
)
2019-05-16 12:50:17 -07:00
Sheetal Nandi
ec4ea0e474
Watch only built projects
2019-05-16 11:21:09 -07:00
Andrew Branch
15daf42b2c
Merge pull request #31028 from andrewbranch/feature/smart-select
...
Smart Select language service API
2019-05-16 09:45:05 -07:00
Sheetal Nandi
0cb980dd6e
Add api to build referenced projects
2019-05-15 15:28:13 -07:00
Sheetal Nandi
629bc0c04d
Always emit tsbuild info if path says so (irrespecitive of if there exists bundle and project)
2019-05-15 11:54:17 -07:00
Sheetal Nandi
b3dac18679
Merge branch 'master' into builderAPI
2019-05-09 16:07:47 -07:00
Sheetal Nandi
97fcea14d5
Api to get next invalidated project
2019-05-09 16:02:26 -07:00
Klaus Meinhardt
0c9db717ad
fix parsing of leading union/intersection operator ( #31265 )
...
* fix parsing of leading union/intersection operator
Fixes : #30995
* test declaration emit
2019-05-08 14:09:11 -07:00
Ron Buckton
0c1a283bf9
Add opt-in behavior for custom transforms to support bundles
2019-05-07 17:29:02 -07:00
Sheetal Nandi
9f9ae000cb
Enable getSemanticDiagnosticsOfNextAffectedFile for EmitAndSemanticDiagnosticsBuilder
2019-05-07 16:32:52 -07:00
Sheetal Nandi
f017433857
Move everything into state so we can pass it around
2019-05-06 15:43:25 -07:00
Sheetal Nandi
71b190af61
Create api for buildNextProject
2019-05-02 16:15:40 -07:00
Sheetal Nandi
3da47963d5
Remove startWatching as explicit method from api
2019-05-02 15:22:07 -07:00
Sheetal Nandi
e8074f7fdc
Rename cleanAll to clean and take optional project as input
2019-05-02 15:00:53 -07:00
Sheetal Nandi
5b361c8497
Make API to build project and wire cancellation token
2019-05-02 14:16:06 -07:00
Sheetal Nandi
9ba4ab1eae
Merge branch 'master' into builderAPI
2019-04-30 12:36:07 -07:00
Kagami Sascha Rosylight
49d6f61298
Add ES2019 Object.fromEntries function ( #30934 )
...
* add ES2019 Object.fromEntries function
* add some comments
* apply suggested changes
* add readonly and general any
2019-04-30 09:49:58 -07:00
Sheetal Nandi
1a75c62ceb
Remove resetBuildContext
2019-04-29 13:27:53 -07:00
Sheetal Nandi
ddee617e84
Make SolutionBuilder and SolutionBuilderWithWatch separate
2019-04-29 13:16:36 -07:00
Sheetal Nandi
92365027a1
Remove getUpToDateStatusOfFile
from solution builder since that test anyways is tested with the --watch mode
2019-04-29 13:13:22 -07:00
Sheetal Nandi
845f67a394
Make api to return build order
2019-04-29 13:13:21 -07:00
Sheetal Nandi
3e77b96824
Fix the graph ordering test case to check actual order and not just members as set
2019-04-29 13:11:52 -07:00
Sheetal Nandi
fb21e70d71
Target affects emit hence mark the option so that all files are reemitted when target changes
...
Fixes #31118
2019-04-29 13:05:31 -07:00
Kagami Sascha Rosylight
1a75d525fa
add ES2020 matchAll APIs ( #30936 )
2019-04-25 14:11:50 -07:00
Andy Hanson
dc7c9bad3d
Avoid eagerly computing test payload ( #27851 )
2019-04-25 13:26:19 -07:00
Sheetal Nandi
f27cf9b34e
Merge pull request #30971 from Microsoft/dtsSignatureChange
...
Handle when change in type of dts may result in only dts emit but not js emit
2019-04-24 11:16:22 -07:00
Andrew Branch
6608349ea2
Merge pull request #31008 from andrewbranch/bug/29358
...
Support binding patterns in Promise -> async/await refactor
2019-04-24 08:43:15 -07:00
Andrew Branch
3e30a7c2ad
Remove all but one server unit test
2019-04-23 16:45:08 -07:00
Ryan Cavanaugh
885d4d63c8
Remove "generate types" code ( #31075 )
2019-04-23 13:51:47 -07:00
Andrew Branch
f0a3d2bf92
Filter out zero-width selections
2019-04-19 09:44:42 -07:00
Andrew Branch
95fb694eed
Consistify tabs/spaces in test and baselines
2019-04-19 08:58:29 -07:00
Peter Šándor
00279e9eca
Parse unexpected comments after email in author JSDoc tag ( #17244 )
2019-04-19 11:17:09 +02:00
Peter Šándor
ea9d519424
Support email in author JSDoc tag
...
- fixes #17244
2019-04-19 11:15:39 +02:00
Andrew Branch
12492a369e
Rename test to match
2019-04-18 16:28:12 -07:00
Andrew Branch
d8936fd290
Rename to be smarter
2019-04-18 16:23:06 -07:00
Andrew Branch
5479893f00
Skip lone variable declarations
2019-04-18 16:05:08 -07:00
Andrew Branch
fed910fd0c
Add stop for JSDoc comments
2019-04-18 16:05:08 -07:00
Andrew Branch
d73eabd35a
Special rules for binding elements, extend brace/whitespace logic to other kinds of bookended lists
2019-04-18 16:05:08 -07:00
Andrew Branch
74fc84ff84
Snap to nodes directly behind the cursor, create special rules for ParameterNodes
2019-04-18 16:05:07 -07:00
Andrew Branch
4ecdc82736
Solidify fake tree approach
2019-04-18 16:05:07 -07:00
Andrew Branch
fcb7f0152f
Rethink sibling expansion by creating fake subtrees
2019-04-18 16:05:07 -07:00
Andrew Branch
70e2672ab3
Add rules for expanding selection to sibling nodes
2019-04-18 16:05:07 -07:00
Andrew Branch
61425cb304
Move most logic to separate file
2019-04-18 16:05:06 -07:00
Andrew Branch
0a4ef0f630
Distinguish between same-line and different-line braces
2019-04-18 16:05:06 -07:00
Andrew Branch
039487c84e
Also skip TemplateHeads
2019-04-18 16:05:06 -07:00
Andrew Branch
fd88e52252
Start imports
2019-04-18 16:05:06 -07:00
Andrew Branch
e62c2333eb
Add support for string literals
2019-04-18 16:05:06 -07:00
Andrew Branch
f98c00ab9d
Add more tests, special handling for mapped types
2019-04-18 16:05:05 -07:00
Andrew Branch
af3d0f0248
Start smart select API
2019-04-18 16:05:05 -07:00
Andrew Branch
680d18207c
Add tests for destructuring from variable with inferrable type
2019-04-18 12:01:11 -07:00
Andrew Branch
e7fb18e395
Handle case where you have to add a destructuring after a try/catch block
2019-04-18 11:36:47 -07:00
Andrew Branch
ef18453166
Add tests for binding elements that need to be renamed
2019-04-17 18:43:01 -07:00
Andrew Branch
4c73b2e7bd
Basic support for binding patterns in async/await code fix
2019-04-17 18:43:00 -07:00
Sheetal Nandi
d5100bb95e
Merge branch 'master' into dtsSignatureChange
2019-04-17 16:36:09 -07:00
Sheetal Nandi
4a55025f20
Code review feedback
2019-04-17 16:32:33 -07:00
Sheetal Nandi
b337565747
Merge branch 'master' into tsbuildTestPerf
2019-04-17 16:05:00 -07:00
Sheetal Nandi
0c18d032e7
Merge branch 'master' into incrementalLateSymbol
2019-04-17 15:41:53 -07:00
Sheetal Nandi
dc7d77f2c7
Make the tsbuild tests use simple libFile instead of bigger lib file set
2019-04-17 15:35:00 -07:00
Sheetal Nandi
15ae8a7273
Make sure to emit again if change in compiler option affects emit
...
Fixes #30736
2019-04-16 16:18:37 -07:00
Sheetal Nandi
707cb93891
Write test case that baselines the incremental build result
...
Testcase for #30780
2019-04-16 12:50:37 -07:00
Sheetal Nandi
9f5090cec7
Test case for #30891
2019-04-16 12:33:21 -07:00
Sheetal Nandi
8684c3bfb8
Merge pull request #30740 from Microsoft/moduleAndAmbientResolutionConflict
...
When old program resolved to module and that file is included, dont consider as ambient resolution.
2019-04-05 12:15:06 -07:00
Nathan Shively-Sanders
9e2446073d
Merge pull request #30773 from Microsoft/update-user-tests
...
Update TypeScript-React-Native-Starter
2019-04-05 11:18:27 -07:00
Nathan Shively-Sanders
762a557fcc
Update TypeScript-React-Native-Starter
...
Add a 'path' field to test.json.
2019-04-04 11:37:15 -07:00
Sheetal Nandi
7ccd86bf52
When old program resolved to module and that file is included, dont consider as ambient resolution.
...
Fixes #30422
2019-04-03 14:05:49 -07:00
Andrew Branch
9475bf7d9e
Fall back from globalReadonlyArrayType to globalArrayType when transpiling
2019-04-03 11:27:53 -07:00
Sheetal Nandi
5869662c3f
Merge pull request #30721 from Microsoft/amdOut
...
Do not create multiple sourceFile to single outputFile with project redirect as the output file is included by default
2019-04-03 10:39:28 -07:00
Benjamin Lichtman
78b0956474
VS IntelliCode-related changes ( #30731 )
...
* ensure configurePlugin gives a response
* Update tests
* Update baseline
* Enable global plugin loading for external projects
* Fix lint errors
2019-04-03 10:36:04 -07:00
Sheetal Nandi
602aec2f7d
Never create redirect for sourceFiles that get emitted to single output file
...
Fixes #30591
2019-04-02 14:55:48 -07:00
Sheetal Nandi
b559e813f4
Add test when module resolution resolves to original file of referenced project with --out
...
Test for #30591
2019-04-02 14:23:28 -07:00
Sheetal Nandi
3fdd66bddf
Report program's source files even when there are errors when building using --build mode
2019-04-02 13:22:22 -07:00
Sheetal Nandi
cf8b308511
Add test for out file concat where command line --incremental flag changes between compilation
2019-03-29 14:42:02 -07:00
Sheetal Nandi
a4091ae8e3
Merge branch 'master' into incrementalFromCommandLine
2019-03-26 14:57:18 -07:00
Sheetal Nandi
7457e5d9fe
Pull out the incremental compilation into a function so we can test it
2019-03-26 14:28:05 -07:00
Sheetal Nandi
021444a248
Make it as api so we can test it
2019-03-26 14:25:56 -07:00
Sheetal Nandi
35470b3f3b
Make tsbuildInfoFile as commandline option to tsc (and not tsc -b)
2019-03-25 14:47:36 -07:00
Sheetal Nandi
8da384d32a
Report output file not built error for any module resolution that ends up to source file
...
Fixes #29918
2019-03-21 08:55:12 -07:00
Sheetal Nandi
34c3233d18
Allow --incremental to be command line option
2019-03-20 14:48:47 -07:00
Sheetal Nandi
09747e5c35
Add test for current --incremental behaviour
2019-03-20 13:59:12 -07:00
Sheetal Nandi
e94b7d8b37
Check extended tsconfig time with oldest output time to report not upto date
2019-03-19 17:19:15 -07:00
Sheetal Nandi
8cef0c592a
Merge branch 'master' into tsconfigChangeDetection
2019-03-19 16:54:25 -07:00
Sheetal Nandi
52641c531a
Passing --force option to build, builds project from start
2019-03-15 16:04:10 -07:00
Sheetal Nandi
cabf72b514
Revert "Passing --force option to build, builds project from start"
...
This reverts commit 434fa94bdc
.
2019-03-15 16:03:36 -07:00
Sheetal Nandi
434fa94bdc
Passing --force option to build, builds project from start
2019-03-15 16:02:00 -07:00
Sheetal Nandi
ce490e1c77
Check oldest output time with tsconfig time to see if its out of date
...
Fixes #26503
2019-03-15 15:45:51 -07:00
Sheetal Nandi
e78f52d246
Add more information when getValidSourceFile cant find the file in question.
...
Log for #30180
2019-03-15 15:03:45 -07:00
Sheetal Nandi
b7c8e0951d
Merge branch 'master' into resolveJsonModule
2019-03-14 15:13:39 -07:00
Sheetal Nandi
34ea77f674
Pass time to the vfs of resolveJsonModule
2019-03-14 14:02:53 -07:00
Sheetal Nandi
bd229b5ed1
Exclude Json files from Project reference redirects from files to be emitted list
...
Fixes #30382
2019-03-14 11:22:26 -07:00
Sheetal Nandi
a6f7ec3464
Handle outDir and declrationDir correctly to generate output file names for the tsbuild
2019-03-14 10:00:55 -07:00
Sheetal Nandi
e42f37fccd
Merge pull request #30374 from Microsoft/jsonSourceFile
...
Correct the generation of output file names for tsc --b
2019-03-13 15:00:59 -07:00
Sheetal Nandi
b6d520a7a5
Handle recursive symlinks when matching file names
...
Fixes #28842
2019-03-13 12:30:47 -07:00
Sheetal Nandi
812ff98f61
Correct the generation of output file names for tsc --b
...
Fixes #30356
2019-03-13 11:23:14 -07:00
Sheetal Nandi
b762d6205e
Merge pull request #30344 from Microsoft/uptoDate
...
Set oldestOutputFileName in uptodate status when updating just timestamps of output
2019-03-13 10:54:59 -07:00
Sheetal Nandi
8800cc2d15
Merge pull request #30288 from Microsoft/nonModuleNonPrepend
...
Add output declaration files from referenced project into program if module: none
2019-03-13 10:54:35 -07:00
Sheetal Nandi
2477159782
Do not schedule updating bundle if the buildInfo file wont be generated for the project
...
Fixes #30346
2019-03-12 16:08:01 -07:00
Sheetal Nandi
ffeb38456f
Set oldestOutputFileName in uptodate status when updating just timestamps of output
...
Fixes #29875
2019-03-12 13:30:17 -07:00
Sheetal Nandi
927c10ae31
Add output declaration files from referenced project into program if module: none
2019-03-08 17:48:14 -08:00
Sheetal Nandi
0b202b2095
Fix tests after rebase
2019-03-08 16:33:53 -08:00
Sheetal Nandi
6c0b4568a0
Enable incremental program updates through tsbuildinfo in tsc --watch mode
2019-03-08 15:56:09 -08:00
Sheetal Nandi
68e28da141
Build project if existing project was built with different compiler version
2019-03-08 15:14:34 -08:00
Sheetal Nandi
ecb2ce429d
Add tests that will verify that all rebuilding with new compiler version builds again
2019-03-08 14:19:41 -08:00
Sheetal Nandi
990b199ebd
Merge branch 'master' into incrementalBuildInfo
2019-03-08 11:42:19 -08:00
Wesley Wigham
a887c6ba40
Remove unused (and sometimes broken) targets and scripts ( #30054 )
...
* Remove unused (and sometimes broken) targets and scripts
* Remove browser-specific harness code
2019-03-08 10:34:35 -08:00