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
2 recasts
192 reactions

Ryan pfp
Ryan
@ryansmith
I feel like Go popularized this kind of thing with gofmt. It also has rewrite and refactor programs. Good stuff https://pkg.go.dev/golang.org/x/tools
1 reply
0 recast
6 reactions

Gabriel Ayuso pfp
Gabriel Ayuso
@gabrielayuso.eth
+100 love Go's tooling. They also make it so easy to update an entire codebase to use new language features.
0 reply
0 recast
3 reactions