Skip to content

feat(@codemod-com/codemod-standalone): explore nodejs compat module #1609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

AugustinMauroy
Copy link
Contributor

@AugustinMauroy AugustinMauroy commented Jul 14, 2025

Description

As discussed with @alexbit-codemod it's may be useful to furnish a package that allow codemod writer to create both js script and codemod jssg

So here a PoC.

Check list

  • README.md can be improved
  • tests (100% test coverage)

Copy link

vercel bot commented Jul 14, 2025

@AugustinMauroy is attempting to deploy a commit to the Codemod Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

pkg-pr-new bot commented Jul 14, 2025

Open in StackBlitz

npm i https://pkg.pr.new/codemod@1609

commit: 22b8f9e

@AugustinMauroy AugustinMauroy marked this pull request as ready for review July 14, 2025 22:22
@alexbit-codemod
Copy link
Contributor

thank you for the amazing work. you rock. let @mohebifar review it once he has some bandwidth.

@mohebifar
Copy link
Member

This is amazing and aligned with what we were envisioning too. It's a bit hard to maintain parity between the two systems, but I can see the value in having the option to use via nodejs.

@AugustinMauroy
Copy link
Contributor Author

AugustinMauroy commented Jul 15, 2025

but I can see the value in having the option to use via nodejs.

I have to check but I think, it's can also run with deno & bun. EDIT: bun & deno didn't support globSync

@mohebifar mohebifar changed the title fea(@codemod-com/codemod-standalone): explore feat(@codemod-com/codemod-standalone): explore nodejs compat module Jul 19, 2025
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.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy