Skip to content

fix: unbreak the release step - #1770

Merged
KaiVandivier merged 1 commit into
masterfrom
fix/release-typescript-peer-conflict
Sep 25, 2026
Merged

KaiVandivier merged 1 commit into
masterfrom
fix/release-typescript-peer-conflict

Conversation

@HendrikThePendric

Copy link
Copy Markdown
Contributor

The release job has been failing since #1764 (run), so 10.18.0 was never published.

@semantic-release/npm runs npm version in each workspace, which makes npm reify the whole tree. #1764 added typescript@~5.5.4 to the root, which conflicts with react-scripts@5's peerOptional typescript@"^3.2.1 || ^4", and npm fails with ERESOLVE. Yarn only warns about this, which is why build, test and lint still passed.

This adds "typescript": "$typescript" to the root npm overrides, next to the existing react ones. Yarn 1 ignores overrides, so yarn.lock and local development are unchanged.

Verified locally: npm version 10.18.0 --no-git-tag-version --allow-same-version in collections/forms fails with the CI error on master and succeeds with this change.

🤖 Generated with Claude Code

The release step runs `npm version` in each workspace, which reifies the
whole tree. The root typescript@~5.5.4 conflicts with react-scripts@5's
peerOptional typescript@^3.2.1 || ^4, so npm fails with ERESOLVE. Yarn only
warns about it, so build, test and lint were unaffected.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@HendrikThePendric
HendrikThePendric requested a review from a team as a code owner September 25, 2026 13:23
@sonarqubecloud

Copy link
Copy Markdown

@dhis2-bot

Copy link
Copy Markdown
Contributor

🚀 Deployed on https://pr-1770--dhis2-ui.netlify.app

@KaiVandivier
KaiVandivier merged commit 9a0cd9d into master Sep 25, 2026
19 checks passed
@KaiVandivier
KaiVandivier deleted the fix/release-typescript-peer-conflict branch September 25, 2026 13:35
dhis2-bot added a commit that referenced this pull request Sep 25, 2026
# [10.18.0](v10.17.0...v10.18.0) (2026-09-25)

### Bug Fixes

* resolve the typescript peer conflict that breaks releases ([#1770](#1770)) ([9a0cd9d](9a0cd9d))
* **notification-icon:** align badge text color with global shell ([e73cd57](e73cd57))
* **notification-icon:** change background color to red500 for improved contrast ([660784a](660784a))
* **notification-icon:** enhance accessibility ([553b61d](553b61d))
* **notification-icon:** update box-shadow color to match the header bar background ([86ed313](86ed313))

### Features

* support writing components in TypeScript, with a placeholder OuTree ([#1764](#1764)) ([47ac8f3](47ac8f3))
* **header-bar:** add expandable notification dot indicator ([ffc9ac5](ffc9ac5))
* **select:** add menuMinWidth and menuMaxWidth to SimpleSingleSelect ([2967f90](2967f90))
@dhis2-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 10.18.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

This branch was successfully deployed

1 active deployment
netlify — c602902c Deployed Sep 25, 2026 by dhis2-bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants