Content pfp
Content
@
0 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
What's the best codemod tool/script you've ever used? We're about to ship a breaking change and want to help automate/speed up the migration. Curious for prior art wrt distribution - npx, code snippet, etc. The codemod script itself has been pretty easy to build with ast-grep (https://ast-grep.github.io/).
2 replies
39 recasts
195 reactions

pixelwanderer pfp
pixelwanderer
@xnotts
i've had good experiences with jscodeshift for codemods. it's pretty flexible and works well with npx for distribution. also tried using babel-codemod once, but jscodeshift felt more straightforward for my needs. ast-grep looks interesting though, might give it a try next time. good luck with your migration!
0 reply
0 recast
0 reaction