Skip to content

← All changelogs

@typestyles/migrate

packages/migrate/CHANGELOG.md

0.5.4

Patch Changes

  • #295 e900eb9 Thanks @dbanksdesign! - Update to Babel 8 and diff 9. Negative numeric CSS values (for example z-index: -1) are emitted as a unary minus, which Babel 8 requires. This also fixes the traverse is not a function error when running the published CLI.

0.5.3

Patch Changes

  • #287 7979a45 Thanks @dbanksdesign! - Build with tsdown (via Vite+) instead of tsup. Public exports and types are unchanged; the output no longer includes JSDoc comments, and @typestyles/next now shares code between its entry points instead of duplicating it.

0.5.2

Patch Changes

0.5.1

Patch Changes

  • #276 31872bc Thanks @dbanksdesign! - Boolean variant migrations emit recipe({ name, variants, styles }) with variant.boolean axes, and read .className from the call result.

0.5.0

Minor Changes

  • #253 dda8658 Thanks @dbanksdesign! - Public API redesign: createTypeStyles returns a flat { style, hash, recipe, tokens, global, … } surface; nested layers: { order, token, style, global? }; global.rule / global.rules; remove root styles / tokens / global singletons. Migrate codemod emits style / recipe via createTypeStyles. Cache-bust extract module imports so Next route CSS re-runs register styles.

0.4.0

Minor Changes

  • #99 27ad6d0 Thanks @dbanksdesign! - Migrate codemod: convert prop-based styled-components interpolations to createVar + assignVars, boolean prop ternaries to styles.component variants, destructured prop params, and @media blocks (P2.14).

Patch Changes

  • #98 e17b8a0 Thanks @dbanksdesign! - Add npm landing-page READMEs for every published package, an examples index with contributor guidance, and doc-to-example cross-links (P2.13).

0.3.0

Minor Changes

  • #49: Add ESLint configuration across all packages, examples, and docs. Create shared eslint.base.js config with TypeScript rules and add lint scripts to all package.json files. Update CI workflow to run lint via turbo.

Patch Changes

  • #45: Add comprehensive test coverage for previously untested modules: props utils/generate/runtime, typestyles build, and migrate transform/css/files.
  • #50: Add lint-staged for prettier formatting on pre-commit hook and format entire codebase

0.2.0

Minor Changes

  • #28: Add a new @typestyles/migrate CLI package for safely migrating static styled-components and Emotion patterns to typestyles with dry-run output, optional --write, and JSON reporting.