-
-
Notifications
You must be signed in to change notification settings - Fork 62
Plugin System #85
Copy link
Copy link
Open
Labels
PR / Bounty onlyExternal demand, as such, external funding / effort is required to make this happenExternal demand, as such, external funding / effort is required to make this happenenhancementImprovement or suggestionImprovement or suggestion
Metadata
Metadata
Assignees
Labels
PR / Bounty onlyExternal demand, as such, external funding / effort is required to make this happenExternal demand, as such, external funding / effort is required to make this happenenhancementImprovement or suggestionImprovement or suggestion
Type
Fields
Give feedbackNo fields configured for issues without a type.
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:
resetloadload:package-filesload:readme-filesmergemerge:package-filesenhanceenhance:package-filesenhance:readme-filessavesave:package-filessave:readme-filesPlugins will be given an
optsproperty, 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-fileswould be necessary. Then later the rest can be added. Whetherenhance:readme-filesprovides 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