@rxap/ngx-sentry
Version:
This package provides utilities for initializing Sentry in Angular applications. It includes functions to determine the Sentry environment and release based on the application's environment, and a function to initialize Sentry with these configurations. I
36 lines (29 loc) • 1.48 kB
Markdown
This package provides utilities for initializing Sentry in Angular applications. It includes functions to determine the Sentry environment and release based on the application's environment, and a function to initialize Sentry with these configurations. It also includes a generator to add peer dependencies to the package.json.
[](https://www.npmjs.com/package/@rxap/ngx-sentry)
[](https://commitizen.github.io/cz-cli/)
[](https://github.com/prettier/prettier)



- [Installation](../wiki/#installation)
- [Generators](../wiki/#generators)
- [init](../wiki/#init)
# Installation
**Add the package to your workspace:**
```bash
yarn add @rxap/ngx-sentry
```
**Install peer dependencies:**
```bash
yarn add @rxap/config @rxap/environment @sentry/angular
```
**Execute the init generator:**
```bash
yarn nx g @rxap/ngx-sentry:init
```
# Generators
## init
> Initialize the package in the workspace
```bash
nx g @rxap/ngx-sentry:init
```