# ember-cli-deploy-airbrake-sourcemap

> The default blueprint for ember-cli addons.

Latest version **0.1.0** (published 2018-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-cli-deploy-airbrake-sourcemap
pnpm add ember-cli-deploy-airbrake-sourcemap
yarn add ember-cli-deploy-airbrake-sourcemap
bun add ember-cli-deploy-airbrake-sourcemap
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-11-01 |
| First published | 2018-11-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 6.* \|\| 8.* \|\| >= 10.* |
| Dependencies | 5 |
| Unpacked size | 9.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | villander |
| Keywords | ember-addon, ember-cli-deploy-plugin, airbrake, sourcemaps |

## Links

- npm: https://www.npmjs.com/package/ember-cli-deploy-airbrake-sourcemap
- npm.io page: https://npm.io/package/ember-cli-deploy-airbrake-sourcemap

## Dependencies (5)

- [rsvp](https://npm.io/package/rsvp.md) ^4.8.4
- [request](https://npm.io/package/request.md) ^2.88.0
- [ember-cli-babel](https://npm.io/package/ember-cli-babel.md) ^6.16.0
- [request-promise](https://npm.io/package/request-promise.md) ^4.2.2
- [ember-cli-deploy-plugin](https://npm.io/package/ember-cli-deploy-plugin.md) ^0.2.9

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-11-01

## README

ember-cli-deploy-airbrake-sourcemap
==============================================================================

> An ember-cli-deploy-plugin to upload javascript sourcemaps to [Airbrake](https://airbrake.io/).

## What is an ember-cli-deploy plugin?

A plugin is an addon that can be executed as a part of the ember-cli-deploy pipeline. A plugin will implement one or more of the ember-cli-deploy's pipeline hooks.

For more information on what plugins are and how they work, please refer to the [Plugin Documentation][10].

Installation
------------------------------------------------------------------------------

```
ember install ember-cli-deploy-airbrake-sourcemap
```

### Quick start

To get up and running quickly, do the following:

- Ensure [ember-cli-deploy-build][2] is installed and configured

Enable sourcemaps for all environments in `ember-cli-build.js`:

```js
/* jshint node:true */
/* global require, module */
const EmberApp = require('ember-cli/lib/broccoli/ember-app');

module.exports = function(defaults) {
  let app = new EmberApp(defaults, {
    // …
    sourcemaps: {
      enabled: true, // This allows sourcemaps to be generated in all environments
      extensions: ['js']
    }
  });
```

Set Bugsnag options in your [`config/deploy.js`](http://ember-cli-deploy.com/docs/v1.0.x/configuration/). The following example assumes the values for the options will be set as environment variables on your server.

```js
  /* jshint node: true */

  module.exports = function(deployTarget) {
    // …

    ENV['airbrake-sourcemap'] = {
      projectId:  process.env.AIRBRAKE_PROJECT_ID,
      projectKey: process.env.AIRBRAKE_PROJECT_KEY,
      publicUrl: 'https://my.example.com'
    };

    // …

    return ENV;
  };
```

------------------------------------------------------------------------------

### Linting

* `npm run lint:hbs`
* `npm run lint:js`
* `npm run lint:js -- --fix`

### Running tests

* `ember test` – Runs the test suite on the current Ember version
* `ember test --server` – Runs the test suite in "watch mode"
* `ember try:each` – Runs the test suite against multiple Ember versions

### Running the dummy application

* `ember serve`
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).

License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE.md).

[2]: https://github.com/ember-cli-deploy/ember-cli-deploy-build "ember-cli-deploy-build"
[10]: http://ember-cli-deploy.com/docs/v1.0.x/using-plugins/ "Plugin Documentation"

---
_Source: https://npm.io/package/ember-cli-deploy-airbrake-sourcemap · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
