-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-design examples repository for Effect #26
Conversation
|
I would love a prompt based cli for scaffolding the following, in order of importance:
The generated monorepo could contain a cli, http server, and domain package OOTB, and you just delete the ones you don't want. I almost think the templates need to be part of the effect monorepo, so they stay up to date. |
Re being opinionated we should be very opinionated having projects setup in the best way possible for effect usage. I agree with Tim I hate setting up stuff. |
Why do you want to put me out of work |
In addition to the project starterkits, I think the scaffolding tool should also be able to spin up projcets from the examples directly. |
I was actually thinking about this too. To ensure that everything stays up-to-date (and make it a lot easier to do so), it might be worth having both the templates and examples live in the Would probably just need to swap out versions when we generate the |
Oh god, and please also a "minimal-repro" starter. |
playground? but yes we could |
Merging this PR so that we can continue to iterate from here. |
Type
Description
This PR begins a redesign of the Effect
examples
repository with the following goals:create-effect-app
CLI which can be used to quickly setup an example Effect applicationThe CLI
The CLI is currently a scaffold / placeholder as I believe we have some open questions to answer first:
create-next-app
?My initial thoughts are that the CLI could be runnable like NextJS's, so:
And that the rest of the configuration could be obtained via prompts.
My initial thoughts are that we should focus on examples for now and not include templates.
The Examples
There are also some open questions for the design of the examples:
Related