Skip to content

codemod/fastify-codemods

Repository files navigation

Official Fastify codemods to help users adopt new features and handle breaking changes with ease.

Community contributions are welcome and appreciated! Check open issues for codemods to build, or open a new one if something’s missing. See the contribution guide for details.

Running codemods

Caution

Codemods modify code! Run them only on Git-tracked files, and commit or stash changes first.

From the registry

Recommended for the best UX. This downloads the package from the Registry.

npx codemod@latest <codemod-name>

For example:

npx codemod@latest @fastify/await-register-calls

From source

npx codemod workflow run -w /path/to/folder/containing/workflow.yaml

Note

By default, codemods run in the current folder. Add -t /target/path to change it.

See the Codemod docs for all CLI commands and options.

Security

See SECURITY.md.

License

MIT

About

Automate repetitive and painful Fastify migrations & breaking changes.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •