Socket
Socket
Sign inDemoInstall

bugsnag-build-reporter

Package Overview
Dependencies
35
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bugsnag-build-reporter

A tool for reporting your application's builds to Bugsnag


Version published
Maintainers
1
Install size
705 kB
Created

Readme

Source

bugsnag-build-reporter

A tool for reporting your application's builds to Bugsnag.

Usage

This module can be used in a Node environment via the JS API or as a CLI.

CLI

Install globally with npm i -g bugsnag-build-reporter or locally as a dev dependency npm i -D bugsnag-build-reporter. If installed via the latter, recent versions of npm come with a tool called npx which will help run it without typing burdensome paths.

A tool for reporting your application's builds to Bugsnag

Usage
  $ bugsnag-build-reporter <flags> <metadata>

Options
  --api-key, -k  Set your notifier API key [required]
  --app-version, -v  Set the app version [required]
  --release-stage, -s Set the release stage

  --source-control-provider, -p  Set the repo provider
  --source-control-repository, -r  Set the repo URL
  --source-control-revision, -e  Set the source control revision id (e.g commit SHA)

  --app-version-code, -c  Set the version code (Android only)
  --app-bundle-version, -b  Set the bundle version (iOS/macOS/tvOS only)
  --builder-name, -n  Set the name of the entity that triggered the build

  metadata
    Arbitrary "key=value" pairs will be passed to the build API as metadata
      e.g. foo=bar

Examples

  bugsnag-build-reporter \
    --api-key cc814aead128d38d0767094327b4784a \
    --app-version 1.3.5

  bugsnag-build-reporter \
    -k cc814aead128d38d0767094327b4784a \
    -v 1.3.5

npm scripts

scripts: {
  'report-build': 'bugsnag-build-reporter -k YOUR_API_KEY -v APP_VERSION'
}

JS API

const reportBuild = require('bugsnag-build-reporter')
reportBuild({
  apiKey: 'YOUR_API_KEY',
  appVersion: '1.2.3',
  /* other options... */
}/* , optional path, defaults to process.cwd() */)

FAQs

Last updated on 10 Jan 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc