Replies: 9 comments
-
It uses string replacement to replace all the "template" variables that are in the format of |
Beta Was this translation helpful? Give feedback.
-
yup I see! Is a really good way to scaffold a template but I was wondering if is possibile to make an npm package instead of nesting the block in a sub folder |
Beta Was this translation helpful? Give feedback.
-
Actually, I am considering rewriting |
Beta Was this translation helpful? Give feedback.
-
Also putting it all in a mono repo. |
Beta Was this translation helpful? Give feedback.
-
I am moving this to the discussions because it is an interesting point that I would like to develop, although as I said I would like at the same time to keep the repo as easy to get into as possible |
Beta Was this translation helpful? Give feedback.
-
I totally understand keeping this repo as clean as possible, as soon as templates or monorepos are used it may become easier to maintain, but way more complex for anyone to help with it. I have the npm and github organization |
Beta Was this translation helpful? Give feedback.
-
it's a cool project, I'll join right away of course! and besides this way it makes sense, an organisation is definitely the best way to organise multiple repos and have them in the same place. |
Beta Was this translation helpful? Give feedback.
-
I made you an owner of that organization too. We're going to do this together! |
Beta Was this translation helpful? Give feedback.
-
I'm working on the initial concept of what main monorepo will look like. I'll try to get it up soon so you can see what that looks like. |
Beta Was this translation helpful? Give feedback.
-
I think package would be most powerful as an initializer. Where it adds in all the correct information for the newly created project, rather than leave it to the user to fill in.
Here is an example of one I have created before:
https://github.com/johnhooks/create-pkg
The advantage of this method, over how Gutenberg does it, the files aren't templates, so all the regular IDE features still work.
Let me know if you think this would be a good approach, if so, I'll start working on it.
Beta Was this translation helpful? Give feedback.
All reactions