Codemods how to support your users with breaking changes delivery
summary
A concrete claim: codemods let libraries ship breaking changes while keeping feedback flowing by automating repetitive refactors. The demo uses jscodeshift and AST transforms to replace a Breadcrumbs Label with a Link, adds an href="#" placeholder, and runs tests with defineInlineTest. The codemod runs via a CLI that writes changes to files and commits them to Git, it works for simple patterns but admits edge cases where the transform fails.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:13Open source success factors
- 2:15Software delivery feedback loop
- 3:18Breaking changes and delays
- 4:24Automating refactoring with codemods
- 5:50JSCodeShift transforms code
- 7:17Building replacement component
- 9:02Executing codemod steps
- 10:06Testing codemods reliability
- 11:31Limitations and improvements
- 12:13Best practices for adoption
related talks
29mCodemods: Refactoring JavaScript using JavaScript
27mHow Codemods Turned a Nightmare into a 3-Minute Migration
34mCodemods and Transforming JavaScript Code
21mAutomating Front-End Refactoring
28mCross-File Codemodding
34mCodemods in the Era of AI
36mTransformers - codemods in disguise
40mRefactoring large JavaScript codebases
