-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Plugin System #85
Comments
Just published up https://github.com/bevry/ropo which can be a foundation for this Details at https://twitter.com/balupton/status/1006070544871985153 |
http://remark.js.org/ has also been suggested for accomplishing this |
Some notes on this from #147
|
Just realised I hadn't yet created an issue for this, besides it being confirmed to come.
Here is the current plan.
Event Emitter Grouped events:
reset
load
load:package-files
load:readme-files
merge
merge:package-files
enhance
enhance:package-files
enhance:readme-files
save
save:package-files
save:readme-files
Plugins will be given an
opts
property, that contains the data that projectz has, consider it a singleton that the plugins can share with each other. The util package will be published separately or within a submodule of the projectz package. Having the functions of the util package be their own packages makes most sense.On the first iteration, only
enhance:readme-files
would be necessary. Then later the rest can be added. Whetherenhance:readme-files
provides data, or an individual files value, is to be determined, there is an argument for it to provideenhance:readme-file(value, opts, next)
if you want this feature, +1 this post, and also if you can donate https://bevry.me/donate
The text was updated successfully, but these errors were encountered: