1.5.1 ā¢ Published 2 years ago
@bravobit/angular-sentry-sourcemaps v1.5.1
@bravobit/angular-sentry-sourcemaps
The Angular Sentry sourcemaps uploader.
- Use ā Command + F or ctrl + F to search for a keyword.
Features
- Easy implementation
- Library can be consumed by command line and Node
Installation
To use the angular sentry sourcemaps uploader in your own project install it via npm
:
$ npm install @bravobit/angular-sentry-sourcemaps --save-dev
How to use (command-line)
$ angular-sentry-sourcemaps --project frontend --configuration production
Argument | Alt | Description |
---|---|---|
--project | -p | The Angular project name. |
--configuration | -c | The Angular project's configuration. |
--version | -v | The version method used for npm version . |
--silent | -v | Disables logging stuff to the console. |
--sentry-url | n/a | The Sentry url. |
--sentry-token | n/a | The Sentry auth token. |
--sentry-org | n/a | The Sentry organisation. |
--sentry-project | n/a | The Sentry project. |
How to use (node)
const angularSentrySourcemaps = require('@bravobit/angular-sentry-sourcemaps');
async function main() {
await angularSentrySourcemaps({
project: 'frontend',
configuration: 'production',
version: 'major',
silent: false
});
console.log('done.');
}
Argument | Description | Default value |
---|---|---|
project | The Angular project name. | n/a |
configuration | The Angular project's configuration. | n/a |
version | The version method used for npm version . | patch |
silent | Disables logging stuff to the console. | true |