1685 Commits

Author SHA1 Message Date
Mateusz Burzyński
9f150e00df
Replace Debug.checkDefined to avoid redundant debugger stops (#60009) 2024-09-19 14:08:12 -07:00
Sheetal Nandi
02b07a1788
Dont open composite projects to determine if script info is part of project (#59688) 2024-09-18 10:35:22 -07:00
Isabel Duan
52eaa7b02f
Enable --isolatedDeclarations on TS codebase (#59635)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-09-15 18:10:52 -07:00
Wesley Wigham
0d7763e4c8
Sanitize version string for syntactically invalid buildinfo baselines (#59932) 2024-09-10 13:58:33 -07:00
Sheetal Nandi
31afb988d1
Updates to --build parsing on command line (#59874) 2024-09-06 12:52:55 -07:00
Sheetal Nandi
ea699093ce
We may not always get file notifications for file creation, so always check for failed lookups starting with the path as well as exact path (#59882) 2024-09-06 12:20:13 -07:00
Sheetal Nandi
2fb1363b82
Make "/home/src/workspaces/project" as default current directory without having to specify it for tsc tests (#59875) 2024-09-05 16:15:20 -07:00
Sheetal Nandi
d514dab3f6
Fix the incorrect copy over for watchOptions and fix order of watches for referenced projects (#59871) 2024-09-05 13:30:08 -07:00
Sheetal Nandi
87d0e771a8
Fix issues with global typings cache and what gets watches (#59869) 2024-09-05 13:06:30 -07:00
Sheetal Nandi
7976d9cef5
Refactor tsserver, tsc and fourslash-server tests so that paths are always watchable (#59844) 2024-09-04 14:22:10 -07:00
Jake Bailey
82e4682541
Drop tsserverlibrary.d.ts from baselines, simplify APILibCheck (#59722) 2024-08-22 14:12:59 -07:00
Andrew Branch
a5eec2485f
Simplify handling of node:-prefixed modules in auto-imports (#59702) 2024-08-21 16:43:21 -07:00
Andrew Branch
7f597beb2e
Don’t try to recreate AutoImportProvider after giving up because of too many dependencies until program structure changes (#59692) 2024-08-20 17:12:28 -07:00
Sheetal Nandi
d06fb82d7c
Add option --stopBuildOnErrors to tsbuild to get previous behavior of not building downstream projects if upstream has errors (#59433) 2024-08-16 19:02:42 -07:00
Ron Buckton
f025a5b879
built-in iterators should be disposable (#59633) 2024-08-16 11:57:04 -04:00
Titian Cernicova-Dragomir
52395892e0
Set declarationMap to false in transpileModule. (#59642) 2024-08-15 16:57:37 -07:00
Jake Bailey
25e09d9fc3
Add custom eslint rule 'no-array-mutating-method-expressions' (#59526) 2024-08-14 09:28:57 -07:00
Sheetal Nandi
7753487591
Handle delayed or missed watches for project updates (#59625) 2024-08-13 17:58:08 -07:00
Jake Bailey
195203e971
Add regex eslint plugin, fix lints (#59371) 2024-08-13 14:16:53 -07:00
Wesley Wigham
03bca1d8fe
Allow trailing commas on lambda type parameter lists (#59612) 2024-08-13 11:55:27 -07:00
Ron Buckton
67d0fc13ce
Use global Iterator.prototype for down-level generators (#59514) 2024-08-08 12:20:59 -04:00
Andrew Branch
34048178a2
Move ambient const enum error from use site to import in verbatimModuleSyntax (#59438) 2024-07-30 11:20:59 -07:00
Jake Bailey
74cefa848c
Tighten signature of append (#59426) 2024-07-26 10:08:40 -07:00
Isabel Duan
107a007a9a
organizeImports makes no changes if there are parse errors in the sourceFile (#58903) 2024-07-25 16:28:19 -07:00
Sheetal Nandi
941d1543c2
Use open file to determine file existence (#59418) 2024-07-25 15:46:05 -07:00
Jake Bailey
85d6bb6fe6
Add new option "noUncheckedSideEffectImports" (#58941) 2024-07-19 17:35:02 -07:00
Ron Buckton
6f530cc4ce
Add TReturn/TNext to Iterable et al (#58243) 2024-07-19 13:14:00 -04:00
Sheetal Nandi
afa03f0948
Allow declarationMap to be emitted when transpiling declarations and option is enabled (#59337) 2024-07-17 17:07:17 -07:00
Ron Buckton
e7e813542a
Work around inconsistent recursive directory watch events (#59328) 2024-07-17 16:51:44 -04:00
Andrew Branch
a9139bfdfe
Only look up package.json type if module is node16/nodenext or file is in node_modules (#58825)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-07-17 09:23:51 -07:00
Sheetal Nandi
f37482cd16
Always watch package jsons for the sourceFile (#59311) 2024-07-16 16:01:33 -07:00
Sheetal Nandi
5e105ea71a
Use correct current directory for calculation for tests for reusable program tests (#59303) 2024-07-16 12:47:21 -07:00
Sheetal Nandi
6369240da6
Store information in buildInfo to repopulate mode mismatch based on status of package.json (#59286) 2024-07-16 10:12:14 -07:00
Sheetal Nandi
9c093c13e6
Do not reuse ambient module name resolution from other files while determining if resolution can be reused (#59243) 2024-07-12 14:43:00 -07:00
Armando Aguirre
972e9a70c6
Added affectsSourceFile to importHelpers and jsxImportSource (#59195)
Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
2024-07-10 14:18:45 -07:00
navya9singh
ded36b21ac
pasteEdits returns no edit when there are no imports needed (#59189) 2024-07-09 10:27:41 -07:00
Sheetal Nandi
6c68fdd4b5
Delay the calculation of common source root if it would be needed when calculation dts files (#59070) 2024-06-28 14:29:11 -07:00
Sheetal Nandi
22bbe867fd
Show dts errors with --noEmit, fix some of the incremental noEmit issues and support dts diagnostics and fix the caching diagnostics in program (#59065) 2024-06-28 13:55:49 -07:00
Lars Kappert
752135eb40
Remove unused exports & dead code (using Knip) (#56817)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-06-27 14:24:01 -07:00
Sheetal Nandi
f7833b2a72
On linux or editor with canUseEvents to prefer immediate directory if its not in root or node_modules (#58866) 2024-06-27 11:32:33 -07:00
Sheetal Nandi
15f67e0b48
Option to skipSysTests since they dont change branch to branch and ca… (#59025) 2024-06-26 09:41:01 -07:00
Jake Bailey
ef339af128
Use regular imports instead of require where possible (#59017) 2024-06-25 13:56:05 -07:00
Ron Buckton
e70904a24f
Implement deterministic collapse of 'await' in 'await using' (#58929) 2024-06-25 15:28:24 -04:00
Sheetal Nandi
f2f91ccc64
Make canUseWatchEvents test framework more generic so we can add more tests easily (#58962) 2024-06-25 10:19:01 -07:00
Sheetal Nandi
d403e0850f
Fix the consistency and correctness of performanceData reported per request (#58968) 2024-06-24 19:02:19 -07:00
Mateusz Burzyński
3743fbc748
Consistently avoid module resolution errors when using getSymbolAtLocation (#58668) 2024-06-24 09:03:32 -07:00
Sheetal Nandi
beb375a9ca
Fix incorrect lib condition again! (#58945) 2024-06-20 13:18:39 -07:00
Jake Bailey
aa249c094b
Revert "Fix incorrect condition of noLib" (PR 58867) (#58935) 2024-06-19 14:31:51 -07:00
Sheetal Nandi
4239025fa3
Fix incorrect condition of noLib (#58867) 2024-06-18 15:17:29 -07:00
Sheetal Nandi
d44c9c32e9
Always build project irrespective of errors in dependency with tsc -b (#58854) 2024-06-14 13:12:07 -07:00