ProjectEvergreen / greenwood

Greenwood is your full-stack workbench for the web, focused on supporting modern web standards and development to help you create your next project.
https://www.greenwoodjs.io
MIT License
94 stars 9 forks source link

improve init package scaffolding baseline starting point #1253

Open thescientist13 opened 2 weeks ago

thescientist13 commented 2 weeks ago

Summary

Our current offering as part of the greenwood/init package leaves a bit to be desired, currently dropping user's off with basically nothing. Coming out of a recent team meeting, and with the desire to have a #1247, we should start improving the experience of this workflow, putting it front and center.

So at minimum, we should make it a little more friendly, as this is what we have now, demonstrating a couple basic things like:

  1. A basic custom element with DSD
  2. Ideally no build configuration
  3. Packing as much of everything into a single src/pages/index.html (or an option to get a very vanilla HTML, like the one we have now)
  4. Links to things like our docs, getting started, etc
  5. Respect system preferences for displaying in light / dark mode

Details

This is what it looks like for tools like Next.js, Vite, and Astro respectively for reference.

init-next init-vite-react init-astro


Adjacent issues to track:

  1. [ ] The getting started should be built to start from this I think, and so the guide should probably be updated accordingly to build from it
    • Markdown / Content as Data
    • Build and Deploy
  2. [ ] Additional prompts for the init package
    • Using TypeScript?
    • Using markdown?