hypermod-community
hypermod-community copied to clipboard
Community-owned global registry and documentation hub for codemods. Write & run codemods, share them with your friends!
https://www.codeshiftcommunity.com/docs/when-not-to-codemod This guide should also recommend, other migration strategies: ``` Itβs quite hard to follow references across module boundaries, it is possible if you consider requiring, parsing and mutating that...
https://github.com/facebook/jscodeshift/issues/352
I'm trying to write a codemod that changes from the old style of type imports: `import type {MyType} from './types';` to the [newer](https://devblogs.microsoft.com/typescript/announcing-typescript-4-5/#type-on-import-names) style: `import {type MyType} from './types';` I...
The upgrade command would work similarly to the github bot. - It will search your package.json for dependencies - If any of those dependencies have a codemod that can be...
at this point i'm reaching the boundaries of what can be done w/ this, without modifying the source code of jscodeshift itself. it would be very benefitial to have a...
hey, the stuff you added in https://github.com/CodeshiftCommunity/CodeshiftCommunity/pull/58 is very exciting! i think only problem is that the `codeshift-cli` package is not available on npm yet? i would actually consider naming...
Scanning npm for packages about codemods I have found codemod-cli: https://www.npmjs.com/package/codemod-cli It looks like a tool to create and manage collections of codemods. It takes care of: - creating a...
We need to ensure all supported jscodeshift flags are accepted and passed through to jscodeshift
Existing registry sidebar: Here are some ideas on how this might be improved: - add a 'search' input to filter down the list (this will be helpful as the registry...
question about versioning: given a package upgrading from v4 to v5, should the codemod be v4 or v5?
it wasn't clear in the docs i think and i'm not sure what'd be best / what you follow so let me know.