sentry 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -7
- package/dist/index.cjs +904 -687
- package/dist/index.d.cts +27 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -76,7 +76,9 @@ Credentials are stored in `~/.sentry/` with restricted permissions (mode 600).
|
|
|
76
76
|
|
|
77
77
|
## Library Usage
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
<!-- GENERATED:START library-prereq -->
|
|
80
|
+
Use Sentry CLI programmatically in Node.js (≥22.12) or Bun without spawning a subprocess:
|
|
81
|
+
<!-- GENERATED:END library-prereq -->
|
|
80
82
|
|
|
81
83
|
```typescript
|
|
82
84
|
import createSentrySDK from "sentry";
|
|
@@ -115,7 +117,9 @@ Errors are thrown as `SentryError` with `.exitCode` and `.stderr`.
|
|
|
115
117
|
|
|
116
118
|
### Prerequisites
|
|
117
119
|
|
|
118
|
-
-
|
|
120
|
+
<!-- GENERATED:START dev-prereq -->
|
|
121
|
+
- [Bun](https://bun.sh) v1.3+
|
|
122
|
+
<!-- GENERATED:END dev-prereq -->
|
|
119
123
|
|
|
120
124
|
### Setup
|
|
121
125
|
|
|
@@ -137,13 +141,17 @@ bun run --env-file=.env.local src/bin.ts --help
|
|
|
137
141
|
|
|
138
142
|
### Scripts
|
|
139
143
|
|
|
144
|
+
<!-- GENERATED:START dev-scripts -->
|
|
140
145
|
```bash
|
|
141
|
-
bun run build
|
|
142
|
-
bun run typecheck
|
|
143
|
-
bun run lint
|
|
144
|
-
bun run lint:fix
|
|
145
|
-
bun test
|
|
146
|
+
bun run build # Build for current platform
|
|
147
|
+
bun run typecheck # Type checking
|
|
148
|
+
bun run lint # Check for issues
|
|
149
|
+
bun run lint:fix # Auto-fix issues
|
|
150
|
+
bun run test:unit # Run unit tests
|
|
151
|
+
bun run test:e2e # Run end-to-end tests
|
|
152
|
+
bun run generate:docs # Regenerate command docs and skills
|
|
146
153
|
```
|
|
154
|
+
<!-- GENERATED:END dev-scripts -->
|
|
147
155
|
|
|
148
156
|
See [DEVELOPMENT.md](DEVELOPMENT.md) for detailed setup and [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines.
|
|
149
157
|
|