Skip to main content

Configuration

@quik/bootstrap has no default configuration keys of its own — it only orchestrates lifecycle hooks and module loading on top of @quik/core's configuration system (getConfig(), initConfig()).

  • Module.setup(options) accepts an IQBootstrapSetup object: configurationFolder, core.logging, core.i18n, core.modules, modules, and flags (isCli, startHttpServer, startWebSocketServer, startScheduler, isTest).
  • The flags object is forwarded as IQModuleSetup to every module's setup(options) function.
  • Modules loaded through Module.setup must declare ModuleName and, if they depend on other modules, Dependencies: string[] — bootstrap resolves and loads dependencies before the dependent module.