shipthis 0.1.53 → 0.1.55

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 (108) hide show
  1. package/README.md +7 -8
  2. package/assets/markdown/apple-login-notice.md.ejs +9 -0
  3. package/dist/{AppleBundleIdDetails-CJuXU0MW.js → AppleBundleIdDetails-Ch0IGOPO.js} +4 -4
  4. package/dist/{Command-U8TqM6Zs.js → Command-CKwGlf4L.js} +2 -2
  5. package/dist/{CommandGame-hqY43vRo.js → CommandGame-DoUC7C_q.js} +3 -3
  6. package/dist/{Create-C--pV63B.js → Create-BMZPvZ4G.js} +2 -2
  7. package/dist/{CredentialDetailsView-DUpRMBiJ.js → CredentialDetailsView-DrAjwTB_.js} +1 -1
  8. package/dist/{ErrorBox-DLRncz8K.js → ErrorBox-DDlTtBXo.js} +1 -1
  9. package/dist/{GameStatus-DRheSF2O.js → GameStatus-BbGB_Nb4.js} +2 -2
  10. package/dist/{Import-CTgEEj_f.js → Import-Cd6bNM3_.js} +3 -3
  11. package/dist/{JobLogTail-7oEEQxIO.js → JobLogTail-Bnxjh42s.js} +3 -3
  12. package/dist/{JobProgress-DwvTh5rS.js → JobProgress-BMKEhMAf.js} +26 -4
  13. package/dist/{JobStatusTable-DBM_PBPQ.js → JobStatusTable-CPKhHXoe.js} +3 -3
  14. package/dist/{ProjectCredentialsTable-BamSpb5B.js → ProjectCredentialsTable-TTXHSq6Y.js} +2 -2
  15. package/dist/{UserCredentialsTable-N_fIOf8N.js → UserCredentialsTable-Nnr2vBR7.js} +2 -2
  16. package/dist/{baseAppleCommand-oekzwny6.js → baseAppleCommand-BXD1j8r9.js} +1 -1
  17. package/dist/{baseCommand-ByzFMr-B.js → baseCommand-BBX7e4wG.js} +30 -6
  18. package/dist/{baseGameAndroidCommand-GvH1QAja.js → baseGameAndroidCommand-DUH9kKXh.js} +3 -3
  19. package/dist/{baseGameCommand-D8Z3SaiJ.js → baseGameCommand-DDamAWma.js} +4 -3
  20. package/dist/commands/apiKey/create.js +4 -4
  21. package/dist/commands/apiKey/list.js +4 -4
  22. package/dist/commands/apiKey/revoke.js +4 -4
  23. package/dist/commands/apple/apiKey/create.js +7 -7
  24. package/dist/commands/apple/apiKey/delete.js +5 -5
  25. package/dist/commands/apple/apiKey/export.js +6 -6
  26. package/dist/commands/apple/apiKey/import.js +6 -6
  27. package/dist/commands/apple/apiKey/status.js +5 -5
  28. package/dist/commands/apple/certificate/create.js +7 -7
  29. package/dist/commands/apple/certificate/delete.js +5 -5
  30. package/dist/commands/apple/certificate/export.js +6 -6
  31. package/dist/commands/apple/certificate/import.js +6 -6
  32. package/dist/commands/apple/certificate/show.js +6 -6
  33. package/dist/commands/apple/certificate/status.js +5 -5
  34. package/dist/commands/apple/login.js +33 -26
  35. package/dist/commands/apple/status.js +4 -4
  36. package/dist/commands/dashboard.js +3 -3
  37. package/dist/commands/game/android/apiKey/connect.js +10 -10
  38. package/dist/commands/game/android/apiKey/create.js +13 -13
  39. package/dist/commands/game/android/apiKey/delete.js +5 -5
  40. package/dist/commands/game/android/apiKey/export.js +7 -7
  41. package/dist/commands/game/android/apiKey/import.js +7 -7
  42. package/dist/commands/game/android/apiKey/invite.js +6 -6
  43. package/dist/commands/game/android/apiKey/policy.js +4 -4
  44. package/dist/commands/game/android/apiKey/show.js +9 -9
  45. package/dist/commands/game/android/apiKey/status.js +7 -7
  46. package/dist/commands/game/android/keyStore/create.js +9 -9
  47. package/dist/commands/game/android/keyStore/delete.js +5 -5
  48. package/dist/commands/game/android/keyStore/export.js +6 -6
  49. package/dist/commands/game/android/keyStore/import.js +10 -10
  50. package/dist/commands/game/android/keyStore/status.js +6 -6
  51. package/dist/commands/game/android/status.js +3 -3
  52. package/dist/commands/game/build/download.js +4 -4
  53. package/dist/commands/game/build/list.js +6 -6
  54. package/dist/commands/game/create.js +3 -3
  55. package/dist/commands/game/details.js +5 -5
  56. package/dist/commands/game/export.js +3 -3
  57. package/dist/commands/game/ios/app/addTester.js +5 -5
  58. package/dist/commands/game/ios/app/create.js +4 -4
  59. package/dist/commands/game/ios/app/status.js +7 -7
  60. package/dist/commands/game/ios/app/sync.js +5 -5
  61. package/dist/commands/game/ios/profile/create.js +7 -7
  62. package/dist/commands/game/ios/profile/delete.js +5 -5
  63. package/dist/commands/game/ios/profile/export.js +6 -6
  64. package/dist/commands/game/ios/profile/import.js +6 -6
  65. package/dist/commands/game/ios/profile/show.js +8 -8
  66. package/dist/commands/game/ios/profile/status.js +7 -7
  67. package/dist/commands/game/ios/status.js +10 -10
  68. package/dist/commands/game/ios/wizard.js +4 -4
  69. package/dist/commands/game/job/list.js +4 -4
  70. package/dist/commands/game/job/logs.js +3 -3
  71. package/dist/commands/game/job/status.js +7 -7
  72. package/dist/commands/game/list.js +4 -4
  73. package/dist/commands/game/ship.js +11 -11
  74. package/dist/commands/game/status.js +7 -7
  75. package/dist/commands/game/wizard.js +16 -16
  76. package/dist/commands/internal/fastlane.js +3 -3
  77. package/dist/commands/internal/readme.js +3 -3
  78. package/dist/commands/login.js +3 -3
  79. package/dist/commands/status.js +4 -4
  80. package/dist/commands/util/android-build-method.js +3 -3
  81. package/dist/commands/util/glass.js +2 -2
  82. package/dist/{export-DQ2Qh09K.js → export-C_FknMUp.js} +1 -1
  83. package/dist/{import-sVng7ksa.js → import-DaK7xzxS.js} +1 -1
  84. package/dist/{index-DwEIHNF1.js → index-BcXx8TNS.js} +4 -4
  85. package/dist/{index-N3S598Wc.js → index-DGlnFPWY.js} +1 -1
  86. package/dist/{index-Dz17cbww.js → index-SfRGUQOY.js} +5 -5
  87. package/dist/{upload-DoiCgi3a.js → upload-CwHqf-A6.js} +1 -1
  88. package/dist/{useAppleApp-J4dx2Wyz.js → useAppleApp-DwcXThPv.js} +1 -1
  89. package/dist/{useAppleBundleId-DUdnv1T0.js → useAppleBundleId-Bojf5t9g.js} +1 -1
  90. package/dist/{useAppleProfiles-DDdAtArV.js → useAppleProfiles-ClGtQU78.js} +1 -1
  91. package/dist/{useGoogleStatus-DciPkOMu.js → useGoogleStatus-D1VbWkVy.js} +2 -2
  92. package/dist/{useProjectCredentials-B4cjpmpB.js → useProjectCredentials-CkjJTltI.js} +2 -2
  93. package/dist/{useWebSocket-B1hQm8Ak.js → useWebSocket-xkJFqoYf.js} +1 -1
  94. package/docs/apple/login.md +9 -3
  95. package/docs/autocomplete.md +1 -1
  96. package/docs/game/android/apiKey/invite.md +3 -3
  97. package/docs/game/android/apiKey.md +36 -7
  98. package/docs/game/create.md +15 -10
  99. package/docs/game/details.md +6 -3
  100. package/docs/game/ios/app/addTester.md +10 -5
  101. package/docs/game/ios/app.md +32 -2
  102. package/docs/game/ios.md +1 -0
  103. package/docs/game/ship.md +6 -2
  104. package/docs/game/status.md +6 -2
  105. package/docs/game/wizard.md +2 -5
  106. package/npm-shrinkwrap.json +139 -635
  107. package/oclif.manifest.json +251 -245
  108. package/package.json +3 -2
@@ -2,12 +2,12 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import * as fs from 'node:fs';
3
3
  import { Args, Flags } from '@oclif/core';
4
4
  import { render } from 'ink';
5
- import { g as getUserCredentials } from '../../../index-N3S598Wc.js';
6
- import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-D8Z3SaiJ.js';
5
+ import { g as getUserCredentials } from '../../../index-DGlnFPWY.js';
6
+ import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-DDamAWma.js';
7
7
  import 'node:path';
8
8
  import 'chalk';
9
9
  import 'axios';
10
- import { P as Platform, C as CredentialsType } from '../../../baseCommand-ByzFMr-B.js';
10
+ import { P as Platform, C as CredentialsType } from '../../../baseCommand-BBX7e4wG.js';
11
11
  import 'luxon';
12
12
  import 'node:crypto';
13
13
  import 'node:readline';
@@ -32,11 +32,11 @@ import 'marked-terminal';
32
32
  import 'qrcode';
33
33
  import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
34
34
  import 'godot-export-presets';
35
- import { C as Command } from '../../../Command-U8TqM6Zs.js';
36
- import { e as exportCredential } from '../../../export-DQ2Qh09K.js';
35
+ import { C as Command } from '../../../Command-CKwGlf4L.js';
36
+ import { e as exportCredential } from '../../../export-C_FknMUp.js';
37
37
  import 'fs';
38
38
  import 'path';
39
- import '@expo/apple-utils/build/index.js';
39
+ import '@expo/apple-utils';
40
40
 
41
41
  class AppleApiKeyExport extends BaseAuthenticatedCommand {
42
42
  static args = {
@@ -2,12 +2,12 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import * as fs from 'node:fs';
3
3
  import { Args, Flags } from '@oclif/core';
4
4
  import { render } from 'ink';
5
- import { g as getUserCredentials } from '../../../index-N3S598Wc.js';
6
- import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-D8Z3SaiJ.js';
5
+ import { g as getUserCredentials } from '../../../index-DGlnFPWY.js';
6
+ import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-DDamAWma.js';
7
7
  import 'node:path';
8
8
  import 'chalk';
9
9
  import 'axios';
10
- import { P as Platform, C as CredentialsType } from '../../../baseCommand-ByzFMr-B.js';
10
+ import { P as Platform, C as CredentialsType } from '../../../baseCommand-BBX7e4wG.js';
11
11
  import 'luxon';
12
12
  import 'node:crypto';
13
13
  import 'node:readline';
@@ -32,11 +32,11 @@ import 'marked-terminal';
32
32
  import 'qrcode';
33
33
  import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
34
34
  import 'godot-export-presets';
35
- import { C as Command } from '../../../Command-U8TqM6Zs.js';
36
- import { i as importCredential } from '../../../import-sVng7ksa.js';
35
+ import { C as Command } from '../../../Command-CKwGlf4L.js';
36
+ import { i as importCredential } from '../../../import-DaK7xzxS.js';
37
37
  import 'fs';
38
38
  import 'path';
39
- import '@expo/apple-utils/build/index.js';
39
+ import '@expo/apple-utils';
40
40
 
41
41
  class AppleApiKeyImport extends BaseAuthenticatedCommand {
42
42
  static args = {
@@ -1,12 +1,12 @@
1
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { Flags } from '@oclif/core';
3
3
  import { Box, Text, render } from 'ink';
4
- import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-D8Z3SaiJ.js';
4
+ import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-DDamAWma.js';
5
5
  import 'node:fs';
6
6
  import 'node:path';
7
7
  import 'chalk';
8
8
  import 'axios';
9
- import { d as getShortDate, A as ApiKey, C as CredentialsType, P as Platform } from '../../../baseCommand-ByzFMr-B.js';
9
+ import { d as getShortDate, A as ApiKey, C as CredentialsType, P as Platform } from '../../../baseCommand-BBX7e4wG.js';
10
10
  import { DateTime } from 'luxon';
11
11
  import 'node:crypto';
12
12
  import 'node:readline';
@@ -25,7 +25,7 @@ import Spinner from 'ink-spinner';
25
25
  import 'string-length';
26
26
  import 'strip-ansi';
27
27
  import 'open';
28
- import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-N_fIOf8N.js';
28
+ import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-Nnr2vBR7.js';
29
29
  import '@inkjs/ui';
30
30
  import 'marked';
31
31
  import 'marked-terminal';
@@ -34,10 +34,10 @@ import 'godot-export-presets';
34
34
  import { T as Table } from '../../../Table-FaNgpyeq.js';
35
35
  import { T as Title } from '../../../Title-BCQtayg6.js';
36
36
  import { N as NextSteps } from '../../../NextSteps-DbJHmscQ.js';
37
- import { C as Command } from '../../../Command-U8TqM6Zs.js';
37
+ import { C as Command } from '../../../Command-CKwGlf4L.js';
38
38
  import 'fs';
39
39
  import 'path';
40
- import '@expo/apple-utils/build/index.js';
40
+ import '@expo/apple-utils';
41
41
 
42
42
  async function queryAppleApiKeys({ ctx }) {
43
43
  const keys = await ApiKey.getAsync(ctx);
@@ -1,10 +1,10 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { Flags } from '@oclif/core';
3
3
  import { render } from 'ink';
4
- import { g as getUserCredentials } from '../../../index-N3S598Wc.js';
4
+ import { g as getUserCredentials } from '../../../index-DGlnFPWY.js';
5
5
  import forge from 'node-forge';
6
- import { n as CertificateType, b as Certificate, P as Platform, C as CredentialsType } from '../../../baseCommand-ByzFMr-B.js';
7
- import { B as BaseAppleCommand } from '../../../baseAppleCommand-oekzwny6.js';
6
+ import { n as CertificateType, b as Certificate, P as Platform, C as CredentialsType } from '../../../baseCommand-BBX7e4wG.js';
7
+ import { B as BaseAppleCommand } from '../../../baseAppleCommand-BXD1j8r9.js';
8
8
  import 'node:fs';
9
9
  import 'axios';
10
10
  import 'luxon';
@@ -27,16 +27,16 @@ import 'string-length';
27
27
  import 'strip-ansi';
28
28
  import 'open';
29
29
  import '@inkjs/ui';
30
- import '../../../baseGameCommand-D8Z3SaiJ.js';
30
+ import '../../../baseGameCommand-DDamAWma.js';
31
31
  import 'marked';
32
32
  import 'marked-terminal';
33
33
  import 'qrcode';
34
34
  import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
35
35
  import 'godot-export-presets';
36
- import { C as Command } from '../../../Command-U8TqM6Zs.js';
36
+ import { C as Command } from '../../../Command-CKwGlf4L.js';
37
37
  import 'chalk';
38
- import { u as uploadUserCredentials } from '../../../upload-DoiCgi3a.js';
39
- import '@expo/apple-utils/build/index.js';
38
+ import { u as uploadUserCredentials } from '../../../upload-CwHqf-A6.js';
39
+ import '@expo/apple-utils';
40
40
  import 'fs';
41
41
  import 'path';
42
42
 
@@ -1,11 +1,11 @@
1
1
  import { Flags } from '@oclif/core';
2
2
  import 'node:fs';
3
3
  import 'axios';
4
- import { P as Platform, C as CredentialsType, b as Certificate, g as getShortUUID } from '../../../baseCommand-ByzFMr-B.js';
4
+ import { P as Platform, C as CredentialsType, b as Certificate, g as getShortUUID } from '../../../baseCommand-BBX7e4wG.js';
5
5
  import 'luxon';
6
- import { g as getRenderedMarkdown, a as getInput } from '../../../baseGameCommand-D8Z3SaiJ.js';
7
- import { g as getUserCredentials, d as deleteUserCredential } from '../../../index-N3S598Wc.js';
8
- import { B as BaseAppleCommand } from '../../../baseAppleCommand-oekzwny6.js';
6
+ import { g as getRenderedMarkdown, a as getInput } from '../../../baseGameCommand-DDamAWma.js';
7
+ import { g as getUserCredentials, d as deleteUserCredential } from '../../../index-DGlnFPWY.js';
8
+ import { B as BaseAppleCommand } from '../../../baseAppleCommand-BXD1j8r9.js';
9
9
  import 'react/jsx-runtime';
10
10
  import 'ink';
11
11
  import 'ink-spinner';
@@ -30,7 +30,7 @@ import 'node:readline';
30
30
  import 'node:url';
31
31
  import 'readline-sync';
32
32
  import 'isomorphic-git';
33
- import '@expo/apple-utils/build/index.js';
33
+ import '@expo/apple-utils';
34
34
  import 'fs';
35
35
  import 'path';
36
36
  import 'marked';
@@ -2,12 +2,12 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import * as fs from 'node:fs';
3
3
  import { Args, Flags } from '@oclif/core';
4
4
  import { render } from 'ink';
5
- import { g as getUserCredentials } from '../../../index-N3S598Wc.js';
6
- import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-D8Z3SaiJ.js';
5
+ import { g as getUserCredentials } from '../../../index-DGlnFPWY.js';
6
+ import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-DDamAWma.js';
7
7
  import 'node:path';
8
8
  import 'chalk';
9
9
  import 'axios';
10
- import { P as Platform, C as CredentialsType } from '../../../baseCommand-ByzFMr-B.js';
10
+ import { P as Platform, C as CredentialsType } from '../../../baseCommand-BBX7e4wG.js';
11
11
  import 'luxon';
12
12
  import 'node:crypto';
13
13
  import 'node:readline';
@@ -32,11 +32,11 @@ import 'marked-terminal';
32
32
  import 'qrcode';
33
33
  import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
34
34
  import 'godot-export-presets';
35
- import { C as Command } from '../../../Command-U8TqM6Zs.js';
36
- import { e as exportCredential } from '../../../export-DQ2Qh09K.js';
35
+ import { C as Command } from '../../../Command-CKwGlf4L.js';
36
+ import { e as exportCredential } from '../../../export-C_FknMUp.js';
37
37
  import 'fs';
38
38
  import 'path';
39
- import '@expo/apple-utils/build/index.js';
39
+ import '@expo/apple-utils';
40
40
 
41
41
  class AppleCertificateExport extends BaseAuthenticatedCommand {
42
42
  static args = {
@@ -2,12 +2,12 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import * as fs from 'node:fs';
3
3
  import { Args, Flags } from '@oclif/core';
4
4
  import { render } from 'ink';
5
- import { g as getUserCredentials } from '../../../index-N3S598Wc.js';
6
- import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-D8Z3SaiJ.js';
5
+ import { g as getUserCredentials } from '../../../index-DGlnFPWY.js';
6
+ import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-DDamAWma.js';
7
7
  import 'node:path';
8
8
  import 'chalk';
9
9
  import 'axios';
10
- import { P as Platform, C as CredentialsType } from '../../../baseCommand-ByzFMr-B.js';
10
+ import { P as Platform, C as CredentialsType } from '../../../baseCommand-BBX7e4wG.js';
11
11
  import 'luxon';
12
12
  import 'node:crypto';
13
13
  import 'node:readline';
@@ -32,11 +32,11 @@ import 'marked-terminal';
32
32
  import 'qrcode';
33
33
  import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
34
34
  import 'godot-export-presets';
35
- import { C as Command } from '../../../Command-U8TqM6Zs.js';
36
- import { i as importCredential } from '../../../import-sVng7ksa.js';
35
+ import { C as Command } from '../../../Command-CKwGlf4L.js';
36
+ import { i as importCredential } from '../../../import-DaK7xzxS.js';
37
37
  import 'fs';
38
38
  import 'path';
39
- import '@expo/apple-utils/build/index.js';
39
+ import '@expo/apple-utils';
40
40
 
41
41
  class AppleCertificateImport extends BaseAuthenticatedCommand {
42
42
  static args = {
@@ -1,13 +1,13 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { Args } from '@oclif/core';
3
3
  import { render } from 'ink';
4
- import { g as getUserCredentials } from '../../../index-N3S598Wc.js';
5
- import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-D8Z3SaiJ.js';
4
+ import { g as getUserCredentials } from '../../../index-DGlnFPWY.js';
5
+ import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-DDamAWma.js';
6
6
  import 'node:fs';
7
7
  import 'node:path';
8
8
  import 'chalk';
9
9
  import 'axios';
10
- import { P as Platform, C as CredentialsType } from '../../../baseCommand-ByzFMr-B.js';
10
+ import { P as Platform, C as CredentialsType } from '../../../baseCommand-BBX7e4wG.js';
11
11
  import 'luxon';
12
12
  import 'node:crypto';
13
13
  import 'node:readline';
@@ -23,7 +23,7 @@ import 'yazl';
23
23
  import 'socket.io-client';
24
24
  import 'fullscreen-ink';
25
25
  import 'ink-spinner';
26
- import { C as CredentialDetailsView } from '../../../CredentialDetailsView-DUpRMBiJ.js';
26
+ import { C as CredentialDetailsView } from '../../../CredentialDetailsView-DrAjwTB_.js';
27
27
  import 'string-length';
28
28
  import 'strip-ansi';
29
29
  import 'open';
@@ -32,10 +32,10 @@ import 'marked';
32
32
  import 'marked-terminal';
33
33
  import 'qrcode';
34
34
  import 'godot-export-presets';
35
- import { C as Command } from '../../../Command-U8TqM6Zs.js';
35
+ import { C as Command } from '../../../Command-CKwGlf4L.js';
36
36
  import 'fs';
37
37
  import 'path';
38
- import '@expo/apple-utils/build/index.js';
38
+ import '@expo/apple-utils';
39
39
  import '../../../Title-BCQtayg6.js';
40
40
  import '../../../TruncatedText-DhEXCrnE.js';
41
41
 
@@ -1,12 +1,12 @@
1
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { Flags } from '@oclif/core';
3
3
  import { Box, Text, render } from 'ink';
4
- import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-D8Z3SaiJ.js';
4
+ import { B as BaseAuthenticatedCommand } from '../../../baseGameCommand-DDamAWma.js';
5
5
  import 'node:fs';
6
6
  import 'node:path';
7
7
  import 'chalk';
8
8
  import 'axios';
9
- import { g as getShortUUID, d as getShortDate, b as Certificate, n as CertificateType, P as Platform, C as CredentialsType } from '../../../baseCommand-ByzFMr-B.js';
9
+ import { g as getShortUUID, d as getShortDate, b as Certificate, n as CertificateType, P as Platform, C as CredentialsType } from '../../../baseCommand-BBX7e4wG.js';
10
10
  import { DateTime } from 'luxon';
11
11
  import 'node:crypto';
12
12
  import 'node:readline';
@@ -25,7 +25,7 @@ import Spinner from 'ink-spinner';
25
25
  import 'string-length';
26
26
  import 'strip-ansi';
27
27
  import 'open';
28
- import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-N_fIOf8N.js';
28
+ import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-Nnr2vBR7.js';
29
29
  import '@inkjs/ui';
30
30
  import 'marked';
31
31
  import 'marked-terminal';
@@ -34,10 +34,10 @@ import 'godot-export-presets';
34
34
  import { T as Table } from '../../../Table-FaNgpyeq.js';
35
35
  import { T as Title } from '../../../Title-BCQtayg6.js';
36
36
  import { N as NextSteps } from '../../../NextSteps-DbJHmscQ.js';
37
- import { C as Command } from '../../../Command-U8TqM6Zs.js';
37
+ import { C as Command } from '../../../Command-CKwGlf4L.js';
38
38
  import 'fs';
39
39
  import 'path';
40
- import '@expo/apple-utils/build/index.js';
40
+ import '@expo/apple-utils';
41
41
 
42
42
  async function queryAppleCertificates({ ctx }) {
43
43
  const appleCerts = await Certificate.getAsync(ctx, {
@@ -1,50 +1,46 @@
1
+ import appleUtils from '@expo/apple-utils';
1
2
  import { Flags } from '@oclif/core';
2
- import { a3 as Auth } from '../../baseCommand-ByzFMr-B.js';
3
- import { B as BaseAuthenticatedCommand, a as getInput, q as getMaskedInput } from '../../baseGameCommand-D8Z3SaiJ.js';
3
+ import { B as BaseAuthenticatedCommand, g as getRenderedMarkdown, a as getInput, b as getMaskedInput } from '../../baseGameCommand-DDamAWma.js';
4
4
  import 'node:fs';
5
5
  import 'node:path';
6
6
  import 'chalk';
7
7
  import 'axios';
8
+ import '../../baseCommand-BBX7e4wG.js';
8
9
  import 'luxon';
9
- import 'node:crypto';
10
- import 'node:readline';
11
- import 'node:url';
12
- import 'readline-sync';
13
- import 'isomorphic-git';
14
- import 'godot-export-presets';
15
- import '@expo/apple-utils/build/index.js';
16
- import '@tanstack/react-query';
10
+ import 'react/jsx-runtime';
11
+ import 'ink';
12
+ import 'ink-spinner';
17
13
  import 'react';
14
+ import 'string-length';
15
+ import 'strip-ansi';
16
+ import '@tanstack/react-query';
18
17
  import 'uuid';
19
18
  import 'fast-glob';
20
19
  import 'stream';
21
20
  import 'yazl';
22
21
  import 'socket.io-client';
23
22
  import 'fullscreen-ink';
24
- import 'ink';
25
- import 'react/jsx-runtime';
26
- import 'ink-spinner';
27
- import 'string-length';
28
- import 'strip-ansi';
29
23
  import 'open';
30
24
  import '@inkjs/ui';
25
+ import 'qrcode';
26
+ import 'godot-export-presets';
27
+ import 'node:crypto';
28
+ import 'node:readline';
29
+ import 'node:url';
30
+ import 'readline-sync';
31
+ import 'isomorphic-git';
31
32
  import 'fs';
32
33
  import 'path';
33
34
  import 'marked';
34
35
  import 'marked-terminal';
35
- import 'qrcode';
36
-
37
- async function getNewAuthState(username, password) {
38
- const authState = await Auth.loginAsync({
39
- password,
40
- username
41
- });
42
- return authState;
43
- }
44
36
 
37
+ const { Auth } = appleUtils;
38
+ const SOURCE_URL = "https://github.com/shipth-is/cli/blob/main/src/commands/apple/login.ts";
45
39
  class AppleLogin extends BaseAuthenticatedCommand {
46
40
  static args = {};
47
- static description = "Authenticate with Apple - saves the session to the auth file";
41
+ static description = `Authenticate with Apple - saves the session to the auth file.
42
+
43
+ Your Apple password is sent only to Apple, never to ShipThis. Only the resulting session cookies are saved locally. Read the source: ${SOURCE_URL}`;
48
44
  static examples = [
49
45
  "<%= config.bin %> <%= command.id %>",
50
46
  "<%= config.bin %> <%= command.id %> --force --appleEmail me@email.nowhere",
@@ -71,6 +67,14 @@ class AppleLogin extends BaseAuthenticatedCommand {
71
67
  if (isLoggedIn && !flags.force) {
72
68
  throw new Error("You are already logged in to Apple. Use --force to re-authenticate.");
73
69
  }
70
+ this.log(
71
+ getRenderedMarkdown({
72
+ filename: "apple-login-notice.md.ejs",
73
+ templateVars: {
74
+ sourceURL: `https://github.com/shipth-is/cli/blob/v${this.config.version}/src/commands/apple/login.ts`
75
+ }
76
+ })
77
+ );
74
78
  const getAppleEmail = async () => {
75
79
  if (flags.appleEmail) return flags.appleEmail;
76
80
  const appleEmail2 = await getInput("Please enter your Apple Developer account email address: ");
@@ -84,7 +88,10 @@ class AppleLogin extends BaseAuthenticatedCommand {
84
88
  };
85
89
  const appleEmail = await getAppleEmail();
86
90
  const applePassword = await getApplePassword();
87
- const authState = await getNewAuthState(appleEmail, applePassword);
91
+ const authState = await Auth.loginAsync({
92
+ password: applePassword,
93
+ username: appleEmail
94
+ });
88
95
  if (!authState) {
89
96
  throw new Error("Failed to authenticate with Apple");
90
97
  }
@@ -1,12 +1,12 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { render } from 'ink';
3
- import { B as BaseAuthenticatedCommand } from '../../baseGameCommand-D8Z3SaiJ.js';
3
+ import { B as BaseAuthenticatedCommand } from '../../baseGameCommand-DDamAWma.js';
4
4
  import 'node:fs';
5
5
  import 'node:path';
6
6
  import '@oclif/core';
7
7
  import 'chalk';
8
8
  import 'axios';
9
- import '../../baseCommand-ByzFMr-B.js';
9
+ import '../../baseCommand-BBX7e4wG.js';
10
10
  import 'luxon';
11
11
  import 'node:crypto';
12
12
  import 'node:readline';
@@ -32,10 +32,10 @@ import 'marked-terminal';
32
32
  import { N as NextSteps } from '../../NextSteps-DbJHmscQ.js';
33
33
  import 'qrcode';
34
34
  import 'godot-export-presets';
35
- import { C as Command } from '../../Command-U8TqM6Zs.js';
35
+ import { C as Command } from '../../Command-CKwGlf4L.js';
36
36
  import 'fs';
37
37
  import 'path';
38
- import '@expo/apple-utils/build/index.js';
38
+ import '@expo/apple-utils';
39
39
  import '../../Title-BCQtayg6.js';
40
40
 
41
41
  class AppleStatus extends BaseAuthenticatedCommand {
@@ -1,6 +1,6 @@
1
1
  import open from 'open';
2
- import { a0 as getSingleUseUrl } from '../baseCommand-ByzFMr-B.js';
3
- import { B as BaseAuthenticatedCommand } from '../baseGameCommand-D8Z3SaiJ.js';
2
+ import { a0 as getSingleUseUrl } from '../baseCommand-BBX7e4wG.js';
3
+ import { B as BaseAuthenticatedCommand } from '../baseGameCommand-DDamAWma.js';
4
4
  import 'node:fs';
5
5
  import 'node:path';
6
6
  import '@oclif/core';
@@ -22,7 +22,7 @@ import 'socket.io-client';
22
22
  import 'fullscreen-ink';
23
23
  import 'ink';
24
24
  import 'godot-export-presets';
25
- import '@expo/apple-utils/build/index.js';
25
+ import '@expo/apple-utils';
26
26
  import 'react/jsx-runtime';
27
27
  import 'ink-spinner';
28
28
  import 'string-length';
@@ -1,7 +1,7 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { Flags } from '@oclif/core';
3
3
  import { render } from 'ink';
4
- import { R as getGoogleStatus, Y as disconnectGoogle } from '../../../../baseCommand-ByzFMr-B.js';
4
+ import { R as getGoogleStatus, Y as disconnectGoogle } from '../../../../baseCommand-BBX7e4wG.js';
5
5
  import 'ink-spinner';
6
6
  import 'node:crypto';
7
7
  import 'node:fs';
@@ -23,23 +23,23 @@ import 'fullscreen-ink';
23
23
  import 'string-length';
24
24
  import 'strip-ansi';
25
25
  import 'open';
26
- import { C as ConnectGoogle } from '../../../../index-DwEIHNF1.js';
27
- import '../../../../baseGameCommand-D8Z3SaiJ.js';
26
+ import { C as ConnectGoogle } from '../../../../index-BcXx8TNS.js';
27
+ import '../../../../baseGameCommand-DDamAWma.js';
28
28
  import '@inkjs/ui';
29
29
  import 'godot-export-presets';
30
30
  import 'marked';
31
31
  import 'marked-terminal';
32
32
  import 'qrcode';
33
- import { C as CommandGame } from '../../../../CommandGame-hqY43vRo.js';
33
+ import { C as CommandGame } from '../../../../CommandGame-DoUC7C_q.js';
34
34
  import 'chalk';
35
- import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-GvH1QAja.js';
36
- import '@expo/apple-utils/build/index.js';
37
- import '../../../../useWebSocket-B1hQm8Ak.js';
38
- import '../../../../useGoogleStatus-DciPkOMu.js';
35
+ import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-DUH9kKXh.js';
36
+ import '@expo/apple-utils';
37
+ import '../../../../useWebSocket-xkJFqoYf.js';
38
+ import '../../../../useGoogleStatus-D1VbWkVy.js';
39
39
  import 'fs';
40
40
  import 'path';
41
- import '../../../../ErrorBox-DLRncz8K.js';
42
- import '../../../../Command-U8TqM6Zs.js';
41
+ import '../../../../ErrorBox-DDlTtBXo.js';
42
+ import '../../../../Command-CKwGlf4L.js';
43
43
 
44
44
  class GameAndroidApiKeyConnect extends BaseGameAndroidCommand {
45
45
  static args = {};
@@ -3,7 +3,7 @@ import { Flags } from '@oclif/core';
3
3
  import { render } from 'ink';
4
4
  import 'node:fs';
5
5
  import 'axios';
6
- import { P as Platform, C as CredentialsType } from '../../../../baseCommand-ByzFMr-B.js';
6
+ import { P as Platform, C as CredentialsType } from '../../../../baseCommand-BBX7e4wG.js';
7
7
  import 'luxon';
8
8
  import 'node:crypto';
9
9
  import 'node:path';
@@ -19,30 +19,30 @@ import 'stream';
19
19
  import 'yazl';
20
20
  import 'socket.io-client';
21
21
  import 'fullscreen-ink';
22
- import { a as getProjectCredentials } from '../../../../index-N3S598Wc.js';
22
+ import { a as getProjectCredentials } from '../../../../index-DGlnFPWY.js';
23
23
  import 'ink-spinner';
24
24
  import 'string-length';
25
25
  import 'strip-ansi';
26
26
  import 'open';
27
27
  import '@inkjs/ui';
28
- import '../../../../baseGameCommand-D8Z3SaiJ.js';
28
+ import '../../../../baseGameCommand-DDamAWma.js';
29
29
  import 'marked';
30
30
  import 'marked-terminal';
31
31
  import 'qrcode';
32
32
  import 'godot-export-presets';
33
- import { C as CreateServiceAccountKey } from '../../../../index-Dz17cbww.js';
34
- import { C as CommandGame } from '../../../../CommandGame-hqY43vRo.js';
33
+ import { C as CreateServiceAccountKey } from '../../../../index-SfRGUQOY.js';
34
+ import { C as CommandGame } from '../../../../CommandGame-DoUC7C_q.js';
35
35
  import 'chalk';
36
- import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-GvH1QAja.js';
37
- import '@expo/apple-utils/build/index.js';
36
+ import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-DUH9kKXh.js';
37
+ import '@expo/apple-utils';
38
38
  import 'fs';
39
39
  import 'path';
40
- import '../../../../useWebSocket-B1hQm8Ak.js';
41
- import '../../../../useProjectCredentials-B4cjpmpB.js';
42
- import '../../../../useGoogleStatus-DciPkOMu.js';
40
+ import '../../../../useWebSocket-xkJFqoYf.js';
41
+ import '../../../../useProjectCredentials-CkjJTltI.js';
42
+ import '../../../../useGoogleStatus-D1VbWkVy.js';
43
43
  import '../../../../ProgressSpinner-Um6ARKlk.js';
44
- import '../../../../ErrorBox-DLRncz8K.js';
45
- import '../../../../Command-U8TqM6Zs.js';
44
+ import '../../../../ErrorBox-DDlTtBXo.js';
45
+ import '../../../../Command-CKwGlf4L.js';
46
46
 
47
47
  class GameAndroidApiKeyCreate extends BaseGameAndroidCommand {
48
48
  static args = {};
@@ -59,7 +59,7 @@ class GameAndroidApiKeyCreate extends BaseGameAndroidCommand {
59
59
  async run() {
60
60
  const game = await this.getGame();
61
61
  const { force, waitForAuth } = this.flags;
62
- this.checkGoogleAuth(waitForAuth);
62
+ await this.checkGoogleAuth(waitForAuth);
63
63
  const projectCredentials = await getProjectCredentials(game.id);
64
64
  const hasApiKey = projectCredentials.some(
65
65
  (cred) => cred.platform === Platform.ANDROID && cred.isActive && cred.type === CredentialsType.KEY
@@ -1,10 +1,10 @@
1
1
  import { Flags } from '@oclif/core';
2
2
  import 'node:fs';
3
3
  import 'axios';
4
- import { P as Platform, C as CredentialsType, g as getShortUUID } from '../../../../baseCommand-ByzFMr-B.js';
4
+ import { P as Platform, C as CredentialsType, g as getShortUUID } from '../../../../baseCommand-BBX7e4wG.js';
5
5
  import 'luxon';
6
- import { g as getRenderedMarkdown, a as getInput } from '../../../../baseGameCommand-D8Z3SaiJ.js';
7
- import { a as getProjectCredentials, b as deleteProjectCredential } from '../../../../index-N3S598Wc.js';
6
+ import { g as getRenderedMarkdown, a as getInput } from '../../../../baseGameCommand-DDamAWma.js';
7
+ import { a as getProjectCredentials, b as deleteProjectCredential } from '../../../../index-DGlnFPWY.js';
8
8
  import 'react/jsx-runtime';
9
9
  import 'ink';
10
10
  import 'ink-spinner';
@@ -24,13 +24,13 @@ import 'qrcode';
24
24
  import 'godot-export-presets';
25
25
  import 'node:path';
26
26
  import 'chalk';
27
- import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-GvH1QAja.js';
27
+ import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-DUH9kKXh.js';
28
28
  import 'node:crypto';
29
29
  import 'node:readline';
30
30
  import 'node:url';
31
31
  import 'readline-sync';
32
32
  import 'isomorphic-git';
33
- import '@expo/apple-utils/build/index.js';
33
+ import '@expo/apple-utils';
34
34
  import 'fs';
35
35
  import 'path';
36
36
  import 'marked';
@@ -2,9 +2,9 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import * as fs from 'node:fs';
3
3
  import { Args, Flags } from '@oclif/core';
4
4
  import { render } from 'ink';
5
- import { a as getProjectCredentials } from '../../../../index-N3S598Wc.js';
5
+ import { a as getProjectCredentials } from '../../../../index-DGlnFPWY.js';
6
6
  import 'axios';
7
- import { P as Platform, C as CredentialsType } from '../../../../baseCommand-ByzFMr-B.js';
7
+ import { P as Platform, C as CredentialsType } from '../../../../baseCommand-BBX7e4wG.js';
8
8
  import 'luxon';
9
9
  import 'node:crypto';
10
10
  import 'node:path';
@@ -25,17 +25,17 @@ import 'string-length';
25
25
  import 'strip-ansi';
26
26
  import 'open';
27
27
  import '@inkjs/ui';
28
- import '../../../../baseGameCommand-D8Z3SaiJ.js';
28
+ import '../../../../baseGameCommand-DDamAWma.js';
29
29
  import 'marked';
30
30
  import 'marked-terminal';
31
31
  import 'qrcode';
32
32
  import { R as RunWithSpinner } from '../../../../RunWithSpinner-DucRnFp6.js';
33
33
  import 'godot-export-presets';
34
- import { C as Command } from '../../../../Command-U8TqM6Zs.js';
34
+ import { C as Command } from '../../../../Command-CKwGlf4L.js';
35
35
  import 'chalk';
36
- import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-GvH1QAja.js';
37
- import { e as exportCredential } from '../../../../export-DQ2Qh09K.js';
38
- import '@expo/apple-utils/build/index.js';
36
+ import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-DUH9kKXh.js';
37
+ import { e as exportCredential } from '../../../../export-C_FknMUp.js';
38
+ import '@expo/apple-utils';
39
39
  import 'fs';
40
40
  import 'path';
41
41