TobieTom/wagmi-v1-to-v2
Automated migration from wagmi v1 to v2: transforms hooks, config, imports, and TanStack Query patterns with zero false positives
# wagmi-v1-to-v2
Automated migration from wagmi v1 to v2: transforms hooks, config, imports, and TanStack Query patterns with zero false positives
## Installation
```bash
# Install from registry
codemod run wagmi-v1-to-v2
# Or run locally
codemod run -w workflow.yaml
```
## Usage
Document the exact migration this codemod performs before publishing. At minimum, cover:
- The concrete syntax or API patterns it rewrites
- The file types or paths it targets
- Important preserve/no-op cases and exclusions
## Development
```bash
# Test the transformation
npm test
# Validate the workflow
codemod workflow validate -w workflow.yaml
# Publish to registry
codemod login
codemod publish
```
## License
MIT
## Skill Installation
```bash
npx codemod@latest wagmi-v1-to-v2
```