Commit Graph

1651 Commits

Author SHA1 Message Date
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
Sheetal Nandi e834989ebd Allow --noCheck to be commandLine option (#58839) 2024-06-14 11:40:32 -07:00
Andrew Branch 56289733a4 Revert #57896 (#58857) 2024-06-13 16:40:23 -07:00
Gabriela Araujo Britto 4857546865 Region-based semantic diagnostics (#57842) 2024-06-13 16:21:01 -07:00
Sheetal Nandi b258429aaa tsc -b removes silent noEmitOnError and emits files even if there are errors (#58838) 2024-06-13 13:12:35 -07:00
Andrew Branch 97f3f0c8dd Disable #57896 (Respect package.json "type" and module-format-specific file extensions in more module modes) (#58831) 2024-06-12 16:48:25 -07:00
Sheetal Nandi dca9182ca8 Always write tsbuildInfo when running tsc -b (#58626) 2024-06-12 13:46:19 -07:00
Sheetal Nandi d8086f14b6 BuildInfo refactoring: Now that we dont have bundle we dont need program field explicitly (#58789) 2024-06-06 15:08:11 -07:00
Sheetal Nandi b9d96df61f Some refactoring so we arent checking undefined on program or asserting it so much (#58782) 2024-06-05 16:42:36 -07:00
Sheetal Nandi 9edddc73ad Write buildInfo even if we dont emit js or dts for --outFile scenarios (#58760) 2024-06-03 17:06:14 -07:00
Sheetal Nandi 145b106c20 Tests refactor for easy comparison between outFile and multiFile scenario (#58761) 2024-06-03 13:59:28 -07:00
Ron Buckton 2a9e4b8aa2 await using normative changes (#58624) 2024-05-29 17:34:00 -04:00
Sheetal Nandi 7ad8f39118 Some tests coverage for --out and errors scenarios (#58652) 2024-05-24 14:12:38 -07:00
graphemecluster d0ef028841 Improve Recovery of Unterminated Regular Expressions (#58289)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-05-24 15:46:26 -04:00
Sheetal Nandi 87918f52df Compact the tsbuild info by encoding info differently for some of the situations (#58641) 2024-05-24 09:38:24 -07:00
Sheetal Nandi 9370347f5b Fix missing sanitization in verifyTsc baselines for timestamps (#58609) 2024-05-21 15:25:19 -07:00
Matthieu Riegler 75342d8ca8 fix(58584): formatJSDocLink shouldn't introduce a trailing space when non link text. (#58585) 2024-05-21 14:53:52 -07:00
Sheetal Nandi cd40d26f01 Skip typechecking file when generating declaraiton to get d.ts signature for incremental build (#58592) 2024-05-21 14:09:44 -07:00
Sheetal Nandi 06841520db If module exports const enum, invalidate js files along with dts as it can impact js emit as well (#58594) 2024-05-21 13:57:57 -07:00
Sheetal Nandi ba78807aa1 Handle project / program roots in tsserver correctly (#58562) 2024-05-20 11:45:31 -07:00
Sheetal Nandi d84431e706 Handle root files listed in project config from referenced project to be same as if they were included through import (#58560) 2024-05-20 10:05:42 -07:00
Sheetal Nandi 84ed6a3d64 Make sure that jsdoc is always in range with parameter declaration (#58538) 2024-05-15 12:03:09 -07:00
Sheetal Nandi e51cbc8764 Do not lowercase typeReference directive name (#58525) 2024-05-13 16:35:49 -07:00
Sheetal Nandi fadc83b939 Handle config file change and default project management (#58486) 2024-05-10 14:50:43 -07:00
Jake Bailey 81e9929154 Load unit tests more consistently (pulled from ESM branch) (#58481) 2024-05-09 10:32:05 -07:00
navya9singh be8fb98cf1 Implementing copy/paste (#57262) 2024-05-08 16:07:51 -07:00
Jake Bailey 9d714f47c0 Update dependencies (#58458) 2024-05-07 12:55:16 -07:00
Jake Bailey 16beff101a Use explicit extensions for imports within src (#58421) 2024-05-06 17:07:54 -07:00
Sheetal Nandi fd81d04080 Lazy calculation of expensive file explaining diagnsotics and some caching to be used to share the diagnostic data (#58398) 2024-05-06 16:30:17 -07:00
Ron Buckton 70d8ec2f26 Fix name generation scoping (#58418) 2024-05-06 11:59:37 -04:00
Sheetal Nandi 7a38980a7e Validate the options passed in are numbers instead of strings for our custom commandline options (#58388) 2024-05-01 14:51:36 -07:00
Oleksandr T 66dd12e699 fix(58259): getTextOfJSDocComment is stripping # from JSDoc comment (#58338) 2024-05-01 11:47:26 -07:00
Gabriela Araujo Britto ebcb09d71a Improve diagnostics deduplication (#58220) 2024-04-26 15:44:09 -07:00
Sheetal Nandi 1db1376d8a Dont get declaration diagnostics for file from referenced project (#58333) 2024-04-26 14:05:12 -07:00
Wesley Wigham f76727d17a Add noCheck API option (#57934) 2024-04-26 13:21:15 -07:00