How to use the @architect/utils.updater function in @architect/utils

To help you get started, we’ve selected a few @architect/utils 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 architect / architect / src / before / 02-maybe-banner.js View on Github external
module.exports = function maybeBanner() {
  let version = `Architect ${ver}`
  try {
    utils.readArc()
    utils.banner({version})
    if (process.env.INITIALIZED) {
      let update = utils.updater('Create')
      update.done('Created Architect project manifest (.arc)')
    }
  }
  catch(e) {
    console.log(e)
  }
}

@architect/utils

Common utility functions

Apache-2.0
Latest version published 7 months ago

Package Health Score

67 / 100
Full package analysis