Encapsulate all features #245
Cahllagerfeld
started this conversation in
Ideas
Replies: 1 comment
-
I'd say we found an excellent way to deal with that :). #285 is living proof as the first plugin. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When adding new features to webstone, we should aim for encapsulating them as good as possible.
This would end up with a "base"-cli package, that contains basic fundamentals, like adding new pages and endpoints to a sveltekit application.
All additional functionality, like
rest
,authentication
, should live inside their own packages with a conventionwebstone-<package-name>
, e.gwebstone-authentication
.As we're using Gluegun to power the CLI, we are able to create plugins that get picked up by the CLI, but ideally, we also use this package to also import functions, and other code from them.
Beta Was this translation helpful? Give feedback.
All reactions