Skip to content
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

init scaffolding should prompt for installing common plugins (TypeScript and markdown) #1270

Open
thescientist13 opened this issue Aug 29, 2024 · 0 comments
Labels
documentation Greenwood specific docs feature New feature or request Init
Milestone

Comments

@thescientist13
Copy link
Member

thescientist13 commented Aug 29, 2024

Summary

Coming out of #1253, I think to continue making the Init scaffolding tool more valuable, we should add prompts to auto install / configure

Something like

➜  Workspace npx @greenwood/init@latest
Need to install the following packages:
  @greenwood/[email protected]
Ok to proceed? (y) y
-------------------------------------------------------
Initialize Greenwood Template ♻️
-------------------------------------------------------
(node:57730) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
? Would you like to use TypeScript? (Use arrow keys)
❯ Yes (default)
❯ No

? Would you like to use markdown? (Use arrow keys)
❯ Yes (default)
❯ No

Details

In addition, we should probably start prompting for an output directory, or at least defaulting to

? Project name you like to use markdown? (type)
❯ my-app (default)

We might also want to move the template prompt to a selector as well, just to keep the experience consistent.

? Would you like to use a template? (Use arrow keys)
❯ No (default)
❯ Blog
❯ ...

If possible, we should try and tackle #1050 / #787 at the same time

@thescientist13 thescientist13 added documentation Greenwood specific docs feature New feature or request Init labels Aug 29, 2024
@thescientist13 thescientist13 added this to the 1.0 milestone Aug 29, 2024
@thescientist13 thescientist13 changed the title init scaffolding should prompt for installing common plugins (TS and markdown) init scaffolding should prompt for installing common plugins (TypeScript and markdown) Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Greenwood specific docs feature New feature or request Init
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant