Closed fyockm closed 9 years ago
Does the transform
option do anything in fs-extra, i didn't think that option existed? I'd guess, without having verified this, that the various template strings are not getting replaced.
Basically what it did before, is copy the entire folder, and do a giant {{{ variable }}} replace for anything that matches the known values in that config. That's what the transform stream does. So, maybe after the copy, you'd need to do some kind of directory stream/transform step.
@HenrikJoreteg I did verify this. fs-extra
actually uses an internal version of ncp
for the copy, and it accepts the transform
option. see here: https://github.com/jprichardson/node-fs-extra/blob/master/lib/copy/ncp.js#L18
ok, cool, cool. thanks @fyockm
Sweet! :+1:
nice :)
minor bump? I feel like this is more than patch. thoughts?
I think a patch sounds good
Sold! patch it is!
published as ampersand@3.0.6