fix(cli): remove dead @xds/theme-default collapse from the v0.1.0 upgrade codemods
What
Removes the @xds/theme-default → @astryxdesign/theme-neutral collapse from all three v0.1.0 upgrade codemods:
migrate-xds-module-specifiers.mjs— dropped the@xds/theme-defaultentry fromPACKAGE_RENAMESand from the collapsed-theme export-remap set.migrate-xds-css-surfaces.mjs— dropped the@xds/theme-default/*→@astryxdesign/theme-neutral/*@importrewrite.migrate-xds-declare-module.mjs— dropped the@xds/theme-defaultentry from itsPACKAGE_RENAMESmap.
Why
We have a different migration path for internal vs external "theme-default" usages (internal maps to an internal theme, external maps to the "neutral" theme) and these were fighting one another--the external codemod ran first with default->neutral, then the internal codemod would not find any "default" references to migrate.
Rather than solve the (harder) sequencing issue, we noticed that there are no external consumers using the default theme in the first place. It was never published in OSS. So we can "cheat" here and just remove the external facing codemod leaving "default" references alone for the internal codemod to migrate.
Changes
- Three codemods: removed the theme-default collapse; comments /
meta.descriptionupdated to saytheme-daily -> theme-neutralonly. - Tests: removed the theme-default-specific module-specifiers case; converted shared theme-default assertions in the module-specifiers and css-surfaces suites to
@xds/theme-dailyso the collapse + alias behavior stays covered.declare-modulehad no theme-default-specific test.
Testing
vitest run on the v0.1.0 codemod suite — 50 tests pass across all five files. ESLint clean on the changed files.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| Preview | Aug 4, 2026 8:19pm |
PR Analysis Report
📚 Storybook Preview
View Storybook for this PR GitHub Pages may take up to a minute to hydrate after deploy.
🧪 Sandbox Preview
View Sandbox for this PR GitHub Pages may take up to a minute to hydrate after deploy.
No new or modified components detected.
Bundle Size Summary
No component packages changed.
Accessibility Audit
Status: No accessibility violations detected.
Generated by PR Enrichment workflow | Storybook | Sandbox | View full report