{"id":18298,"library":"ember-cli-deploy-sentry-cli","title":"ember-cli-deploy-sentry-cli","description":"Ember-cli-deploy plugin for Sentry integration — uploads sourcemaps, creates releases, and associates commits during deployment. Current version 3.1.0 supports Node 12+ and requires ember-cli-deploy ^1.0.2 as a peer dependency. The plugin runs sentry-cli under the hood and offers options for custom Sentry servers, URL prefix, and revision type. It has a stable release cadence with recent fixes for mono-repo setups and re-deploy with empty changesets.","status":"active","version":"3.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/Exelord/ember-cli-deploy-sentry-cli","tags":["javascript","ember-addon","ember-cli-deploy-plugin","sentry","ci"],"install":[{"cmd":"npm install ember-cli-deploy-sentry-cli","lang":"bash","label":"npm"},{"cmd":"yarn add ember-cli-deploy-sentry-cli","lang":"bash","label":"yarn"},{"cmd":"pnpm add ember-cli-deploy-sentry-cli","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"required peer dependency for deploy plugin integration","package":"ember-cli-deploy","optional":false}],"imports":[{"note":"The plugin is configured via deploy.js, not imported directly. There is no JavaScript import for end users; the plugin is activated by ember-cli-deploy.","wrong":"// importing a symbol from the package (not needed)","symbol":"default (plugin config in deploy.js)","correct":"// config/deploy.js\n'use strict';\nmodule.exports = function(deployTarget) {\n  return {\n    'sentry-cli': {\n      appName: 'my-app',\n      orgName: 'my-org',\n      authToken: process.env.SENTRY_AUTH_TOKEN\n    }\n  };\n};"}],"quickstart":{"code":"// Install the plugin\nember install ember-cli-deploy-sentry-cli\n\n// Enable sourcemaps in ember-cli-build.js\nlet app = new EmberApp(defaults, {\n  sourcemaps: {\n    enabled: true,\n    extensions: ['js']\n  }\n});\n\n// Add plugin config to config/deploy.js\n'use strict';\nmodule.exports = function(deployTarget) {\n  return {\n    'sentry-cli': {\n      appName: 'my-sentry-app',\n      orgName: 'my-sentry-org',\n      authToken: process.env.SENTRY_AUTH_TOKEN || '',\n      urlPrefix: '~/assets' // optional\n    }\n  };\n};\n\n// Optional: set revision type to version-commit in config/deploy.js\n'revision-data': {\n  type: 'version-commit'\n}","lang":"javascript","description":"Shows installation, sourcemap generation setup, plugin configuration in deploy.js with environment variable for auth token, and optional revision type setting."},"warnings":[{"fix":"Ensure your Sentry auth token has at least `org:read` and `project:releases` scopes. Generate a token at https://sentry.io/settings/account/api/auth-tokens/","message":"You do not have permission to perform this action","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Connect your repository in Sentry project settings (under Releases) to associate commits. Also ensure git history is available during deployment.","message":"Could not determine any commits to be associated automatically.","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Set `modulePrefix` in config/environment.js to match `appName` in deploy.js, and use `version-commit` as revision type in deploy.js for consistent release naming.","message":"Your app's issues are not correctly related with app deploy version","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Use `orgName` and `appName` in deploy.js config instead of relying on environment variables.","message":"Environment variables like `SENTRY_ORG`, `SENTRY_PROJECT` are deprecated in favor of config options `orgName`, `appName`.","severity":"Deprecated","affected_versions":">=3.0.0"},{"fix":"Upgrade Node.js to version 12+ (14 or 16+ recommended).","message":"Node.js version 12 or above required. Older Node versions not supported.","severity":"breaking","affected_versions":">=3.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Check that SENTRY_AUTH_TOKEN is set and has scopes: org:read, project:releases. See https://sentry.io/settings/account/api/auth-tokens/","cause":"Sentry auth token missing required scopes or invalid.","error":"You do not have permission to perform this action"},{"fix":"Connect your repository in Sentry project settings (Releases -> Repositories). Ensure deployment runs in a git repository.","cause":"Sentry project not linked to a repository or git context not available.","error":"Could not determine any commits to be associated automatically."},{"fix":"Set authToken in deploy.js config or set SENTRY_AUTH_TOKEN environment variable.","cause":"authToken not provided in config or environment variable not set.","error":"sentry-cli: error: option '--auth-token' requires a value"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}