@typestyles/migrate
packages/migrate/CHANGELOG.md
0.5.4
Patch Changes
- #295
e900eb9Thanks @dbanksdesign! - Update to Babel 8 anddiff9. Negative numeric CSS values (for examplez-index: -1) are emitted as a unary minus, which Babel 8 requires. This also fixes thetraverse is not a functionerror when running the published CLI.
0.5.3
Patch Changes
- #287
7979a45Thanks @dbanksdesign! - Build with tsdown (via Vite+) instead of tsup. Public exports and types are unchanged; the output no longer includes JSDoc comments, and@typestyles/nextnow shares code between its entry points instead of duplicating it.
0.5.2
Patch Changes
- #282
612537eThanks @dbanksdesign! - Point the repository metadata at the phthalo-dev GitHub organization.
0.5.1
Patch Changes
- #276
31872bcThanks @dbanksdesign! - Boolean variant migrations emitrecipe({ name, variants, styles })withvariant.booleanaxes, and read.classNamefrom the call result.
0.5.0
Minor Changes
- #253
dda8658Thanks @dbanksdesign! - Public API redesign:createTypeStylesreturns a flat{ style, hash, recipe, tokens, global, … }surface; nestedlayers: { order, token, style, global? };global.rule/global.rules; remove rootstyles/tokens/globalsingletons. Migrate codemod emitsstyle/recipeviacreateTypeStyles. Cache-bust extract module imports so Next route CSS re-runs register styles.
0.4.0
Minor Changes
- #99
27ad6d0Thanks @dbanksdesign! - Migrate codemod: convert prop-based styled-components interpolations tocreateVar+assignVars, boolean prop ternaries tostyles.componentvariants, destructured prop params, and@mediablocks (P2.14).
Patch Changes
- #98
e17b8a0Thanks @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.jsconfig 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/migrateCLI package for safely migrating static styled-components and Emotion patterns to typestyles with dry-run output, optional--write, and JSON reporting.