hypermod-community
hypermod-community copied to clipboard
Community-owned global registry and documentation hub for codemods. Write & run codemods, share them with your friends!
The remove prop example suffers one issue: nested components If you have two nested components with the same prop it will be removed to both of them. For example ```jsx...
Hi @danieldelcore this is mk 2!
Hi again! I think **CodeshiftComunity** does a great job of popularizing codemods, and I want to suggest you work results of a tool which simplifies writing, testing and using codemods....
depends on: - https://github.com/CodeshiftCommunity/CodeshiftCommunity/pull/63 - (base needs to be set to `kiprasmel:patch-1` but cannot do that here), and regardless, we need to merge it first, before this one. example on...
in the issue you linked [1] from jscodeshift, i think you forgot the `path.resolve` for non-http(s) imports (not even sure how they'd work tbh). i tried running a local transform...
``` /** @type {import('@hypermod/types').Config} */ module.exports = { maintainers: ['danieldelcore'], targets: ['@atlaskit/avatar'], transforms: { '18.0.0': require('./18.0.0/transform'), '19.0.0': require('./19.0.0/transform'), }, }; ``` https://tailwindcss.com/docs/configuration
`npx @codeshift/cli --packages @atlaskit/[email protected] .temp/src/Avatar.tsx` Running codeshift/cli via npx takes FAR too long to be worthwhile.. We need to investigate how to speed that up. Most likey, we'll need to...
Hello, and thank you for this wonderful project! I'm just a junior dev trying to figure out how to set up codemods for our company's design system. I'd been playing...
Replicate: `npx --yes @hypermod/cli list javascript`