rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

WIP: [api-extractor] Upgrade bundled TypeScript to 5.5

Open colinaaa opened this issue 1 year ago • 5 comments

Summary

Fixes #4805

Details

TypeScript release notes: https://devblogs.microsoft.com/typescript/announcing-typescript-5-5

  1. Upgrade TypeScript to 5.5.2
  2. Upgrade @typescript-eslint/parser to 7.14.1
  3. Adopt breaking changes of typescript-eslint

How it was tested

Impacted documentation

colinaaa avatar Jun 27 '24 03:06 colinaaa

@microsoft-github-policy-service agree

colinaaa avatar Jun 27 '24 03:06 colinaaa

Hi @iclanton, I failed to solve the lint and build error of this change. Would you please help me with it? Thanks

colinaaa avatar Jul 02 '24 10:07 colinaaa

@colinaaa sure

iclanton avatar Jul 02 '24 21:07 iclanton

The issue is that the decoupled copies of the @rushstack/eslint-* packages are getting an old version of the @typescript-eslint/* packages. You should be able to fix this by patching those with the pnpm-config.json file or pnpmfile.

iclanton avatar Jul 03 '24 22:07 iclanton

Is there any plan to get this through?

FezVrasta avatar Sep 23 '24 12:09 FezVrasta

Fixes https://github.com/microsoft/rushstack/issues/5052

octogonz avatar Jan 07 '25 00:01 octogonz

The issue is that the decoupled copies of the @rushstack/eslint-* packages are getting an old version of the @typescript-eslint/* packages. You should be able to fix this by patching those with the pnpm-config.json file or pnpmfile.

@iclanton I have temporarily postponed these issues by upgrading API Extractor's TypeScript version to 5.7.2. while rollingback the other projects across the repo to version 5.4.2. In this way, the API Extractor work can be merged separately from the repo upgrade work.

The test projects are all building without errors, although there were warnings for the Heft's TypeScript 2.9.x test project. I didn't dig too deeply into that one -- since @types/node today only supports 3.2+, I think it's probably time to drop support for 2.9.x and make 3.2.x our oldest supported version. But we can do that in a separate PR as well.

octogonz avatar Jan 07 '25 00:01 octogonz