@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 +10 -10
- package/js/index.d.ts +6 -3
- package/js/index.js +5 -1
- package/js/releases/index.js +1 -0
- package/package.json +9 -9
package/checksums.txt
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
sentry-cli-Darwin-arm64=
|
|
2
|
-
sentry-cli-Darwin-universal=
|
|
3
|
-
sentry-cli-Darwin-x86_64=
|
|
4
|
-
sentry-cli-Linux-aarch64=
|
|
5
|
-
sentry-cli-Linux-armv7=
|
|
6
|
-
sentry-cli-Linux-i686=
|
|
7
|
-
sentry-cli-Linux-x86_64=
|
|
8
|
-
sentry-cli-Windows-aarch64.exe=
|
|
9
|
-
sentry-cli-Windows-i686.exe=
|
|
10
|
-
sentry-cli-Windows-x86_64.exe=
|
|
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(
|
|
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
|
|
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) {
|
package/js/releases/index.js
CHANGED
|
@@ -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.
|
|
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.
|
|
36
|
-
"@sentry/cli-linux-arm": "2.
|
|
37
|
-
"@sentry/cli-linux-arm64": "2.
|
|
38
|
-
"@sentry/cli-linux-i686": "2.
|
|
39
|
-
"@sentry/cli-linux-x64": "2.
|
|
40
|
-
"@sentry/cli-win32-i686": "2.
|
|
41
|
-
"@sentry/cli-win32-x64": "2.
|
|
42
|
-
"@sentry/cli-win32-arm64": "2.
|
|
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",
|