shipthis 0.1.33 → 0.1.35

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 (105) hide show
  1. package/README.md +8 -7
  2. package/assets/markdown/{android-success.md → android-success.md.ejs} +2 -2
  3. package/assets/markdown/apikey-create.md.ejs +11 -0
  4. package/assets/markdown/{create-google-play-game.md → create-google-play-game.md.ejs} +2 -2
  5. package/assets/markdown/{invite-service-account.md → invite-service-account.md.ejs} +1 -1
  6. package/assets/markdown/{ios-success.md → ios-success.md.ejs} +2 -2
  7. package/assets/markdown/{privacy-notification.md → privacy-notification.md.ejs} +1 -1
  8. package/assets/markdown/service-account-policy-wizard.md.ejs +26 -0
  9. package/assets/markdown/service-account-policy.md.ejs +30 -0
  10. package/assets/markdown/{ship-failure.md → ship-failure.md.ejs} +1 -1
  11. package/assets/markdown/{ship-success.md → ship-success.md.ejs} +2 -2
  12. package/dist/{AppleBundleIdDetails-BhHPCvRm.js → AppleBundleIdDetails-N_j1wv6f.js} +5 -4
  13. package/dist/{Command-BDIkuv2g.js → Command-DN1j3tjt.js} +2 -2
  14. package/dist/{CommandGame-CvBIjPZp.js → CommandGame-D2NqytWc.js} +2 -2
  15. package/dist/{Create-Lpe0B8nT.js → Create-BRdv5jXQ.js} +5 -4
  16. package/dist/{GameStatus-5XpufIY_.js → GameStatus-joyHPy0f.js} +12 -17
  17. package/dist/{Import-DFzrAG04.js → Import-BNMHsJoM.js} +5 -4
  18. package/dist/{JobLogTail-BYcJgPcL.js → JobLogTail-D35FO5v-.js} +5 -5
  19. package/dist/{JobProgress-BcrE7CUK.js → JobProgress-D-9KESaA.js} +6 -5
  20. package/dist/{JobStatusTable-Bi-y8ZZT.js → JobStatusTable-DIJ_h-gi.js} +4 -4
  21. package/dist/{ProjectCredentialsTable-B4vDJl4l.js → ProjectCredentialsTable-BMKgv99h.js} +2 -2
  22. package/dist/{RunWithSpinner-gMVA07bZ.js → RunWithSpinner-DucRnFp6.js} +2 -1
  23. package/dist/{UserCredentialsTable-CwkZTFBD.js → UserCredentialsTable-CUrTDzTK.js} +10 -10
  24. package/dist/{baseAppleCommand-BKXweb-U.js → baseAppleCommand-Cs9a52e5.js} +1 -1
  25. package/dist/{baseGameAndroidCommand-CAi-BSsH.js → baseGameAndroidCommand-BCB1SMCf.js} +2 -2
  26. package/dist/commands/apiKey/create.js +100 -0
  27. package/dist/commands/apiKey/list.js +94 -0
  28. package/dist/commands/apiKey/revoke.js +85 -0
  29. package/dist/commands/apple/apiKey/create.js +12 -9
  30. package/dist/commands/apple/apiKey/export.js +11 -8
  31. package/dist/commands/apple/apiKey/import.js +11 -8
  32. package/dist/commands/apple/apiKey/status.js +16 -13
  33. package/dist/commands/apple/certificate/create.js +12 -9
  34. package/dist/commands/apple/certificate/export.js +11 -8
  35. package/dist/commands/apple/certificate/import.js +11 -8
  36. package/dist/commands/apple/certificate/status.js +16 -13
  37. package/dist/commands/apple/login.js +2 -2
  38. package/dist/commands/apple/status.js +8 -5
  39. package/dist/commands/dashboard.js +1 -1
  40. package/dist/commands/game/android/apiKey/connect.js +13 -9
  41. package/dist/commands/game/android/apiKey/create.js +15 -11
  42. package/dist/commands/game/android/apiKey/export.js +12 -9
  43. package/dist/commands/game/android/apiKey/import.js +12 -9
  44. package/dist/commands/game/android/apiKey/invite.js +4 -4
  45. package/dist/commands/game/android/apiKey/policy.js +87 -0
  46. package/dist/commands/game/android/apiKey/status.js +11 -8
  47. package/dist/commands/game/android/keyStore/create.js +13 -10
  48. package/dist/commands/game/android/keyStore/export.js +11 -8
  49. package/dist/commands/game/android/keyStore/import.js +13 -10
  50. package/dist/commands/game/android/keyStore/status.js +10 -7
  51. package/dist/commands/game/android/status.js +1 -1
  52. package/dist/commands/game/build/download.js +9 -6
  53. package/dist/commands/game/build/list.js +9 -6
  54. package/dist/commands/game/create.js +2 -2
  55. package/dist/commands/game/details.js +8 -5
  56. package/dist/commands/game/export.js +1 -1
  57. package/dist/commands/game/ios/app/addTester.js +16 -13
  58. package/dist/commands/game/ios/app/create.js +9 -6
  59. package/dist/commands/game/ios/app/status.js +11 -8
  60. package/dist/commands/game/ios/app/sync.js +10 -7
  61. package/dist/commands/game/ios/profile/create.js +12 -9
  62. package/dist/commands/game/ios/profile/export.js +11 -8
  63. package/dist/commands/game/ios/profile/import.js +11 -8
  64. package/dist/commands/game/ios/profile/status.js +10 -7
  65. package/dist/commands/game/ios/status.js +13 -10
  66. package/dist/commands/game/ios/wizard.js +9 -6
  67. package/dist/commands/game/job/list.js +8 -5
  68. package/dist/commands/game/job/status.js +11 -8
  69. package/dist/commands/game/list.js +15 -10
  70. package/dist/commands/game/ship.js +15 -12
  71. package/dist/commands/game/status.js +10 -7
  72. package/dist/commands/game/wizard.js +24 -20
  73. package/dist/commands/internal/fastlane.js +1 -1
  74. package/dist/commands/internal/readme.js +4 -715
  75. package/dist/commands/login.js +2 -2
  76. package/dist/commands/status.js +14 -14
  77. package/dist/ejs-DirFZbza.js +716 -0
  78. package/dist/{export-DLQrUEBK.js → export-DFCZKNQk.js} +1 -1
  79. package/dist/{import-BoY5e0uJ.js → import-BpGyif-m.js} +1 -1
  80. package/dist/{index-CisLwc7e.js → index-BTXEUd8W.js} +59 -16
  81. package/dist/{index-pj8JVg5X.js → index-BwnzoldS.js} +37 -2
  82. package/dist/{index-B27WJDxn.js → index-CJWMt1s-.js} +1 -1
  83. package/dist/{index-DC0GJtAy.js → index-DlE_SPt3.js} +7 -11
  84. package/dist/{index-DfUg5j06.js → index-hoHfGrjg.js} +33 -33
  85. package/dist/{index-Crv7S0bl.js → index-izrACZbC.js} +1 -1
  86. package/dist/{upload-C8S17EU_.js → upload-D19OQsbn.js} +1 -1
  87. package/dist/{useAndroidServiceAccountTestResult-D4e5AKAZ.js → useAndroidServiceAccountTestResult-CwKeW0ED.js} +1 -1
  88. package/dist/{useAppleApp-Dr6URQvC.js → useAppleApp-BZc_cNa-.js} +1 -1
  89. package/dist/{useAppleBundleId-DELAwSQp.js → useAppleBundleId-DvMXAvWD.js} +1 -1
  90. package/dist/useGoogleStatus-Cx_QIsXa.js +10 -0
  91. package/dist/{useProjectCredentials-BjvdJdQg.js → useProjectCredentials-DxdwJCfU.js} +14 -11
  92. package/dist/{useWebSocket-CRV7V69Q.js → useWebSocket-cM5yOcDv.js} +1 -1
  93. package/docs/README.md +3 -2
  94. package/docs/apiKey/create.md +27 -0
  95. package/docs/apiKey/list.md +30 -0
  96. package/docs/apiKey/revoke.md +26 -0
  97. package/docs/apiKey.md +103 -0
  98. package/docs/game/android/apiKey/policy.md +28 -0
  99. package/docs/game/android/keyStore.md +14 -4
  100. package/docs/game/android/status.md +4 -0
  101. package/docs/game/android.md +9 -305
  102. package/docs/game/ship.md +43 -11
  103. package/docs/game.md +7 -1
  104. package/package.json +11 -3
  105. /package/assets/markdown/{create-or-import-keystore.md → create-or-import-keystore.md.ejs} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
2
  import { Flags } from '@oclif/core';
3
3
  import { Box, Text, render } from 'ink';
4
- import { M as LogLevel, W as WEB_URL, a2 as getShortAuthRequiredUrl, c as BaseGameCommand, z as getJob, H as downloadBuildById } from '../../index-pj8JVg5X.js';
4
+ import { M as LogLevel, W as WEB_URL, a6 as getShortAuthRequiredUrl, c as BaseGameCommand, z as getJob, H as downloadBuildById } from '../../index-BwnzoldS.js';
5
5
  import 'ink-spinner';
6
6
  import 'node:crypto';
7
7
  import 'node:fs';
@@ -22,27 +22,30 @@ import 'fullscreen-ink';
22
22
  import 'string-length';
23
23
  import 'strip-ansi';
24
24
  import open from 'open';
25
- import { g as getShortUUID } from '../../index-B27WJDxn.js';
25
+ import { g as getShortUUID } from '../../index-CJWMt1s-.js';
26
26
  import 'crypto-js';
27
- import { u as useJobWatching, J as JobLogTail } from '../../JobLogTail-BYcJgPcL.js';
28
- import { J as JobStatusTable } from '../../JobStatusTable-Bi-y8ZZT.js';
27
+ import { u as useJobWatching, J as JobLogTail } from '../../JobLogTail-D35FO5v-.js';
28
+ import { J as JobStatusTable } from '../../JobStatusTable-DIJ_h-gi.js';
29
29
  import '@inkjs/ui';
30
- import { u as useShip, J as JobProgress } from '../../JobProgress-BcrE7CUK.js';
31
- import { C as CommandContext, G as GameContext, e as useSafeInput, M as Markdown } from '../../index-DfUg5j06.js';
30
+ import { u as useShip, J as JobProgress } from '../../JobProgress-D-9KESaA.js';
31
+ import { C as CommandContext, G as GameContext, e as useSafeInput, M as Markdown } from '../../index-hoHfGrjg.js';
32
32
  import 'qrcode';
33
+ import '../../ejs-DirFZbza.js';
33
34
  import 'marked';
34
35
  import 'marked-terminal';
35
- import { C as CommandGame } from '../../CommandGame-CvBIjPZp.js';
36
+ import { C as CommandGame } from '../../CommandGame-D2NqytWc.js';
36
37
  import '@expo/apple-utils/build/index.js';
37
38
  import 'deepmerge';
38
39
  import 'ini';
39
- import '../../useAndroidServiceAccountTestResult-D4e5AKAZ.js';
40
- import '../../useWebSocket-CRV7V69Q.js';
40
+ import '../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
41
+ import '../../useWebSocket-cM5yOcDv.js';
41
42
  import '../../Title-BCQtayg6.js';
42
43
  import '../../StatusTable-DzRWcMr4.js';
43
44
  import '../../git-BpsfNFZ_.js';
44
45
  import '../../ProgressSpinner-Um6ARKlk.js';
45
- import '../../Command-BDIkuv2g.js';
46
+ import 'fs';
47
+ import 'path';
48
+ import '../../Command-DN1j3tjt.js';
46
49
 
47
50
  function isNetworkError(exception) {
48
51
  if (!axios.isAxiosError(exception)) return false;
@@ -158,7 +161,7 @@ const Ship = ({ onComplete, onError }) => {
158
161
  failedJobs.length === 0 && /* @__PURE__ */ jsx(
159
162
  Markdown,
160
163
  {
161
- filename: "ship-success.md",
164
+ filename: "ship-success.md.ejs",
162
165
  templateVars: {
163
166
  gameBuildsUrl: `${WEB_URL}games/${getShortUUID(gameId)}/builds`,
164
167
  wasPublished: !flags?.skipPublish
@@ -169,7 +172,7 @@ const Ship = ({ onComplete, onError }) => {
169
172
  /* @__PURE__ */ jsx(
170
173
  Markdown,
171
174
  {
172
- filename: "ship-failure.md",
175
+ filename: "ship-failure.md.ejs",
173
176
  templateVars: {
174
177
  jobDashboardUrl: `${WEB_URL}games/${getShortUUID(gameId)}/job/${getShortUUID(failedJobs[0].id)}`
175
178
  }
@@ -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 { B as BaseAuthenticatedCommand } from '../../index-pj8JVg5X.js';
4
+ import { B as BaseAuthenticatedCommand } from '../../index-BwnzoldS.js';
5
5
  import 'ink-spinner';
6
6
  import 'node:crypto';
7
7
  import 'node:fs';
@@ -20,25 +20,28 @@ import 'fast-glob';
20
20
  import 'yazl';
21
21
  import 'socket.io-client';
22
22
  import 'fullscreen-ink';
23
- import { a as GameStatus$1 } from '../../GameStatus-5XpufIY_.js';
23
+ import { a as GameStatus$1 } from '../../GameStatus-joyHPy0f.js';
24
24
  import 'string-length';
25
25
  import 'strip-ansi';
26
26
  import 'open';
27
27
  import '@inkjs/ui';
28
+ import '../../ejs-DirFZbza.js';
28
29
  import 'marked';
29
30
  import 'marked-terminal';
30
31
  import 'qrcode';
31
- import '../../index-DfUg5j06.js';
32
- import { C as CommandGame } from '../../CommandGame-CvBIjPZp.js';
32
+ import '../../index-hoHfGrjg.js';
33
+ import { C as CommandGame } from '../../CommandGame-D2NqytWc.js';
33
34
  import '@expo/apple-utils/build/index.js';
34
35
  import 'deepmerge';
35
36
  import 'ini';
36
- import '../../index-B27WJDxn.js';
37
+ import '../../index-CJWMt1s-.js';
37
38
  import '../../StatusTable-DzRWcMr4.js';
38
39
  import '../../Title-BCQtayg6.js';
39
40
  import '../../NextSteps-DbJHmscQ.js';
40
- import '../../useAndroidServiceAccountTestResult-D4e5AKAZ.js';
41
- import '../../Command-BDIkuv2g.js';
41
+ import 'fs';
42
+ import 'path';
43
+ import '../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
44
+ import '../../Command-DN1j3tjt.js';
42
45
 
43
46
  class GameStatus extends BaseAuthenticatedCommand {
44
47
  static args = {};
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { Args } from '@oclif/core';
3
3
  import { useScreenSize, withFullScreen } from 'fullscreen-ink';
4
- import { K as queryClient, p as getAuthedHeaders, o as API_URL, I as castArrayObjectDates, a9 as updateProject, t as getGodotVersion, s as GameEngine, u as createProject, v as DEFAULT_SHIPPED_FILES_GLOBS, w as DEFAULT_IGNORED_FILES_GLOBS, P as Platform, J as JobStatus, W as WEB_URL, E as getProject, C as CredentialsType, Q as getGoogleStatus, B as BaseAuthenticatedCommand, j as isCWDGodotGame } from '../../index-pj8JVg5X.js';
4
+ import { K as queryClient, p as getAuthedHeaders, o as API_URL, I as castArrayObjectDates, ae as updateProject, t as getGodotVersion, s as GameEngine, u as createProject, v as DEFAULT_SHIPPED_FILES_GLOBS, w as DEFAULT_IGNORED_FILES_GLOBS, P as Platform, J as JobStatus, W as WEB_URL, E as getProject, C as CredentialsType, Q as getGoogleStatus, B as BaseAuthenticatedCommand, j as isCWDGodotGame } from '../../index-BwnzoldS.js';
5
5
  import { Box, Text } from 'ink';
6
6
  import Spinner from 'ink-spinner';
7
7
  import 'node:crypto';
@@ -23,31 +23,35 @@ import 'socket.io-client';
23
23
  import 'string-length';
24
24
  import 'strip-ansi';
25
25
  import 'open';
26
- import { C as ConnectGoogle } from '../../index-DC0GJtAy.js';
27
- import { C as CommandContext, G as GameContext, u as useBuilds, M as Markdown, e as useSafeInput, q as queryBuilds, c as GameProvider, h as CreateGooglePlayGame } from '../../index-DfUg5j06.js';
26
+ import { C as ConnectGoogle } from '../../index-DlE_SPt3.js';
27
+ import { C as CommandContext, G as GameContext, u as useBuilds, M as Markdown, e as useSafeInput, q as queryBuilds, c as GameProvider, h as CreateGooglePlayGame } from '../../index-hoHfGrjg.js';
28
28
  import { TextInput, Alert } from '@inkjs/ui';
29
+ import '../../ejs-DirFZbza.js';
29
30
  import 'marked';
30
31
  import 'marked-terminal';
31
32
  import 'qrcode';
32
- import { g as getShortUUID } from '../../index-B27WJDxn.js';
33
- import { J as JobLogTail } from '../../JobLogTail-BYcJgPcL.js';
34
- import { c as cacheKeys, f as fetchKeyTestResult, K as KeyTestStatus, a as KeyTestError } from '../../useAndroidServiceAccountTestResult-D4e5AKAZ.js';
35
- import { u as useShip, J as JobProgress } from '../../JobProgress-BcrE7CUK.js';
36
- import { C as CreateServiceAccountKey } from '../../index-CisLwc7e.js';
37
- import { C as CreateKeystore } from '../../Create-Lpe0B8nT.js';
38
- import { I as ImportKeystore } from '../../Import-DFzrAG04.js';
39
- import { a as getProjectCredentials } from '../../index-Crv7S0bl.js';
33
+ import { g as getShortUUID } from '../../index-CJWMt1s-.js';
34
+ import { J as JobLogTail } from '../../JobLogTail-D35FO5v-.js';
35
+ import { c as cacheKeys, f as fetchKeyTestResult, K as KeyTestStatus, a as KeyTestError } from '../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
36
+ import { u as useShip, J as JobProgress } from '../../JobProgress-D-9KESaA.js';
37
+ import { C as CreateServiceAccountKey } from '../../index-BTXEUd8W.js';
38
+ import { C as CreateKeystore } from '../../Create-BRdv5jXQ.js';
39
+ import { I as ImportKeystore } from '../../Import-BNMHsJoM.js';
40
+ import { a as getProjectCredentials } from '../../index-izrACZbC.js';
40
41
  import { T as Title } from '../../Title-BCQtayg6.js';
41
- import { C as Command } from '../../Command-BDIkuv2g.js';
42
+ import { C as Command } from '../../Command-DN1j3tjt.js';
42
43
  import '@expo/apple-utils/build/index.js';
43
44
  import 'deepmerge';
44
45
  import 'ini';
45
- import '../../useWebSocket-CRV7V69Q.js';
46
+ import '../../useGoogleStatus-Cx_QIsXa.js';
47
+ import '../../useWebSocket-cM5yOcDv.js';
48
+ import 'fs';
49
+ import 'path';
46
50
  import '../../git-BpsfNFZ_.js';
47
51
  import '../../ProgressSpinner-Um6ARKlk.js';
48
- import '../../useProjectCredentials-BjvdJdQg.js';
49
- import '../../RunWithSpinner-gMVA07bZ.js';
50
- import '../../import-BoY5e0uJ.js';
52
+ import '../../useProjectCredentials-DxdwJCfU.js';
53
+ import '../../RunWithSpinner-DucRnFp6.js';
54
+ import '../../import-BpGyif-m.js';
51
55
 
52
56
  const useInviteServiceAccount = () => useMutation({
53
57
  async mutationFn({ developerId, projectId }) {
@@ -301,7 +305,7 @@ const CreateForGame = ({ gameId, onComplete, onError, ...boxProps }) => {
301
305
  /* @__PURE__ */ jsx(
302
306
  Markdown,
303
307
  {
304
- filename: "ship-failure.md",
308
+ filename: "ship-failure.md.ejs",
305
309
  templateVars: {
306
310
  jobDashboardUrl: `${WEB_URL}games/${getShortUUID(gameId)}/job/${getShortUUID(failedJob.id)}`
307
311
  }
@@ -356,7 +360,7 @@ const InviteServiceAccount = ({ onComplete, onError, ...boxProps }) => {
356
360
  guideURL: new URL("/docs/guides/google-play-account-id", WEB_URL).toString()
357
361
  };
358
362
  return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { flexDirection: "column", gap: 1, ...boxProps, children: [
359
- /* @__PURE__ */ jsx(Markdown, { filename: "invite-service-account.md", templateVars }),
363
+ /* @__PURE__ */ jsx(Markdown, { filename: "invite-service-account.md.ejs", templateVars }),
360
364
  /* @__PURE__ */ jsxs(Box, { children: [
361
365
  inviteMutation.isPending && /* @__PURE__ */ jsx(Spinner, { type: "dots" }),
362
366
  !inviteMutation.isPending && /* @__PURE__ */ jsx(InviteForm, { onSubmit: handleSubmit })
@@ -460,7 +464,7 @@ const CreateOrImport = ({ onComplete, onError, ...boxProps }) => {
460
464
  }
461
465
  };
462
466
  return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", gap: 1, ...boxProps, children: [
463
- /* @__PURE__ */ jsx(Markdown, { filename: "create-or-import-keystore.md", templateVars: {} }),
467
+ /* @__PURE__ */ jsx(Markdown, { filename: "create-or-import-keystore.md.ejs", templateVars: {} }),
464
468
  renderStage()
465
469
  ] });
466
470
  };
@@ -636,7 +640,7 @@ const AndroidWizard = (props) => {
636
640
  padding: isTall && isWide ? 1 : 0
637
641
  }
638
642
  ),
639
- showSuccess && /* @__PURE__ */ jsx(Box, { marginTop: 1, children: /* @__PURE__ */ jsx(Markdown, { filename: "android-success.md", templateVars }) })
643
+ showSuccess && /* @__PURE__ */ jsx(Box, { marginTop: 1, children: /* @__PURE__ */ jsx(Markdown, { filename: "android-success.md.ejs", templateVars }) })
640
644
  ] });
641
645
  };
642
646
 
@@ -1,7 +1,7 @@
1
1
  import fs__default, { promises } from 'node:fs';
2
2
  import path from 'node:path';
3
3
  import { Args, Flags } from '@oclif/core';
4
- import { V as BaseCommand } from '../../index-pj8JVg5X.js';
4
+ import { Y as BaseCommand } from '../../index-BwnzoldS.js';
5
5
  import 'axios';
6
6
  import 'crypto-js';
7
7
  import 'uuid';