Skip to content

Config Schema

Kelly Selden edited this page Nov 12, 2019 · 16 revisions
/**
  This lives at config/ember-cli-update.json by default.
*/
interface BlueprintConfig {
  /**
    A base blueprint is the blueprint you started your project with.
    This could be the ember app blueprint, or a custom blueprint like libkit.
    If this is missing or false, it is a partial blueprint, like the changes
    you get when installing an ember addon like ember-cli-mirage.
  */
  isBaseBlueprint?: boolean;

  /**
    The name of the blueprint to be ran.
  */
  name: string;

  /**
    The package the blueprint comes from.
  */
  package: string;

  /**
    The version of the package above to use. 
  */
  version: string;

  /**
    The path the blueprint is ran from.
  */
  rootPath: string;

  /**
    The blueprint command line options.
  */
  options?: {
    /**
      The positional arguments to pass to the blueprint.
    */
    positional?: string[];
    /**
      The named arguments to pass into the blueprint.
    */
    named?: {
      [key: string]: string;
    };
  }
}

Clone this wiki locally