Ionic Angular Standalone Codemods
Code mods to migrate an Ionic Angular application to use the new standalone components.
[!WARNING]
This project is experimental. Review all changes before committing them to your project.
If you run into any issues while using this project, please open an issue on this repository. If you are unable to provide a reproduction project, please provide relevant code snippets to help us reproduce the issue.
This repository is in active development and is not intended for production use. Check back soon!
Usage
npx @ionic/angular-standalone-codemods
Developing
- Clone this repository.
- Run
pnpm install
to install dependencies - Run
pnpm run dev
to start the dev server, this will watch for changes and rebuild the project - Run
pnpm run start --filter=cli
to start the CLI and test the code mods
Testing
This project uses Vitest for unit testing.
Command | Description |
---|
pnpm run test | Run all tests |
pnpm run test:watch | Run all tests in watch mode |
Formatting
This project uses Prettier for code formatting.
Run pnpm run format
to format all files in the project.
Additional Resources