zod-3-4
Helps migrate Zod 3 to Zod 4.
Installation
bash# Install from registry codemod run zod-3-4 # Or run locally codemod run -w workflow.yaml
Usage
This codemod transforms javascript code by:
- Converting
vardeclarations toconst/let - Removing debug statements
- Modernizing syntax patterns
Development
bash# Test the transformation npm test # Validate the workflow codemod validate -w workflow.yaml # Publish to registry codemod login codemod publish
License
MIT