1484 Commits

Author SHA1 Message Date
TypeScript Bot
1143a21f03
🤖 Pick PR #54454 (Use replaceAll instead of an inco...) into release-5.1 (#54456)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-05-30 13:46:53 -07:00
TypeScript Bot
cbb5826d0a
🤖 Pick PR #54401 (Handle already released source file...) into release-5.1 (#54403)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-05-26 10:01:48 -07:00
TypeScript Bot
7e48587f7c
🤖 Pick PR #54300 (fix(54283): Provide better UX when ...) into release-5.1 (#54312)
Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
2023-05-18 14:53:48 -07:00
Ron Buckton
87547ae3ff Reverse order of decorator-injected initializers (#54269) 2023-05-17 22:15:00 +00:00
Andrew Branch
f0ff97611f
isolatedModules does not imply every file is a module (#54218) 2023-05-12 15:14:49 -07:00
Nathan Shively-Sanders
b52e912601
move some tests that depend on tsserver into tsserver/ (#54219) 2023-05-11 15:48:17 -07:00
Nathan Shively-Sanders
72037a9796
Skip resolving files directly inside node_modules (#52809) 2023-05-11 08:16:17 -07:00
Sheetal Nandi
8b825f7aaa
Handle module node found error reporting in incremental and watch scneario (#54115) 2023-05-09 13:42:26 -07:00
Nathan Shively-Sanders
59d3a38180
fix jsdoc errors in .ts in tsserver (#54185) 2023-05-09 10:00:48 -07:00
Jake Bailey
ca185e95ce
Fix TS version appearing in baselines (#54154) 2023-05-05 09:54:09 -07:00
Sheetal Nandi
bbb9f2ebcf
Just like request and response, events are also logged as formatted json for readability (#54105) 2023-05-02 13:32:12 -07:00
Taekmin Kwon
1416053b9e
Ensure call return() for an abrupt completion at for await of loop (#52754)
Co-authored-by: tm-kwon <tm.kwon@naverlabs.com>
2023-05-01 08:44:55 -04:00
Sheetal Nandi
a956bbc831
Instead of watching files in typing installer, forward it to projectService (#54028) 2023-04-26 13:31:36 -07:00
Sheetal Nandi
f22898d577
Close TypingInstaller watches on project close (#54025) 2023-04-26 12:34:42 -07:00
Sheetal Nandi
9ac5886715
Add back tests for async plugin that got deleted as part of #51699 (#54019) 2023-04-25 15:30:59 -07:00
navya9singh
d3bbef390d
'Move to file' refactor (#53542) 2023-04-21 11:48:53 -07:00
Sheetal Nandi
30fb9fa57e
Refactor plugin related code (#53942) 2023-04-20 16:49:47 -07:00
Sheetal Nandi
ddd5084659
Add resolveLibrary method on hosts and store resolvedLibraries in program so that resolutions can be reused (#53877) 2023-04-20 13:50:22 -07:00
Sheetal Nandi
0a98b32b47
Refactor test helpers (#53918) 2023-04-19 14:46:56 -07:00
Sheetal Nandi
53d378720a
When installing unrelated package inside scoped packages dont invalidate resolutions from everything in the scoped package (#53873) 2023-04-17 12:37:32 -07:00
Sheetal Nandi
df3bec6674
Tweak module resolution failed lookup watching (#53591) 2023-04-13 14:50:50 -07:00
Jake Bailey
a26175bffb
Ensure findPrecedingToken recurses into JSDoc children when needed (#53487) 2023-04-12 12:00:47 -07:00
Sheetal Nandi
4615e52d93
Update more tests for paths (#53728) 2023-04-10 14:29:43 -07:00
Sheetal Nandi
926c6f1ddb
Some of the test updates to ensure that it still tests what it is suppose to after we update watch path logic (#53726) 2023-04-10 13:37:33 -07:00
Sheetal Nandi
85f20246a4
Make the server logs more stable by stubbing time and seq info in the log (#53693) 2023-04-06 16:23:44 -07:00
Sheetal Nandi
acb48f192c
More directory patterns for testing that we will care about (#53653) 2023-04-03 15:34:37 -07:00
Sheetal Nandi
27d3454f07
Add baselines per root for affected file watching (#53616) 2023-03-31 15:57:19 -07:00
Sheetal Nandi
2eab265a2b
Baseline some watch related path determinations so its easy to track changes (#53598) 2023-03-31 15:13:06 -07:00
Andrew Branch
b29ed18466
Ignore allowImportingTsExtensions in transpileModule to suppress option validation error with noEmit (#53599) 2023-03-31 09:10:49 -07:00
Sheetal Nandi
0ee51b96dc
More baselining for timeouts that make furture changes easier (#53579) 2023-03-30 09:48:34 -07:00
Sheetal Nandi
d105b6a994
More baselining for future changes (#53564) 2023-03-29 00:47:37 -07:00
Sheetal Nandi
e47e1266dc
Add current directory, useCasesensitive file names to each baseline (#53483) 2023-03-23 21:14:22 -07:00
Jake Bailey
ac55b297b7
Upgrade "boolean-trivia" lint to new "argument-trivia" lint that uses type info, has quick fixes, etc. (#53002) 2023-03-23 16:26:39 -07:00
Andrew Branch
3a3146e25f
Add tests for completions crash (#53472) 2023-03-23 15:59:43 -07:00
Sheetal Nandi
c66f8de7c8
Fix incorrect assert about configFileName when watch is created with explicit options, projectReferences etc (#53468) 2023-03-23 12:40:09 -07:00
David Sherret
1761a67ff8
perf: ensure compiler options affecting semantic diagnostics get included in build info (#53423) 2023-03-22 09:54:17 -07:00
Sheetal Nandi
8814f6da48
Report error if commanline only option is specified in tsconfig (#53397) 2023-03-20 13:26:04 -07:00
Sheetal Nandi
905a0b4e69
Create baselines for tsserver event tests (#53330) 2023-03-17 16:56:01 -07:00
Sheetal Nandi
b1ef5b79f7
Convert config file parsing tests to baseline for easier future update verification and adds missing location verification (#53324) 2023-03-17 12:58:55 -07:00
Jake Bailey
377fe1f34f
Fix esDecorators evaluation test on Node 16+ (#53175) 2023-03-16 10:32:28 -07:00
Ron Buckton
ae1b3db8ce
Allow 'verbatimModuleSyntax' with transpileModule (#53240)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-03-14 13:03:43 -07:00
Nathan Shively-Sanders
137c461bd0
Scan bigger/fewer jsdoc tokens (#53081) 2023-03-07 16:32:04 -08:00
Jake Bailey
a6be79d535
Remove old test262 and dt runner infra (#53125) 2023-03-07 11:59:47 -08:00
Jake Bailey
6a39f912d6
Remove docker and user tests, related infra (#53118) 2023-03-06 19:59:21 -08:00
Sheetal Nandi
b19cfc03f2
Make getSupportedCodeFixes plugin test such that we dont need to update its baseline for every new error (#53070) 2023-03-02 14:58:13 -08:00
Sheetal Nandi
1da6d87a05
ScriptInfo versioning improvements (#53001) 2023-03-01 15:55:37 -08:00
Sheetal Nandi
8b87de1750
Baseline for watches to only add watch state if there is change and include typing installer baselines into tsserver baselines (#52901) 2023-03-01 14:10:51 -08:00
Sheetal Nandi
dcc766f2b2
Remove long deprecated occurrences request (#52347) 2023-03-01 10:59:07 -08:00
Sheetal Nandi
9c5b09cd21
Updates to type reference directive resolution and module resolution when failed (#51715) 2023-03-01 10:57:47 -08:00
Jake Bailey
ca1cf3dd85
Deprecate UnderscoreEscapedMap and remove internal uses (#53032) 2023-02-28 16:55:29 -08:00