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,40 +1,40 @@
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, H as downloadBuildById } from '../../../index-w3lHxk5O.js';
6
- import 'react';
7
- import '../../../index-CyvGh-kt.js';
5
+ import { c as BaseGameCommand, H as downloadBuildById } from '../../../index-BhhiXbey.js';
8
6
  import 'ink-spinner';
9
- import '@inkjs/ui';
10
- import 'axios';
11
- import '@tanstack/react-query';
12
- import 'uuid';
13
- import 'yazl';
14
- import 'crypto';
15
- import 'readline-sync';
16
- import 'node:readline';
7
+ import 'node:crypto';
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';
21
+ import 'fullscreen-ink';
22
+ import 'string-length';
23
+ import 'strip-ansi';
23
24
  import 'open';
25
+ import '@inkjs/ui';
24
26
  import 'marked';
25
27
  import 'marked-terminal';
26
- import 'path';
27
28
  import 'qrcode';
28
- import { R as RunWithSpinner } from '../../../RunWithSpinner-BVXNWGD3.js';
29
- import 'string-length';
30
- import 'strip-ansi';
31
- import { C as Command } from '../../../Command-DFdHXDiU.js';
32
- import '@expo/apple-utils/build/index.js';
29
+ import { R as RunWithSpinner } from '../../../RunWithSpinner-gMVA07bZ.js';
30
+ import '../../../index-C66Dd8Xc.js';
31
+ import { C as Command } from '../../../Command-WPpmLPkL.js';
33
32
  import 'crypto-js';
34
- import 'ini';
33
+ import '@expo/apple-utils/build/index.js';
35
34
  import 'deepmerge';
36
- import '../../../index-DJ078v-U.js';
37
- import '../../../useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
35
+ import 'ini';
36
+ import '../../../index-CGBdOm1q.js';
37
+ import '../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
38
38
 
39
39
  class GameBuildDownload extends BaseGameCommand {
40
40
  static args = {
@@ -52,7 +52,7 @@ class GameBuildDownload extends BaseGameCommand {
52
52
  };
53
53
  async run() {
54
54
  const { args, flags } = this;
55
- const { file, build_id } = args;
55
+ const { build_id, file } = args;
56
56
  const { force } = flags;
57
57
  const alreadyExists = fs.existsSync(file);
58
58
  if (alreadyExists && !force) {
@@ -67,9 +67,9 @@ class GameBuildDownload extends BaseGameCommand {
67
67
  /* @__PURE__ */ jsx(Command, { command: this, children: /* @__PURE__ */ jsx(
68
68
  RunWithSpinner,
69
69
  {
70
- msgInProgress: `Downloading to ${file}...`,
71
- msgComplete: `Downloaded build artifact to ${file}`,
72
70
  executeMethod,
71
+ msgComplete: `Downloaded build artifact to ${file}`,
72
+ msgInProgress: `Downloading to ${file}...`,
73
73
  onComplete: handleComplete
74
74
  }
75
75
  ) })
@@ -1,52 +1,52 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { Box, Text, render } from 'ink';
3
2
  import { Flags } from '@oclif/core';
4
- import { c as BaseGameCommand } from '../../../index-w3lHxk5O.js';
5
- import 'react';
6
- import { u as useBuilds, c as getBuildSummary } from '../../../index-CyvGh-kt.js';
3
+ import { Box, Text, render } from 'ink';
4
+ import { c as BaseGameCommand } from '../../../index-BhhiXbey.js';
7
5
  import Spinner from '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';
15
+ import '@tanstack/react-query';
16
+ import 'react';
17
+ import 'crypto-js';
18
+ import 'uuid';
19
+ import { u as useBuilds, d as getBuildSummary } from '../../../index-C66Dd8Xc.js';
22
20
  import 'fast-glob';
21
+ import 'yazl';
23
22
  import 'socket.io-client';
23
+ import 'fullscreen-ink';
24
+ import { T as Table } from '../../../Table-FaNgpyeq.js';
25
+ import { T as Title } from '../../../Title-BCQtayg6.js';
26
+ import 'string-length';
27
+ import 'strip-ansi';
24
28
  import 'open';
29
+ import '@inkjs/ui';
25
30
  import 'marked';
26
31
  import 'marked-terminal';
27
- import 'path';
28
32
  import 'qrcode';
29
- import 'string-length';
30
- import 'strip-ansi';
31
- import { C as CommandGame } from '../../../CommandGame-Dif-oSky.js';
32
- import { T as Table } from '../../../Table-CvM6pccN.js';
33
- import { T as Title } from '../../../Title-BCQtayg6.js';
33
+ import { C as CommandGame } from '../../../CommandGame-cxzWG4nT.js';
34
34
  import '@expo/apple-utils/build/index.js';
35
- import 'ini';
36
35
  import 'deepmerge';
37
- import '../../../index-DJ078v-U.js';
38
- import '../../../useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
39
- import '../../../Command-DFdHXDiU.js';
36
+ import 'ini';
37
+ import '../../../index-CGBdOm1q.js';
38
+ import '../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
39
+ import '../../../Command-WPpmLPkL.js';
40
40
 
41
41
  const BuildsTable = ({ queryProps, ...boxProps }) => {
42
- const { isLoading, data } = useBuilds(queryProps);
42
+ const { data, isLoading } = useBuilds(queryProps);
43
43
  const hasBuilds = (data?.data?.length ?? 0) > 0;
44
44
  return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", marginBottom: 1, ...boxProps, children: [
45
45
  /* @__PURE__ */ jsx(Title, { children: `Builds uploaded to ShipThis from completed jobs for this game.` }),
46
- !isLoading && !hasBuilds && /* @__PURE__ */ jsx(Box, { marginLeft: 2, marginTop: 1, flexDirection: "column", children: /* @__PURE__ */ jsx(Text, { children: "You DO NOT have any builds uploaded to ShipThis from completed jobs for this game." }) }),
46
+ !isLoading && !hasBuilds && /* @__PURE__ */ jsx(Box, { flexDirection: "column", marginLeft: 2, marginTop: 1, children: /* @__PURE__ */ jsx(Text, { children: "You DO NOT have any builds uploaded to ShipThis from completed jobs for this game." }) }),
47
47
  isLoading && /* @__PURE__ */ jsx(Spinner, { type: "dots" }),
48
48
  data && hasBuilds && /* @__PURE__ */ jsx(Table, { data: data.data.map(getBuildSummary) }),
49
- data && data.pageCount > 1 && /* @__PURE__ */ jsxs(Box, { marginTop: 1, flexDirection: "column", children: [
49
+ data && data.pageCount > 1 && /* @__PURE__ */ jsxs(Box, { flexDirection: "column", marginTop: 1, children: [
50
50
  /* @__PURE__ */ jsx(Text, { children: `Showing page ${(queryProps.pageNumber || 0) + 1} of ${data.pageCount}.` }),
51
51
  /* @__PURE__ */ jsx(Text, { children: "Use the --pageNumber parameter to see other pages." })
52
52
  ] })
@@ -63,20 +63,20 @@ class GameBuildList extends BaseGameCommand {
63
63
  ];
64
64
  static flags = {
65
65
  ...super.flags,
66
- pageNumber: Flags.integer({ char: "p", description: "The page number to show (starts at 0)", default: 0 }),
67
- pageSize: Flags.integer({ char: "s", description: "The number of items to show per page", default: 10 }),
66
+ order: Flags.string({
67
+ char: "r",
68
+ default: "desc",
69
+ description: "The order to sort by",
70
+ options: ["asc", "desc"]
71
+ }),
68
72
  orderBy: Flags.string({
69
73
  char: "o",
70
- description: "The field to order by",
71
74
  default: "createdAt",
75
+ description: "The field to order by",
72
76
  options: ["createdAt", "updatedAt"]
73
77
  }),
74
- order: Flags.string({
75
- char: "r",
76
- description: "The order to sort by",
77
- default: "desc",
78
- options: ["asc", "desc"]
79
- })
78
+ pageNumber: Flags.integer({ char: "p", default: 0, description: "The page number to show (starts at 0)" }),
79
+ pageSize: Flags.integer({ char: "s", default: 10, description: "The number of items to show per page" })
80
80
  };
81
81
  async run() {
82
82
  const game = await this.getGame();
@@ -1,40 +1,39 @@
1
1
  import { Flags } from '@oclif/core';
2
- import { B as BaseAuthenticatedCommand, D as DetailsFlags, j as isCWDGodotGame, t as GameEngine, u as getGodotVersion, v as createProject, w as DEFAULT_IGNORED_FILES_GLOBS, x as DEFAULT_SHIPPED_FILES_GLOBS, y as getGodotProjectName } from '../../index-w3lHxk5O.js';
3
- import { a as getInput } from '../../index-DJ078v-U.js';
4
- import 'path';
5
- import 'fs';
6
- import '@expo/apple-utils/build/index.js';
2
+ import { B as BaseAuthenticatedCommand, D as DetailsFlags, j as isCWDGodotGame, s as GameEngine, t as getGodotVersion, u as createProject, v as DEFAULT_SHIPPED_FILES_GLOBS, w as DEFAULT_IGNORED_FILES_GLOBS, x as getGodotProjectName } from '../../index-BhhiXbey.js';
3
+ import { a as getInput } from '../../index-CGBdOm1q.js';
4
+ import 'node:fs';
7
5
  import 'axios';
8
6
  import 'crypto-js';
9
7
  import 'uuid';
10
8
  import 'luxon';
11
- import 'crypto';
12
- import 'readline-sync';
13
- import 'node:readline';
14
9
  import 'node:path';
10
+ import '@expo/apple-utils/build/index.js';
11
+ import 'node:crypto';
12
+ import 'node:readline';
15
13
  import 'node:url';
14
+ import 'readline-sync';
16
15
  import 'isomorphic-git';
17
- import 'ini';
18
16
  import 'deepmerge';
19
- import 'react';
17
+ import 'ini';
20
18
  import '@tanstack/react-query';
19
+ import 'react';
21
20
  import 'fast-glob';
22
21
  import 'yazl';
23
22
  import 'socket.io-client';
24
- import 'ink';
23
+ import 'fullscreen-ink';
25
24
 
26
25
  class GameCreate extends BaseAuthenticatedCommand {
27
26
  static args = {};
28
27
  static description = "Create a new game in ShipThis.";
29
28
  static examples = ["<%= config.bin %> <%= command.id %>"];
30
29
  static flags = {
31
- quiet: Flags.boolean({ char: "q", description: "Avoid output except for interactions and errors" }),
32
30
  force: Flags.boolean({ char: "f" }),
31
+ quiet: Flags.boolean({ char: "q", description: "Avoid output except for interactions and errors" }),
33
32
  ...DetailsFlags
34
33
  };
35
34
  async run() {
36
35
  const { flags } = this;
37
- const { quiet, force, name: flagName, ...details } = flags;
36
+ const { force, name: flagName, quiet, ...details } = flags;
38
37
  if (this.hasProjectConfig() && !force) {
39
38
  throw new Error("This directory already has a ShipThis project. Use --force to overwrite.");
40
39
  }
@@ -55,11 +54,11 @@ class GameCreate extends BaseAuthenticatedCommand {
55
54
  gameEngine,
56
55
  gameEngineVersion
57
56
  };
58
- const project = await createProject({ name, details: projectDetails });
57
+ const project = await createProject({ details: projectDetails, name });
59
58
  await this.setProjectConfig({
59
+ ignoredFilesGlobs: DEFAULT_IGNORED_FILES_GLOBS,
60
60
  project,
61
- shippedFilesGlobs: DEFAULT_SHIPPED_FILES_GLOBS,
62
- ignoredFilesGlobs: DEFAULT_IGNORED_FILES_GLOBS
61
+ shippedFilesGlobs: DEFAULT_SHIPPED_FILES_GLOBS
63
62
  });
64
63
  if (!flags.quiet) await this.config.runCommand("game:status");
65
64
  }
@@ -1,41 +1,41 @@
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 { c as BaseGameCommand, D as DetailsFlags, t as GameEngine } from '../../index-w3lHxk5O.js';
3
+ import { render } from 'ink';
4
+ import { c as BaseGameCommand, D as DetailsFlags, s as GameEngine } from '../../index-BhhiXbey.js';
7
5
  import 'ink-spinner';
6
+ import { i as isValidSemVer } from '../../index-CGBdOm1q.js';
7
+ import 'react';
8
+ import 'node:fs';
8
9
  import 'axios';
9
10
  import 'crypto-js';
10
11
  import 'uuid';
11
- import 'fs';
12
12
  import 'luxon';
13
- import '@inkjs/ui';
14
13
  import '@tanstack/react-query';
14
+ import 'fast-glob';
15
15
  import 'yazl';
16
- import { i as isValidSemVer } from '../../index-DJ078v-U.js';
16
+ import 'socket.io-client';
17
+ import 'fullscreen-ink';
18
+ import 'string-length';
19
+ import 'strip-ansi';
20
+ import { S as StatusTable } from '../../StatusTable-DzRWcMr4.js';
17
21
  import 'open';
22
+ import '@inkjs/ui';
23
+ import 'node:path';
18
24
  import 'marked';
19
25
  import 'marked-terminal';
20
- import 'path';
21
26
  import 'qrcode';
22
- import { S as StatusTable } from '../../StatusTable-Dm5St4g-.js';
23
- import 'string-length';
24
- import 'strip-ansi';
25
- import 'fast-glob';
26
- import { C as Command } from '../../Command-DFdHXDiU.js';
27
- import 'socket.io-client';
28
- import '../../useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
27
+ import '../../index-C66Dd8Xc.js';
28
+ import { C as Command } from '../../Command-WPpmLPkL.js';
29
29
  import '@expo/apple-utils/build/index.js';
30
- import 'crypto';
31
- import 'readline-sync';
30
+ import 'node:crypto';
32
31
  import 'node:readline';
33
- import 'node:path';
34
32
  import 'node:url';
33
+ import 'readline-sync';
35
34
  import 'isomorphic-git';
36
- import 'ini';
37
35
  import 'deepmerge';
36
+ import 'ini';
38
37
  import '../../Title-BCQtayg6.js';
38
+ import '../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
39
39
 
40
40
  class GameDetails extends BaseGameCommand {
41
41
  static args = {};
@@ -52,17 +52,17 @@ class GameDetails extends BaseGameCommand {
52
52
  ...DetailsFlags
53
53
  };
54
54
  async run() {
55
- const { gameId, force, ...valueFlags } = this.flags;
55
+ const { force, gameId, ...valueFlags } = this.flags;
56
56
  const {
57
- name,
58
- semanticVersion,
57
+ androidPackageName,
59
58
  buildNumber,
60
59
  gameEngine,
61
60
  gameEngineVersion,
62
- iosBundleId,
63
- androidPackageName,
64
61
  gcpProjectId,
65
- gcpServiceAccountId
62
+ gcpServiceAccountId,
63
+ iosBundleId,
64
+ name,
65
+ semanticVersion
66
66
  } = valueFlags;
67
67
  if (semanticVersion && !isValidSemVer(semanticVersion))
68
68
  throw new Error(`Invalid semantic version: ${semanticVersion}`);
@@ -71,7 +71,6 @@ class GameDetails extends BaseGameCommand {
71
71
  if (gameEngine && gameEngine !== GameEngine.GODOT) throw new Error(`Game engine ${gameEngine} not supported`);
72
72
  let game = await this.getGame();
73
73
  const update = {
74
- name: name || game.name,
75
74
  details: {
76
75
  ...game.details,
77
76
  ...semanticVersion && { semanticVersion },
@@ -82,7 +81,8 @@ class GameDetails extends BaseGameCommand {
82
81
  ...androidPackageName && { androidPackageName },
83
82
  ...gcpProjectId && { gcpProjectId },
84
83
  ...gcpServiceAccountId && { gcpServiceAccountId }
85
- }
84
+ },
85
+ name: name || game.name
86
86
  };
87
87
  if (Object.keys(valueFlags).length > 0) {
88
88
  game = await this.updateGame(update);
@@ -91,22 +91,21 @@ class GameDetails extends BaseGameCommand {
91
91
  /* @__PURE__ */ jsx(Command, { command: this, children: /* @__PURE__ */ jsx(
92
92
  StatusTable,
93
93
  {
94
- title: "Game Details",
95
94
  statuses: {
96
- "Game Name": game.name,
97
- "Game Engine": game.details?.gameEngine || "Please set!",
98
- "Game Engine Version": game.details?.gameEngineVersion || "Please set!",
99
- "iOS Bundle ID": game.details?.iosBundleId || "N/A",
100
95
  "Android Package Name": game.details?.androidPackageName || "N/A",
101
- "Semantic Version": game.details?.semanticVersion || "0.0.1",
102
96
  "Build Number": game.details?.buildNumber || 1,
103
97
  "GCP Project ID": game.details?.gcpProjectId || "N/A",
104
- "GCP Service Account ID": game.details?.gcpServiceAccountId || "N/A"
105
- }
98
+ "GCP Service Account ID": game.details?.gcpServiceAccountId || "N/A",
99
+ "Game Engine": game.details?.gameEngine || "Please set!",
100
+ "Game Engine Version": game.details?.gameEngineVersion || "Please set!",
101
+ "Game Name": game.name,
102
+ "Semantic Version": game.details?.semanticVersion || "0.0.1",
103
+ "iOS Bundle ID": game.details?.iosBundleId || "N/A"
104
+ },
105
+ title: "Game Details"
106
106
  }
107
107
  ) })
108
108
  );
109
- return;
110
109
  }
111
110
  }
112
111
 
@@ -1,26 +1,25 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
- import { B as BaseAuthenticatedCommand, j as isCWDGodotGame, F as getProject, w as DEFAULT_IGNORED_FILES_GLOBS, x as DEFAULT_SHIPPED_FILES_GLOBS } from '../../index-w3lHxk5O.js';
3
- import 'crypto';
4
- import 'fs';
5
- import 'readline-sync';
6
- import 'node:readline';
2
+ import { B as BaseAuthenticatedCommand, j as isCWDGodotGame, E as getProject, v as DEFAULT_SHIPPED_FILES_GLOBS, w as DEFAULT_IGNORED_FILES_GLOBS } from '../../index-BhhiXbey.js';
3
+ import 'node:crypto';
4
+ import 'node:fs';
7
5
  import 'node:path';
6
+ import 'node:readline';
8
7
  import 'node:url';
8
+ import 'readline-sync';
9
9
  import 'luxon';
10
10
  import 'axios';
11
11
  import 'isomorphic-git';
12
- import 'react';
13
12
  import '@tanstack/react-query';
14
- import 'uuid';
13
+ import 'react';
15
14
  import 'fast-glob';
15
+ import 'uuid';
16
16
  import 'yazl';
17
17
  import 'socket.io-client';
18
- import 'ink';
19
- import 'path';
20
- import '@expo/apple-utils/build/index.js';
18
+ import 'fullscreen-ink';
21
19
  import 'crypto-js';
22
- import 'ini';
20
+ import '@expo/apple-utils/build/index.js';
23
21
  import 'deepmerge';
22
+ import 'ini';
24
23
 
25
24
  class GameExport extends BaseAuthenticatedCommand {
26
25
  static args = {
@@ -47,9 +46,9 @@ class GameExport extends BaseAuthenticatedCommand {
47
46
  }
48
47
  const project = await getProject(args.game_id);
49
48
  await this.setProjectConfig({
49
+ ignoredFilesGlobs: DEFAULT_IGNORED_FILES_GLOBS,
50
50
  project,
51
- shippedFilesGlobs: DEFAULT_SHIPPED_FILES_GLOBS,
52
- ignoredFilesGlobs: DEFAULT_IGNORED_FILES_GLOBS
51
+ shippedFilesGlobs: DEFAULT_SHIPPED_FILES_GLOBS
53
52
  });
54
53
  await this.config.runCommand("game:status");
55
54
  this.exit(0);
@@ -1,41 +1,41 @@
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 { c as BaseGameCommand, i as BetaGroup } from '../../../../index-w3lHxk5O.js';
3
+ import { render } from 'ink';
4
+ import { c as BaseGameCommand, i as BetaGroup } from '../../../../index-BhhiXbey.js';
7
5
  import 'ink-spinner';
6
+ import { a as getInput } from '../../../../index-CGBdOm1q.js';
7
+ import 'react';
8
+ import 'node:fs';
8
9
  import 'axios';
9
10
  import 'crypto-js';
10
11
  import 'uuid';
11
- import 'fs';
12
12
  import 'luxon';
13
- import '@inkjs/ui';
14
13
  import '@tanstack/react-query';
14
+ import { q as queryAppleApp } from '../../../../useAppleApp-DWYGURwU.js';
15
+ import 'fast-glob';
15
16
  import 'yazl';
16
- import { a as getInput } from '../../../../index-DJ078v-U.js';
17
+ import 'socket.io-client';
18
+ import 'fullscreen-ink';
19
+ import 'string-length';
20
+ import 'strip-ansi';
17
21
  import 'open';
22
+ import '@inkjs/ui';
23
+ import 'node:path';
18
24
  import 'marked';
19
25
  import 'marked-terminal';
20
- import 'path';
21
26
  import 'qrcode';
22
- import { R as RunWithSpinner } from '../../../../RunWithSpinner-BVXNWGD3.js';
23
- import 'string-length';
24
- import 'strip-ansi';
25
- import { q as queryAppleApp } from '../../../../useAppleApp-h1Ogi_qc.js';
26
- import 'fast-glob';
27
- import { C as Command } from '../../../../Command-DFdHXDiU.js';
28
- import 'socket.io-client';
29
- import '../../../../useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
27
+ import { R as RunWithSpinner } from '../../../../RunWithSpinner-gMVA07bZ.js';
28
+ import '../../../../index-C66Dd8Xc.js';
29
+ import { C as Command } from '../../../../Command-WPpmLPkL.js';
30
30
  import '@expo/apple-utils/build/index.js';
31
- import 'crypto';
32
- import 'readline-sync';
31
+ import 'node:crypto';
33
32
  import 'node:readline';
34
- import 'node:path';
35
33
  import 'node:url';
34
+ import 'readline-sync';
36
35
  import 'isomorphic-git';
37
- import 'ini';
38
36
  import 'deepmerge';
37
+ import 'ini';
38
+ import '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
39
39
 
40
40
  const TEST_GROUP_NAME = "ShipThis Test Group";
41
41
  class GameIosAppAddTester extends BaseGameCommand {
@@ -43,9 +43,9 @@ class GameIosAppAddTester extends BaseGameCommand {
43
43
  static description = "Adds a test user to the game in App Store Connect.";
44
44
  static examples = ["<%= config.bin %> <%= command.id %>"];
45
45
  static flags = {
46
- gameId: Flags.string({ char: "g", description: "The ID of the game" }),
47
46
  email: Flags.string({ char: "e", description: "The email address of the tester" }),
48
47
  firstName: Flags.string({ char: "f", description: "The first name of the tester" }),
48
+ gameId: Flags.string({ char: "g", description: "The ID of the game" }),
49
49
  lastName: Flags.string({ char: "l", description: "The last name of the tester" })
50
50
  };
51
51
  async run() {
@@ -90,8 +90,8 @@ class GameIosAppAddTester extends BaseGameCommand {
90
90
  if (!shipThisGroup) {
91
91
  shipThisGroup = await BetaGroup.createAsync(ctx, {
92
92
  id: app.id,
93
- name: TEST_GROUP_NAME,
94
93
  isInternalGroup: true,
94
+ name: TEST_GROUP_NAME,
95
95
  publicLinkEnabled: false,
96
96
  publicLinkLimit: 1,
97
97
  publicLinkLimitEnabled: false
@@ -111,9 +111,9 @@ class GameIosAppAddTester extends BaseGameCommand {
111
111
  /* @__PURE__ */ jsx(Command, { command: this, children: /* @__PURE__ */ jsx(
112
112
  RunWithSpinner,
113
113
  {
114
- msgInProgress: "Adding test user...",
115
- msgComplete: "Added test user",
116
114
  executeMethod: addTestUser,
115
+ msgComplete: "Added test user",
116
+ msgInProgress: "Adding test user...",
117
117
  onComplete: handleComplete
118
118
  }
119
119
  ) })
@@ -1,52 +1,52 @@
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 { c as BaseGameCommand, d as getGodotAppleBundleIdentifier, e as BundleId, f as App } from '../../../../index-w3lHxk5O.js';
3
+ import { render } from 'ink';
4
+ import { c as BaseGameCommand, d as getGodotAppleBundleIdentifier, e as BundleId, f as App } from '../../../../index-BhhiXbey.js';
7
5
  import 'ink-spinner';
6
+ import { a as getInput, b as generatePackageName } from '../../../../index-CGBdOm1q.js';
7
+ import 'react';
8
+ import 'node:fs';
8
9
  import 'axios';
9
10
  import 'crypto-js';
10
11
  import 'uuid';
11
- import 'fs';
12
12
  import 'luxon';
13
- import '@inkjs/ui';
14
13
  import '@tanstack/react-query';
14
+ import 'fast-glob';
15
15
  import 'yazl';
16
- import { a as getInput, b as generatePackageName } from '../../../../index-DJ078v-U.js';
16
+ import 'socket.io-client';
17
+ import 'fullscreen-ink';
18
+ import 'string-length';
19
+ import 'strip-ansi';
17
20
  import 'open';
21
+ import '@inkjs/ui';
22
+ import 'node:path';
18
23
  import 'marked';
19
24
  import 'marked-terminal';
20
- import 'path';
21
25
  import 'qrcode';
22
- import { R as RunWithSpinner } from '../../../../RunWithSpinner-BVXNWGD3.js';
23
- import 'string-length';
24
- import 'strip-ansi';
25
- import 'fast-glob';
26
- import { C as Command } from '../../../../Command-DFdHXDiU.js';
27
- import 'socket.io-client';
28
- import '../../../../useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
26
+ import { R as RunWithSpinner } from '../../../../RunWithSpinner-gMVA07bZ.js';
27
+ import '../../../../index-C66Dd8Xc.js';
28
+ import { C as Command } from '../../../../Command-WPpmLPkL.js';
29
29
  import '@expo/apple-utils/build/index.js';
30
- import 'crypto';
31
- import 'readline-sync';
30
+ import 'node:crypto';
32
31
  import 'node:readline';
33
- import 'node:path';
34
32
  import 'node:url';
33
+ import 'readline-sync';
35
34
  import 'isomorphic-git';
36
- import 'ini';
37
35
  import 'deepmerge';
36
+ import 'ini';
37
+ import '../../../../useAndroidServiceAccountTestResult-DZk5SMxI.js';
38
38
 
39
39
  class GameIosAppCreate extends BaseGameCommand {
40
40
  static args = {};
41
41
  static description = "Creates an App and BundleId in the Apple Developer Portal.";
42
42
  static examples = ["<%= config.bin %> <%= command.id %>"];
43
43
  static flags = {
44
- quiet: Flags.boolean({ char: "q", description: "Avoid output except for interactions and errors" }),
45
- gameId: Flags.string({ char: "g", description: "The ID of the game" }),
46
44
  appName: Flags.string({ char: "n", description: "The name of the App in the Apple Developer Portal" }),
47
45
  bundleId: Flags.string({ char: "b", description: "The BundleId in the Apple Developer Portal" }),
48
- force: Flags.boolean({ char: "f" })
46
+ force: Flags.boolean({ char: "f" }),
49
47
  // not used but don't remove or the wizard breaks
48
+ gameId: Flags.string({ char: "g", description: "The ID of the game" }),
49
+ quiet: Flags.boolean({ char: "q", description: "Avoid output except for interactions and errors" })
50
50
  };
51
51
  async run() {
52
52
  const game = await this.getGame();
@@ -104,9 +104,9 @@ class GameIosAppCreate extends BaseGameCommand {
104
104
  /* @__PURE__ */ jsx(Command, { command: this, children: /* @__PURE__ */ jsx(
105
105
  RunWithSpinner,
106
106
  {
107
- msgInProgress: "Creating App and BundleId in the Apple Developer Portal",
108
- msgComplete: "App and BundleId created",
109
107
  executeMethod: createApp,
108
+ msgComplete: "App and BundleId created",
109
+ msgInProgress: "Creating App and BundleId in the Apple Developer Portal",
110
110
  onComplete: handleComplete
111
111
  }
112
112
  ) })