Skip to content

RENOVATE: Update dependency typescript to v7 - #568

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-7.x
Open

RENOVATE: Update dependency typescript to v7#568
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-7.x

Conversation

@renovate

@renovate renovate Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
typescript (source) ^6.0.0^7.0.0 age confidence
typescript (source) ^6.0.3^7.0.0 age confidence

Release Notes

microsoft/TypeScript (typescript)

v7.0.2

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Includes changes related to dependencies label Jul 11, 2026
@changeset-bot

changeset-bot Bot commented Jul 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 227c279

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added the without-changeset The PR does not contain a Changeset file label Jul 11, 2026
@renovate
renovate Bot force-pushed the renovate/typescript-7.x branch 8 times, most recently from 1abcddf to 20e216c Compare July 17, 2026 09:17
@renovate
renovate Bot force-pushed the renovate/typescript-7.x branch 2 times, most recently from cb740ca to 732e2bc Compare July 21, 2026 08:06
@github-actions github-actions Bot added with-changeset The PR contains a Changeset file. pkg: aio-commerce-lib-events Includes changes in `packages/aio-commerce-lib-events` pkg: aio-commerce-lib-app Includes changes in `packages/aio-commerce-lib-app` and removed without-changeset The PR does not contain a Changeset file labels Jul 21, 2026
@obarcelonap

Copy link
Copy Markdown
Member

Pushed two fixes for the CI failures caused by the TypeScript 7 bump:

1. tsdown bump (fixes the crash)

tsdown@0.22.3 pulled in rolldown-plugin-dts@0.26.0, which predates TypeScript 7 support and crashed with Cannot read properties of undefined (reading 'useCaseSensitiveFileNames') during dts emission. TypeScript 7 restructured its package exports so the default entry point no longer exposes the classic ts.sys API. Bumping tsdown to 0.22.12 (pulling in rolldown-plugin-dts@0.27.12) picks up the upstream fix (sxzz/rolldown-plugin-dts#276).

2. TS2883 "not portable" declaration errors

With the crash fixed, aio-commerce-lib-app's build surfaced new TS2883 errors from TypeScript 7's stricter dts emitter (tsgo), which flags exported functions whose inferred types reach type names that aren't importable/public:

  • SampleEventHalModel, DestinationMetadata, and EventsOfInterest are now exported from aio-commerce-lib-events's io-events entrypoint (minor, additive — these were already part of the public data shape via IoEventRegistration and the metadata HAL model, just not individually nameable).
  • A few test mock factories in aio-commerce-lib-app got explicit return/parameter type annotations where inference was leaking vitest-internal types or locally-scoped type aliases.

Still open: aio-commerce-lib-app's build still fails with tsgo did not generate dts file for .../packages-private/common-utils/source/actions/index.ts. This is a deeper architectural issue — common-utils is consumed as raw, unbuilt TypeScript source by 5 packages, and TypeScript 7's tsgo-based dts generation requires every file it emits a declaration for to belong to the consuming package's own tsconfig program. The upstream maintainer has confirmed they're not planning to support this cross-project case until tsgo itself ships an API for it (sxzz/rolldown-plugin-dts#189). Will follow up separately on how to handle this (likely making common-utils a properly built package with its own emitted .d.ts).

@renovate
renovate Bot force-pushed the renovate/typescript-7.x branch from a30052e to 85774cb Compare August 16, 2026 11:49
@github-actions github-actions Bot added without-changeset The PR does not contain a Changeset file and removed with-changeset The PR contains a Changeset file. pkg: aio-commerce-lib-events Includes changes in `packages/aio-commerce-lib-events` labels Aug 16, 2026
@renovate
renovate Bot force-pushed the renovate/typescript-7.x branch 8 times, most recently from 89edf9c to 8b714b6 Compare August 19, 2026 15:01
@renovate
renovate Bot force-pushed the renovate/typescript-7.x branch 6 times, most recently from 7535687 to eb1ef17 Compare August 20, 2026 17:36
@renovate
renovate Bot force-pushed the renovate/typescript-7.x branch from eb1ef17 to 227c279 Compare August 20, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Includes changes related to dependencies pkg: aio-commerce-lib-app Includes changes in `packages/aio-commerce-lib-app` without-changeset The PR does not contain a Changeset file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant