How to use the @canopycanopycanopy/b-ber-logger.notice function in @canopycanopycanopy/b-ber-logger

To help you get started, we’ve selected a few @canopycanopycanopy/b-ber-logger 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 triplecanopy / b-ber / packages / b-ber-tasks / src / generate / index.js View on Github external
      .then(({ fileName }) => log.notice(`Generated new page [${fileName}]`))
      .catch(log.error)
github triplecanopy / b-ber / packages / b-ber-tasks / src / deploy / index.js View on Github external
function deployWithoutPrompt(config) {
  log.notice('Deploy command run with "--yes", skipping confirmation')
  return deploy(config)
}
github triplecanopy / b-ber / packages / b-ber-lib / src / Theme.js View on Github external
static list = () => {
        const { current, themes } = getThemes()
        const { text, duplicates } = getThemeList(themes, current)

        log.notice('The following themes are available:', '\n', text)
        if (duplicates.length) {
            log.notice('Duplicate themes have been found in both the [node_modules] and [themes] directory')
            log.notice(
                'Resolve this issue by either removing the duplicate directory from [themes] or by running [npm rm  ]'
            )
        }
    }
github triplecanopy / b-ber / packages / b-ber-lib / src / Theme.js View on Github external
            .then(() => !force && log.notice('Updated theme to', name))
            .catch(log.error)
github triplecanopy / b-ber / packages / b-ber-tasks / src / init / index.js View on Github external
      .then(() => log.notice(`Created new project [${this.name}]`))
      .catch(log.error)
github triplecanopy / b-ber / packages / b-ber-cli / src / commands / serve.js View on Github external
const handler = yargs => {
  const build = (String(yargs.argv._[1]) || 'web').toLowerCase()
  if (build !== 'web' && build !== 'reader') return fail('', '', yargs)

  log.notice(`Serving [b-ber-${build}]`)
  return serve({ build })
}
github triplecanopy / b-ber / packages / b-ber-lib / src / Theme.js View on Github external
static list = () => {
        const { current, themes } = getThemes()
        const { text, duplicates } = getThemeList(themes, current)

        log.notice('The following themes are available:', '\n', text)
        if (duplicates.length) {
            log.notice('Duplicate themes have been found in both the [node_modules] and [themes] directory')
            log.notice(
                'Resolve this issue by either removing the duplicate directory from [themes] or by running [npm rm  ]'
            )
        }
    }
github triplecanopy / b-ber / packages / b-ber-lib / src / Theme.js View on Github external
static list = () => {
        const { current, themes } = getThemes()
        const { text, duplicates } = getThemeList(themes, current)

        log.notice('The following themes are available:', '\n', text)
        if (duplicates.length) {
            log.notice('Duplicate themes have been found in both the [node_modules] and [themes] directory')
            log.notice(
                'Resolve this issue by either removing the duplicate directory from [themes] or by running [npm rm  ]'
            )
        }
    }

@canopycanopycanopy/b-ber-logger

`b-ber-logger` is b-ber's console logger.

GPL-3.0-or-later
Latest version published 3 months ago

Package Health Score

69 / 100
Full package analysis

Similar packages