Commit Graph

1586 Commits

Author SHA1 Message Date
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
Sheetal Nandi
ac962eaa1f Fix incorrect use of "path" instead of "resolvedPath" when watching file's package json locations (#57931) 2024-03-25 11:00:33 -07:00
Jake Bailey
e72605925d Update deps and fix new lints (#57870) 2024-03-21 09:24:23 -07:00
Jake Bailey
7d504551ae Do not perserve references in declaration emit, unless preserve=true (#57681) 2024-03-20 15:06:02 -07:00
navya9singh
c295531bfa Adopt code action ranges for refactorings (#57608) 2024-03-18 14:34:44 -07:00
Sheetal Nandi
ac2e122e49 Make builder not depend on information from dts emit about really needed modules (#57800) 2024-03-18 12:14:18 -07:00
Jake Bailey
756c0c3aa2 Use noTypesAndSymbols for API tests (#57799) 2024-03-15 18:39:45 -07:00
Isabel Duan
0a671aa393 Change detection to detection by diff in organizeImports (#57267) 2024-03-15 16:07:39 -07:00
Andrew Branch
f9ef9439bd Ensure enum members syntactically determinable to be strings do not get reverse mappings (#57686)
Co-authored-by: frigus02 <3579251+frigus02@users.noreply.github.com>
Co-authored-by: Jan Kühle <jkuehle90@gmail.com>
2024-03-13 13:11:02 -07:00
Ron Buckton
5e8f900afa Report grammar errors for invalid decorator grammar (#57749) 2024-03-13 14:50:04 -04:00
Sheetal Nandi
353ccb7688 Ensure correct script kind and text when using cached sourceFile from scriptInfo (#57641) 2024-03-04 15:56:35 -08:00
Jake Bailey
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 Nandi
f23927a806 Remove code related to prepend and fix baselines (#57472) 2024-02-28 09:52:38 -08:00
Jake Bailey
65de938e4e Remove target=es3 (#57525) 2024-02-27 11:40:18 -08:00
Phil Pluckthun
ef091bf755 Allow plugins to be loaded from package subpaths (#57266)
Co-authored-by: Sheetal Nandi <sheetalkamat@users.noreply.github.com>
2024-02-21 13:55:47 -08:00
Daniel Rosenwasser
3dfdd1b7c1 Bump version to 5.5. (#57452) 2024-02-20 15:20:55 -08:00
Oleksandr T
c18c1c20dc fix(57302): Cannot move symbols from tsx to ts files (#57305) 2024-02-16 10:36:23 -08:00
Sheetal Nandi
04fa4b5273 More logging of Script info state infromation for baselining for future script info updates improvements (#57398) 2024-02-13 12:38:30 -08:00
Sheetal Nandi
1ca93fe78f Tests for more state and remove some unnecessary logs (#57324) 2024-02-07 13:47:40 -08:00
Sheetal Nandi
ee46953bc9 Baseline Project Service State for easy diffing in changes (#57255)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2024-02-01 14:01:43 -08:00
Ron Buckton
821b1d8fdf Looser import/export elision blocking in visitElidableStatement (#57223) 2024-01-31 16:47:16 -05:00
Sheetal Nandi
113537713d Fix ReloadRequest in protocol found while updating to use session in tests (#57158) 2024-01-25 08:59:56 -08:00
Jake Bailey
4f7da16103 Fix unnecessary non-null assertions caught by newer ts-eslint (#57070)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2024-01-16 11:21:45 -08:00
Andrew Branch
69f2e2ae65 Issue better error when unresolvable package in --moduleResolution node10 resolves with --moduleResolution bundler (#56949) 2024-01-16 09:36:14 -08:00
Titian Cernicova-Dragomir
9a0c7b1c3b Reduce file system calls during test setup. (#56791) 2024-01-11 11:08:55 -08:00
Isabel Duan
780097856a Organize type imports (#55269) 2024-01-09 16:29:16 -08:00
Ron Buckton
5eda842be0 Stage 3 Decorators normative changes (#56955) 2024-01-05 15:29:12 -05:00
Isabel Duan
8dfbfcb058 fix54492: allow editor to check for original file extension for rename (#56680) 2023-12-08 09:32:52 -08:00
Sheetal Nandi
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
Sheetal Nandi
1797837351 Handle package json watch life time (#56488) 2023-11-27 14:50:22 -08:00
Sheetal Nandi
6e65f973f6 Print watch map with same casing as was added with (#56566) 2023-11-27 14:01:53 -08:00
Sheetal Nandi
0abfb521d5 Handle file name casing when deduplicating results from the project (#56438) 2023-11-20 16:30:56 -08:00
Andrew Branch
4d3418205c Elide re-exports of unresolved type-only imports (#56449) 2023-11-17 14:38:39 -08:00
Josh Goldberg ✨
361fafb23c Filtered out types from import suggestions in JS files (#53619)
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-11-16 10:18:24 -08:00
Sheetal Nandi
29bb857226 Fix crash when there are multiple packages to install per code fix action (#56400) 2023-11-15 16:13:27 -08:00
Andrew Branch
a6367977d4 isolatedModules error on alias merging with local value (#56354) 2023-11-15 14:11:12 -08:00