shipthis 0.1.31 → 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.
Files changed (84) hide show
  1. package/dist/{AppleBundleIdDetails-eoK5F8Qn.js → AppleBundleIdDetails-6H3cNWxw.js} +17 -19
  2. package/dist/Command-WPpmLPkL.js +29 -0
  3. package/dist/CommandGame-cxzWG4nT.js +7 -0
  4. package/dist/{Create-ISdroJ3G.js → Create-3Ob8sjik.js} +20 -20
  5. package/dist/GameStatus-BQEtVKvv.js +137 -0
  6. package/dist/{Import-CfThJF6k.js → Import-CFuPDI0K.js} +33 -35
  7. package/dist/{JobLogTail-BWzbQBZz.js → JobLogTail-0CBLoG8N.js} +53 -52
  8. package/dist/{JobProgress-DjIkuk5U.js → JobProgress-lKqVT88m.js} +35 -36
  9. package/dist/{JobStatusTable-CEqWU73q.js → JobStatusTable-C_ZsZJCm.js} +14 -13
  10. package/dist/{NextSteps-CK9zHOCt.js → NextSteps-DbJHmscQ.js} +1 -3
  11. package/dist/{ProgressSpinner-6pw1T8Iw.js → ProgressSpinner-DGcakQSK.js} +1 -1
  12. package/dist/{ProjectCredentialsTable-u9ruZ9mN.js → ProjectCredentialsTable-B5pHOnGu.js} +11 -10
  13. package/dist/{StatusTable-Dm5St4g-.js → StatusTable-DzRWcMr4.js} +7 -9
  14. package/dist/{Table-CvM6pccN.js → Table-FaNgpyeq.js} +15 -15
  15. package/dist/{UserCredentialsTable-Q7u9M-ap.js → UserCredentialsTable-3W3qesh7.js} +18 -19
  16. package/dist/{baseAppleCommand-zhkGlKq0.js → baseAppleCommand-BGV088--.js} +1 -1
  17. package/dist/{baseGameAndroidCommand-DJ-cMLa_.js → baseGameAndroidCommand-CsemgVjp.js} +23 -23
  18. package/dist/commands/apple/apiKey/create.js +35 -35
  19. package/dist/commands/apple/apiKey/export.js +26 -26
  20. package/dist/commands/apple/apiKey/import.js +27 -27
  21. package/dist/commands/apple/apiKey/status.js +31 -31
  22. package/dist/commands/apple/certificate/create.js +39 -39
  23. package/dist/commands/apple/certificate/export.js +26 -26
  24. package/dist/commands/apple/certificate/import.js +27 -27
  25. package/dist/commands/apple/certificate/status.js +31 -31
  26. package/dist/commands/apple/login.js +15 -16
  27. package/dist/commands/apple/status.js +27 -27
  28. package/dist/commands/dashboard.js +10 -11
  29. package/dist/commands/game/android/apiKey/connect.js +28 -28
  30. package/dist/commands/game/android/apiKey/create.js +28 -28
  31. package/dist/commands/game/android/apiKey/export.js +29 -29
  32. package/dist/commands/game/android/apiKey/import.js +31 -31
  33. package/dist/commands/game/android/apiKey/invite.js +14 -15
  34. package/dist/commands/game/android/apiKey/status.js +29 -29
  35. package/dist/commands/game/android/keyStore/create.js +24 -24
  36. package/dist/commands/game/android/keyStore/export.js +28 -28
  37. package/dist/commands/game/android/keyStore/import.js +35 -35
  38. package/dist/commands/game/android/keyStore/status.js +26 -26
  39. package/dist/commands/game/android/status.js +14 -58
  40. package/dist/commands/game/build/download.js +24 -24
  41. package/dist/commands/game/build/list.js +37 -37
  42. package/dist/commands/game/create.js +15 -16
  43. package/dist/commands/game/details.js +35 -36
  44. package/dist/commands/game/export.js +12 -13
  45. package/dist/commands/game/ios/app/addTester.js +24 -24
  46. package/dist/commands/game/ios/app/create.js +24 -24
  47. package/dist/commands/game/ios/app/status.js +29 -29
  48. package/dist/commands/game/ios/app/sync.js +31 -31
  49. package/dist/commands/game/ios/profile/create.js +30 -30
  50. package/dist/commands/game/ios/profile/export.js +28 -28
  51. package/dist/commands/game/ios/profile/import.js +32 -32
  52. package/dist/commands/game/ios/profile/status.js +36 -36
  53. package/dist/commands/game/ios/status.js +46 -58
  54. package/dist/commands/game/ios/wizard.js +31 -31
  55. package/dist/commands/game/job/list.js +34 -34
  56. package/dist/commands/game/job/status.js +31 -31
  57. package/dist/commands/game/list.js +37 -39
  58. package/dist/commands/game/ship.js +73 -71
  59. package/dist/commands/game/status.js +38 -85
  60. package/dist/commands/game/wizard.js +250 -239
  61. package/dist/commands/internal/fastlane.js +15 -18
  62. package/dist/commands/internal/readme.js +38 -37
  63. package/dist/commands/login.js +14 -15
  64. package/dist/commands/status.js +32 -30
  65. package/dist/{export-DZxo2_e_.js → export-CXsVPXA1.js} +5 -5
  66. package/dist/{git-DREGq-jc.js → git-BpsfNFZ_.js} +8 -8
  67. package/dist/{import-8pL1AF47.js → import-DGvG5REx.js} +14 -14
  68. package/dist/{index-w3lHxk5O.js → index-BhhiXbey.js} +240 -224
  69. package/dist/{index-BHh0BZvD.js → index-C03TV1_J.js} +37 -55
  70. package/dist/{index-CyvGh-kt.js → index-C66Dd8Xc.js} +77 -87
  71. package/dist/{index-DJ078v-U.js → index-CGBdOm1q.js} +43 -28
  72. package/dist/{index-DKQjnJrC.js → index-CS9Gwcb0.js} +41 -43
  73. package/dist/{index-C6aAyrXW.js → index-CtTI85m-.js} +6 -6
  74. package/dist/{upload-BTpxj3QP.js → upload-8y5MQEm9.js} +22 -22
  75. package/dist/{useAndroidServiceAccountTestResult-Dy3Ag7_r.js → useAndroidServiceAccountTestResult-DZk5SMxI.js} +11 -13
  76. package/dist/{useAppleApp-h1Ogi_qc.js → useAppleApp-DWYGURwU.js} +4 -4
  77. package/dist/{useAppleBundleId-B3TTNap0.js → useAppleBundleId-PsTJ2g1B.js} +6 -6
  78. package/dist/{useProjectCredentials-DpeXZcHP.js → useProjectCredentials-BEphqa18.js} +10 -12
  79. package/dist/{useWebSocket-gyuCsore.js → useWebSocket-5PYa2QER.js} +1 -1
  80. package/dist/utils/help.js +4 -4
  81. package/package.json +4 -3
  82. package/dist/Command-DFdHXDiU.js +0 -44
  83. package/dist/CommandGame-Dif-oSky.js +0 -9
  84. package/dist/{RunWithSpinner-BVXNWGD3.js → RunWithSpinner-gMVA07bZ.js} +2 -2
@@ -1,29 +1,28 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
- import { R as inviteServiceAccount } from '../../../../index-w3lHxk5O.js';
3
- import { f as fetchKeyTestResult, K as KeyTestStatus, a as KeyTestError, n as niceError } from '../../../../useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
4
- import { a as getInput } from '../../../../index-DJ078v-U.js';
5
- import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-DJ-cMLa_.js';
6
- import 'path';
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 'react';
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';
26
- import 'ink';
25
+ import 'fullscreen-ink';
27
26
 
28
27
  class GameAndroidApiKeyInvite extends BaseGameAndroidCommand {
29
28
  static args = {
@@ -34,8 +33,8 @@ class GameAndroidApiKeyInvite extends BaseGameAndroidCommand {
34
33
  static flags = {
35
34
  ...BaseGameAndroidCommand.flags,
36
35
  prompt: Flags.boolean({ char: "p", description: "Prompt for the Google Play Account ID" }),
37
- waitForGoogleApp: Flags.boolean({ char: "p", description: "Waits for the Google Play app to be created (10 mins)." }),
38
- waitForAuth: Flags.boolean({ char: "w", description: "Wait for Google Authentication (10 mins)." })
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)." })
39
38
  };
40
39
  async run() {
41
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 'react';
5
- import '../../../../index-CyvGh-kt.js';
6
- import { P as Platform, C as CredentialsType } from '../../../../index-w3lHxk5O.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 'axios';
9
- import 'crypto-js';
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 { f as fetchKeyTestResult, n as niceError, K as KeyTestStatus } from '../../../../useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
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 'open';
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 { T as Table } from '../../../../Table-CvM6pccN.js';
32
- import 'string-length';
33
- import 'strip-ansi';
34
- import { C as Command } from '../../../../Command-DFdHXDiU.js';
35
- import { P as ProjectCredentialsTable } from '../../../../ProjectCredentialsTable-u9ruZ9mN.js';
36
- import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-DJ-cMLa_.js';
37
- import '../../../../index-DJ078v-U.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 '../../../../useProjectCredentials-DpeXZcHP.js';
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 'react';
5
- import '../../../../index-CyvGh-kt.js';
6
- import { P as Platform, C as CredentialsType } from '../../../../index-w3lHxk5O.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 'fs';
8
+ import { P as Platform, C as CredentialsType } from '../../../../index-BhhiXbey.js';
12
9
  import 'luxon';
13
- import { a as getProjectCredentials } from '../../../../index-C6aAyrXW.js';
14
- import '@inkjs/ui';
15
- import { C as CreateKeystore } from '../../../../Create-ISdroJ3G.js';
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 'string-length';
32
- import 'strip-ansi';
33
- import { C as CommandGame } from '../../../../CommandGame-Dif-oSky.js';
34
- import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-DJ-cMLa_.js';
35
- import '../../../../index-DJ078v-U.js';
36
- import '../../../../useAndroidServiceAccountTestResult-Dy3Ag7_r.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 '../../../../RunWithSpinner-BVXNWGD3.js';
41
- import '../../../../Command-DFdHXDiU.js';
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 * as fs from 'fs';
5
- import { c as BaseGameCommand, P as Platform, C as CredentialsType } from '../../../../index-w3lHxk5O.js';
6
- import { a as getProjectCredentials } from '../../../../index-C6aAyrXW.js';
7
- import 'react';
8
- import '../../../../index-CyvGh-kt.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 'axios';
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-BVXNWGD3.js';
31
- import 'string-length';
32
- import 'strip-ansi';
33
- import { C as Command } from '../../../../Command-DFdHXDiU.js';
34
- import { e as exportCredential } from '../../../../export-DZxo2_e_.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 '../../../../index-DJ078v-U.js';
39
- import '../../../../useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
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
- gameId: Flags.string({ char: "g", description: "The ID of the game" }),
49
- force: Flags.boolean({ char: "f", description: "Overwrite the file if it already exists" })
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
- msgInProgress: `Exporting Android Keystore to ${file}...`,
73
+ executeMethod: () => exportCredential({ credentialId: keyStore.id, projectId: game.id, zipPath: file }),
74
74
  msgComplete: `Android Keystore exported to ${file}`,
75
- executeMethod: () => exportCredential({ zipPath: file, credentialId: keyStore.id, projectId: game.id }),
75
+ msgInProgress: `Exporting Android Keystore to ${file}...`,
76
76
  onComplete: handleComplete
77
77
  }
78
78
  ) })
@@ -1,44 +1,44 @@
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 * as fs from 'fs';
5
- import { c as BaseGameCommand, P as Platform, C as CredentialsType } from '../../../../index-w3lHxk5O.js';
6
- import { a as getProjectCredentials } from '../../../../index-C6aAyrXW.js';
7
- import 'react';
8
- import '../../../../index-CyvGh-kt.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 'axios';
11
- import 'crypto-js';
12
- import 'uuid';
13
- import 'luxon';
14
- import '@inkjs/ui';
15
- import '@tanstack/react-query';
16
- import { I as ImportKeystore } from '../../../../Import-CfThJF6k.js';
17
- import 'open';
18
- import 'crypto';
19
- import 'readline-sync';
20
- import 'node:readline';
8
+ import 'node:crypto';
21
9
  import 'node:path';
10
+ import 'node:readline';
22
11
  import 'node:url';
12
+ import 'readline-sync';
13
+ import 'luxon';
14
+ import 'axios';
23
15
  import 'isomorphic-git';
16
+ import '@tanstack/react-query';
17
+ import 'react';
18
+ import 'crypto-js';
19
+ import 'uuid';
24
20
  import 'fast-glob';
25
21
  import 'yazl';
26
22
  import 'socket.io-client';
23
+ import 'fullscreen-ink';
24
+ import 'string-length';
25
+ import 'strip-ansi';
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 'string-length';
32
- import 'strip-ansi';
33
- import { C as CommandGame } from '../../../../CommandGame-Dif-oSky.js';
34
- import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-DJ-cMLa_.js';
31
+ import '../../../../index-C66Dd8Xc.js';
32
+ import { I as ImportKeystore } from '../../../../Import-CFuPDI0K.js';
33
+ import { C as CommandGame } from '../../../../CommandGame-cxzWG4nT.js';
34
+ import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-CsemgVjp.js';
35
35
  import '@expo/apple-utils/build/index.js';
36
- import 'ini';
37
36
  import 'deepmerge';
38
- import '../../../../index-DJ078v-U.js';
39
- import '../../../../useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
40
- import '../../../../import-8pL1AF47.js';
41
- import '../../../../Command-DFdHXDiU.js';
37
+ import 'ini';
38
+ import '../../../../index-CGBdOm1q.js';
39
+ import '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
40
+ import '../../../../import-DGvG5REx.js';
41
+ import '../../../../Command-WPpmLPkL.js';
42
42
 
43
43
  class GameAndroidKeyStoreImport extends BaseGameCommand {
44
44
  static args = {
@@ -54,16 +54,16 @@ class GameAndroidKeyStoreImport extends BaseGameCommand {
54
54
  ];
55
55
  static flags = {
56
56
  ...BaseGameAndroidCommand.flags,
57
- jksFile: Flags.string({ description: "Path to the JKS file to import (requires passwords)" }),
58
- keystorePassword: Flags.string({
59
- description: "Keystore password (required when using --jksFile)"
57
+ force: Flags.boolean({
58
+ char: "f",
59
+ description: "Overwrite any existing keystore without confirmation"
60
60
  }),
61
+ jksFile: Flags.string({ description: "Path to the JKS file to import (requires passwords)" }),
61
62
  keyPassword: Flags.string({
62
63
  description: "Key alias password (required when using --jksFile)"
63
64
  }),
64
- force: Flags.boolean({
65
- char: "f",
66
- description: "Overwrite any existing keystore without confirmation"
65
+ keystorePassword: Flags.string({
66
+ description: "Keystore password (required when using --jksFile)"
67
67
  })
68
68
  };
69
69
  async run() {
@@ -71,7 +71,7 @@ class GameAndroidKeyStoreImport extends BaseGameCommand {
71
71
  const { args, flags } = this;
72
72
  const zipFilePath = args.file;
73
73
  const jksFilePath = flags.jksFile;
74
- const { keystorePassword, keyPassword } = flags;
74
+ const { keyPassword, keystorePassword } = flags;
75
75
  if (!zipFilePath && !jksFilePath) {
76
76
  this.error("You must provide either a ZIP file or a JKS file to import.");
77
77
  }
@@ -100,9 +100,9 @@ class GameAndroidKeyStoreImport extends BaseGameCommand {
100
100
  /* @__PURE__ */ jsx(CommandGame, { command: this, children: /* @__PURE__ */ jsx(
101
101
  ImportKeystore,
102
102
  {
103
+ importKeystoreProps: { jksFilePath, keyPassword, keystorePassword, zipFilePath },
103
104
  onComplete: handleComplete,
104
- onError: (e) => this.error(e),
105
- importKeystoreProps: { zipFilePath, jksFilePath, keystorePassword, keyPassword }
105
+ onError: (e) => this.error(e)
106
106
  }
107
107
  ) })
108
108
  );
@@ -1,42 +1,42 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { render } from 'ink';
3
- import 'react';
4
- import '../../../../index-CyvGh-kt.js';
5
- import { c as BaseGameCommand, P as Platform, C as CredentialsType } from '../../../../index-w3lHxk5O.js';
3
+ import { c as BaseGameCommand, C as CredentialsType, P as Platform } from '../../../../index-BhhiXbey.js';
6
4
  import 'ink-spinner';
7
- import 'axios';
8
- import 'crypto-js';
9
- import 'uuid';
10
- import 'fs';
11
- import 'luxon';
12
- import '@inkjs/ui';
13
- import '@tanstack/react-query';
14
- import 'yazl';
15
- import 'crypto';
16
- import 'readline-sync';
17
- import 'node:readline';
5
+ import 'node:crypto';
6
+ import 'node:fs';
18
7
  import 'node:path';
8
+ import 'node:readline';
19
9
  import 'node:url';
10
+ import 'readline-sync';
11
+ import 'luxon';
12
+ import 'axios';
20
13
  import 'isomorphic-git';
21
14
  import '@oclif/core';
15
+ import '@tanstack/react-query';
16
+ import 'react';
17
+ import 'crypto-js';
18
+ import 'uuid';
22
19
  import 'fast-glob';
20
+ import 'yazl';
23
21
  import 'socket.io-client';
22
+ import 'fullscreen-ink';
23
+ import 'string-length';
24
+ import 'strip-ansi';
25
+ import { P as ProjectCredentialsTable } from '../../../../ProjectCredentialsTable-B5pHOnGu.js';
24
26
  import 'open';
27
+ import '@inkjs/ui';
25
28
  import 'marked';
26
29
  import 'marked-terminal';
27
- import 'path';
28
30
  import 'qrcode';
29
- import 'string-length';
30
- import 'strip-ansi';
31
- import { C as Command } from '../../../../Command-DFdHXDiU.js';
32
- import { P as ProjectCredentialsTable } from '../../../../ProjectCredentialsTable-u9ruZ9mN.js';
33
- import '../../../../index-DJ078v-U.js';
34
- import '../../../../useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
31
+ import '../../../../index-C66Dd8Xc.js';
32
+ import { C as Command } from '../../../../Command-WPpmLPkL.js';
35
33
  import '@expo/apple-utils/build/index.js';
36
- import 'ini';
37
34
  import 'deepmerge';
38
- import '../../../../useProjectCredentials-DpeXZcHP.js';
39
- import '../../../../Table-CvM6pccN.js';
35
+ import 'ini';
36
+ import '../../../../useProjectCredentials-BEphqa18.js';
37
+ import '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
38
+ import '../../../../index-CGBdOm1q.js';
39
+ import '../../../../Table-FaNgpyeq.js';
40
40
  import '../../../../Title-BCQtayg6.js';
41
41
 
42
42
  class GameAndroidKeyStoreStatus extends BaseGameCommand {
@@ -57,9 +57,9 @@ class GameAndroidKeyStoreStatus extends BaseGameCommand {
57
57
  {
58
58
  credentialTypeName: "Android Keystore",
59
59
  queryProps: {
60
+ platform: Platform.ANDROID,
60
61
  projectId: game.id,
61
- type: CredentialsType.CERTIFICATE,
62
- platform: Platform.ANDROID
62
+ type: CredentialsType.CERTIFICATE
63
63
  }
64
64
  }
65
65
  ) })
@@ -1,42 +1,25 @@
1
- import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { render } from 'ink';
3
1
  import { Flags } from '@oclif/core';
4
- import 'react';
5
- import '../../../index-CyvGh-kt.js';
6
- import { c as BaseGameCommand, k as getProjectPlatformProgress, P as Platform, b as getShortDate } from '../../../index-w3lHxk5O.js';
7
- import 'ink-spinner';
8
- import '@inkjs/ui';
2
+ import { c as BaseGameCommand } from '../../../index-BhhiXbey.js';
3
+ import 'node:fs';
9
4
  import 'axios';
10
- import '@tanstack/react-query';
11
- import 'fs';
5
+ import 'crypto-js';
12
6
  import 'uuid';
13
- import 'yazl';
14
- import { g as getShortUUID, m as makeHumanReadable } from '../../../index-DJ078v-U.js';
15
- import 'open';
16
- import 'marked';
17
- import 'marked-terminal';
18
- import 'path';
19
- import { N as NextSteps } from '../../../NextSteps-CK9zHOCt.js';
20
- import 'qrcode';
21
- import { S as StatusTable } from '../../../StatusTable-Dm5St4g-.js';
22
- import 'string-length';
23
- import 'strip-ansi';
24
7
  import 'luxon';
25
- import 'fast-glob';
26
- import { C as Command } from '../../../Command-DFdHXDiU.js';
27
- import 'socket.io-client';
28
- import '../../../useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
8
+ import 'node:path';
29
9
  import '@expo/apple-utils/build/index.js';
30
- import 'crypto-js';
31
- import 'crypto';
32
- import 'readline-sync';
10
+ import 'node:crypto';
33
11
  import 'node:readline';
34
- import 'node:path';
35
12
  import 'node:url';
13
+ import 'readline-sync';
36
14
  import 'isomorphic-git';
37
- import 'ini';
38
15
  import 'deepmerge';
39
- import '../../../Title-BCQtayg6.js';
16
+ import 'ini';
17
+ import '@tanstack/react-query';
18
+ import 'react';
19
+ import 'fast-glob';
20
+ import 'yazl';
21
+ import 'socket.io-client';
22
+ import 'fullscreen-ink';
40
23
 
41
24
  class GameAndroidStatus extends BaseGameCommand {
42
25
  static args = {};
@@ -50,34 +33,7 @@ class GameAndroidStatus extends BaseGameCommand {
50
33
  };
51
34
  async run() {
52
35
  const game = await this.getGame();
53
- const platformStatus = await getProjectPlatformProgress(game.id, Platform.ANDROID);
54
- const gameStatuses = {
55
- name: game.name,
56
- id: getShortUUID(game.id),
57
- createdAt: getShortDate(game.createdAt),
58
- engine: "Godot"
59
- };
60
- const steps = [
61
- (platformStatus.hasBundleSet == false || platformStatus.hasApiKeyForPlatform == false || platformStatus.hasCredentialsForPlatform == false) && "shipthis game wizard android"
62
- ].filter(Boolean);
63
- const progressToStatuses = (progress) => {
64
- const { platform, ...rest } = progress;
65
- return makeHumanReadable(rest);
66
- };
67
- render(
68
- /* @__PURE__ */ jsxs(Command, { command: this, children: [
69
- /* @__PURE__ */ jsx(StatusTable, { marginBottom: 1, title: "ShipThis game status", statuses: gameStatuses }),
70
- /* @__PURE__ */ jsx(
71
- StatusTable,
72
- {
73
- marginBottom: 1,
74
- title: "Overall Android status for game",
75
- statuses: progressToStatuses(platformStatus)
76
- }
77
- ),
78
- /* @__PURE__ */ jsx(NextSteps, { steps })
79
- ] })
80
- );
36
+ await this.config.runCommand("game:status", ["--gameId", game.id, "--platform", "android"]);
81
37
  }
82
38
  }
83
39