Skip to content

Commit df7152a

Browse files
committed
Update codemod commands to include the Valibot scope
1 parent ed8e9f4 commit df7152a

File tree

1 file changed

+2
-2
lines changed
  • website/src/routes/guides/(migration)/migrate-from-zod

1 file changed

+2
-2
lines changed

website/src/routes/guides/(migration)/migrate-from-zod/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ You can also run the codemod locally to migrate your entire codebase at once:
2929

3030
```bash
3131
// Preview changes (no writes)
32-
npx zod-to-valibot "src/**/*.{ts,tsx,js,jsx}" --dry
32+
npx @valibot/zod-to-valibot "src/**/*.{ts,tsx,js,jsx}" --dry
3333

3434
// Apply changes
35-
npx zod-to-valibot "src/**/*.{ts,tsx,js,jsx}"
35+
npx @valibot/zod-to-valibot "src/**/*.{ts,tsx,js,jsx}"
3636
```
3737

3838
## Replace imports

0 commit comments

Comments
 (0)