How to use boilerplate-update - 1 common examples

To help you get started, we’ve selected a few boilerplate-update examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ember-cli / ember-cli-update / src / get-start-and-end-commands.js View on Github external
async function isDefaultAddonBlueprint(blueprint) {
  let isCustomBlueprint = !isDefaultBlueprint(blueprint);

  let isDefaultAddonBlueprint;

  if (isCustomBlueprint) {
    let keywords;
    if (blueprint.path) {
      keywords = utils.require(path.join(blueprint.path, 'package')).keywords;
    } else {
      keywords = await npm.json(`v ${blueprint.packageName} keywords`);
    }

    isDefaultAddonBlueprint = !(keywords && keywords.includes('ember-blueprint'));
  }

  return isDefaultAddonBlueprint;
}

boilerplate-update

Update boilerplate code between versions

MIT
Latest version published 21 days ago

Package Health Score

61 / 100
Full package analysis

Popular boilerplate-update functions