Commit Graph

1621 Commits

Author SHA1 Message Date
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
Sheetal Nandi
95d23ca7d2 Treat the input file name from referenced project as "ts" rather than file extension it is when determining eliding file for program construction (#58308) 2024-04-26 13:15:02 -07:00
Sheetal Nandi
c92bd16ac0 Exclude outDir and declarationDir even if they come from extended config (#58335) 2024-04-26 13:14:40 -07:00
Ron Buckton
e28ad995d1 Report RegExp errors in grammar check, use Annex B grammar (#58295) 2024-04-24 19:16:05 -04:00
Wesley Wigham
0b71b81d7d Add transpileDeclaration API method (#58261) 2024-04-23 17:09:47 -07:00
形素叢集・ぐらふぃーむ
42f238bfbb Provide Syntax Checking for Regular Expressions (#55600)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-04-19 16:51:08 -07:00
Sheetal Nandi
10b784aa88 Add try catch and defer.reject for checking sys tests (#58252) 2024-04-19 09:48:19 -07:00
Wesley Wigham
48870169dc Check nearest package.json dependencies for possible package names for specifier candidates (#58176) 2024-04-18 17:43:08 -07:00
Sheetal Nandi
05f4dbab10 Try sorting and deduplicating events before comparing. (#58242)
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2024-04-18 11:59:53 -07:00
Sheetal Nandi
5b3060d5c6 [Experiment] Some tweaking to handle project references for auto import (#55955)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-04-18 11:41:48 -07:00
Jake Bailey
17e420daf6 Use built-in no-restricted-syntax to ban null instead of plugin, ban null type too (#58095) 2024-04-18 09:06:32 -07:00
Sheetal Nandi
cbae6cf9f4 Add template variable ${configDir} for substitution of config files directory path (#58042) 2024-04-16 16:25:07 -07:00
Andrew Branch
585a9af830 Respect package.json "type" and module-format-specific file extensions in more module modes (#57896) 2024-04-12 12:47:09 -07:00
Sheetal Nandi
b006768548 When watching failed lookups, watch packageDir if its a symlink otherwise the path we use to watch (#58139) 2024-04-12 11:03:51 -07:00
Sheetal Nandi
4e294963c8 Keep scriptInfo and project alive even after file delete till next file open (#57492) 2024-04-12 10:43:09 -07:00
Sheetal Nandi
25de1b05b4 Send configFileDiag event when presence of errors change on project.update (#58120) 2024-04-08 15:30:36 -07:00
Jake Bailey
5144b3e68e Export executeCommandLine from public API (internal for now) (#58057) 2024-04-04 15:52:23 -07:00
Jake Bailey
4cedfe40b0 Update dprint, don't force multiline imports for imports of single name (#58038) 2024-04-02 10:58:16 -07:00
Sheetal Nandi
98f2c120d8 Take into account peerDependency versions when calculating packageId (#57029)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2024-04-01 09:04:02 -07:00
Sheetal Nandi
e256ec1bff Now that we have osFlavour some of the TestServerHostOptions can be removed (#57998) 2024-03-29 14:29:00 -07:00
Sheetal Nandi
fcfec8c3b2 Reduce timeout for symlink Watching tests (#58000) 2024-03-29 13:23:51 -07:00
Sheetal Nandi
26358d25a3 Make sure virtual file system with watch behaves same way as sys/node so we have proper test coverage for symlinks (#57607) 2024-03-29 09:48:51 -07:00
Sheetal Nandi
12402f2609 Ensure that we are checking if correct file with resolved path is present in the new program when removing the existing packageJson watching (#57988) 2024-03-28 12:02:45 -07:00
Jake Bailey
35f4f033eb Compare package.json paths with correct sensitivity in getLocalModuleSpecifier (#57973) 2024-03-28 10:33:17 -07:00
Sheetal Nandi
f3f70df94e Dont fail on "create" event when watching package json files (#57971) 2024-03-27 14:58:43 -07:00
Sheetal Nandi
54504fc9b3 Normalize slashes for paths in watch events (#57968) 2024-03-27 14:16:35 -07:00
Sheetal Nandi
c87b5bcab9 Watch events enhancements (#57950) 2024-03-27 13:36:45 -07:00
Andrew Branch
b24b5c4ec1 Allow cross-project references to const enums in isolatedModules when referenced project has preserveConstEnums (#57914) 2024-03-27 11:45:57 -07:00
Oleksandr T
2de69b09c5 feat(41825): JSDoc equivalent of import * (#57207) 2024-03-26 13:52:43 -07:00
Sheetal Nandi
d4b8ff6918 Directories dont check modified time when sending "change" event (#57938) 2024-03-25 16:19:30 -07:00
Sheetal Nandi
a1c4732222 Test for tsc --watch to stub out actual time (#57936) 2024-03-25 14:11:44 -07:00