Skip to content

Better Transform Utilities for blitz/installer Recipes #2036

Answered by MrLeebo
MrLeebo asked this question in RFCs
Discussion options

You must be logged in to vote

OK I finally was able to jot down my list of transforms to start with. I've broken transforms down into four categories, JS, JSX, JSON, and schema.prisma.

JS transforms

This is the space that jscodeshift covers pretty well by itself and I'm not sure if a lot of recipes will be transforming JS files in ways that we can create basic utilities for. I think normally if a recipe has JS files, they'd be queries/mutations that are being added in addNewFilesStep() so you would just use template values to customize them then. But I dunno, maybe there's a use case I'm not thinking of.

JSON transforms

I don't think there really needs to be dedicated transforms for JSON files. They can already be upd…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@flybayer
Comment options

Comment options

MrLeebo
Mar 20, 2021
Maintainer Author

You must be logged in to vote
2 replies
@flybayer
Comment options

@MrLeebo
Comment options

MrLeebo Mar 30, 2021
Maintainer Author

Answer selected by MrLeebo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants