-
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
Classifying Trailpacks #10
Comments
That works for me. As it stands, the only 'Core' subcategory that has working trailpacks is the Servers. What do you think some of the other categories would be? We could have noncore builds like trailpack-react, which would be more preconfigured (i.e. it combines react and webpack). This is related to our general trailpack discussion. |
We'd ideally want to have independent categories, not relational. For instance, trailpack-react would fall under Front-End rather than Non-Core. |
Here is some ideas for categories :
Here is the trailpack I will not show on trails mix : |
Ah, ok. The complication there is that trailpack-react includes its own webpack config. That's something else we can talk about with regard to that individual trailpack. |
We also can add a Category |
ProposalEach trailpack should declare which category it is in. Trailpacks cannot be in more than one category; although, you may install multiple trailpacks in a single category in your trails app. 1. abstractAbstract trailpacks are those which other trailpacks themselves must require and inherit from. These should never be loaded directly. I don't think these need to be listed on trailmix. 2. systemThese are trailpacks that must be required for any of this categorization to make any sense. Currently, these could include 3. serverWeb servers, basically. 4. datastorePacks that help you connect to datastores. They extend 5. devAnything you'd normally put in 6. util/misc/extraThese trailpacks augment functionality in some trailpack(s) from the previous categories. Examples are |
@tjwebb not agree with |
Not necessarily; I include plenty of devDependencies like webpack, grunt, etc, that I use as build tools. But you're right that many of these are configurable to also be useful in production.
Yea, that's basically right. I don't see a strong need to enforce this programmatically, but I think if you feel like you need to use multiple web servers or datastores, you likely need to break apart your application into separate modules. |
Ok how about this: Rename dev to 5. toolsThese can be dev tools, build tools, monitoring tools, whatever. Examples are 6. extensionsThese trailpacks augment or extend functionality in some trailpack(s) in the other categories; therefore, the trailpacks in this category may depend directly on other specific trailpacks in order to function. Examples are |
And only things in categories 3,4,5,6 are worth searching for in trailmix. |
@tjwebb I don't see why user need multiple web server but I see some case when you need for example mysql database and a mongoDB one so if you don't use Waterline you need Agree for categories names and for only searching into 3,4,5,6 (and yes abstract shouldn't be under trailsmix ui). |
As it stands for prototyping, current placeholder trailpacks were separated into the following categories:
TaskRunner
FrontEnd
Router
Auth
The current actual list of Trailpacks consists of:
We need to organize these into categories such that they can accounted for with the GUI. For example, I'm considering having "core" trailpacks like core, auth, repl, etc. into a new category called "Core". All Trailspacks should be able to fit into a descriptive category.
Open discussion is welcome.
The text was updated successfully, but these errors were encountered: