Skip to content

馃悰(codemod) use published package ranges - #294

Merged
PanchoutNathan merged 2 commits into
mainfrom
fix/codemod-package-ranges
Aug 6, 2026
Merged

馃悰(codemod) use published package ranges#294
PanchoutNathan merged 2 commits into
mainfrom
fix/codemod-package-ranges

Conversation

@PanchoutNathan

Copy link
Copy Markdown
Collaborator

The dependency migration assigned ^1.0.0 to every replacement package, but ui-components is published as 0.29.0 and ui-tokens as 3.1.0. This left migrated applications with ranges that cannot resolve the available releases.

Keep the default range next to each target package and cover both current and legacy package mappings in the transformation tests.

@PanchoutNathan PanchoutNathan self-assigned this Aug 6, 2026
Comment thread packages/ui-codemod/src/mappings.js Outdated
@jbpenrath

Copy link
Copy Markdown
Contributor

Don't forget to generate a changeset

The dependency migration assigned ^1.0.0 to every replacement package,
but ui-tokens keeps the Cunningham 3.1.0 version. This left migrated
applications with a range that cannot resolve the published token release.

Keep the default range next to each target package and cover both current
and legacy package mappings in the transformation tests.
Record the major release that moves ui-components from 0.29.0 to the
stable 1.0.0 line. ui-tokens remains on its published 3.1.0 version.
@PanchoutNathan
PanchoutNathan force-pushed the fix/codemod-package-ranges branch from 3b6adb8 to 80cb924 Compare August 6, 2026 11:05
Comment thread .changeset/stable-components-release.md
@PanchoutNathan
PanchoutNathan merged commit 2997ed7 into main Aug 6, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants