L

liz/react-router/headers-export

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

Shopify React Router Headers Export Codemod

This is a codemod that automatically adds the required headers export to pages using authenticate.admin().

Using this codemod

You can run this codemod with the following command:

bash

Before

tsx

After

tsx

Ready to contribute?

Build your own codemod and share it with the community.