Skip to content

0hmX/userland-migrations

 
 

Repository files navigation

Node.js Userland Migrations

This repository contains codemods (automated migrations) for "userland" code. These are intended to facilitate adopting new features and upgrading source-code affected by breaking changes.

Usage

Caution

These scripts change source code. Commit any unsaved changes before running them. Failing to do so may ruin your day.

To run the transform scripts use codemod command below:

$ npx codemod <transform> --target <path> [...options]
  • transform - name of transform. see available transforms below.
  • path - directory to transform. defaults to the current directory.

See the codemod CLI doc for a full list of available commands.

Available codemods

You can find official Node.js codemods in the Codemod Registry. Additionally, community-contributed Node.js codemods are available in the Codemod Registry.

Acknowledgments

We would like to extend our gratitude to the team at Codemod for providing their excellent tools and for their direct assistance with the Node.js project. Their support has been invaluable in making these migrations possible.

About

Handle breaking changes gracefully for a modern ecosystem.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 89.8%
  • JavaScript 10.2%