Commit Graph
1416 Commits
Author SHA1 Message Date
Jake BaileyandGitHub 3f6f3164d6 Remove stableSort, rename sort to toSorted (#55728) 2024-07-23 18:17:07 -07:00
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 NandiandGitHub 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 NandiandGitHub 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
Sheetal NandiandGitHub 247a98335d In project, instead of iterating over program files to determine if file needs to be detached, do it through existing mechanism of releasing oldSourceFile (#59181) 2024-07-08 13:37:44 -07:00
Sheetal NandiandGitHub cb98634f49 Remove errors if noEmit is sepcified with noCheck or emitDeclarationOnly (#59071) 2024-06-28 15:25:14 -07:00
Sheetal NandiandGitHub 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 NandiandGitHub 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
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 NandiandGitHub 7c011e766e Refactor resolving module or type reference name (#59040) 2024-06-26 12:46:39 -07:00
Oleksandr TandGitHub c219989232 fix(58955): @import JSDoc tag doesn't seem to account for resolution-mode import attribute in TS v5.5.2 (#58966) 2024-06-24 15:09:04 -07:00
Sheetal NandiandGitHub beb375a9ca Fix incorrect lib condition again! (#58945) 2024-06-20 13:18:39 -07:00
Jake BaileyandGitHub aa249c094b Revert "Fix incorrect condition of noLib" (PR 58867) (#58935) 2024-06-19 14:31:51 -07:00
Sheetal NandiandGitHub 4239025fa3 Fix incorrect condition of noLib (#58867) 2024-06-18 15:17:29 -07:00
Andrew BranchandGitHub 56289733a4 Revert #57896 (#58857) 2024-06-13 16:40:23 -07:00
Gabriela Araujo BrittoandGitHub 4857546865 Region-based semantic diagnostics (#57842) 2024-06-13 16:21:01 -07:00
Andrew BranchandGitHub 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 NandiandGitHub dca9182ca8 Always write tsbuildInfo when running tsc -b (#58626) 2024-06-12 13:46:19 -07:00
Sheetal NandiandGitHub 9edddc73ad Write buildInfo even if we dont emit js or dts for --outFile scenarios (#58760) 2024-06-03 17:06:14 -07:00
Sheetal NandiandGitHub 40583ff9df Mark file as skips typechecking if it contains ts-nocheck (#58593) 2024-05-31 12:18:43 -07:00
Wesley WighamandGitHub bbfc1aa281 Enable JS emit for noCheck and noCheck for transpileModule (#58364) 2024-05-30 13:38:37 -07:00
Sheetal NandiandGitHub 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 NandiandGitHub 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 NandiandGitHub ef01ea1ac6 Stop checking existing resolution now that we have concept of package ID (#58528) 2024-05-14 10:30:22 -07:00
Sheetal NandiandGitHub e51cbc8764 Do not lowercase typeReference directive name (#58525) 2024-05-13 16:35:49 -07:00
Sheetal NandiandGitHub 524456ff5a Fix incorrect usage of getResolvedTypeReferenceDirectives and some refactoring (#58527) 2024-05-13 16:03:40 -07:00
14b4529a69 Fix tslib resolutions (#58451)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2024-05-07 11:28:20 -07:00
Jake BaileyandGitHub 16beff101a Use explicit extensions for imports within src (#58421) 2024-05-06 17:07:54 -07:00
Sheetal NandiandGitHub 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
Sheetal NandiandGitHub 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
Wesley WighamandGitHub f76727d17a Add noCheck API option (#57934) 2024-04-26 13:21:15 -07:00
Sheetal NandiandGitHub 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
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
e62418e868 Isolated declarations errors (#58201)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-04-19 15:37:15 -07:00
Andrew BranchandGitHub e75f470be0 Report positionless tsconfig option errors on compilerOptions key (#58254) 2024-04-19 12:33:00 -07:00
Wesley WighamandGitHub 48870169dc Check nearest package.json dependencies for possible package names for specifier candidates (#58176) 2024-04-18 17:43:08 -07:00
Jake BaileyandGitHub 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
Andrew BranchandGitHub 585a9af830 Respect package.json "type" and module-format-specific file extensions in more module modes (#57896) 2024-04-12 12:47:09 -07:00
Andrew BranchandGitHub 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 TandGitHub 2de69b09c5 feat(41825): JSDoc equivalent of import * (#57207) 2024-03-26 13:52:43 -07:00
Jake BaileyandGitHub 7d504551ae Do not perserve references in declaration emit, unless preserve=true (#57681) 2024-03-20 15:06:02 -07:00
26df0cb23e Remove 5.5 deprecated compiler options (#57527)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-02-28 14:35:39 -08:00
Sheetal NandiandGitHub f23927a806 Remove code related to prepend and fix baselines (#57472) 2024-02-28 09:52:38 -08:00
Jake BaileyandGitHub 65de938e4e Remove target=es3 (#57525) 2024-02-27 11:40:18 -08:00
1982349339 Update dependencies to latest compatible versions (#56561)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
2024-01-19 12:44:01 -08:00
Andrew BranchandGitHub 6cb6fc94ae Add --module preserve, support require in --moduleResolution bundler (#56785) 2024-01-19 12:03:24 -08:00
Andrew BranchandGitHub 385db449f5 With allowJs, process JS files found searching node_modules when they have a realpath outside node_modules (#56946) 2024-01-10 10:15:58 -08:00
Andrew BranchandGitHub aa186a82cf getImpliedNodeFormatForFile does not need a Path (#56853) 2024-01-03 08:04:40 -08:00
b6121e400c Replace disk path operations to use fileNames instead of path (#56476)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-11-27 22:21:29 -08:00
Jake BaileyandGitHub d3c7d96d2c Remove old references to deprecated assertion node types (#56073) 2023-10-11 12:54:27 -07:00