@sentry/cli 2.48.0 → 2.50.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/checksums.txt CHANGED
@@ -1,10 +1,10 @@
1
- sentry-cli-Darwin-arm64=4055005b478b9af96d67dd63f0821c85505e4a6f08ab5a1b9b0c3941ea542a8f
2
- sentry-cli-Darwin-universal=583fe0f18651e219969f0a47698b522354b0ac0fb296764c67ea36850a99d39d
3
- sentry-cli-Darwin-x86_64=5c2707c5d965be755c0200be19e6f9ebe924b135f79201858d375adb751eee7d
4
- sentry-cli-Linux-aarch64=61ed4b287492919fb30bd96511169650a88c5004f31fcce5490541b8e0d4d4bf
5
- sentry-cli-Linux-armv7=672049db50efd2cf28d0172cea8aff670f6f16b31a0444dc471209df1c6c0578
6
- sentry-cli-Linux-i686=fbad1830295a11697d3c0ee9d17819bd35872bf86539d719795afb79ba4137fd
7
- sentry-cli-Linux-x86_64=fdb0ee7a426cdd1b1bbae35ff4835af6fa55f0647fe558c7e8705df61b279f30
8
- sentry-cli-Windows-aarch64.exe=37c91959e56a704264da6595357e8412d33602d764ddf0fb2cfef4a05bd872ee
9
- sentry-cli-Windows-i686.exe=29ae42121c757fc7d473c458dc70deb06d9288e6ec31c15db41f6af0a557f5c3
10
- sentry-cli-Windows-x86_64.exe=2015a5c425fe33101c1e922c79fc6440398ee7ce328053dfb06e4839abe2d497
1
+ sentry-cli-Darwin-arm64=e06af6e72fd23b6d5a6b7baaab61767cb71fc6fea486c7f5498a08bfcd58eedd
2
+ sentry-cli-Darwin-universal=fa057524abbbd85e960960c5520074837bea11aa7c09602f1489c24728e24d45
3
+ sentry-cli-Darwin-x86_64=a055429e5e671d35ccc020934dd0a2ec0572efc47656be29b4315f388653ec98
4
+ sentry-cli-Linux-aarch64=d9bc23158a30b4987dfc36494375aa86f1adcf1fb3dd2acb1245d3a4fae4179c
5
+ sentry-cli-Linux-armv7=970f08daed2654ea6733609ba4dbfbfc1b9beec630daf168f10dde57dea84d54
6
+ sentry-cli-Linux-i686=29a843be810a8987216ce46c41edffe2e21813999888a4bdf5034ed3223ba541
7
+ sentry-cli-Linux-x86_64=89b1b1cd10c16d817a70ee5bb6673ccdcc48936648f6f281b8d576a3044430c9
8
+ sentry-cli-Windows-aarch64.exe=bf9cef27c30dcf06a10954dfb4933f4515d09398075061503a684da1fa9020f6
9
+ sentry-cli-Windows-i686.exe=724eeacac294d2e902ec0f9444f47e1454d7d3743931a9af1bac298f908d6afc
10
+ sentry-cli-Windows-x86_64.exe=090fdd6d59c88436c0de98d91d930b4be2905e60f4f948396750fd33340fa62b
package/js/index.d.ts CHANGED
@@ -208,13 +208,16 @@ declare module '@sentry/cli' {
208
208
 
209
209
  proposeVersion(): Promise<string>;
210
210
 
211
- uploadSourceMaps(release: string, options: SentryCliUploadSourceMapsOptions): Promise<string>;
211
+ uploadSourceMaps(
212
+ release: string,
213
+ options: SentryCliUploadSourceMapsOptions & { live?: boolean | 'rejectOnError' }
214
+ ): Promise<string>;
212
215
 
213
216
  listDeploys(release: string): Promise<string>;
214
217
 
215
218
  newDeploy(release: string, options: SentryCliNewDeployOptions): Promise<string>;
216
219
 
217
- execute(args: string[], live: boolean): Promise<string>;
220
+ execute(args: string[], live: boolean | 'rejectOnError'): Promise<string>;
218
221
  }
219
222
 
220
223
  export default class SentryCli {
@@ -234,6 +237,6 @@ declare module '@sentry/cli' {
234
237
 
235
238
  public static getVersion(): string;
236
239
  public static getPath(): string;
237
- public execute(args: string[], live: boolean): Promise<string>;
240
+ public execute(args: string[], live: boolean | 'rejectOnError'): Promise<string>;
238
241
  }
239
242
  }
package/js/index.js CHANGED
@@ -57,7 +57,11 @@ class SentryCli {
57
57
  /**
58
58
  * See {helper.execute} docs.
59
59
  * @param {string[]} args Command line arguments passed to `sentry-cli`.
60
- * @param {boolean} live We inherit stdio to display `sentry-cli` output directly.
60
+ * @param {boolean | 'rejectOnError'} live can be set to:
61
+ * - `true` to inherit stdio to display `sentry-cli` output directly.
62
+ * - `false` to not inherit stdio and return the output as a string.
63
+ * - `'rejectOnError'` to inherit stdio and reject the promise if the command
64
+ * exits with a non-zero exit code.
61
65
  * @returns {Promise.<string>} A promise that resolves to the standard output.
62
66
  */
63
67
  execute(args, live) {
@@ -149,6 +149,7 @@ class Releases {
149
149
  * ext: ['js', 'map', 'jsbundle', 'bundle'], // override file extensions to scan for
150
150
  * projects: ['node'], // provide a list of projects
151
151
  * decompress: false // decompress gzip files before uploading
152
+ * live: true // whether to inherit stdio to display `sentry-cli` output directly.
152
153
  * });
153
154
  *
154
155
  * @param {string} release Unique name of the release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/cli",
3
- "version": "2.48.0",
3
+ "version": "2.50.0",
4
4
  "description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/",
5
5
  "repository": "git://github.com/getsentry/sentry-cli.git",
6
6
  "homepage": "https://docs.sentry.io/hosted/learn/cli/",
@@ -32,14 +32,14 @@
32
32
  "typescript": "~5.8.3"
33
33
  },
34
34
  "optionalDependencies": {
35
- "@sentry/cli-darwin": "2.48.0",
36
- "@sentry/cli-linux-arm": "2.48.0",
37
- "@sentry/cli-linux-arm64": "2.48.0",
38
- "@sentry/cli-linux-i686": "2.48.0",
39
- "@sentry/cli-linux-x64": "2.48.0",
40
- "@sentry/cli-win32-i686": "2.48.0",
41
- "@sentry/cli-win32-x64": "2.48.0",
42
- "@sentry/cli-win32-arm64": "2.48.0"
35
+ "@sentry/cli-darwin": "2.50.0",
36
+ "@sentry/cli-linux-arm": "2.50.0",
37
+ "@sentry/cli-linux-arm64": "2.50.0",
38
+ "@sentry/cli-linux-i686": "2.50.0",
39
+ "@sentry/cli-linux-x64": "2.50.0",
40
+ "@sentry/cli-win32-i686": "2.50.0",
41
+ "@sentry/cli-win32-x64": "2.50.0",
42
+ "@sentry/cli-win32-arm64": "2.50.0"
43
43
  },
44
44
  "scripts": {
45
45
  "postinstall": "node ./scripts/install.js",