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
Explore community-led codemods to migrate, optimize, and transform your codebase.
Build your own codemod and share it with the community.
No description available
The easiest way to run this codemod without installing anything globally:
This is a codemod that automatically adds the required headers export to pages using authenticate.admin().
You can run this codemod with the following command:
bash
tsx
tsx
Build your own codemod and share it with the community.