shipthis 0.1.31 → 0.1.33

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-BhHPCvRm.js} +17 -19
  2. package/dist/Command-BDIkuv2g.js +29 -0
  3. package/dist/CommandGame-CvBIjPZp.js +7 -0
  4. package/dist/{Create-ISdroJ3G.js → Create-Lpe0B8nT.js} +20 -20
  5. package/dist/GameStatus-5XpufIY_.js +137 -0
  6. package/dist/{Import-CfThJF6k.js → Import-DFzrAG04.js} +34 -36
  7. package/dist/{JobLogTail-BWzbQBZz.js → JobLogTail-BYcJgPcL.js} +53 -52
  8. package/dist/{JobProgress-DjIkuk5U.js → JobProgress-BcrE7CUK.js} +40 -38
  9. package/dist/{JobStatusTable-CEqWU73q.js → JobStatusTable-Bi-y8ZZT.js} +14 -13
  10. package/dist/{NextSteps-CK9zHOCt.js → NextSteps-DbJHmscQ.js} +1 -3
  11. package/dist/{ProgressSpinner-6pw1T8Iw.js → ProgressSpinner-Um6ARKlk.js} +2 -2
  12. package/dist/{ProjectCredentialsTable-u9ruZ9mN.js → ProjectCredentialsTable-B4vDJl4l.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-CwkZTFBD.js} +18 -19
  16. package/dist/{baseAppleCommand-zhkGlKq0.js → baseAppleCommand-BKXweb-U.js} +1 -1
  17. package/dist/{baseGameAndroidCommand-DJ-cMLa_.js → baseGameAndroidCommand-CAi-BSsH.js} +23 -23
  18. package/dist/commands/apple/apiKey/create.js +36 -36
  19. package/dist/commands/apple/apiKey/export.js +27 -27
  20. package/dist/commands/apple/apiKey/import.js +28 -28
  21. package/dist/commands/apple/apiKey/status.js +32 -32
  22. package/dist/commands/apple/certificate/create.js +40 -40
  23. package/dist/commands/apple/certificate/export.js +27 -27
  24. package/dist/commands/apple/certificate/import.js +28 -28
  25. package/dist/commands/apple/certificate/status.js +33 -33
  26. package/dist/commands/apple/login.js +15 -15
  27. package/dist/commands/apple/status.js +27 -27
  28. package/dist/commands/dashboard.js +10 -10
  29. package/dist/commands/game/android/apiKey/connect.js +28 -28
  30. package/dist/commands/game/android/apiKey/create.js +29 -29
  31. package/dist/commands/game/android/apiKey/export.js +30 -30
  32. package/dist/commands/game/android/apiKey/import.js +32 -32
  33. package/dist/commands/game/android/apiKey/invite.js +14 -14
  34. package/dist/commands/game/android/apiKey/status.js +30 -30
  35. package/dist/commands/game/android/keyStore/create.js +25 -25
  36. package/dist/commands/game/android/keyStore/export.js +29 -29
  37. package/dist/commands/game/android/keyStore/import.js +36 -36
  38. package/dist/commands/game/android/keyStore/status.js +26 -26
  39. package/dist/commands/game/android/status.js +15 -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 -15
  43. package/dist/commands/game/details.js +35 -36
  44. package/dist/commands/game/export.js +12 -12
  45. package/dist/commands/game/ios/app/addTester.js +37 -32
  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 +32 -32
  50. package/dist/commands/game/ios/profile/export.js +29 -29
  51. package/dist/commands/game/ios/profile/import.js +33 -33
  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 +39 -34
  55. package/dist/commands/game/job/list.js +34 -34
  56. package/dist/commands/game/job/status.js +32 -32
  57. package/dist/commands/game/list.js +38 -40
  58. package/dist/commands/game/ship.js +81 -77
  59. package/dist/commands/game/status.js +38 -85
  60. package/dist/commands/game/wizard.js +253 -242
  61. package/dist/commands/internal/fastlane.js +15 -17
  62. package/dist/commands/internal/readme.js +38 -36
  63. package/dist/commands/login.js +14 -14
  64. package/dist/commands/status.js +32 -30
  65. package/dist/{export-DZxo2_e_.js → export-DLQrUEBK.js} +5 -5
  66. package/dist/{git-DREGq-jc.js → git-BpsfNFZ_.js} +8 -8
  67. package/dist/{import-8pL1AF47.js → import-BoY5e0uJ.js} +14 -14
  68. package/dist/{index-DJ078v-U.js → index-B27WJDxn.js} +43 -27
  69. package/dist/{index-DKQjnJrC.js → index-CisLwc7e.js} +42 -44
  70. package/dist/{index-C6aAyrXW.js → index-Crv7S0bl.js} +6 -6
  71. package/dist/{index-BHh0BZvD.js → index-DC0GJtAy.js} +50 -60
  72. package/dist/{index-CyvGh-kt.js → index-DfUg5j06.js} +93 -92
  73. package/dist/{index-w3lHxk5O.js → index-pj8JVg5X.js} +242 -225
  74. package/dist/{upload-BTpxj3QP.js → upload-C8S17EU_.js} +22 -22
  75. package/dist/{useAndroidServiceAccountTestResult-Dy3Ag7_r.js → useAndroidServiceAccountTestResult-D4e5AKAZ.js} +11 -13
  76. package/dist/{useAppleApp-h1Ogi_qc.js → useAppleApp-Dr6URQvC.js} +4 -4
  77. package/dist/{useAppleBundleId-B3TTNap0.js → useAppleBundleId-DELAwSQp.js} +6 -6
  78. package/dist/{useProjectCredentials-DpeXZcHP.js → useProjectCredentials-BjvdJdQg.js} +10 -12
  79. package/dist/{useWebSocket-gyuCsore.js → useWebSocket-CRV7V69Q.js} +1 -1
  80. package/dist/utils/help.js +4 -4
  81. package/package.json +5 -4
  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,59 +1,59 @@
1
1
  import axios from 'axios';
2
- import { p as getAuthedHeaders, q as API_URL } from './index-w3lHxk5O.js';
2
+ import { o as API_URL, p as getAuthedHeaders } from './index-pj8JVg5X.js';
3
3
 
4
4
  async function getNewUploadTicket(projectId = null) {
5
5
  const url = projectId ? `${API_URL}/projects/${projectId}/credentials/url` : `${API_URL}/credentials/url`;
6
6
  const headers = getAuthedHeaders();
7
7
  const { data: uploadInfo } = await axios({
8
+ headers,
8
9
  method: "post",
9
- url,
10
- headers
10
+ url
11
11
  });
12
12
  return uploadInfo;
13
13
  }
14
- async function uploadUserCredentials({ contents, platform, type, serialNumber }) {
14
+ async function uploadUserCredentials({ contents, platform, serialNumber, type }) {
15
15
  const uploadInfo = await getNewUploadTicket();
16
16
  const jsonBuffer = Buffer.from(JSON.stringify(contents));
17
17
  await axios.put(uploadInfo.url, jsonBuffer, {
18
18
  headers: {
19
- "Content-length": jsonBuffer.length,
20
- "Content-Type": "application/json"
19
+ "Content-Type": "application/json",
20
+ "Content-length": jsonBuffer.length
21
21
  }
22
22
  });
23
23
  const headers = getAuthedHeaders();
24
24
  return await axios({
25
- method: "post",
26
- url: `${API_URL}/credentials`,
27
- headers,
28
25
  data: {
29
26
  platform,
27
+ serialNumber,
30
28
  type,
31
- uuid: uploadInfo.uuid,
32
- serialNumber
33
- }
29
+ uuid: uploadInfo.uuid
30
+ },
31
+ headers,
32
+ method: "post",
33
+ url: `${API_URL}/credentials`
34
34
  });
35
35
  }
36
- async function uploadProjectCredentials(projectId, { contents, platform, type, serialNumber, identifier }) {
36
+ async function uploadProjectCredentials(projectId, { contents, identifier, platform, serialNumber, type }) {
37
37
  const uploadInfo = await getNewUploadTicket(projectId);
38
38
  const jsonBuffer = Buffer.from(JSON.stringify(contents));
39
39
  await axios.put(uploadInfo.url, jsonBuffer, {
40
40
  headers: {
41
- "Content-length": jsonBuffer.length,
42
- "Content-Type": "application/json"
41
+ "Content-Type": "application/json",
42
+ "Content-length": jsonBuffer.length
43
43
  }
44
44
  });
45
45
  const headers = getAuthedHeaders();
46
46
  return await axios({
47
- method: "post",
48
- url: `${API_URL}/projects/${projectId}/credentials`,
49
- headers,
50
47
  data: {
48
+ identifier,
51
49
  platform,
50
+ serialNumber,
52
51
  type,
53
- uuid: uploadInfo.uuid,
54
- identifier,
55
- serialNumber
56
- }
52
+ uuid: uploadInfo.uuid
53
+ },
54
+ headers,
55
+ method: "post",
56
+ url: `${API_URL}/projects/${projectId}/credentials`
57
57
  });
58
58
  }
59
59
 
@@ -1,6 +1,6 @@
1
- import { p as getAuthedHeaders, q as API_URL } from './index-w3lHxk5O.js';
2
- import axios from 'axios';
3
1
  import { useQuery } from '@tanstack/react-query';
2
+ import axios from 'axios';
3
+ import { o as API_URL, p as getAuthedHeaders } from './index-pj8JVg5X.js';
4
4
 
5
5
  const cacheKeys = {
6
6
  androidKeyTestResult: (props) => ["androidKeyTestResult", ...Object.values(props)],
@@ -15,21 +15,21 @@ const cacheKeys = {
15
15
  };
16
16
 
17
17
  var KeyTestStatus = /* @__PURE__ */ ((KeyTestStatus2) => {
18
- KeyTestStatus2["SUCCESS"] = "success";
19
18
  KeyTestStatus2["ERROR"] = "error";
19
+ KeyTestStatus2["SUCCESS"] = "success";
20
20
  return KeyTestStatus2;
21
21
  })(KeyTestStatus || {});
22
22
  var KeyTestError = /* @__PURE__ */ ((KeyTestError2) => {
23
- KeyTestError2["NO_SERVICE_ACCOUNT_KEY"] = "no_service_account_key";
24
- KeyTestError2["NO_PACKAGE_NAME"] = "no_package_name";
25
23
  KeyTestError2["APP_NOT_FOUND"] = "app_not_found";
24
+ KeyTestError2["NO_PACKAGE_NAME"] = "no_package_name";
25
+ KeyTestError2["NO_SERVICE_ACCOUNT_KEY"] = "no_service_account_key";
26
26
  KeyTestError2["NOT_INVITED"] = "not_invited";
27
27
  return KeyTestError2;
28
28
  })(KeyTestError || {});
29
29
  const KeyTestErrorMessage = {
30
- ["no_service_account_key" /* NO_SERVICE_ACCOUNT_KEY */]: "Service Account API Key not found in your account",
31
- ["no_package_name" /* NO_PACKAGE_NAME */]: "Android Package Name has not been set",
32
30
  ["app_not_found" /* APP_NOT_FOUND */]: "Application not found in Google Play Console",
31
+ ["no_package_name" /* NO_PACKAGE_NAME */]: "Android Package Name has not been set",
32
+ ["no_service_account_key" /* NO_SERVICE_ACCOUNT_KEY */]: "Service Account API Key not found in your account",
33
33
  ["not_invited" /* NOT_INVITED */]: "Service Account has not been invited to Google Play"
34
34
  };
35
35
  function niceError(keyError) {
@@ -42,11 +42,9 @@ const fetchKeyTestResult = async ({ projectId }, config) => {
42
42
  const { data } = await axios.post(url, {}, { headers, ...config });
43
43
  return data;
44
44
  };
45
- const useAndroidServiceAccountTestResult = (props) => {
46
- return useQuery({
47
- queryKey: cacheKeys.androidKeyTestResult(props),
48
- queryFn: () => fetchKeyTestResult(props)
49
- });
50
- };
45
+ const useAndroidServiceAccountTestResult = (props) => useQuery({
46
+ queryFn: () => fetchKeyTestResult(props),
47
+ queryKey: cacheKeys.androidKeyTestResult(props)
48
+ });
51
49
 
52
50
  export { KeyTestStatus as K, KeyTestError as a, cacheKeys as c, fetchKeyTestResult as f, niceError as n, useAndroidServiceAccountTestResult as u };
@@ -1,5 +1,5 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
- import { f as App } from './index-w3lHxk5O.js';
2
+ import { f as App } from './index-pj8JVg5X.js';
3
3
 
4
4
  const queryAppleApp = async ({ ctx, iosBundleId }) => {
5
5
  if (!iosBundleId) {
@@ -14,17 +14,17 @@ const queryAppleApp = async ({ ctx, iosBundleId }) => {
14
14
  return {
15
15
  app,
16
16
  summary: {
17
+ bundleId: app.attributes.bundleId,
17
18
  id: app.id,
18
19
  name: app.attributes.name,
19
- bundleId: app.attributes.bundleId,
20
20
  primaryLocale: app.attributes.primaryLocale
21
21
  }
22
22
  };
23
23
  };
24
24
  const useAppleApp = (props) => {
25
25
  const queryResult = useQuery({
26
- queryKey: ["appleApp", props.iosBundleId],
27
- queryFn: () => queryAppleApp(props)
26
+ queryFn: () => queryAppleApp(props),
27
+ queryKey: ["appleApp", props.iosBundleId]
28
28
  });
29
29
  return queryResult;
30
30
  };
@@ -1,9 +1,9 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
- import { e as BundleId, r as getGodotProjectCapabilities, P as Platform, G as GODOT_CAPABILITIES, s as CapabilityType } from './index-w3lHxk5O.js';
2
+ import { e as BundleId, q as getGodotProjectCapabilities, P as Platform, G as GODOT_CAPABILITIES, r as CapabilityType } from './index-pj8JVg5X.js';
3
3
 
4
4
  async function getBundleIdCapabilities(bundleId) {
5
5
  const current = await bundleId.getBundleIdCapabilitiesAsync();
6
- let existing = [];
6
+ const existing = [];
7
7
  for (const capability of current) {
8
8
  const capabilityType = Object.values(CapabilityType).find((c) => capability.isType(c));
9
9
  if (capabilityType) {
@@ -33,10 +33,10 @@ const fetchBundleId = async ({ ctx, iosBundleId }) => {
33
33
  const isEnabledInProject = projectCapabilities.includes(gc.type);
34
34
  const isCorrectlyConfigured = isEnabledInBundle === isEnabledInProject;
35
35
  return {
36
- name: gc.name,
36
+ isCorrectlyConfigured,
37
37
  isEnabledInBundle,
38
38
  isEnabledInProject,
39
- isCorrectlyConfigured
39
+ name: gc.name
40
40
  };
41
41
  });
42
42
  return {
@@ -55,8 +55,8 @@ const fetchBundleId = async ({ ctx, iosBundleId }) => {
55
55
  };
56
56
  const useAppleBundleId = (props) => {
57
57
  const queryResult = useQuery({
58
- queryKey: ["appleBundleId", props.iosBundleId],
59
- queryFn: () => fetchBundleId(props)
58
+ queryFn: () => fetchBundleId(props),
59
+ queryKey: ["appleBundleId", props.iosBundleId]
60
60
  });
61
61
  return queryResult;
62
62
  };
@@ -1,8 +1,8 @@
1
- import axios from 'axios';
2
1
  import { useQuery } from '@tanstack/react-query';
3
- import { c as cacheKeys } from './useAndroidServiceAccountTestResult-Dy3Ag7_r.js';
4
- import { b as getShortDate, p as getAuthedHeaders, q as API_URL, I as castArrayObjectDates } from './index-w3lHxk5O.js';
5
- import { g as getShortUUID } from './index-DJ078v-U.js';
2
+ import axios from 'axios';
3
+ import { b as getShortDate, p as getAuthedHeaders, o as API_URL, I as castArrayObjectDates } from './index-pj8JVg5X.js';
4
+ import { c as cacheKeys } from './useAndroidServiceAccountTestResult-D4e5AKAZ.js';
5
+ import { g as getShortUUID } from './index-B27WJDxn.js';
6
6
 
7
7
  async function queryProjectCredentials({
8
8
  projectId,
@@ -23,11 +23,11 @@ async function queryProjectCredentials({
23
23
  }
24
24
  function getProjectCredentialSummary(credential) {
25
25
  return {
26
+ createdAt: getShortDate(credential.createdAt),
26
27
  id: getShortUUID(credential.id),
27
- type: credential.type,
28
- serial: credential.serialNumber.substring(0, 30) + (credential.serialNumber.length > 30 ? "\u2026" : ""),
29
28
  isActive: credential.isActive,
30
- createdAt: getShortDate(credential.createdAt)
29
+ serial: credential.serialNumber.slice(0, 30) + (credential.serialNumber.length > 30 ? "\u2026" : ""),
30
+ type: credential.type
31
31
  };
32
32
  }
33
33
  const useProjectCredentials = ({
@@ -36,15 +36,13 @@ const useProjectCredentials = ({
36
36
  ...fetchProps
37
37
  }) => {
38
38
  const queryResult = useQuery({
39
- queryKey: cacheKeys.projectCredentials(fetchProps),
40
39
  queryFn: async () => queryProjectCredentials(fetchProps),
41
- select: (data) => {
40
+ queryKey: cacheKeys.projectCredentials(fetchProps),
41
+ select(data) {
42
42
  if (!(platform || type)) return data;
43
43
  return {
44
44
  ...data,
45
- data: data.data.filter((credential) => {
46
- return (!platform || credential.platform === platform) && (!type || credential.type === type);
47
- })
45
+ data: data.data.filter((credential) => (!platform || credential.platform === platform) && (!type || credential.type === type))
48
46
  };
49
47
  }
50
48
  });
@@ -1,6 +1,6 @@
1
1
  import { useEffect } from 'react';
2
2
  import { io } from 'socket.io-client';
3
- import { M as getAuthToken, N as WS_URL } from './index-w3lHxk5O.js';
3
+ import { N as WS_URL, O as getAuthToken } from './index-pj8JVg5X.js';
4
4
 
5
5
  function useWebSocket(listeners = []) {
6
6
  const log = () => {
@@ -1,14 +1,14 @@
1
1
  import { Help } from '@oclif/core';
2
2
 
3
3
  class CustomHelp extends Help {
4
- formatTopics(topics) {
5
- const publicTopics = topics.filter((t) => t.name !== "internal");
6
- return super.formatTopics(publicTopics);
7
- }
8
4
  // formatCommand is protected, so we need to override it to make it public
9
5
  exposedFormatCommand(command) {
10
6
  return super.formatCommand(command);
11
7
  }
8
+ formatTopics(topics) {
9
+ const publicTopics = topics.filter((t) => t.name !== "internal");
10
+ return super.formatTopics(publicTopics);
11
+ }
12
12
  }
13
13
 
14
14
  export { CustomHelp as default };
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "shipthis",
3
3
  "description": "ShipThis manages building and uploading your Godot games to the App Store and Google Play.",
4
- "version": "0.1.31",
4
+ "version": "0.1.33",
5
5
  "author": "Hello Invent Ltd",
6
6
  "bin": {
7
7
  "shipthis": "./bin/run.js"
8
8
  },
9
9
  "bugs": "https://github.com/shipth-is/cli/issues",
10
10
  "dependencies": {
11
- "@expo/apple-utils": "2.0.3",
11
+ "@expo/apple-utils": "^2.1.12",
12
12
  "@expo/json-file": "^8.3.3",
13
13
  "@inkjs/ui": "^2.0.0",
14
14
  "@oclif/core": "^4",
@@ -22,7 +22,7 @@
22
22
  "deepmerge": "^4.3.1",
23
23
  "fast-glob": "^3.3.2",
24
24
  "fs-extra": "^11.2.0",
25
- "fullscreen-ink": "^0.0.2",
25
+ "fullscreen-ink": "^0.1.0",
26
26
  "ini": "^5.0.0",
27
27
  "ink": "^5.0.1",
28
28
  "ink-spinner": "^5.0.0",
@@ -70,6 +70,7 @@
70
70
  "eslint-config-oclif": "^5",
71
71
  "eslint-config-oclif-typescript": "^3",
72
72
  "eslint-config-prettier": "^9",
73
+ "eslint-plugin-import": "^2.32.0",
73
74
  "mocha": "^10",
74
75
  "oclif": "^4",
75
76
  "pkgroll": "^2.4.2",
@@ -208,7 +209,7 @@
208
209
  "build-original": "shx rm -rf dist && tsc -b",
209
210
  "build-tsc-alias": "shx rm -rf dist && npx tsc --build && npx tsc-alias -p tsconfig.json",
210
211
  "build": "pkgroll --clean-dist",
211
- "lint": "eslint . --ext .ts",
212
+ "lint": "eslint . --ext .ts,.tsx",
212
213
  "posttest": "npm run lint",
213
214
  "prepack": "cp package-lock.json package-lock.dev.json || true && npm run readme && oclif manifest && npm shrinkwrap",
214
215
  "postpack": "mv package-lock.dev.json package-lock.json || true && shx rm -f oclif.manifest.json && shx rm -f npm-shrinkwrap.json",
@@ -1,44 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { useStdout, Box } from 'ink';
3
- import { QueryClientProvider } from '@tanstack/react-query';
4
- import { _ as queryClient } from './index-w3lHxk5O.js';
5
- import 'axios';
6
- import 'crypto';
7
- import 'fs';
8
- import 'readline-sync';
9
- import 'node:readline';
10
- import 'node:path';
11
- import 'node:url';
12
- import 'luxon';
13
- import 'isomorphic-git';
14
- import '@oclif/core';
15
- import { useCallback, useState, useEffect } from 'react';
16
- import 'crypto-js';
17
- import 'uuid';
18
- import 'socket.io-client';
19
- import 'fast-glob';
20
- import 'yazl';
21
- import { C as CommandProvider } from './index-CyvGh-kt.js';
22
-
23
- function useScreenSize() {
24
- const { stdout } = useStdout();
25
- const getSize = useCallback(() => ({ height: stdout.rows, width: stdout.columns }), [stdout]);
26
- const [size, setSize] = useState(getSize);
27
- useEffect(() => {
28
- function onResize() {
29
- setSize(getSize());
30
- }
31
- stdout.on("resize", onResize);
32
- return () => {
33
- stdout.off("resize", onResize);
34
- };
35
- }, [stdout, getSize]);
36
- return size;
37
- }
38
-
39
- const Command = ({ children, command }) => {
40
- const { width } = useScreenSize();
41
- return /* @__PURE__ */ jsx(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx(CommandProvider, { command, children: /* @__PURE__ */ jsx(Box, { width, flexDirection: "column", children }) }) });
42
- };
43
-
44
- export { Command as C, useScreenSize as u };
@@ -1,9 +0,0 @@
1
- import { jsx } from 'react/jsx-runtime';
2
- import { G as GameProvider } from './index-CyvGh-kt.js';
3
- import { C as Command } from './Command-DFdHXDiU.js';
4
-
5
- const CommandGame = ({ children, command }) => {
6
- return /* @__PURE__ */ jsx(Command, { command, children: /* @__PURE__ */ jsx(GameProvider, { children }) });
7
- };
8
-
9
- export { CommandGame as C };
@@ -1,12 +1,12 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import React from 'react';
3
2
  import { Box, Text } from 'ink';
4
3
  import Spinner from 'ink-spinner';
4
+ import React from 'react';
5
5
 
6
6
  const RunWithSpinner = ({
7
7
  executeMethod,
8
- msgInProgress,
9
8
  msgComplete,
9
+ msgInProgress,
10
10
  onComplete,
11
11
  spinnerType
12
12
  }) => {