Skip to content

RENOVATE: Update dependency typescript to v7 - #568

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

RENOVATE: Update dependency typescript to v7#568
renovate[bot] wants to merge 3 commits 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

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 this update 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

🦋 Changeset detected

Latest commit: a30052e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@adobe/aio-commerce-lib-events Minor
@adobe/aio-commerce-lib-app Patch
@adobe/aio-commerce-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another 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 from 20e216c to cb740ca Compare July 20, 2026 08:46
@renovate
renovate Bot force-pushed the renovate/typescript-7.x branch from cb740ca to 732e2bc Compare July 21, 2026 08:06
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,
since TS7 restructured its package exports and no longer exposes the
classic ts.sys API on the default entry point. Bumping to tsdown
0.22.12 (rolldown-plugin-dts 0.27.12) picks up upstream's fix
(sxzz/rolldown-plugin-dts#276).
TypeScript 7's stricter dts emitter (tsgo) flags exported functions
whose inferred return/parameter types reach non-portable (unexported
or third-party internal) type names. Fixes:

- Export SampleEventHalModel, DestinationMetadata, and EventsOfInterest
  from aio-commerce-lib-events' io-events entrypoint, since they were
  already part of that package's public data shapes (reachable through
  IoEventRegistration and the metadata HAL model) but not individually
  nameable.
- Add explicit return/parameter type annotations to a few test mock
  factories in aio-commerce-lib-app whose inferred types leaked
  vitest-internal types (Procedure) or locally-scoped HAL model aliases.
@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 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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` pkg: aio-commerce-lib-events Includes changes in `packages/aio-commerce-lib-events` with-changeset The PR contains a Changeset file.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant