1631 Commits

Author SHA1 Message Date
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
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