Rethinking the current scaffolding architecture π οΈ #2
Replies: 8 comments 22 replies
-
The idea of splitting each to their individual repo is a great one. Itβll make it easier for each framework to have its own features, more like each King having his own Kingdom to himself. And of course itβll definitely enable more contributors to contribute to the stack they are most comfortable with. I say yes to more flexibility and easier development. |
Beta Was this translation helpful? Give feedback.
-
Might be a good opportunity to have some DX on the CLI tooling. So for example one may be able to run |
Beta Was this translation helpful? Give feedback.
-
Plus this decouples the CLI from The Boring JavaScript Stack project starter scaffolds. And as a contributor you can run the |
Beta Was this translation helpful? Give feedback.
-
So I've had more thoughts about this and for a couple of reasons, a single repo may be the way to go. Having boring-vue, boring-react, etc, creates a lot of surface areas for issues and more moving parts. Going a single repo keeps everything in the boring stack ecosystem in one place. So contributors can clone this single repo locally and just What do you think @lennyAiko |
Beta Was this translation helpful? Give feedback.
-
Also gonna move the CLI, The Inertia Adapter for Sails onto this repo as well. |
Beta Was this translation helpful? Give feedback.
-
Thinking about making those projects as git sub modules. |
Beta Was this translation helpful? Give feedback.
-
Having them separately and boring would also help to enforce the same folder structure and make collaboration easier just as you mentioned. |
Beta Was this translation helpful? Give feedback.
-
Hey @lennyAiko what do you think? We have to revisit the folder structure again. Trying to setup the online version of The Boring Stack Starter templates on StackBlitz and then it hit me. For one, I am of the opinion that those that want as little setup as possible should get it and also those that want like a robust app as well. So if we reorganize and then have a What this does is enable us to have This doesn't break anything as running What do you think? |
Beta Was this translation helpful? Give feedback.
-
There is a need to rethink the current scaffolding in order to incorporate several features needed for The Boring JavaScript Stack.
Currently when a user runs
npx create-sails <project-name>
, thecreate-sails
CLI uses an inlinetemplate
to scaffold the project.It more or less assembles the differences pieces that makes a Boring Stack app - Sails, your UI framework, even the necessary webpack config is assembled on demand.
The problem
While this is good and I argue rather simple, it might be a good idea to take a different approach to this. Because with this assembling setup, there is The Boring Stack app for Vue, React, or Svelte for one to look at.
The Solution?
What if there is are
boring-vue
,boring-react
, andboring-svelte
repositories, that when one runsnpx create-sails <project-name>
we first copy that specific repo and then whatever steps we need to take next happens.What this will do is make contribution easy as contributors can focus on contributing to
boring-vue
,boring-react
,boring-svelte
respectively.Granted this might lead to duplicate work and I think that's a good trade-off as the gains is easier collaboration.
Beta Was this translation helpful? Give feedback.
All reactions