Utils that help my everyday life
jscodeshift
codemods to help with migrations and code refactors:
relativePaths
: remove relative paths for specified aliases
Some file utils:
output-files-with-prefix
: outputs all files in a directory with a prefixrename_spaces_to_underscores
: renames files with spaces to underscores (example:Hello World.png
toHello_World.png
)
Some git utilities:
interactive-drop
: cleanup forgit stash
- drops all stashes in a range (e.g. from5
to10
).prune
: removes already merged branches and remotely removed branchesrebase-all
: rebases all defined branches in line#1
againstmaster
rename
: renames a branch from$1
to$2
argument (including remotely)
Used to sync configs between different machines