D

remix-js/v2/migration-recipe

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This recipe is a set of codemods that will help migrate to Remix.js v2.

The recipe includes the following codemods:

  • remix-js/v2/add-matches-param-and-array-return-to-meta-export
  • remix-js/v2/fetcher-submission-properties-flattening
  • remix-js/v2/nodejs-module-exports-server-build-directory-to-path
  • remix-js/v2/remix-1-add-meta-v1-wrapper
  • remix-js/v2/remix-1-replace-response-with-create-readable-stream
  • remix-js/v2/remix-1-use-route-error-codemod
  • remix-js/v2/remix-run-v1-meta-function-args-wrapper
  • remix-js/v2/rename-browser-build-directory
  • remix-js/v2/typescript-2-update-links-function-and-property-names
  • remix-js/v2/webpack-v2-migrate-dev-server-port

Ready to contribute?

Build your own codemod and share it with the community.