Skip to content

Repository files navigation

This project uses GitHub Actions for continuous integration.

ember-codemod-transition-methods

Codemod for 0674 Deprecate transition methods of controller and route

Usage

Arguments

[PROVIDE REQUIRED AND OPTIONAL ARGUMENTS.]

Optional: Specify the project root

Pass --root to run the codemod somewhere else (i.e. not in the current directory).

npx ember-codemod-transition-methods --root <path/to/your/project>

Limitations

The codemod is designed to cover typical cases. It is not designed to cover one-off cases.

To better meet your needs, consider cloning the repo and running the codemod locally.

cd <path/to/cloned/repo>

# Compile TypeScript
pnpm build

# Run codemod
./dist/bin/ember-codemod-transition-methods.js --root <path/to/your/project>

Compatibility

  • Node.js v18 or above

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages