breck7 / scrollsdk

Build on top of Scroll.
https://sdk.scroll.pub
380 stars 17 forks source link

Stamp: dirToStampWithContents should use glob #122

Closed breck7 closed 1 month ago

breck7 commented 3 years ago

Wow it's doing stupid stuff right now like going through node_modules. Should be smarter. Can probably ditch a lot of code too.

breck7 commented 3 years ago

Here's the method that needs to be better: https://github.com/publicdomaincompany/jtree/blob/master/langs/stamp/stamp.grammar#L41

breck7 commented 1 month ago

Thinking about it more, if you are automatically generating stamps, you probably want to use zipfiles instead of stamp.

Stamp is really only useful for hand editing templates or sending along short dir/files.