Netlify-sdk V0.8.1 - Export Zod

This codemod exports z from zod as required in Netlify SDK v0.8.1.

Netlify SDK
jscodeshift
Estimated time saving
~1 minutes/occurrence
Change mode
Autonomous
Applicability criteria

Netlify SDK v0.8.1 or higher.

Made by
Codemod.com
Codemod.com

Usage →

Codemod CLI:

intalling vs code extension tooltip icon
codemod netlify/0.8.1/exportZod
copy CLI command icon

Codemod VS Code extension:

intalling vs code extension tooltip icon
vs code logo
Run in VS Code

Description

This codemod exports z from zod as required in Netlify SDK v0.8.1.

Before

import { z } from '@netlify/sdk';

After

import { z } from '@netlify/sdk';