expressjs / discussions

Public discussions for the Express.js organization
63 stars 15 forks source link

Create a codemod repository #274

Open bjohansebas opened 1 month ago

bjohansebas commented 1 month ago

Hi 👋

As part of improving and making migrations to future versions of Express easier, it would be good to have a dedicated repository for codemods

ref: https://github.com/expressjs/expressjs.com/pull/1610#issuecomment-2348990548

bjohansebas commented 1 month ago

cc: @expressjs/express-tc

UlisesGascon commented 1 month ago

I was not aware of the codemod and honestly seems like an awesome idea, based on this example from Next.js. https://nextjs.org/docs/app/building-your-application/upgrading/codemods.

Big +1 from my side. I will add it to the next meeting agenda.

kjugi commented 4 weeks ago

I have prepared very minimalist demo repository here: https://github.com/kjugi/express-codemod Is that what you are looking for?

UlisesGascon commented 3 weeks ago

As discussed in our last TC meeting, the agreement is to work on a personal repository and then transfer it to the org when is mature :). WDYT @bjohansebas ?

bjohansebas commented 3 weeks ago

Sounds great, I’ll get started on it.

kjugi commented 3 weeks ago

Not sure how to understand both responses tbh 😅 @bjohansebas Do you want to create your own repository? Should I contribute there? I have created mine because I wanted to confirm that's the right way and to help start this process ✌️

bjohansebas commented 3 weeks ago

@kjugi I will create the repository and add you, so you can contribute

bjohansebas commented 3 weeks ago

I've created this issue for the functionalities that these codemods should implement, and I have a question about whether we should update from version 3 to version 5?

bjohansebas commented 3 weeks ago

@kjugi Please join Slack so we can coordinate better.

https://openjs-foundation.slack.com/archives/C02QB1731FH