Skip to content

Conversation

@danieldelcore
Copy link
Contributor

https://www.hypermod.io/dashboard/explore/migrate-expressjs-v5

We want the ability to be able to run codemods on the explore registry via npx.

This implementation enables this by:

  • detecting a special prefix hm-
  • pinging an api endpoint to fetch the source files
  • writing them to a special directory in the CLI
  • running the transform

Example command: npx @hypermod/cli --packages @compiled/codemods test-file.tsx

@changeset-bot
Copy link

changeset-bot bot commented Apr 17, 2025

🦋 Changeset detected

Latest commit: 55bc230

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@hypermod/cli Minor
@codeshift/cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@danieldelcore danieldelcore merged commit 9625154 into main Apr 17, 2025
4 checks passed
@danieldelcore danieldelcore deleted the hm-app-runner branch April 17, 2025 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants