sentry 0.34.0 → 0.35.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 CHANGED
@@ -77,7 +77,7 @@ Credentials are stored in `~/.sentry/` with restricted permissions (mode 600).
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:
80
+ Use Sentry CLI programmatically in Node.js (≥22.15) without spawning a subprocess:
81
81
  <!-- GENERATED:END library-prereq -->
82
82
 
83
83
  ```typescript
@@ -118,7 +118,7 @@ Errors are thrown as `SentryError` with `.exitCode` and `.stderr`.
118
118
  ### Prerequisites
119
119
 
120
120
  <!-- GENERATED:START dev-prereq -->
121
- - [Bun](https://bun.sh) v1.3+
121
+ - [Node.js](https://nodejs.org) v22.15+ and [pnpm](https://pnpm.io) v10.11+
122
122
  <!-- GENERATED:END dev-prereq -->
123
123
 
124
124
  ### Setup
@@ -126,30 +126,30 @@ Errors are thrown as `SentryError` with `.exitCode` and `.stderr`.
126
126
  ```bash
127
127
  git clone https://github.com/getsentry/cli.git
128
128
  cd cli
129
- bun install
129
+ pnpm install
130
130
  ```
131
131
 
132
132
  ### Running Locally
133
133
 
134
134
  ```bash
135
135
  # Run CLI in development mode
136
- bun run cli --help
136
+ pnpm run cli -- --help
137
137
 
138
- # With environment variables
139
- bun run --env-file=.env.local cli --help
138
+ # With environment variables (create .env.local first, see DEVELOPMENT.md)
139
+ pnpm run cli -- --help
140
140
  ```
141
141
 
142
142
  ### Scripts
143
143
 
144
144
  <!-- GENERATED:START dev-scripts -->
145
145
  ```bash
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
+ pnpm run build # Build for current platform
147
+ pnpm run typecheck # Type checking
148
+ pnpm run lint # Check for issues
149
+ pnpm run lint:fix # Auto-fix issues
150
+ pnpm run test:unit # Run unit tests
151
+ pnpm run test:e2e # Run end-to-end tests
152
+ pnpm run generate:docs # Regenerate command docs and skills
153
153
  ```
154
154
  <!-- GENERATED:END dev-scripts -->
155
155
 
package/dist/bin.cjs CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- {let v=process.versions.node.split(".").map(Number);if(v[0]<22||(v[0]===22&&v[1]<12)){console.error("Error: sentry requires Node.js 22.12 or later (found "+process.version+").\n\nEither upgrade Node.js, or install the standalone binary instead:\n curl -fsSL https://cli.sentry.dev/install | bash\n");process.exit(1)}}
2
+ {let v=process.versions.node.split(".").map(Number);if(v[0]<22||(v[0]===22&&v[1]<15)){console.error("Error: sentry requires Node.js 22.15 or later (found "+process.version+").\n\nEither upgrade Node.js, or install the standalone binary instead:\n curl -fsSL https://cli.sentry.dev/install | bash\n");process.exit(1)}}
3
3
  {let e=process.emit;process.emit=function(n,...a){return n==="warning"?!1:e.apply(this,[n,...a])}}
4
4
  require('./index.cjs')._cli().catch(()=>{process.exitCode=1});