Closed carletex closed 1 year ago
Really wanted this for so long with scaffold-eth, but
!! I thought !! we weren't doing it because :
npx create-se2-app
we need to change the folder structure a bit which makes it difficult to contribute to the repo if newcomers find a bug, checkout create-web3-daap really found difficult to contributing here because the thing which I get when I do npx create-web3-daap
in my local maching is different from github repo. Which is not in case of scaffold-eth, when I found a bug there I quickly raise a PR or issue without any hassle ( this is only my perception and is very naive since all the people won't be interested in contributing and might not make sense which is completely fine :) ).These are some of the blockers which !! I thought !! because of it we are not doing something like npx create-se-app
.
But I would really love to see/excited for npx create-se2-app
maybe we just keep the above points in mind which I think will be covered since our motto is (keep it simple & minimal) 🙌. Also doing npx create-se2-app
opens up a lot of opportunities like Hardhat vs Foundry
and many more as Carlos mentioned.
I believe we need that functionality, but it seems it's a huge task. I have never tried to do something like that, so I need to research. We should probably do it when the main priority things are completed.
Hey everybody, enabling this to be installed via npx, yarn create, and pnpm create is not a huge task. More like a medium task but pretty straight forward. I'd be happy to chat sometime about what it would take to get this done.
Sounds great @roninjin10
Let's talk this week in Denver if you are around! I think Austin already DMed you.
Thanks!
When talking with @roninjin10 (Thanks! <3), we thought that a first good step would be to create a new repo (e.g. create-se2-app) that has the "binary" to:
In the future (when thinking about letting the builder choose between Hardhat OR Foundry), we could reconsider if we need to implement a more complex system (like npx templating).
Some resources:
How goes this @carletex @austintgriffith? Anything I can help with?
We are making progress @roninjin10! Check NPX install in https://github.com/scaffold-eth/se-2/issues/251#issuecomment-1480765238
Would love to hear your opinion on #251
Thanks!
Closing this on favor of #251
It'd be cool to be able to install SE2 with npx. eg:
npx create-se2-app <projectname>
Also, in the future, we could use npx templating to have some options on install: e.g.
Example on NextJS
For now, lets explore how we can set npx installs that do a clean install of SE2.
Thoughts @technophile-04 @rin-st ??