-
Notifications
You must be signed in to change notification settings - Fork 1
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
How do we support composite/nested project types? #9
Comments
I vote for the first one. i.e.:
The simple fact that we're currently using Dockerfiles directly for plugins makes composite plugins unnecessary imho. Someone else may even create another plugin that's specifically for Expressjs. |
Yes I'm inclined to keep it simple and use the first option. But it would be nice to have a set of questions that produces the name. So the user chooses Node.js from the menu, then chooses Express and then choose Jest. This could be implemented through the manifest somehow. We need to figure out how this would work before we can resolve this decision. |
I do like the "layers" idea that's used in Docker. Maybe that could work in this regard? The Express plugin is just a layer on the Node.js plugin. The Jest plugin also is a layer on the Node.js plugin. So there would still be a flat list of plugins... but each plugin has the option to be dependent on another one. Just like how Dockerfiles can have a FROM instruction and be dependent on another Docker image. |
By the way, there's no need to resolve this right away. For the next tech demo I just want to have two plugins working. We can worry about this afterwards. |
In the context of Doulevo, this will involve updating file contents. Unless most of it happens manually. |
I'm not sure how it would work. It's almost like the Express plugin would have to do an It's getting complicated! Let's just sit on this anyway a good idea might come up in the future. |
It would be great to support nested project types / plugins.
For example when creating a Node.js project it would be good to choose a framework (Express, Hapi, etc) and a test framework (eg Jest or Mocha).
Are these separate plugins:
Or do we have a nested structure for plugins:
This needs some thought and prototyping.
This could possibly work like the "layers" concept in Docker.
The text was updated successfully, but these errors were encountered: