{"id":23085267,"url":"https://github.com/icarusworks/ember-cli-deploy-bugsnag","last_synced_at":"2025-07-04T18:04:09.496Z","repository":{"id":20994436,"uuid":"91013734","full_name":"IcarusWorks/ember-cli-deploy-bugsnag","owner":"IcarusWorks","description":"An ember-cli-deploy plugin to upload sourcemaps to Bugsnag. ","archived":false,"fork":false,"pushed_at":"2023-01-06T17:04:23.000Z","size":396,"stargazers_count":4,"open_issues_count":16,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-30T11:16:51.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IcarusWorks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-11T18:58:22.000Z","updated_at":"2023-01-06T16:47:10.000Z","dependencies_parsed_at":"2023-01-12T03:31:08.410Z","dependency_job_id":null,"html_url":"https://github.com/IcarusWorks/ember-cli-deploy-bugsnag","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/IcarusWorks/ember-cli-deploy-bugsnag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IcarusWorks%2Fember-cli-deploy-bugsnag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IcarusWorks%2Fember-cli-deploy-bugsnag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IcarusWorks%2Fember-cli-deploy-bugsnag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IcarusWorks%2Fember-cli-deploy-bugsnag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IcarusWorks","download_url":"https://codeload.github.com/IcarusWorks/ember-cli-deploy-bugsnag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IcarusWorks%2Fember-cli-deploy-bugsnag/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263594556,"owners_count":23485871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T17:51:54.005Z","updated_at":"2025-07-04T18:04:09.479Z","avatar_url":"https://github.com/IcarusWorks.png","language":"JavaScript","readme":"ember-cli-deploy-bugsnag\n==============================================================================\n\n[![NPM release][npm-badge]][npm-badge-url]\n[![Build][travis-badge]][travis-badge-url]\n[![Ember Observer][ember-observer-badge]][ember-observer-badge-url]\n\n[npm-badge]: https://img.shields.io/npm/v/ember-cli-deploy-bugsnag.svg\n[npm-badge-url]: https://www.npmjs.com/package/ember-cli-deploy-bugsnag\n[travis-badge]: https://travis-ci.org/IcarusWorks/ember-cli-deploy-bugsnag.svg?branch=master\n[travis-badge-url]: https://travis-ci.org/IcarusWorks/ember-cli-deploy-bugsnag\n[ember-observer-badge]: http://emberobserver.com/badges/ember-cli-deploy-bugsnag.svg\n[ember-observer-badge-url]: http://emberobserver.com/addons/ember-cli-deploy-bugsnag\n\nAn [Ember CLI Deploy](http://ember-cli-deploy.com/) plugin for [uploading sourcemaps to Bugsnag](https://docs.bugsnag.com/api/js-source-map-upload/).\n\nTo send errors to Bugsnag, see [`ember-cli-bugsnag`](https://github.com/binhums/ember-cli-bugsnag).\n\nCompatibility\n------------------------------------------------------------------------------\n\n* Ember.js v3.24 or above\n* Ember CLI v3.24 or above\n* Node.js v12 or above\n\n\nInstallation\n------------------------------------------------------------------------------\n\n```\nember install ember-cli-deploy-bugsnag\n```\n\n\nUsage\n------------------------------------------------------------------------------\n\nEnable sourcemaps for all environments in `ember-cli-build.js`:\n\n```js\n/* jshint node:true */\n/* global require, module */\nvar EmberApp = require('ember-cli/lib/broccoli/ember-app');\n\nmodule.exports = function(defaults) {\n  var app = new EmberApp(defaults, {\n    // …\n    sourcemaps: {\n      enabled: true, // This allows sourcemaps to be generated in all environments\n      extensions: ['js']\n    }\n  });\n```\n\nSet 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.\n\n```js\n  /* jshint node: true */\n\n  module.exports = function(deployTarget) {\n    // …\n\n    ENV['bugsnag'] = {\n      apiKey: process.env.BUGSNAG_KEY,\n      publicUrl: process.env.BUGSNAG_PUBLIC_URL,\n    };\n\n    // …\n\n    return ENV;\n  };\n```\n\n### Config Options\n\n#### `ember-cli-deploy-bugsnag` options\n\nSet in [`config/deploy.js`](http://ember-cli-deploy.com/docs/v1.0.x/configuration/):\n\n| Name       | Type          | Required | Default  | Description\n| ---------- | ------------- | -------- | -------- | --------- |\n| `apiKey`     | string | Yes      | `\u003cnone\u003e` | Your Bugsnag Notifier API key. |\n| `distFiles`     | array of strings | No      | `context.distFiles` | The array of built project files. This option should be relative to `distDir`. By default, this option will use the `distFiles` property of the [deployment context](http://ember-cli-deploy.com/docs/v0.5.x/deployment-context/). |\n| `overwrite`     | string | No      | `true` | If set to `false`, existing sourcemaps for the same version of your app will not be overwritten. Options are `true` or `false`. |\n| `publicUrl`  | string | Yes      | `\u003cnone\u003e` | The fully qualified domain name for your application e.g., `https://app.fancy-app.com` |\n| `includeAppVersion` | boolean | No | `true` | Whether to tag the uploaded sourcemaps as belonging to a particular app version. |\n\n#### Related plugin options\n\nSet by other Ember CLI Deploy plugins:\n\n| Name       | Type          | Default  | Description | Plugin |\n| ---------- | ------------- | -------- | ----------- | ------ |\n| `distDir`     | string | `tmp/deploy-dist` | The path to your app's distribution directory. | [`ember-cli-build`](https://github.com/zapnito/ember-cli-deploy-build) |\n| `revisionKey`  | string | `\u003cnone\u003e` | The unique identifier of a build based on its git tag. | [`ember-cli-deploy-revision-data`](https://github.com/zapnito/ember-cli-deploy-revision-data) |\n| `gzippedFiles` | array | `\u003cnone\u003e` | A list of files that have been gzipped in the build. | [`ember-cli-deploy-gzip`](https://github.com/ember-cli-deploy/ember-cli-deploy-gzip) |\n\n### Deploying to Heroku\n\nAdd Heroku's Ember buildpack:\n\n```sh\n  heroku buildpacks:set https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/emberjs.tgz\n```\n\nHeroku strips away git information, so this addon grabs the revision info from the `SOURCE_VERSION` environment variable Heroku provides. Then you need to add the following to `config/environment.js`:\n\n```js\n  /* jshint node: true */\n  module.exports = function(environment) {\n    // …\n    if (environment === 'production') {\n      // …\n      ENV.currentRevision = process.env.SOURCE_VERSION;\n      // …\n    }\n    // …\n    return ENV;\n  };\n```\n\nContributing\n------------------------------------------------------------------------------\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficarusworks%2Fember-cli-deploy-bugsnag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficarusworks%2Fember-cli-deploy-bugsnag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficarusworks%2Fember-cli-deploy-bugsnag/lists"}