Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Stale

92376[WIP][TASK] Update to TypeScript v7.0

Benjamin Franzke CR 0 V 0 Expert +1323 −191 updated 09/03/26, 07:03

Commit message

Commands executed:

  # Install TypeScript v6 for eslint
  # > While TypeScript 7.0 is here, it does not ship with an API.
  # > We expect TypeScript 7.1 to ship with a new (and different) API
  # See https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/#running-side-by-side-with-typescript-6.0
  npm pkg set overrides.typescript="npm:@typescript/typescript6@^6.0.2"
  # Install TypeScript v7 as `typescript-7` alias
  npm install --save-dev typescript-7@npm:typescript@^7
  npm install --save-dev patch-package

TODO:
 * ckeditor link plugin does not compile currently, which is why
   upstream is patched in this demo. Errors were:

   node_modules/@ckeditor/ckeditor5-engine/src/conversion/upcasthelpers.d.ts:26:13
   error TS8023: JSDoc '@extends module' does not match the 'extends ConversionHelpers' clause.

   26  * @extends module:engine/conversion/conversionhelpers~ConversionHelpers
                  ~~~~~~

   node_modules/@ckeditor/ckeditor5-ui/src/search/text/searchtextqueryview.d.ts:14:13
   error TS8023: JSDoc '@extends module' does not match the 'extends LabeledFieldView' clause.

   14  * @extends module:ui/labeledfield/labeledfieldview~LabeledFieldView
   (This might be fixed in v48, @todo check)
                   ~~~~~~

See also:
https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 7
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/76/92376/7 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/76/92376/7 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Files 5

Review log 815

  1. Benjamin Franzke uploaded patch set 1 01/18/26, 17:14

  2. core-ci voted on patch set 1 V -1 01/18/26, 17:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93725

  3. Benjamin Franzke uploaded patch set 2 V -1 01/18/26, 17:29

  4. core-ci voted on patch set 2 V -1 01/18/26, 17:38 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93726

  5. Benjamin Franzke uploaded patch set 3 V -1 01/18/26, 20:22

  6. core-ci voted on patch set 3 V -1 01/18/26, 21:24 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93731

  7. Benjamin Franzke uploaded patch set 4 V -1 01/19/26, 11:35

  8. core-ci voted on patch set 4 V -1 01/19/26, 12:37 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/93768

  9. Benjamin Franzke uploaded patch set 5 V -1 07/08/26, 19:48

  10. core-ci voted on patch set 5 V -1 07/08/26, 19:55 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/104537

  11. Benjamin Franzke uploaded patch set 6 V -1 07/08/26, 20:46

  12. core-ci voted on patch set 6 V +1 07/08/26, 20:54 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/104538

  13. Benjamin Franzke uploaded patch set 7 V +1 07/08/26, 21:08

  14. core-ci voted on patch set 7 V +1 07/08/26, 21:15 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/104539

  15. Benjamin Franzke marked it work in progress 09/03/26, 07:03