Function isV2Addon

  • Parameters

    • Optionaldir: string

      optionally override the directory to read from -- defaults to the current working directory

    Returns Promise<boolean>

    true if the project is an ember project and is a v2 addon

    import { ember } from 'ember-apply';

    await ember.isV2Addon();