Netlify/0.8.1/EnableBuildEventHandlers
This codemod renames enableBuildhook
to enableBuildEventHandlers
as required in Netlify SDK v0.8.1.
Before
await client.enableBuildhook(siteId);
After
await client.enableBuildEventHandlers(siteId);
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community