Automated migration tool from Create React App (with Craco) to Vite for T-one microfrontends. Version 1.0.18 is a standalone Bun script that handles package.json merging, JS→JSX renaming, ESLint flat config generation, and icon migration from semantic-ui-react to CustomIcon. Designed specifically for T-one's internal project structure and conventions; may not work with standard CRA projects outside that ecosystem. Requires Bun runtime (>=1.0.0) and relies on specific file patterns (Dockerfile, craco.config.js, public/index.html) for auto-detection. Release cadence is ad-hoc.
npm install t1-vite-migrateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Run the migration from a CRA project directory, specifying app name and auto-confirming prompts.
Install Bun: curl -fsSL https://bun.sh/install | bash
Ensure your project follows T-one's internal conventions (e.g., Dockerfile structure, craco.config.js patterns).
Run without --dry-run to apply changes, or use --icons for icon-only migration.
Review React v19 migration guide and test your application after migration.
Install Bun: curl -fsSL https://bun.sh/install | bash
Run with explicit --app-name flag: bunx t1-vite-migrate --app-name your-app-name
Ensure you are in the CRA project root or use --path to specify target directory.