Internal helpers called by Bajo & plugins that only used once for bootstrapping purpose. It should remains hidden and not to be imported by any program.

Methods

(async, static) attachMethods()

Scan plugins method directories, and turn + attach its found files as methods dynamically.

(async, static) buildConfigs()

Build configurations

(async, static) checkDependencies()

Ensure dependencies are met

(async, static) checkNameAliases()

Ensure for names and aliases to be unique and no clashes with other plugins

(async, static) collectHooks()

Collect and build hooks and push them to the bajo's hook system

(async, static) run()

Finally, run all plugins