Magek Framework
    Preparing search index...

    Class Magek

    Main class to interact with Magek and configure it. Sensible defaults are used whenever possible:

    • appName: new-magek-app
    Index

    Constructors

    Methods

    • Allows to configure the Magek project.

      Parameters

      • environment: string

        The name of the environment you want to configure

      • configurator: (config: MagekConfig) => void

        A function that receives the configuration object to set the values

      Returns void

    • Initializes the Magek project

      Parameters

      • codeRootPath: string

      Returns void

    Properties

    configuredEnvironments: Set<string> = ...
    config: MagekConfig = ...