Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ForgeUtils

Hierarchy

  • ForgeUtils

Index

Properties

hasYarn

hasYarn: hasYarn = hasYarn

yarnOrNpmSpawn

yarnOrNpmSpawn: yarnOrNpmSpawn = yarnOrNpmSpawn

Methods

fromBuildIdentifier

  • fromBuildIdentifier<T>(map: object): object
  • Helper for creating a dynamic config value that will get it's real value based on the "buildIdentifier" in your forge config.

    Usage: fromBuildIdentifier({ stable: 'App', beta: 'App Beta' })

    Type parameters

    • T

    Parameters

    • map: object
      • [key: string]: T | undefined

    Returns object

    • __isMagicBuildIdentifierMap: boolean
    • map: object
      • [key: string]: T | undefined