shipthis 0.1.50 → 0.1.52
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.
- package/README.md +1 -1
- package/dist/{AppleBundleIdDetails-4WNaBSGY.js → AppleBundleIdDetails-BUJnAu52.js} +4 -4
- package/dist/{Command-DuEKI93-.js → Command-B-MWAVPL.js} +2 -2
- package/dist/CommandGame-DPJEVhuw.js +14 -0
- package/dist/{Create-DUl1dfhZ.js → Create-CmEndHAZ.js} +2 -2
- package/dist/CredentialDetailsView-B7Y9sj8K.js +131 -0
- package/dist/ErrorBox-DS5e6VmF.js +21 -0
- package/dist/{GameStatus-NSIKI7Zi.js → GameStatus-XFGHRbVP.js} +5 -5
- package/dist/{Import-B_2jztJs.js → Import-ea-wsQt-.js} +3 -3
- package/dist/{JobLogTail-CDGqKKin.js → JobLogTail-BwFUt8LB.js} +6 -25
- package/dist/{JobProgress-COP5mbrn.js → JobProgress-_cIUK7Ho.js} +6 -6
- package/dist/{JobStatusTable-DamWqM1t.js → JobStatusTable-CyDhk3lr.js} +3 -3
- package/dist/{ProjectCredentialsTable-BXWs0Ler.js → ProjectCredentialsTable-0DY-GdfY.js} +2 -2
- package/dist/TruncatedText-DhEXCrnE.js +25 -0
- package/dist/{UserCredentialsTable-Cr2NT9gg.js → UserCredentialsTable-CTJMS9Kc.js} +2 -2
- package/dist/{baseAppleCommand-CMBV0P9z.js → baseAppleCommand-9xmssZ7g.js} +1 -1
- package/dist/{baseCommand-C7OdounZ.js → baseCommand-CpAJaJoG.js} +289 -230
- package/dist/{baseGameAndroidCommand-BE6hsL-c.js → baseGameAndroidCommand-HO8as-RL.js} +2 -2
- package/dist/{baseGameCommand-Bap2bDqP.js → baseGameCommand-Cbx4ywHl.js} +32 -17
- package/dist/commands/apiKey/create.js +11 -11
- package/dist/commands/apiKey/list.js +12 -12
- package/dist/commands/apiKey/revoke.js +12 -12
- package/dist/commands/apple/apiKey/create.js +7 -7
- package/dist/commands/apple/apiKey/delete.js +7 -7
- package/dist/commands/apple/apiKey/export.js +5 -5
- package/dist/commands/apple/apiKey/import.js +5 -5
- package/dist/commands/apple/apiKey/status.js +4 -4
- package/dist/commands/apple/certificate/create.js +7 -7
- package/dist/commands/apple/certificate/delete.js +7 -7
- package/dist/commands/apple/certificate/export.js +5 -5
- package/dist/commands/apple/certificate/import.js +5 -5
- package/dist/commands/apple/certificate/show.js +78 -0
- package/dist/commands/apple/certificate/status.js +4 -4
- package/dist/commands/apple/login.js +3 -3
- package/dist/commands/apple/status.js +3 -3
- package/dist/commands/dashboard.js +3 -3
- package/dist/commands/game/android/apiKey/connect.js +9 -8
- package/dist/commands/game/android/apiKey/create.js +12 -11
- package/dist/commands/game/android/apiKey/delete.js +7 -7
- package/dist/commands/game/android/apiKey/export.js +7 -7
- package/dist/commands/game/android/apiKey/import.js +7 -7
- package/dist/commands/game/android/apiKey/invite.js +7 -7
- package/dist/commands/game/android/apiKey/policy.js +3 -3
- package/dist/commands/game/android/apiKey/show.js +79 -0
- package/dist/commands/game/android/apiKey/status.js +7 -7
- package/dist/commands/game/android/keyStore/create.js +9 -8
- package/dist/commands/game/android/keyStore/delete.js +7 -7
- package/dist/commands/game/android/keyStore/export.js +6 -6
- package/dist/commands/game/android/keyStore/import.js +10 -9
- package/dist/commands/game/android/keyStore/status.js +6 -6
- package/dist/commands/game/android/status.js +5 -5
- package/dist/commands/game/build/download.js +3 -3
- package/dist/commands/game/build/list.js +6 -5
- package/dist/commands/game/create.js +3 -3
- package/dist/commands/game/details.js +6 -6
- package/dist/commands/game/export.js +3 -3
- package/dist/commands/game/ios/app/addTester.js +7 -7
- package/dist/commands/game/ios/app/create.js +6 -6
- package/dist/commands/game/ios/app/status.js +7 -7
- package/dist/commands/game/ios/app/sync.js +5 -5
- package/dist/commands/game/ios/profile/create.js +7 -7
- package/dist/commands/game/ios/profile/delete.js +7 -7
- package/dist/commands/game/ios/profile/export.js +6 -6
- package/dist/commands/game/ios/profile/import.js +6 -6
- package/dist/commands/game/ios/profile/show.js +78 -0
- package/dist/commands/game/ios/profile/status.js +7 -7
- package/dist/commands/game/ios/status.js +10 -9
- package/dist/commands/game/ios/wizard.js +3 -3
- package/dist/commands/game/job/list.js +6 -6
- package/dist/commands/game/job/status.js +9 -8
- package/dist/commands/game/list.js +12 -12
- package/dist/commands/game/ship.js +14 -34
- package/dist/commands/game/status.js +6 -5
- package/dist/commands/game/wizard.js +26 -18
- package/dist/commands/internal/fastlane.js +5 -5
- package/dist/commands/internal/readme.js +5 -5
- package/dist/commands/login.js +6 -6
- package/dist/commands/status.js +5 -5
- package/dist/commands/util/android-build-method.js +5 -5
- package/dist/commands/util/glass.js +2 -2
- package/dist/{export-gdKqwR7u.js → export-Blt3BR-u.js} +1 -1
- package/dist/{import-CICoTBgo.js → import-IVcS8WFM.js} +1 -1
- package/dist/{index-BaxMfQnE.js → index-B5s20dhm.js} +5 -5
- package/dist/{index-YX-OJ2AA.js → index-By3xdL8c.js} +1 -1
- package/dist/{index-CjYag6UG.js → index-KJtngKaE.js} +4 -4
- package/dist/{upload-Drre-qsL.js → upload-B56rRpZW.js} +1 -1
- package/dist/{useAppleApp-ChI2baWJ.js → useAppleApp-BHUjGmw0.js} +1 -1
- package/dist/{useAppleBundleId-CUTbojvt.js → useAppleBundleId-Cv5maswG.js} +1 -1
- package/dist/{useAppleProfiles-omIx9KVc.js → useAppleProfiles-kDiUOXiX.js} +1 -1
- package/dist/{useGoogleStatus-v86ZyFiz.js → useGoogleStatus-BHd_Wp59.js} +2 -2
- package/dist/{useProjectCredentials-5Ycm5B4x.js → useProjectCredentials-ADtDLDmx.js} +19 -2
- package/dist/{useWebSocket-AjcqLcJX.js → useWebSocket-DlNe_zDR.js} +1 -1
- package/docs/apple/certificate/show.md +23 -0
- package/docs/apple/certificate.md +24 -0
- package/docs/game/android/apiKey/show.md +26 -0
- package/docs/game/android/apiKey.md +27 -0
- package/docs/game/ios/profile/show.md +26 -0
- package/docs/game/ios/profile.md +27 -0
- package/npm-shrinkwrap.json +52 -47
- package/oclif.manifest.json +351 -236
- package/package.json +8 -4
- package/dist/CommandGame-BeyPCeC7.js +0 -7
|
@@ -3,9 +3,8 @@ import { Flags } from '@oclif/core';
|
|
|
3
3
|
import { render, Box } from 'ink';
|
|
4
4
|
import 'node:fs';
|
|
5
5
|
import 'axios';
|
|
6
|
-
import { P as Platform } from '../../../baseCommand-
|
|
6
|
+
import { P as Platform } from '../../../baseCommand-CpAJaJoG.js';
|
|
7
7
|
import 'luxon';
|
|
8
|
-
import 'ink-spinner';
|
|
9
8
|
import 'node:crypto';
|
|
10
9
|
import 'node:path';
|
|
11
10
|
import 'node:readline';
|
|
@@ -20,18 +19,19 @@ import 'stream';
|
|
|
20
19
|
import 'yazl';
|
|
21
20
|
import 'socket.io-client';
|
|
22
21
|
import 'fullscreen-ink';
|
|
23
|
-
import
|
|
22
|
+
import 'ink-spinner';
|
|
24
23
|
import 'string-length';
|
|
25
24
|
import 'strip-ansi';
|
|
25
|
+
import { G as GameStatusDetails } from '../../../GameStatus-XFGHRbVP.js';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import {
|
|
28
|
+
import { b as BaseGameCommand } from '../../../baseGameCommand-Cbx4ywHl.js';
|
|
29
29
|
import 'marked';
|
|
30
30
|
import 'marked-terminal';
|
|
31
31
|
import 'qrcode';
|
|
32
32
|
import 'godot-export-presets';
|
|
33
|
-
import { A as AppleAppDetails, a as AppleBundleIdDetails } from '../../../AppleBundleIdDetails-
|
|
34
|
-
import { C as CommandGame } from '../../../CommandGame-
|
|
33
|
+
import { A as AppleAppDetails, a as AppleBundleIdDetails } from '../../../AppleBundleIdDetails-BUJnAu52.js';
|
|
34
|
+
import { C as CommandGame } from '../../../CommandGame-DPJEVhuw.js';
|
|
35
35
|
import 'chalk';
|
|
36
36
|
import '@expo/apple-utils/build/index.js';
|
|
37
37
|
import '../../../StatusTable-DzRWcMr4.js';
|
|
@@ -39,10 +39,11 @@ import '../../../Title-BCQtayg6.js';
|
|
|
39
39
|
import '../../../NextSteps-DbJHmscQ.js';
|
|
40
40
|
import 'fs';
|
|
41
41
|
import 'path';
|
|
42
|
-
import '../../../useAppleApp-
|
|
42
|
+
import '../../../useAppleApp-BHUjGmw0.js';
|
|
43
43
|
import '../../../Table-FaNgpyeq.js';
|
|
44
|
-
import '../../../useAppleBundleId-
|
|
45
|
-
import '../../../
|
|
44
|
+
import '../../../useAppleBundleId-Cv5maswG.js';
|
|
45
|
+
import '../../../ErrorBox-DS5e6VmF.js';
|
|
46
|
+
import '../../../Command-B-MWAVPL.js';
|
|
46
47
|
|
|
47
48
|
class GameIosStatus extends BaseGameCommand {
|
|
48
49
|
static args = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Flags } from '@oclif/core';
|
|
2
2
|
import chalk from 'chalk';
|
|
3
|
-
import {
|
|
4
|
-
import { B as BaseAuthenticatedCommand,
|
|
3
|
+
import { l as isCWDGodotGame, W as WEB_URL, P as Platform, C as CredentialsType, m as getProject } from '../../../baseCommand-CpAJaJoG.js';
|
|
4
|
+
import { B as BaseAuthenticatedCommand, g as getRenderedMarkdown } from '../../../baseGameCommand-Cbx4ywHl.js';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:path';
|
|
7
7
|
import 'node:crypto';
|
|
@@ -28,7 +28,7 @@ import 'open';
|
|
|
28
28
|
import '@inkjs/ui';
|
|
29
29
|
import 'qrcode';
|
|
30
30
|
import 'godot-export-presets';
|
|
31
|
-
import { g as getUserCredentials, a as getProjectCredentials } from '../../../index-
|
|
31
|
+
import { g as getUserCredentials, a as getProjectCredentials } from '../../../index-By3xdL8c.js';
|
|
32
32
|
import '@expo/apple-utils/build/index.js';
|
|
33
33
|
import 'fs';
|
|
34
34
|
import 'path';
|
|
@@ -2,12 +2,14 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { render, Box, Text } from 'ink';
|
|
4
4
|
import { DateTime } from 'luxon';
|
|
5
|
-
import {
|
|
5
|
+
import { M as getProjectJobs } from '../../../baseCommand-CpAJaJoG.js';
|
|
6
6
|
import 'ink-spinner';
|
|
7
|
-
import {
|
|
7
|
+
import { b as BaseGameCommand, e as getJobSummary, h as getJobStatusColor } from '../../../baseGameCommand-Cbx4ywHl.js';
|
|
8
8
|
import { T as Table } from '../../../Table-FaNgpyeq.js';
|
|
9
9
|
import { T as Title } from '../../../Title-BCQtayg6.js';
|
|
10
10
|
import 'react';
|
|
11
|
+
import 'string-length';
|
|
12
|
+
import 'strip-ansi';
|
|
11
13
|
import '@tanstack/react-query';
|
|
12
14
|
import 'axios';
|
|
13
15
|
import 'node:fs';
|
|
@@ -17,8 +19,6 @@ import 'stream';
|
|
|
17
19
|
import 'yazl';
|
|
18
20
|
import 'socket.io-client';
|
|
19
21
|
import 'fullscreen-ink';
|
|
20
|
-
import 'string-length';
|
|
21
|
-
import 'strip-ansi';
|
|
22
22
|
import 'open';
|
|
23
23
|
import '@inkjs/ui';
|
|
24
24
|
import 'node:path';
|
|
@@ -26,14 +26,14 @@ import 'marked';
|
|
|
26
26
|
import 'marked-terminal';
|
|
27
27
|
import 'qrcode';
|
|
28
28
|
import 'godot-export-presets';
|
|
29
|
-
import { C as Command } from '../../../Command-
|
|
29
|
+
import { C as Command } from '../../../Command-B-MWAVPL.js';
|
|
30
30
|
import 'chalk';
|
|
31
|
-
import '@expo/apple-utils/build/index.js';
|
|
32
31
|
import 'node:crypto';
|
|
33
32
|
import 'node:readline';
|
|
34
33
|
import 'node:url';
|
|
35
34
|
import 'readline-sync';
|
|
36
35
|
import 'isomorphic-git';
|
|
36
|
+
import '@expo/apple-utils/build/index.js';
|
|
37
37
|
import 'fs';
|
|
38
38
|
import 'path';
|
|
39
39
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Args, Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
|
-
import {
|
|
4
|
+
import { N as getJob, J as JobStatus } from '../../../baseCommand-CpAJaJoG.js';
|
|
5
5
|
import 'ink-spinner';
|
|
6
6
|
import 'node:crypto';
|
|
7
7
|
import 'node:fs';
|
|
@@ -20,22 +20,23 @@ import 'stream';
|
|
|
20
20
|
import 'yazl';
|
|
21
21
|
import 'socket.io-client';
|
|
22
22
|
import 'fullscreen-ink';
|
|
23
|
-
import { J as JobLogTail } from '../../../JobLogTail-CDGqKKin.js';
|
|
24
|
-
import { J as JobStatusTable } from '../../../JobStatusTable-DamWqM1t.js';
|
|
25
|
-
import 'open';
|
|
26
|
-
import '@inkjs/ui';
|
|
27
23
|
import 'string-length';
|
|
28
24
|
import 'strip-ansi';
|
|
29
|
-
import {
|
|
25
|
+
import { J as JobLogTail } from '../../../JobLogTail-BwFUt8LB.js';
|
|
26
|
+
import { J as JobStatusTable } from '../../../JobStatusTable-CyDhk3lr.js';
|
|
27
|
+
import 'open';
|
|
28
|
+
import '@inkjs/ui';
|
|
29
|
+
import { b as BaseGameCommand } from '../../../baseGameCommand-Cbx4ywHl.js';
|
|
30
30
|
import 'marked';
|
|
31
31
|
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-
|
|
35
|
+
import { C as Command } from '../../../Command-B-MWAVPL.js';
|
|
36
36
|
import 'chalk';
|
|
37
37
|
import '@expo/apple-utils/build/index.js';
|
|
38
|
-
import '../../../useWebSocket-
|
|
38
|
+
import '../../../useWebSocket-DlNe_zDR.js';
|
|
39
|
+
import '../../../TruncatedText-DhEXCrnE.js';
|
|
39
40
|
import '../../../Title-BCQtayg6.js';
|
|
40
41
|
import '../../../StatusTable-DzRWcMr4.js';
|
|
41
42
|
import 'fs';
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { render, Box, Text } from 'ink';
|
|
4
|
-
import {
|
|
5
|
-
import { B as BaseAuthenticatedCommand
|
|
4
|
+
import { c as getProjects, g as getShortUUID, d as getShortDate } from '../../baseCommand-CpAJaJoG.js';
|
|
5
|
+
import { B as BaseAuthenticatedCommand } from '../../baseGameCommand-Cbx4ywHl.js';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'chalk';
|
|
9
|
-
import '
|
|
10
|
-
import
|
|
11
|
-
import '
|
|
12
|
-
import '
|
|
9
|
+
import 'node:crypto';
|
|
10
|
+
import 'node:readline';
|
|
11
|
+
import 'node:url';
|
|
12
|
+
import 'readline-sync';
|
|
13
13
|
import 'axios';
|
|
14
|
+
import 'isomorphic-git';
|
|
15
|
+
import '@tanstack/react-query';
|
|
16
|
+
import 'react';
|
|
14
17
|
import 'luxon';
|
|
15
18
|
import 'uuid';
|
|
16
19
|
import 'fast-glob';
|
|
@@ -18,6 +21,8 @@ import 'stream';
|
|
|
18
21
|
import 'yazl';
|
|
19
22
|
import 'socket.io-client';
|
|
20
23
|
import 'fullscreen-ink';
|
|
24
|
+
import 'ink-spinner';
|
|
25
|
+
import { T as Table } from '../../Table-FaNgpyeq.js';
|
|
21
26
|
import 'string-length';
|
|
22
27
|
import 'strip-ansi';
|
|
23
28
|
import 'open';
|
|
@@ -26,13 +31,8 @@ import 'marked';
|
|
|
26
31
|
import 'marked-terminal';
|
|
27
32
|
import 'qrcode';
|
|
28
33
|
import 'godot-export-presets';
|
|
29
|
-
import { C as Command } from '../../Command-
|
|
34
|
+
import { C as Command } from '../../Command-B-MWAVPL.js';
|
|
30
35
|
import '@expo/apple-utils/build/index.js';
|
|
31
|
-
import 'node:crypto';
|
|
32
|
-
import 'node:readline';
|
|
33
|
-
import 'node:url';
|
|
34
|
-
import 'readline-sync';
|
|
35
|
-
import 'isomorphic-git';
|
|
36
36
|
import 'fs';
|
|
37
37
|
import 'path';
|
|
38
38
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { useStdout, useStderr, Box, Text, render } from 'ink';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { a3 as LogLevel, W as WEB_URL, g as getShortUUID, a4 as getShortAuthRequiredUrl, N as getJob, O as downloadBuildById, a5 as getErrorMessage } from '../../baseCommand-CpAJaJoG.js';
|
|
5
|
+
import { j as CommandContext, d as GameContext, s as useSafeInput, M as Markdown, b as BaseGameCommand } from '../../baseGameCommand-Cbx4ywHl.js';
|
|
6
6
|
import 'ink-spinner';
|
|
7
7
|
import 'node:crypto';
|
|
8
8
|
import 'node:fs';
|
|
@@ -11,9 +11,9 @@ import 'node:readline';
|
|
|
11
11
|
import 'node:url';
|
|
12
12
|
import 'readline-sync';
|
|
13
13
|
import 'luxon';
|
|
14
|
-
import axios from 'axios';
|
|
15
14
|
import 'isomorphic-git';
|
|
16
15
|
import '@tanstack/react-query';
|
|
16
|
+
import 'axios';
|
|
17
17
|
import { useContext, useState, useEffect } from 'react';
|
|
18
18
|
import 'uuid';
|
|
19
19
|
import 'fast-glob';
|
|
@@ -24,48 +24,28 @@ import 'fullscreen-ink';
|
|
|
24
24
|
import 'string-length';
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import open from 'open';
|
|
27
|
-
import { u as
|
|
28
|
-
import { J as
|
|
27
|
+
import { u as useShip, J as JobProgress } from '../../JobProgress-_cIUK7Ho.js';
|
|
28
|
+
import { u as useJobWatching, J as JobLogTail } from '../../JobLogTail-BwFUt8LB.js';
|
|
29
|
+
import { J as JobStatusTable } from '../../JobStatusTable-CyDhk3lr.js';
|
|
29
30
|
import '@inkjs/ui';
|
|
30
|
-
import { u as useShip, J as JobProgress } from '../../JobProgress-COP5mbrn.js';
|
|
31
31
|
import 'qrcode';
|
|
32
32
|
import 'godot-export-presets';
|
|
33
33
|
import 'marked';
|
|
34
34
|
import 'marked-terminal';
|
|
35
|
-
import { C as CommandGame } from '../../CommandGame-
|
|
35
|
+
import { C as CommandGame } from '../../CommandGame-DPJEVhuw.js';
|
|
36
36
|
import 'chalk';
|
|
37
37
|
import '@expo/apple-utils/build/index.js';
|
|
38
38
|
import 'fs';
|
|
39
39
|
import 'path';
|
|
40
|
-
import '../../
|
|
41
|
-
import '../../Title-BCQtayg6.js';
|
|
42
|
-
import '../../StatusTable-DzRWcMr4.js';
|
|
43
|
-
import '../../useProjectCredentials-5Ycm5B4x.js';
|
|
40
|
+
import '../../useProjectCredentials-ADtDLDmx.js';
|
|
44
41
|
import '../../git-BpsfNFZ_.js';
|
|
45
42
|
import '../../ProgressSpinner-Um6ARKlk.js';
|
|
46
|
-
import '../../
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
function getErrorMessage(error) {
|
|
53
|
-
try {
|
|
54
|
-
if (isNetworkError(error)) {
|
|
55
|
-
return "Please check your internet connection.";
|
|
56
|
-
}
|
|
57
|
-
const data = error?.response?.data;
|
|
58
|
-
const apiValidation = Array.isArray(data) ? data.map((r) => "message" in r ? `Error - ${r.message}` : r.toString()).join(" ") : "";
|
|
59
|
-
const apiErr = error?.response?.data?.error || "";
|
|
60
|
-
const apiMsg = `${apiErr}${apiValidation ? " " + apiValidation : ""}`;
|
|
61
|
-
if (apiMsg.length === 0) {
|
|
62
|
-
return "message" in error ? error.message : error.toString();
|
|
63
|
-
}
|
|
64
|
-
return apiMsg;
|
|
65
|
-
} catch {
|
|
66
|
-
return error ? error.toString() : "Error";
|
|
67
|
-
}
|
|
68
|
-
}
|
|
43
|
+
import '../../useWebSocket-DlNe_zDR.js';
|
|
44
|
+
import '../../TruncatedText-DhEXCrnE.js';
|
|
45
|
+
import '../../Title-BCQtayg6.js';
|
|
46
|
+
import '../../StatusTable-DzRWcMr4.js';
|
|
47
|
+
import '../../ErrorBox-DS5e6VmF.js';
|
|
48
|
+
import '../../Command-B-MWAVPL.js';
|
|
69
49
|
|
|
70
50
|
const JobFollow = ({
|
|
71
51
|
jobId,
|
|
@@ -1,12 +1,12 @@
|
|
|
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 '../../baseGameCommand-
|
|
4
|
+
import { B as BaseAuthenticatedCommand } from '../../baseGameCommand-Cbx4ywHl.js';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:path';
|
|
7
7
|
import 'chalk';
|
|
8
8
|
import 'axios';
|
|
9
|
-
import '../../baseCommand-
|
|
9
|
+
import '../../baseCommand-CpAJaJoG.js';
|
|
10
10
|
import 'luxon';
|
|
11
11
|
import 'node:crypto';
|
|
12
12
|
import 'node:readline';
|
|
@@ -22,23 +22,24 @@ import 'yazl';
|
|
|
22
22
|
import 'socket.io-client';
|
|
23
23
|
import 'fullscreen-ink';
|
|
24
24
|
import 'ink-spinner';
|
|
25
|
-
import { a as GameStatus$1 } from '../../GameStatus-NSIKI7Zi.js';
|
|
26
25
|
import 'string-length';
|
|
27
26
|
import 'strip-ansi';
|
|
27
|
+
import { a as GameStatus$1 } from '../../GameStatus-XFGHRbVP.js';
|
|
28
28
|
import 'open';
|
|
29
29
|
import '@inkjs/ui';
|
|
30
30
|
import 'marked';
|
|
31
31
|
import 'marked-terminal';
|
|
32
32
|
import 'qrcode';
|
|
33
33
|
import 'godot-export-presets';
|
|
34
|
-
import { C as CommandGame } from '../../CommandGame-
|
|
34
|
+
import { C as CommandGame } from '../../CommandGame-DPJEVhuw.js';
|
|
35
35
|
import 'fs';
|
|
36
36
|
import 'path';
|
|
37
37
|
import '@expo/apple-utils/build/index.js';
|
|
38
38
|
import '../../StatusTable-DzRWcMr4.js';
|
|
39
39
|
import '../../Title-BCQtayg6.js';
|
|
40
40
|
import '../../NextSteps-DbJHmscQ.js';
|
|
41
|
-
import '../../
|
|
41
|
+
import '../../ErrorBox-DS5e6VmF.js';
|
|
42
|
+
import '../../Command-B-MWAVPL.js';
|
|
42
43
|
|
|
43
44
|
class GameStatus extends BaseAuthenticatedCommand {
|
|
44
45
|
static args = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { i as cacheKeys,
|
|
4
|
+
import { i as cacheKeys, j as CommandContext, d as GameContext, s as useSafeInput, M as Markdown, u as useBuilds, y as queryBuilds, l as fetchKeyTestResult, K as KeyTestStatus, o as KeyTestError, G as GameProvider, z as CreateGooglePlayGame, B as BaseAuthenticatedCommand } from '../../baseGameCommand-Cbx4ywHl.js';
|
|
5
5
|
import fs__default from 'node:fs';
|
|
6
6
|
import 'node:path';
|
|
7
7
|
import 'chalk';
|
|
8
8
|
import axios from 'axios';
|
|
9
|
-
import {
|
|
9
|
+
import { F as queryClient, r as getAuthedHeaders, q as API_URL, E as castArrayObjectDates, m as getProject, ae as updateProject, w as getGodotVersion, v as GameEngine, x as createProject, y as DEFAULT_PLATFORM_GLOBS, W as WEB_URL, af as getGradleBuildOptionKey, P as Platform, ag as BuildType, J as JobStatus, g as getShortUUID, i as isGradleBuildEnabled, s as setGradleBuildEnabled, C as CredentialsType, Q as getGoogleStatus, l as isCWDGodotGame } from '../../baseCommand-CpAJaJoG.js';
|
|
10
10
|
import 'luxon';
|
|
11
11
|
import 'node:crypto';
|
|
12
12
|
import 'node:readline';
|
|
@@ -25,30 +25,32 @@ import Spinner from 'ink-spinner';
|
|
|
25
25
|
import 'string-length';
|
|
26
26
|
import 'strip-ansi';
|
|
27
27
|
import 'open';
|
|
28
|
-
import { C as ConnectGoogle } from '../../index-
|
|
28
|
+
import { C as ConnectGoogle } from '../../index-KJtngKaE.js';
|
|
29
29
|
import { TextInput, Alert } from '@inkjs/ui';
|
|
30
30
|
import 'marked';
|
|
31
31
|
import 'marked-terminal';
|
|
32
32
|
import 'qrcode';
|
|
33
33
|
import { getMajorVersion } from 'godot-export-presets';
|
|
34
|
-
import { J as
|
|
35
|
-
import {
|
|
36
|
-
import { C as CreateServiceAccountKey } from '../../index-
|
|
37
|
-
import { C as CreateKeystore } from '../../Create-
|
|
38
|
-
import { I as ImportKeystore } from '../../Import-
|
|
39
|
-
import { a as getProjectCredentials } from '../../index-
|
|
34
|
+
import { u as useShip, J as JobProgress } from '../../JobProgress-_cIUK7Ho.js';
|
|
35
|
+
import { J as JobLogTail } from '../../JobLogTail-BwFUt8LB.js';
|
|
36
|
+
import { C as CreateServiceAccountKey } from '../../index-B5s20dhm.js';
|
|
37
|
+
import { C as CreateKeystore } from '../../Create-CmEndHAZ.js';
|
|
38
|
+
import { I as ImportKeystore } from '../../Import-ea-wsQt-.js';
|
|
39
|
+
import { a as getProjectCredentials } from '../../index-By3xdL8c.js';
|
|
40
40
|
import { T as Title } from '../../Title-BCQtayg6.js';
|
|
41
|
-
import {
|
|
41
|
+
import { E as ErrorBox } from '../../ErrorBox-DS5e6VmF.js';
|
|
42
|
+
import { C as Command } from '../../Command-B-MWAVPL.js';
|
|
42
43
|
import 'fs';
|
|
43
44
|
import 'path';
|
|
44
45
|
import '@expo/apple-utils/build/index.js';
|
|
45
|
-
import '../../useWebSocket-
|
|
46
|
-
import '../../useGoogleStatus-
|
|
47
|
-
import '../../useProjectCredentials-
|
|
46
|
+
import '../../useWebSocket-DlNe_zDR.js';
|
|
47
|
+
import '../../useGoogleStatus-BHd_Wp59.js';
|
|
48
|
+
import '../../useProjectCredentials-ADtDLDmx.js';
|
|
48
49
|
import '../../git-BpsfNFZ_.js';
|
|
49
50
|
import '../../ProgressSpinner-Um6ARKlk.js';
|
|
51
|
+
import '../../TruncatedText-DhEXCrnE.js';
|
|
50
52
|
import '../../RunWithSpinner-DucRnFp6.js';
|
|
51
|
-
import '../../import-
|
|
53
|
+
import '../../import-IVcS8WFM.js';
|
|
52
54
|
|
|
53
55
|
const useInviteServiceAccount = () => useMutation({
|
|
54
56
|
async mutationFn({ developerId, projectId }) {
|
|
@@ -651,6 +653,7 @@ const AndroidWizard = (props) => {
|
|
|
651
653
|
const [currentStepIndex, setCurrentStepIndex] = useState(null);
|
|
652
654
|
const [stepStatuses, setStepStatuses] = useState(null);
|
|
653
655
|
const [showSuccess, setShowSuccess] = useState(false);
|
|
656
|
+
const [error, setError] = useState(null);
|
|
654
657
|
const determineStep = async () => {
|
|
655
658
|
if (!command) return;
|
|
656
659
|
const statusFlags = await getStatusFlags(command);
|
|
@@ -669,14 +672,19 @@ const AndroidWizard = (props) => {
|
|
|
669
672
|
if (isAllDone) setTimeout(props.onComplete, ON_COMPLETE_DELAY_MS);
|
|
670
673
|
};
|
|
671
674
|
useEffect(() => {
|
|
672
|
-
determineStep().catch(
|
|
675
|
+
determineStep().catch(handleError);
|
|
673
676
|
}, [command]);
|
|
674
|
-
const handleStepComplete = () => determineStep().catch(
|
|
677
|
+
const handleStepComplete = () => determineStep().catch(handleError);
|
|
678
|
+
const handleError = (e) => {
|
|
679
|
+
setError(e);
|
|
680
|
+
setTimeout(() => process.exit(1), ON_COMPLETE_DELAY_MS);
|
|
681
|
+
};
|
|
675
682
|
const StepInterface = currentStep ? stepComponentMap[currentStep] : null;
|
|
676
683
|
const templateVars = {
|
|
677
684
|
docsURL: new URL("/docs", WEB_URL).toString(),
|
|
678
685
|
iosSetupURL: new URL("/docs/ios", WEB_URL).toString()
|
|
679
686
|
};
|
|
687
|
+
if (error) return /* @__PURE__ */ jsx(ErrorBox, { error });
|
|
680
688
|
return /* @__PURE__ */ jsxs(GameProvider, { children: [
|
|
681
689
|
/* @__PURE__ */ jsx(WizardHeader, { currentStepIndex, stepStatuses }),
|
|
682
690
|
StepInterface && /* @__PURE__ */ jsx(
|
|
@@ -685,7 +693,7 @@ const AndroidWizard = (props) => {
|
|
|
685
693
|
borderStyle: isTall && isWide ? "single" : void 0,
|
|
686
694
|
margin: isTall && isWide ? 1 : 0,
|
|
687
695
|
onComplete: handleStepComplete,
|
|
688
|
-
onError:
|
|
696
|
+
onError: handleError,
|
|
689
697
|
padding: isTall && isWide ? 1 : 0
|
|
690
698
|
}
|
|
691
699
|
),
|
|
@@ -713,7 +721,7 @@ class GameWizard extends BaseAuthenticatedCommand {
|
|
|
713
721
|
return this.config.runCommand("game:ios:wizard");
|
|
714
722
|
}
|
|
715
723
|
withFullScreen(
|
|
716
|
-
/* @__PURE__ */ jsx(Command, { command: this, children: /* @__PURE__ */ jsx(AndroidWizard, { onComplete: () => process.exit(0), onError: (e) => this.error(e) }) })
|
|
724
|
+
/* @__PURE__ */ jsx(Command, { command: this, children: /* @__PURE__ */ jsx(AndroidWizard, { onComplete: () => process.exit(0), onError: (e) => this.error(e.message, { exit: 1 }) }) })
|
|
717
725
|
).start();
|
|
718
726
|
}
|
|
719
727
|
}
|
|
@@ -2,11 +2,8 @@ import fs__default, { promises } from 'node:fs';
|
|
|
2
2
|
import path__default from 'node:path';
|
|
3
3
|
import { Args, Flags } from '@oclif/core';
|
|
4
4
|
import 'axios';
|
|
5
|
-
import { B as BaseCommand } from '../../baseCommand-
|
|
5
|
+
import { B as BaseCommand } from '../../baseCommand-CpAJaJoG.js';
|
|
6
6
|
import 'luxon';
|
|
7
|
-
import 'react/jsx-runtime';
|
|
8
|
-
import 'ink';
|
|
9
|
-
import 'ink-spinner';
|
|
10
7
|
import 'node:crypto';
|
|
11
8
|
import 'node:readline';
|
|
12
9
|
import 'node:url';
|
|
@@ -20,11 +17,14 @@ import 'stream';
|
|
|
20
17
|
import 'yazl';
|
|
21
18
|
import 'socket.io-client';
|
|
22
19
|
import 'fullscreen-ink';
|
|
20
|
+
import 'ink';
|
|
21
|
+
import 'react/jsx-runtime';
|
|
22
|
+
import 'ink-spinner';
|
|
23
23
|
import 'string-length';
|
|
24
24
|
import 'strip-ansi';
|
|
25
25
|
import 'open';
|
|
26
26
|
import '@inkjs/ui';
|
|
27
|
-
import '../../baseGameCommand-
|
|
27
|
+
import '../../baseGameCommand-Cbx4ywHl.js';
|
|
28
28
|
import 'marked';
|
|
29
29
|
import 'marked-terminal';
|
|
30
30
|
import 'qrcode';
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import fs__default from 'node:fs';
|
|
2
2
|
import path__default from 'node:path';
|
|
3
3
|
import { Args, Flags } from '@oclif/core';
|
|
4
|
-
import {
|
|
4
|
+
import { p as ejs } from '../../baseGameCommand-Cbx4ywHl.js';
|
|
5
5
|
import 'axios';
|
|
6
|
-
import { B as BaseCommand } from '../../baseCommand-
|
|
6
|
+
import { B as BaseCommand } from '../../baseCommand-CpAJaJoG.js';
|
|
7
7
|
import 'luxon';
|
|
8
|
-
import 'react/jsx-runtime';
|
|
9
|
-
import 'ink';
|
|
10
|
-
import 'ink-spinner';
|
|
11
8
|
import 'node:crypto';
|
|
12
9
|
import 'node:readline';
|
|
13
10
|
import 'node:url';
|
|
@@ -22,6 +19,9 @@ import 'stream';
|
|
|
22
19
|
import 'yazl';
|
|
23
20
|
import 'socket.io-client';
|
|
24
21
|
import 'fullscreen-ink';
|
|
22
|
+
import 'ink';
|
|
23
|
+
import 'react/jsx-runtime';
|
|
24
|
+
import 'ink-spinner';
|
|
25
25
|
import 'string-length';
|
|
26
26
|
import 'strip-ansi';
|
|
27
27
|
import 'open';
|
package/dist/commands/login.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Flags } from '@oclif/core';
|
|
2
2
|
import axios from 'axios';
|
|
3
|
-
import { W as WEB_URL, B as BaseCommand,
|
|
3
|
+
import { W as WEB_URL, B as BaseCommand, a0 as acceptTerms, q as API_URL, a1 as setAuthToken } from '../baseCommand-CpAJaJoG.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'ink';
|
|
6
6
|
import 'ink-spinner';
|
|
7
|
-
import {
|
|
7
|
+
import { a as getInput } from '../baseGameCommand-Cbx4ywHl.js';
|
|
8
8
|
import 'react';
|
|
9
|
-
import '@tanstack/react-query';
|
|
10
9
|
import 'luxon';
|
|
10
|
+
import 'string-length';
|
|
11
|
+
import 'strip-ansi';
|
|
12
|
+
import '@tanstack/react-query';
|
|
11
13
|
import 'node:fs';
|
|
12
14
|
import 'uuid';
|
|
13
15
|
import 'fast-glob';
|
|
@@ -15,8 +17,6 @@ import 'stream';
|
|
|
15
17
|
import 'yazl';
|
|
16
18
|
import 'socket.io-client';
|
|
17
19
|
import 'fullscreen-ink';
|
|
18
|
-
import 'string-length';
|
|
19
|
-
import 'strip-ansi';
|
|
20
20
|
import 'open';
|
|
21
21
|
import '@inkjs/ui';
|
|
22
22
|
import 'node:path';
|
|
@@ -25,12 +25,12 @@ import 'marked-terminal';
|
|
|
25
25
|
import 'qrcode';
|
|
26
26
|
import 'godot-export-presets';
|
|
27
27
|
import 'chalk';
|
|
28
|
-
import '@expo/apple-utils/build/index.js';
|
|
29
28
|
import 'node:crypto';
|
|
30
29
|
import 'node:readline';
|
|
31
30
|
import 'node:url';
|
|
32
31
|
import 'readline-sync';
|
|
33
32
|
import 'isomorphic-git';
|
|
33
|
+
import '@expo/apple-utils/build/index.js';
|
|
34
34
|
import 'fs';
|
|
35
35
|
import 'path';
|
|
36
36
|
|
package/dist/commands/status.js
CHANGED
|
@@ -3,9 +3,8 @@ import chalk from 'chalk';
|
|
|
3
3
|
import { render } from 'ink';
|
|
4
4
|
import 'node:fs';
|
|
5
5
|
import 'axios';
|
|
6
|
-
import { B as BaseCommand,
|
|
6
|
+
import { B as BaseCommand, l as isCWDGodotGame } from '../baseCommand-CpAJaJoG.js';
|
|
7
7
|
import 'luxon';
|
|
8
|
-
import 'ink-spinner';
|
|
9
8
|
import 'node:crypto';
|
|
10
9
|
import 'node:path';
|
|
11
10
|
import 'node:readline';
|
|
@@ -21,20 +20,21 @@ import 'stream';
|
|
|
21
20
|
import 'yazl';
|
|
22
21
|
import 'socket.io-client';
|
|
23
22
|
import 'fullscreen-ink';
|
|
23
|
+
import 'ink-spinner';
|
|
24
24
|
import 'string-length';
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import { S as StatusTable } from '../StatusTable-DzRWcMr4.js';
|
|
27
27
|
import 'open';
|
|
28
28
|
import '@inkjs/ui';
|
|
29
|
-
import '../baseGameCommand-
|
|
29
|
+
import '../baseGameCommand-Cbx4ywHl.js';
|
|
30
30
|
import 'marked';
|
|
31
31
|
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-
|
|
36
|
-
import '@expo/apple-utils/build/index.js';
|
|
35
|
+
import { C as Command } from '../Command-B-MWAVPL.js';
|
|
37
36
|
import 'isomorphic-git';
|
|
37
|
+
import '@expo/apple-utils/build/index.js';
|
|
38
38
|
import '../Title-BCQtayg6.js';
|
|
39
39
|
import 'fs';
|
|
40
40
|
import 'path';
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { Flags } from '@oclif/core';
|
|
2
2
|
import 'node:fs';
|
|
3
3
|
import 'axios';
|
|
4
|
-
import { B as BaseCommand, i as isGradleBuildEnabled, s as setGradleBuildEnabled } from '../../baseCommand-
|
|
4
|
+
import { B as BaseCommand, i as isGradleBuildEnabled, s as setGradleBuildEnabled } from '../../baseCommand-CpAJaJoG.js';
|
|
5
5
|
import 'luxon';
|
|
6
|
-
import 'react/jsx-runtime';
|
|
7
|
-
import 'ink';
|
|
8
|
-
import 'ink-spinner';
|
|
9
6
|
import 'node:crypto';
|
|
10
7
|
import 'node:path';
|
|
11
8
|
import 'node:readline';
|
|
@@ -20,11 +17,14 @@ import 'stream';
|
|
|
20
17
|
import 'yazl';
|
|
21
18
|
import 'socket.io-client';
|
|
22
19
|
import 'fullscreen-ink';
|
|
20
|
+
import 'ink';
|
|
21
|
+
import 'react/jsx-runtime';
|
|
22
|
+
import 'ink-spinner';
|
|
23
23
|
import 'string-length';
|
|
24
24
|
import 'strip-ansi';
|
|
25
25
|
import 'open';
|
|
26
26
|
import '@inkjs/ui';
|
|
27
|
-
import '../../baseGameCommand-
|
|
27
|
+
import '../../baseGameCommand-Cbx4ywHl.js';
|
|
28
28
|
import 'marked';
|
|
29
29
|
import 'marked-terminal';
|
|
30
30
|
import 'qrcode';
|
|
@@ -2,17 +2,17 @@ import * as fs from 'node:fs';
|
|
|
2
2
|
import * as path from 'node:path';
|
|
3
3
|
import { Flags, Args } from '@oclif/core';
|
|
4
4
|
import xcode from 'xcode';
|
|
5
|
-
import { B as BaseCommand } from '../../baseCommand-
|
|
5
|
+
import { B as BaseCommand } from '../../baseCommand-CpAJaJoG.js';
|
|
6
6
|
import 'chalk';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import 'luxon';
|
|
9
|
-
import '@expo/apple-utils/build/index.js';
|
|
10
9
|
import 'node:crypto';
|
|
11
10
|
import 'node:readline';
|
|
12
11
|
import 'node:url';
|
|
13
12
|
import 'readline-sync';
|
|
14
13
|
import 'isomorphic-git';
|
|
15
14
|
import 'godot-export-presets';
|
|
15
|
+
import '@expo/apple-utils/build/index.js';
|
|
16
16
|
import '@tanstack/react-query';
|
|
17
17
|
import 'react';
|
|
18
18
|
import 'uuid';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as fs from 'node:fs';
|
|
2
2
|
import axios from 'axios';
|
|
3
|
-
import {
|
|
3
|
+
import { q as API_URL, r as getAuthedHeaders } from './baseCommand-CpAJaJoG.js';
|
|
4
4
|
|
|
5
5
|
async function exportCredential({ credentialId, projectId, zipPath }) {
|
|
6
6
|
const headers = getAuthedHeaders();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { promises } from 'node:fs';
|
|
2
2
|
import axios from 'axios';
|
|
3
|
-
import {
|
|
3
|
+
import { q as API_URL, r as getAuthedHeaders } from './baseCommand-CpAJaJoG.js';
|
|
4
4
|
|
|
5
5
|
async function getNewImportTicket(projectId) {
|
|
6
6
|
const url = projectId ? `${API_URL}/projects/${projectId}/credentials/import/url` : `${API_URL}/credentials/import/url`;
|