shipthis 0.1.30 → 0.1.32
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 +122 -41
- package/assets/markdown/create-google-play-game.md +2 -4
- package/assets/markdown/ship-success.md +1 -1
- package/dist/{AppleBundleIdDetails-Fp5COwTa.js → AppleBundleIdDetails-6H3cNWxw.js} +17 -19
- package/dist/{Command-1p5alCz3.js → Command-WPpmLPkL.js} +13 -12
- package/dist/CommandGame-cxzWG4nT.js +7 -0
- package/dist/{Create-1xAdntNl.js → Create-3Ob8sjik.js} +20 -20
- package/dist/GameStatus-BQEtVKvv.js +137 -0
- package/dist/{Import-CzC-M4ln.js → Import-CFuPDI0K.js} +33 -35
- package/dist/{JobLogTail-CZxoMSd5.js → JobLogTail-0CBLoG8N.js} +53 -52
- package/dist/{JobProgress-BjNgtIjm.js → JobProgress-lKqVT88m.js} +46 -37
- package/dist/{JobStatusTable-BB-PWlwj.js → JobStatusTable-C_ZsZJCm.js} +14 -13
- package/dist/{NextSteps-CK9zHOCt.js → NextSteps-DbJHmscQ.js} +1 -3
- package/dist/{ProgressSpinner-6pw1T8Iw.js → ProgressSpinner-DGcakQSK.js} +1 -1
- package/dist/{ProjectCredentialsTable-DyZep993.js → ProjectCredentialsTable-B5pHOnGu.js} +11 -10
- package/dist/{StatusTable-Dm5St4g-.js → StatusTable-DzRWcMr4.js} +7 -9
- package/dist/{Table-CvM6pccN.js → Table-FaNgpyeq.js} +15 -15
- package/dist/{UserCredentialsTable-BraKyDWT.js → UserCredentialsTable-3W3qesh7.js} +18 -19
- package/dist/{baseAppleCommand-BHRIBtTj.js → baseAppleCommand-BGV088--.js} +1 -1
- package/dist/{baseGameAndroidCommand-SrDRbhAG.js → baseGameAndroidCommand-CsemgVjp.js} +23 -23
- package/dist/commands/apple/apiKey/create.js +35 -35
- package/dist/commands/apple/apiKey/export.js +26 -26
- package/dist/commands/apple/apiKey/import.js +27 -27
- package/dist/commands/apple/apiKey/status.js +31 -31
- package/dist/commands/apple/certificate/create.js +39 -39
- package/dist/commands/apple/certificate/export.js +26 -26
- package/dist/commands/apple/certificate/import.js +27 -27
- package/dist/commands/apple/certificate/status.js +31 -31
- package/dist/commands/apple/login.js +15 -15
- package/dist/commands/apple/status.js +28 -28
- package/dist/commands/dashboard.js +10 -10
- package/dist/commands/game/android/apiKey/connect.js +28 -28
- package/dist/commands/game/android/apiKey/create.js +28 -28
- package/dist/commands/game/android/apiKey/export.js +29 -29
- package/dist/commands/game/android/apiKey/import.js +31 -31
- package/dist/commands/game/android/apiKey/invite.js +14 -14
- package/dist/commands/game/android/apiKey/status.js +29 -29
- package/dist/commands/game/android/keyStore/create.js +24 -24
- package/dist/commands/game/android/keyStore/export.js +28 -28
- package/dist/commands/game/android/keyStore/import.js +35 -35
- package/dist/commands/game/android/keyStore/status.js +26 -26
- package/dist/commands/game/android/status.js +14 -58
- package/dist/commands/game/build/download.js +24 -24
- package/dist/commands/game/build/list.js +37 -37
- package/dist/commands/game/create.js +15 -15
- package/dist/commands/game/details.js +35 -36
- package/dist/commands/game/export.js +12 -12
- package/dist/commands/game/ios/app/addTester.js +24 -24
- package/dist/commands/game/ios/app/create.js +24 -24
- package/dist/commands/game/ios/app/status.js +29 -29
- package/dist/commands/game/ios/app/sync.js +31 -31
- package/dist/commands/game/ios/profile/create.js +30 -30
- package/dist/commands/game/ios/profile/export.js +28 -28
- package/dist/commands/game/ios/profile/import.js +32 -32
- package/dist/commands/game/ios/profile/status.js +36 -36
- package/dist/commands/game/ios/status.js +46 -58
- package/dist/commands/game/ios/wizard.js +31 -31
- package/dist/commands/game/job/list.js +34 -34
- package/dist/commands/game/job/status.js +31 -31
- package/dist/commands/game/list.js +45 -41
- package/dist/commands/game/ship.js +73 -70
- package/dist/commands/game/status.js +38 -82
- package/dist/commands/game/wizard.js +271 -307
- package/dist/commands/internal/fastlane.js +15 -17
- package/dist/commands/internal/readme.js +38 -36
- package/dist/commands/login.js +14 -14
- package/dist/commands/status.js +35 -33
- package/dist/{export-BKn02-NH.js → export-CXsVPXA1.js} +5 -5
- package/dist/{git-DREGq-jc.js → git-BpsfNFZ_.js} +8 -8
- package/dist/{import-CRMaNBVF.js → import-DGvG5REx.js} +14 -14
- package/dist/{index-DxzXU9Hd.js → index-BhhiXbey.js} +244 -221
- package/dist/{index-OZi8bvu8.js → index-C03TV1_J.js} +54 -38
- package/dist/{index-BTAL7EB_.js → index-C66Dd8Xc.js} +80 -79
- package/dist/{index-35Eswf6F.js → index-CGBdOm1q.js} +43 -27
- package/dist/{index--EbYyBAZ.js → index-CS9Gwcb0.js} +41 -43
- package/dist/{index-u1aj1OQW.js → index-CtTI85m-.js} +6 -6
- package/dist/{upload-Bw0zrS4M.js → upload-8y5MQEm9.js} +22 -22
- package/dist/{useAndroidServiceAccountTestResult-CJLIEYmA.js → useAndroidServiceAccountTestResult-DZk5SMxI.js} +11 -13
- package/dist/{useAppleApp-cnb8gX0x.js → useAppleApp-DWYGURwU.js} +4 -4
- package/dist/{useAppleBundleId-B0Etav8g.js → useAppleBundleId-PsTJ2g1B.js} +6 -6
- package/dist/{useProjectCredentials-DX3e_PPc.js → useProjectCredentials-BEphqa18.js} +10 -12
- package/dist/{useWebSocket-BOCa8v6o.js → useWebSocket-5PYa2QER.js} +1 -1
- package/dist/utils/help.js +4 -4
- package/package.json +4 -2
- package/dist/CommandGame-Z4eUQBjn.js +0 -9
- package/dist/{RunWithSpinner-BVXNWGD3.js → RunWithSpinner-gMVA07bZ.js} +2 -2
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { render } from 'ink';
|
|
3
2
|
import { Flags } from '@oclif/core';
|
|
4
|
-
import {
|
|
5
|
-
import '
|
|
6
|
-
import '../../../../index-BTAL7EB_.js';
|
|
3
|
+
import { render } from 'ink';
|
|
4
|
+
import { Q as getGoogleStatus, T as disconnectGoogle } from '../../../../index-BhhiXbey.js';
|
|
7
5
|
import 'ink-spinner';
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
10
|
-
import '@tanstack/react-query';
|
|
11
|
-
import 'fs';
|
|
12
|
-
import 'uuid';
|
|
13
|
-
import 'yazl';
|
|
14
|
-
import 'crypto';
|
|
15
|
-
import 'readline-sync';
|
|
16
|
-
import 'node:readline';
|
|
6
|
+
import 'node:crypto';
|
|
7
|
+
import 'node:fs';
|
|
17
8
|
import 'node:path';
|
|
9
|
+
import 'node:readline';
|
|
18
10
|
import 'node:url';
|
|
11
|
+
import 'readline-sync';
|
|
19
12
|
import 'luxon';
|
|
13
|
+
import 'axios';
|
|
20
14
|
import 'isomorphic-git';
|
|
15
|
+
import '@tanstack/react-query';
|
|
16
|
+
import 'react';
|
|
21
17
|
import 'fast-glob';
|
|
18
|
+
import 'uuid';
|
|
19
|
+
import 'yazl';
|
|
22
20
|
import 'socket.io-client';
|
|
23
|
-
import
|
|
24
|
-
import 'marked';
|
|
25
|
-
import 'marked-terminal';
|
|
26
|
-
import 'path';
|
|
27
|
-
import 'qrcode';
|
|
21
|
+
import 'fullscreen-ink';
|
|
28
22
|
import 'string-length';
|
|
29
23
|
import 'strip-ansi';
|
|
30
|
-
import { C as CommandGame } from '../../../../CommandGame-Z4eUQBjn.js';
|
|
31
24
|
import 'open';
|
|
32
|
-
import {
|
|
33
|
-
import '
|
|
25
|
+
import { C as ConnectGoogle } from '../../../../index-C03TV1_J.js';
|
|
26
|
+
import '../../../../index-C66Dd8Xc.js';
|
|
27
|
+
import '@inkjs/ui';
|
|
28
|
+
import 'marked';
|
|
29
|
+
import 'marked-terminal';
|
|
30
|
+
import 'qrcode';
|
|
31
|
+
import { C as CommandGame } from '../../../../CommandGame-cxzWG4nT.js';
|
|
32
|
+
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-CsemgVjp.js';
|
|
34
33
|
import 'crypto-js';
|
|
35
|
-
import '
|
|
34
|
+
import '@expo/apple-utils/build/index.js';
|
|
36
35
|
import 'deepmerge';
|
|
37
|
-
import '
|
|
38
|
-
import '../../../../useAndroidServiceAccountTestResult-
|
|
39
|
-
import '../../../../useWebSocket-
|
|
40
|
-
import '../../../../
|
|
36
|
+
import 'ini';
|
|
37
|
+
import '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
|
|
38
|
+
import '../../../../useWebSocket-5PYa2QER.js';
|
|
39
|
+
import '../../../../index-CGBdOm1q.js';
|
|
40
|
+
import '../../../../Command-WPpmLPkL.js';
|
|
41
41
|
|
|
42
42
|
class GameAndroidApiKeyConnect extends BaseGameAndroidCommand {
|
|
43
43
|
static args = {};
|
|
@@ -49,8 +49,8 @@ class GameAndroidApiKeyConnect extends BaseGameAndroidCommand {
|
|
|
49
49
|
];
|
|
50
50
|
static flags = {
|
|
51
51
|
...BaseGameAndroidCommand.flags,
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
disconnect: Flags.boolean({ char: "d" }),
|
|
53
|
+
force: Flags.boolean({ char: "f" })
|
|
54
54
|
};
|
|
55
55
|
async run() {
|
|
56
56
|
const googleStatus = await getGoogleStatus();
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { render } from 'ink';
|
|
3
2
|
import { Flags } from '@oclif/core';
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
import { P as Platform, C as CredentialsType } from '../../../../index-DxzXU9Hd.js';
|
|
7
|
-
import 'ink-spinner';
|
|
3
|
+
import { render } from 'ink';
|
|
4
|
+
import 'node:fs';
|
|
8
5
|
import 'axios';
|
|
9
6
|
import 'crypto-js';
|
|
10
7
|
import 'uuid';
|
|
11
|
-
import '
|
|
8
|
+
import { P as Platform, C as CredentialsType } from '../../../../index-BhhiXbey.js';
|
|
12
9
|
import 'luxon';
|
|
13
|
-
import { a as getProjectCredentials } from '../../../../index-
|
|
14
|
-
import '
|
|
15
|
-
import '
|
|
16
|
-
import 'yazl';
|
|
17
|
-
import 'crypto';
|
|
18
|
-
import 'readline-sync';
|
|
19
|
-
import 'node:readline';
|
|
10
|
+
import { a as getProjectCredentials } from '../../../../index-CtTI85m-.js';
|
|
11
|
+
import 'ink-spinner';
|
|
12
|
+
import 'node:crypto';
|
|
20
13
|
import 'node:path';
|
|
14
|
+
import 'node:readline';
|
|
21
15
|
import 'node:url';
|
|
16
|
+
import 'readline-sync';
|
|
22
17
|
import 'isomorphic-git';
|
|
18
|
+
import '@tanstack/react-query';
|
|
19
|
+
import 'react';
|
|
23
20
|
import 'fast-glob';
|
|
21
|
+
import 'yazl';
|
|
24
22
|
import 'socket.io-client';
|
|
23
|
+
import 'fullscreen-ink';
|
|
24
|
+
import 'string-length';
|
|
25
|
+
import 'strip-ansi';
|
|
25
26
|
import 'open';
|
|
27
|
+
import '@inkjs/ui';
|
|
26
28
|
import 'marked';
|
|
27
29
|
import 'marked-terminal';
|
|
28
|
-
import 'path';
|
|
29
30
|
import 'qrcode';
|
|
30
|
-
import '
|
|
31
|
-
import '
|
|
32
|
-
import { C as
|
|
33
|
-
import {
|
|
34
|
-
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-SrDRbhAG.js';
|
|
35
|
-
import '../../../../index-35Eswf6F.js';
|
|
36
|
-
import '../../../../useAndroidServiceAccountTestResult-CJLIEYmA.js';
|
|
31
|
+
import '../../../../index-C66Dd8Xc.js';
|
|
32
|
+
import { C as CreateServiceAccountKey } from '../../../../index-CS9Gwcb0.js';
|
|
33
|
+
import { C as CommandGame } from '../../../../CommandGame-cxzWG4nT.js';
|
|
34
|
+
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-CsemgVjp.js';
|
|
37
35
|
import '@expo/apple-utils/build/index.js';
|
|
38
|
-
import 'ini';
|
|
39
36
|
import 'deepmerge';
|
|
40
|
-
import '
|
|
41
|
-
import '../../../../
|
|
42
|
-
import '../../../../
|
|
43
|
-
import '../../../../
|
|
37
|
+
import 'ini';
|
|
38
|
+
import '../../../../index-CGBdOm1q.js';
|
|
39
|
+
import '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
|
|
40
|
+
import '../../../../useWebSocket-5PYa2QER.js';
|
|
41
|
+
import '../../../../useProjectCredentials-BEphqa18.js';
|
|
42
|
+
import '../../../../ProgressSpinner-DGcakQSK.js';
|
|
43
|
+
import '../../../../Command-WPpmLPkL.js';
|
|
44
44
|
|
|
45
45
|
class GameAndroidApiKeyCreate extends BaseGameAndroidCommand {
|
|
46
46
|
static args = {};
|
|
@@ -51,8 +51,8 @@ class GameAndroidApiKeyCreate extends BaseGameAndroidCommand {
|
|
|
51
51
|
];
|
|
52
52
|
static flags = {
|
|
53
53
|
...BaseGameAndroidCommand.flags,
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
force: Flags.boolean({ char: "f" }),
|
|
55
|
+
waitForAuth: Flags.boolean({ char: "w", description: "Wait for Google Authentication (10 mins)." })
|
|
56
56
|
};
|
|
57
57
|
async run() {
|
|
58
58
|
const game = await this.getGame();
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import * as fs from 'node:fs';
|
|
2
3
|
import { Args, Flags } from '@oclif/core';
|
|
3
4
|
import { render } from 'ink';
|
|
4
|
-
import
|
|
5
|
-
import { P as Platform, C as CredentialsType } from '../../../../index-
|
|
6
|
-
import { a as getProjectCredentials } from '../../../../index-u1aj1OQW.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import '../../../../index-BTAL7EB_.js';
|
|
5
|
+
import { a as getProjectCredentials } from '../../../../index-CtTI85m-.js';
|
|
6
|
+
import { P as Platform, C as CredentialsType } from '../../../../index-BhhiXbey.js';
|
|
9
7
|
import 'ink-spinner';
|
|
10
|
-
import '
|
|
11
|
-
import 'crypto-js';
|
|
12
|
-
import 'uuid';
|
|
13
|
-
import 'luxon';
|
|
14
|
-
import '@inkjs/ui';
|
|
15
|
-
import '@tanstack/react-query';
|
|
16
|
-
import 'yazl';
|
|
17
|
-
import 'crypto';
|
|
18
|
-
import 'readline-sync';
|
|
19
|
-
import 'node:readline';
|
|
8
|
+
import 'node:crypto';
|
|
20
9
|
import 'node:path';
|
|
10
|
+
import 'node:readline';
|
|
21
11
|
import 'node:url';
|
|
12
|
+
import 'readline-sync';
|
|
13
|
+
import 'luxon';
|
|
14
|
+
import 'axios';
|
|
22
15
|
import 'isomorphic-git';
|
|
16
|
+
import '@tanstack/react-query';
|
|
17
|
+
import 'react';
|
|
18
|
+
import 'crypto-js';
|
|
19
|
+
import 'uuid';
|
|
23
20
|
import 'fast-glob';
|
|
21
|
+
import 'yazl';
|
|
24
22
|
import 'socket.io-client';
|
|
23
|
+
import 'fullscreen-ink';
|
|
24
|
+
import 'string-length';
|
|
25
|
+
import 'strip-ansi';
|
|
25
26
|
import 'open';
|
|
27
|
+
import '@inkjs/ui';
|
|
26
28
|
import 'marked';
|
|
27
29
|
import 'marked-terminal';
|
|
28
|
-
import 'path';
|
|
29
30
|
import 'qrcode';
|
|
30
|
-
import { R as RunWithSpinner } from '../../../../RunWithSpinner-
|
|
31
|
-
import '
|
|
32
|
-
import '
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { e as exportCredential } from '../../../../export-BKn02-NH.js';
|
|
31
|
+
import { R as RunWithSpinner } from '../../../../RunWithSpinner-gMVA07bZ.js';
|
|
32
|
+
import '../../../../index-C66Dd8Xc.js';
|
|
33
|
+
import { C as Command } from '../../../../Command-WPpmLPkL.js';
|
|
34
|
+
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-CsemgVjp.js';
|
|
35
|
+
import { e as exportCredential } from '../../../../export-CXsVPXA1.js';
|
|
36
36
|
import '@expo/apple-utils/build/index.js';
|
|
37
|
-
import 'ini';
|
|
38
37
|
import 'deepmerge';
|
|
39
|
-
import '
|
|
40
|
-
import '../../../../
|
|
38
|
+
import 'ini';
|
|
39
|
+
import '../../../../index-CGBdOm1q.js';
|
|
40
|
+
import '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
|
|
41
41
|
|
|
42
42
|
class GameAndroidApiKeyExport extends BaseGameAndroidCommand {
|
|
43
43
|
static args = {
|
|
@@ -46,8 +46,8 @@ class GameAndroidApiKeyExport extends BaseGameAndroidCommand {
|
|
|
46
46
|
static description = "Saves the current Android Service Account API Key to a ZIP file";
|
|
47
47
|
static examples = ["<%= config.bin %> <%= command.id %> keyStore.zip"];
|
|
48
48
|
static flags = {
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
force: Flags.boolean({ char: "f", description: "Overwrite the file if it already exists" }),
|
|
50
|
+
gameId: Flags.string({ char: "g", description: "The ID of the game" })
|
|
51
51
|
};
|
|
52
52
|
async run() {
|
|
53
53
|
const { args, flags } = this;
|
|
@@ -71,9 +71,9 @@ class GameAndroidApiKeyExport extends BaseGameAndroidCommand {
|
|
|
71
71
|
/* @__PURE__ */ jsx(Command, { command: this, children: /* @__PURE__ */ jsx(
|
|
72
72
|
RunWithSpinner,
|
|
73
73
|
{
|
|
74
|
-
|
|
74
|
+
executeMethod: () => exportCredential({ credentialId: apiKey.id, projectId: game.id, zipPath: file }),
|
|
75
75
|
msgComplete: `Android Service Account API Key exported to ${file}`,
|
|
76
|
-
|
|
76
|
+
msgInProgress: `Exporting Android Service Account API Key to ${file}...`,
|
|
77
77
|
onComplete: handleComplete
|
|
78
78
|
}
|
|
79
79
|
) })
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import * as fs from 'node:fs';
|
|
2
3
|
import { Args, Flags } from '@oclif/core';
|
|
3
4
|
import { render } from 'ink';
|
|
4
|
-
import
|
|
5
|
-
import { P as Platform, C as CredentialsType } from '../../../../index-
|
|
6
|
-
import { a as getProjectCredentials } from '../../../../index-u1aj1OQW.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import '../../../../index-BTAL7EB_.js';
|
|
5
|
+
import { a as getProjectCredentials } from '../../../../index-CtTI85m-.js';
|
|
6
|
+
import { P as Platform, C as CredentialsType } from '../../../../index-BhhiXbey.js';
|
|
9
7
|
import 'ink-spinner';
|
|
10
|
-
import '
|
|
11
|
-
import 'crypto-js';
|
|
12
|
-
import 'uuid';
|
|
13
|
-
import 'luxon';
|
|
14
|
-
import '@inkjs/ui';
|
|
15
|
-
import '@tanstack/react-query';
|
|
16
|
-
import 'yazl';
|
|
17
|
-
import 'crypto';
|
|
18
|
-
import 'readline-sync';
|
|
19
|
-
import 'node:readline';
|
|
8
|
+
import 'node:crypto';
|
|
20
9
|
import 'node:path';
|
|
10
|
+
import 'node:readline';
|
|
21
11
|
import 'node:url';
|
|
12
|
+
import 'readline-sync';
|
|
13
|
+
import 'luxon';
|
|
14
|
+
import 'axios';
|
|
22
15
|
import 'isomorphic-git';
|
|
16
|
+
import '@tanstack/react-query';
|
|
17
|
+
import 'react';
|
|
18
|
+
import 'crypto-js';
|
|
19
|
+
import 'uuid';
|
|
23
20
|
import 'fast-glob';
|
|
21
|
+
import 'yazl';
|
|
24
22
|
import 'socket.io-client';
|
|
23
|
+
import 'fullscreen-ink';
|
|
24
|
+
import 'string-length';
|
|
25
|
+
import 'strip-ansi';
|
|
25
26
|
import 'open';
|
|
27
|
+
import '@inkjs/ui';
|
|
26
28
|
import 'marked';
|
|
27
29
|
import 'marked-terminal';
|
|
28
|
-
import 'path';
|
|
29
30
|
import 'qrcode';
|
|
30
|
-
import { R as RunWithSpinner } from '../../../../RunWithSpinner-
|
|
31
|
-
import '
|
|
32
|
-
import '
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { i as importCredential } from '../../../../import-CRMaNBVF.js';
|
|
31
|
+
import { R as RunWithSpinner } from '../../../../RunWithSpinner-gMVA07bZ.js';
|
|
32
|
+
import '../../../../index-C66Dd8Xc.js';
|
|
33
|
+
import { C as Command } from '../../../../Command-WPpmLPkL.js';
|
|
34
|
+
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-CsemgVjp.js';
|
|
35
|
+
import { i as importCredential } from '../../../../import-DGvG5REx.js';
|
|
36
36
|
import '@expo/apple-utils/build/index.js';
|
|
37
|
-
import 'ini';
|
|
38
37
|
import 'deepmerge';
|
|
39
|
-
import '
|
|
40
|
-
import '../../../../
|
|
38
|
+
import 'ini';
|
|
39
|
+
import '../../../../index-CGBdOm1q.js';
|
|
40
|
+
import '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
|
|
41
41
|
|
|
42
42
|
class GameAndroidApiKeyImport extends BaseGameAndroidCommand {
|
|
43
43
|
static args = {
|
|
@@ -49,8 +49,8 @@ class GameAndroidApiKeyImport extends BaseGameAndroidCommand {
|
|
|
49
49
|
static description = "Imports an Android Service Account API Key to your ShipThis account for the specified game.";
|
|
50
50
|
static examples = ["<%= config.bin %> <%= command.id %>"];
|
|
51
51
|
static flags = {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
force: Flags.boolean({ char: "f" }),
|
|
53
|
+
gameId: Flags.string({ char: "g", description: "The ID of the game" })
|
|
54
54
|
};
|
|
55
55
|
async run() {
|
|
56
56
|
const game = await this.getGame();
|
|
@@ -75,14 +75,14 @@ class GameAndroidApiKeyImport extends BaseGameAndroidCommand {
|
|
|
75
75
|
/* @__PURE__ */ jsx(Command, { command: this, children: /* @__PURE__ */ jsx(
|
|
76
76
|
RunWithSpinner,
|
|
77
77
|
{
|
|
78
|
-
msgInProgress: `Importing Android Service Account API Key from ${file}...`,
|
|
79
|
-
msgComplete: `Android Service Account API Key imported from ${file}`,
|
|
80
78
|
executeMethod: () => importCredential({
|
|
79
|
+
platform: Platform.ANDROID,
|
|
81
80
|
projectId: game.id,
|
|
82
|
-
zipPath: file,
|
|
83
81
|
type: CredentialsType.KEY,
|
|
84
|
-
|
|
82
|
+
zipPath: file
|
|
85
83
|
}),
|
|
84
|
+
msgComplete: `Android Service Account API Key imported from ${file}`,
|
|
85
|
+
msgInProgress: `Importing Android Service Account API Key from ${file}...`,
|
|
86
86
|
onComplete: handleComplete
|
|
87
87
|
}
|
|
88
88
|
) })
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { Args, Flags } from '@oclif/core';
|
|
2
|
-
import { S as inviteServiceAccount } from '../../../../index-
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-
|
|
6
|
-
import '
|
|
7
|
-
import 'fs';
|
|
8
|
-
import '@expo/apple-utils/build/index.js';
|
|
2
|
+
import { S as inviteServiceAccount } from '../../../../index-BhhiXbey.js';
|
|
3
|
+
import { a as getInput } from '../../../../index-CGBdOm1q.js';
|
|
4
|
+
import { f as fetchKeyTestResult, K as KeyTestStatus, a as KeyTestError, n as niceError } from '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
|
|
5
|
+
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-CsemgVjp.js';
|
|
6
|
+
import 'node:fs';
|
|
9
7
|
import 'axios';
|
|
10
8
|
import 'crypto-js';
|
|
11
9
|
import 'uuid';
|
|
12
10
|
import 'luxon';
|
|
13
|
-
import 'crypto';
|
|
14
|
-
import 'readline-sync';
|
|
15
|
-
import 'node:readline';
|
|
16
11
|
import 'node:path';
|
|
12
|
+
import '@expo/apple-utils/build/index.js';
|
|
13
|
+
import 'node:crypto';
|
|
14
|
+
import 'node:readline';
|
|
17
15
|
import 'node:url';
|
|
16
|
+
import 'readline-sync';
|
|
18
17
|
import 'isomorphic-git';
|
|
19
|
-
import 'ini';
|
|
20
18
|
import 'deepmerge';
|
|
21
|
-
import '
|
|
19
|
+
import 'ini';
|
|
22
20
|
import '@tanstack/react-query';
|
|
21
|
+
import 'react';
|
|
23
22
|
import 'fast-glob';
|
|
24
23
|
import 'yazl';
|
|
25
24
|
import 'socket.io-client';
|
|
25
|
+
import 'fullscreen-ink';
|
|
26
26
|
|
|
27
27
|
class GameAndroidApiKeyInvite extends BaseGameAndroidCommand {
|
|
28
28
|
static args = {
|
|
@@ -33,8 +33,8 @@ class GameAndroidApiKeyInvite extends BaseGameAndroidCommand {
|
|
|
33
33
|
static flags = {
|
|
34
34
|
...BaseGameAndroidCommand.flags,
|
|
35
35
|
prompt: Flags.boolean({ char: "p", description: "Prompt for the Google Play Account ID" }),
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
waitForAuth: Flags.boolean({ char: "w", description: "Wait for Google Authentication (10 mins)." }),
|
|
37
|
+
waitForGoogleApp: Flags.boolean({ char: "p", description: "Waits for the Google Play app to be created (10 mins)." })
|
|
38
38
|
};
|
|
39
39
|
async run() {
|
|
40
40
|
const game = await this.getGame();
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { render } from 'ink';
|
|
3
2
|
import { Flags } from '@oclif/core';
|
|
4
|
-
import '
|
|
5
|
-
import '../../../../index-
|
|
6
|
-
import { P as Platform, C as CredentialsType } from '../../../../index-DxzXU9Hd.js';
|
|
3
|
+
import { render } from 'ink';
|
|
4
|
+
import { C as CredentialsType, P as Platform } from '../../../../index-BhhiXbey.js';
|
|
7
5
|
import 'ink-spinner';
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
10
|
-
import 'uuid';
|
|
11
|
-
import 'fs';
|
|
12
|
-
import 'luxon';
|
|
13
|
-
import '@inkjs/ui';
|
|
14
|
-
import '@tanstack/react-query';
|
|
15
|
-
import 'yazl';
|
|
16
|
-
import 'crypto';
|
|
17
|
-
import 'readline-sync';
|
|
18
|
-
import 'node:readline';
|
|
6
|
+
import 'node:crypto';
|
|
7
|
+
import 'node:fs';
|
|
19
8
|
import 'node:path';
|
|
9
|
+
import 'node:readline';
|
|
20
10
|
import 'node:url';
|
|
11
|
+
import 'readline-sync';
|
|
12
|
+
import 'luxon';
|
|
13
|
+
import 'axios';
|
|
21
14
|
import 'isomorphic-git';
|
|
22
|
-
import
|
|
15
|
+
import '@tanstack/react-query';
|
|
16
|
+
import 'react';
|
|
17
|
+
import 'crypto-js';
|
|
18
|
+
import 'uuid';
|
|
19
|
+
import { f as fetchKeyTestResult, n as niceError, K as KeyTestStatus } from '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
|
|
23
20
|
import 'fast-glob';
|
|
21
|
+
import 'yazl';
|
|
24
22
|
import 'socket.io-client';
|
|
25
|
-
import '
|
|
23
|
+
import 'fullscreen-ink';
|
|
24
|
+
import { T as Table } from '../../../../Table-FaNgpyeq.js';
|
|
26
25
|
import { T as Title } from '../../../../Title-BCQtayg6.js';
|
|
26
|
+
import 'string-length';
|
|
27
|
+
import 'strip-ansi';
|
|
28
|
+
import { P as ProjectCredentialsTable } from '../../../../ProjectCredentialsTable-B5pHOnGu.js';
|
|
29
|
+
import 'open';
|
|
30
|
+
import '@inkjs/ui';
|
|
27
31
|
import 'marked';
|
|
28
32
|
import 'marked-terminal';
|
|
29
|
-
import 'path';
|
|
30
33
|
import 'qrcode';
|
|
31
|
-
import
|
|
32
|
-
import '
|
|
33
|
-
import '
|
|
34
|
-
import { C as Command } from '../../../../Command-1p5alCz3.js';
|
|
35
|
-
import { P as ProjectCredentialsTable } from '../../../../ProjectCredentialsTable-DyZep993.js';
|
|
36
|
-
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-SrDRbhAG.js';
|
|
37
|
-
import '../../../../index-35Eswf6F.js';
|
|
34
|
+
import '../../../../index-C66Dd8Xc.js';
|
|
35
|
+
import { C as Command } from '../../../../Command-WPpmLPkL.js';
|
|
36
|
+
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-CsemgVjp.js';
|
|
38
37
|
import '@expo/apple-utils/build/index.js';
|
|
39
|
-
import 'ini';
|
|
40
38
|
import 'deepmerge';
|
|
41
|
-
import '
|
|
39
|
+
import 'ini';
|
|
40
|
+
import '../../../../useProjectCredentials-BEphqa18.js';
|
|
41
|
+
import '../../../../index-CGBdOm1q.js';
|
|
42
42
|
|
|
43
43
|
class GameAndroidApiKeyStatus extends BaseGameAndroidCommand {
|
|
44
44
|
static args = {};
|
|
@@ -60,9 +60,9 @@ class GameAndroidApiKeyStatus extends BaseGameAndroidCommand {
|
|
|
60
60
|
{
|
|
61
61
|
credentialTypeName: "Android Service Account API Key",
|
|
62
62
|
queryProps: {
|
|
63
|
+
platform: Platform.ANDROID,
|
|
63
64
|
projectId: game.id,
|
|
64
|
-
type: CredentialsType.KEY
|
|
65
|
-
platform: Platform.ANDROID
|
|
65
|
+
type: CredentialsType.KEY
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
),
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { render } from 'ink';
|
|
3
2
|
import { Flags } from '@oclif/core';
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
import { P as Platform, C as CredentialsType } from '../../../../index-DxzXU9Hd.js';
|
|
7
|
-
import 'ink-spinner';
|
|
3
|
+
import { render } from 'ink';
|
|
4
|
+
import 'node:fs';
|
|
8
5
|
import 'axios';
|
|
9
6
|
import 'crypto-js';
|
|
10
7
|
import 'uuid';
|
|
11
|
-
import '
|
|
8
|
+
import { P as Platform, C as CredentialsType } from '../../../../index-BhhiXbey.js';
|
|
12
9
|
import 'luxon';
|
|
13
|
-
import { a as getProjectCredentials } from '../../../../index-
|
|
14
|
-
import '
|
|
15
|
-
import
|
|
16
|
-
import 'yazl';
|
|
17
|
-
import '@tanstack/react-query';
|
|
18
|
-
import 'crypto';
|
|
19
|
-
import 'readline-sync';
|
|
20
|
-
import 'node:readline';
|
|
10
|
+
import { a as getProjectCredentials } from '../../../../index-CtTI85m-.js';
|
|
11
|
+
import 'ink-spinner';
|
|
12
|
+
import 'node:crypto';
|
|
21
13
|
import 'node:path';
|
|
14
|
+
import 'node:readline';
|
|
22
15
|
import 'node:url';
|
|
16
|
+
import 'readline-sync';
|
|
23
17
|
import 'isomorphic-git';
|
|
18
|
+
import '@tanstack/react-query';
|
|
19
|
+
import 'react';
|
|
24
20
|
import 'fast-glob';
|
|
21
|
+
import 'yazl';
|
|
25
22
|
import 'socket.io-client';
|
|
23
|
+
import 'fullscreen-ink';
|
|
24
|
+
import 'string-length';
|
|
25
|
+
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
|
+
import '@inkjs/ui';
|
|
27
28
|
import 'marked';
|
|
28
29
|
import 'marked-terminal';
|
|
29
|
-
import 'path';
|
|
30
30
|
import 'qrcode';
|
|
31
|
-
import '
|
|
32
|
-
import '
|
|
33
|
-
import { C as CommandGame } from '../../../../CommandGame-
|
|
34
|
-
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-
|
|
35
|
-
import '../../../../index-35Eswf6F.js';
|
|
36
|
-
import '../../../../useAndroidServiceAccountTestResult-CJLIEYmA.js';
|
|
31
|
+
import '../../../../index-C66Dd8Xc.js';
|
|
32
|
+
import { C as CreateKeystore } from '../../../../Create-3Ob8sjik.js';
|
|
33
|
+
import { C as CommandGame } from '../../../../CommandGame-cxzWG4nT.js';
|
|
34
|
+
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-CsemgVjp.js';
|
|
37
35
|
import '@expo/apple-utils/build/index.js';
|
|
38
|
-
import 'ini';
|
|
39
36
|
import 'deepmerge';
|
|
40
|
-
import '
|
|
41
|
-
import '../../../../
|
|
37
|
+
import 'ini';
|
|
38
|
+
import '../../../../index-CGBdOm1q.js';
|
|
39
|
+
import '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
|
|
40
|
+
import '../../../../RunWithSpinner-gMVA07bZ.js';
|
|
41
|
+
import '../../../../Command-WPpmLPkL.js';
|
|
42
42
|
|
|
43
43
|
class GameAndroidKeyStoreCreate extends BaseGameAndroidCommand {
|
|
44
44
|
static args = {};
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import * as fs from 'node:fs';
|
|
2
3
|
import { Args, Flags } from '@oclif/core';
|
|
3
4
|
import { render } from 'ink';
|
|
4
|
-
import
|
|
5
|
-
import { c as BaseGameCommand, P as Platform, C as CredentialsType } from '../../../../index-
|
|
6
|
-
import { a as getProjectCredentials } from '../../../../index-u1aj1OQW.js';
|
|
7
|
-
import 'react';
|
|
8
|
-
import '../../../../index-BTAL7EB_.js';
|
|
5
|
+
import { a as getProjectCredentials } from '../../../../index-CtTI85m-.js';
|
|
6
|
+
import { c as BaseGameCommand, P as Platform, C as CredentialsType } from '../../../../index-BhhiXbey.js';
|
|
9
7
|
import 'ink-spinner';
|
|
10
|
-
import '
|
|
11
|
-
import 'crypto-js';
|
|
12
|
-
import 'uuid';
|
|
13
|
-
import 'luxon';
|
|
14
|
-
import '@inkjs/ui';
|
|
15
|
-
import '@tanstack/react-query';
|
|
16
|
-
import 'yazl';
|
|
17
|
-
import 'crypto';
|
|
18
|
-
import 'readline-sync';
|
|
19
|
-
import 'node:readline';
|
|
8
|
+
import 'node:crypto';
|
|
20
9
|
import 'node:path';
|
|
10
|
+
import 'node:readline';
|
|
21
11
|
import 'node:url';
|
|
12
|
+
import 'readline-sync';
|
|
13
|
+
import 'luxon';
|
|
14
|
+
import 'axios';
|
|
22
15
|
import 'isomorphic-git';
|
|
16
|
+
import '@tanstack/react-query';
|
|
17
|
+
import 'react';
|
|
18
|
+
import 'crypto-js';
|
|
19
|
+
import 'uuid';
|
|
23
20
|
import 'fast-glob';
|
|
21
|
+
import 'yazl';
|
|
24
22
|
import 'socket.io-client';
|
|
23
|
+
import 'fullscreen-ink';
|
|
24
|
+
import 'string-length';
|
|
25
|
+
import 'strip-ansi';
|
|
25
26
|
import 'open';
|
|
27
|
+
import '@inkjs/ui';
|
|
26
28
|
import 'marked';
|
|
27
29
|
import 'marked-terminal';
|
|
28
|
-
import 'path';
|
|
29
30
|
import 'qrcode';
|
|
30
|
-
import { R as RunWithSpinner } from '../../../../RunWithSpinner-
|
|
31
|
-
import '
|
|
32
|
-
import '
|
|
33
|
-
import {
|
|
34
|
-
import { e as exportCredential } from '../../../../export-BKn02-NH.js';
|
|
31
|
+
import { R as RunWithSpinner } from '../../../../RunWithSpinner-gMVA07bZ.js';
|
|
32
|
+
import '../../../../index-C66Dd8Xc.js';
|
|
33
|
+
import { C as Command } from '../../../../Command-WPpmLPkL.js';
|
|
34
|
+
import { e as exportCredential } from '../../../../export-CXsVPXA1.js';
|
|
35
35
|
import '@expo/apple-utils/build/index.js';
|
|
36
|
-
import 'ini';
|
|
37
36
|
import 'deepmerge';
|
|
38
|
-
import '
|
|
39
|
-
import '../../../../
|
|
37
|
+
import 'ini';
|
|
38
|
+
import '../../../../index-CGBdOm1q.js';
|
|
39
|
+
import '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
|
|
40
40
|
|
|
41
41
|
class GameAndroidKeyStoreExport extends BaseGameCommand {
|
|
42
42
|
static args = {
|
|
@@ -45,8 +45,8 @@ class GameAndroidKeyStoreExport extends BaseGameCommand {
|
|
|
45
45
|
static description = "Saves the current Android Keystore to a ZIP file";
|
|
46
46
|
static examples = ["<%= config.bin %> <%= command.id %> keyStore.zip"];
|
|
47
47
|
static flags = {
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
force: Flags.boolean({ char: "f", description: "Overwrite the file if it already exists" }),
|
|
49
|
+
gameId: Flags.string({ char: "g", description: "The ID of the game" })
|
|
50
50
|
};
|
|
51
51
|
async run() {
|
|
52
52
|
const { args, flags } = this;
|
|
@@ -70,9 +70,9 @@ class GameAndroidKeyStoreExport extends BaseGameCommand {
|
|
|
70
70
|
/* @__PURE__ */ jsx(Command, { command: this, children: /* @__PURE__ */ jsx(
|
|
71
71
|
RunWithSpinner,
|
|
72
72
|
{
|
|
73
|
-
|
|
73
|
+
executeMethod: () => exportCredential({ credentialId: keyStore.id, projectId: game.id, zipPath: file }),
|
|
74
74
|
msgComplete: `Android Keystore exported to ${file}`,
|
|
75
|
-
|
|
75
|
+
msgInProgress: `Exporting Android Keystore to ${file}...`,
|
|
76
76
|
onComplete: handleComplete
|
|
77
77
|
}
|
|
78
78
|
) })
|