You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sounds great!
Thanks for this project and your quick feedback.
I think that I will create some others PR in the coming weeks.
I detected some missing features for my use case:
Allowing to use from, to options (like extract) in edit to allow taking a file from the template and copying it to the target directory with some edits in one action.
Allowing to rename files in target directory
Allowing to rename files while doing an extract
Allowing to remove files from target directory
Allowing to exec npm run in target directory
For now, I workaround these features by building a helper module that export some utility functions to use with Preset.hook.
Let met know if you think that one of the above features is very interseting or not interesting for you?
Allowing to use from, to options (like extract) in edit to allow taking a file from the template and copying it to the target directory with some edits in one action.
What would that look like? Is the idea to improve the DX (eg. not having to use group)?
Allowing to rename files in target directory
Sure that sounds like a useful one. I'd rather have a move action though, that would be more flexible and respond to the same need.
Allowing to rename files while doing an extract
Interesting as well, kind of related to #69 if this is for a single file?
Allowing to remove files from target directory
There is the delete action already, right?
Allowing to exec npm run in target directory
Wouldn't execute solve this for you? Or do you need to handle multiple package managers? Maybe https://github.com/antfu/ni would be useful to you in this regard.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Sounds great!
Thanks for this project and your quick feedback.
I think that I will create some others PR in the coming weeks.
I detected some missing features for my use case:
from
,to
options (likeextract
) inedit
to allow taking a file from the template and copying it to the target directory with some edits in one action.npm run
in target directoryFor now, I workaround these features by building a helper module that export some utility functions to use with
Preset.hook
.Let met know if you think that one of the above features is very interseting or not interesting for you?
Originally posted by @SomaticIT in #71 (comment)
What would that look like? Is the idea to improve the DX (eg. not having to use
group
)?Sure that sounds like a useful one. I'd rather have a
move
action though, that would be more flexible and respond to the same need.Interesting as well, kind of related to #69 if this is for a single file?
There is the
delete
action already, right?Wouldn't
execute
solve this for you? Or do you need to handle multiple package managers? Maybe https://github.com/antfu/ni would be useful to you in this regard.Beta Was this translation helpful? Give feedback.
All reactions