Registry / devops / ember-cli-deploy-sentry-cli

ember-cli-deploy-sentry-cli

JSON →
library3.1.0jsnpmunverified

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.

npm install ember-cli-deploy-sentry-cli
INSTALL
IMPORT
SIG · EMBER-CLI-DEPLOY-S
E
ember-cli-deploy-sentry-cli
devopsjavascriptv3.1.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default (plugin config in deploy.js)
✓ // config/deploy.js 'use strict'; module.exports = function(deployTarget) { return { 'sentry-cli': { appName: 'my-app', orgName: 'my-org', authToken: process.env.SENTRY_AUTH_TOKEN } }; };
✗ // importing a symbol from the package (not needed)
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.

Shows installation, sourcemap generation setup, plugin configuration in deploy.js with environment variable for auth token, and optional revision type setting.

// Install the plugin ember install ember-cli-deploy-sentry-cli // Enable sourcemaps in ember-cli-build.js let app = new EmberApp(defaults, { sourcemaps: { enabled: true, extensions: ['js'] } }); // Add plugin config to config/deploy.js 'use strict'; module.exports = function(deployTarget) { return { 'sentry-cli': { appName: 'my-sentry-app', orgName: 'my-sentry-org', authToken: process.env.SENTRY_AUTH_TOKEN || '', urlPrefix: '~/assets' // optional } }; }; // Optional: set revision type to version-commit in config/deploy.js 'revision-data': { type: 'version-commit' }
Debug
Known issues
gotchaYou do not have permission to perform this action
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/
affects: >=2.0.0
gotchaCould not determine any commits to be associated automatically.
fix
Connect your repository in Sentry project settings (under Releases) to associate commits. Also ensure git history is available during deployment.
affects: >=2.0.0
gotchaYour app's issues are not correctly related with app deploy version
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.
affects: >=2.0.0
DeprecatedEnvironment variables like `SENTRY_ORG`, `SENTRY_PROJECT` are deprecated in favor of config options `orgName`, `appName`.
fix
Use `orgName` and `appName` in deploy.js config instead of relying on environment variables.
affects: >=3.0.0
breakingNode.js version 12 or above required. Older Node versions not supported.
fix
Upgrade Node.js to version 12+ (14 or 16+ recommended).
affects: >=3.0.0
Errors
Common errors & fixes
You do not have permission to perform this action
Sentry auth token missing required scopes or invalid.
fix
Check that SENTRY_AUTH_TOKEN is set and has scopes: org:read, project:releases. See https://sentry.io/settings/account/api/auth-tokens/
Could not determine any commits to be associated automatically.
Sentry project not linked to a repository or git context not available.
fix
Connect your repository in Sentry project settings (Releases -> Repositories). Ensure deployment runs in a git repository.
sentry-cli: error: option '--auth-token' requires a value
authToken not provided in config or environment variable not set.
fix
Set authToken in deploy.js config or set SENTRY_AUTH_TOKEN environment variable.
Upgrade
Version history
3.1.0latest on npm
Audit
Dependencies
ember-cli-deployrequiredrequired peer dependency for deploy plugin integration
Agent activity
22 hits · last 30 days
node
18
OpenAI (training)
3
Resources
ember-cli-deploy-sentry-cli — npm install ember-cli-deploy-sentry-cli · libregistry