shipthis 0.1.47 → 0.1.49
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/dist/{AppleBundleIdDetails-DogjUozj.js → AppleBundleIdDetails-4WNaBSGY.js} +7 -7
- package/dist/{Command-CWKSGrtu.js → Command-DuEKI93-.js} +4 -4
- package/dist/{CommandGame-B7EQbgMq.js → CommandGame-BeyPCeC7.js} +2 -2
- package/dist/{Create-DVnctE1E.js → Create-DUl1dfhZ.js} +5 -5
- package/dist/{GameStatus-DbwQmv4w.js → GameStatus-NSIKI7Zi.js} +5 -4
- package/dist/{Import-OqdHUTRB.js → Import-B_2jztJs.js} +6 -6
- package/dist/{JobLogTail-D-IhoJDu.js → JobLogTail-CDGqKKin.js} +5 -5
- package/dist/JobProgress-COP5mbrn.js +394 -0
- package/dist/{JobStatusTable-BrfiBJ2p.js → JobStatusTable-DamWqM1t.js} +6 -4
- package/dist/{ProjectCredentialsTable-DyUiZFwz.js → ProjectCredentialsTable-BXWs0Ler.js} +5 -5
- package/dist/{UserCredentialsTable-DBasvwqB.js → UserCredentialsTable-Cr2NT9gg.js} +5 -5
- package/dist/{baseAppleCommand-Dfzhp492.js → baseAppleCommand-CMBV0P9z.js} +1 -1
- package/dist/{baseCommand-B7pUDBYl.js → baseCommand-C7OdounZ.js} +20 -6
- package/dist/{baseGameAndroidCommand-BhridFzb.js → baseGameAndroidCommand-BE6hsL-c.js} +2 -2
- package/dist/{baseGameCommand-BTC5XD8W.js → baseGameCommand-Bap2bDqP.js} +5 -5
- package/dist/commands/apiKey/create.js +5 -5
- package/dist/commands/apiKey/list.js +6 -6
- package/dist/commands/apiKey/revoke.js +6 -6
- package/dist/commands/apple/apiKey/create.js +9 -9
- package/dist/commands/apple/apiKey/delete.js +7 -7
- package/dist/commands/apple/apiKey/export.js +8 -8
- package/dist/commands/apple/apiKey/import.js +8 -8
- package/dist/commands/apple/apiKey/status.js +7 -7
- package/dist/commands/apple/certificate/create.js +9 -9
- package/dist/commands/apple/certificate/delete.js +7 -7
- package/dist/commands/apple/certificate/export.js +8 -8
- package/dist/commands/apple/certificate/import.js +8 -8
- package/dist/commands/apple/certificate/status.js +7 -7
- package/dist/commands/apple/login.js +5 -5
- package/dist/commands/apple/status.js +6 -6
- package/dist/commands/dashboard.js +5 -5
- package/dist/commands/game/android/apiKey/connect.js +11 -11
- package/dist/commands/game/android/apiKey/create.js +13 -13
- package/dist/commands/game/android/apiKey/delete.js +7 -7
- package/dist/commands/game/android/apiKey/export.js +9 -9
- package/dist/commands/game/android/apiKey/import.js +9 -9
- package/dist/commands/game/android/apiKey/invite.js +6 -6
- package/dist/commands/game/android/apiKey/policy.js +6 -6
- package/dist/commands/game/android/apiKey/status.js +9 -9
- package/dist/commands/game/android/keyStore/create.js +10 -10
- package/dist/commands/game/android/keyStore/delete.js +7 -7
- package/dist/commands/game/android/keyStore/export.js +8 -8
- package/dist/commands/game/android/keyStore/import.js +11 -11
- package/dist/commands/game/android/keyStore/status.js +8 -8
- package/dist/commands/game/android/status.js +5 -5
- package/dist/commands/game/build/download.js +6 -6
- package/dist/commands/game/build/list.js +7 -7
- package/dist/commands/game/create.js +7 -8
- package/dist/commands/game/details.js +6 -6
- package/dist/commands/game/export.js +29 -14
- 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 +9 -9
- package/dist/commands/game/ios/app/sync.js +7 -7
- package/dist/commands/game/ios/profile/create.js +9 -9
- package/dist/commands/game/ios/profile/delete.js +7 -7
- package/dist/commands/game/ios/profile/export.js +8 -8
- package/dist/commands/game/ios/profile/import.js +8 -8
- package/dist/commands/game/ios/profile/status.js +9 -9
- package/dist/commands/game/ios/status.js +11 -11
- package/dist/commands/game/ios/wizard.js +8 -8
- package/dist/commands/game/job/list.js +6 -6
- package/dist/commands/game/job/status.js +9 -9
- package/dist/commands/game/list.js +6 -6
- package/dist/commands/game/ship.js +22 -15
- package/dist/commands/game/status.js +8 -8
- package/dist/commands/game/wizard.js +21 -20
- package/dist/commands/internal/fastlane.js +5 -5
- package/dist/commands/internal/readme.js +5 -5
- package/dist/commands/login.js +5 -5
- package/dist/commands/status.js +6 -6
- package/dist/commands/util/android-build-method.js +5 -5
- package/dist/commands/util/glass.js +4 -4
- package/dist/{export-7GgsEM8k.js → export-gdKqwR7u.js} +1 -1
- package/dist/{import-DKibfocC.js → import-CICoTBgo.js} +1 -1
- package/dist/{index-3FFnBAwx.js → index-BaxMfQnE.js} +8 -8
- package/dist/{index-BeGDjWvi.js → index-CjYag6UG.js} +7 -7
- package/dist/{index-B_dXK-Zt.js → index-YX-OJ2AA.js} +1 -1
- package/dist/{upload-DGY-glMy.js → upload-Drre-qsL.js} +1 -1
- package/dist/{useAppleApp-DRJf8q6R.js → useAppleApp-ChI2baWJ.js} +1 -1
- package/dist/{useAppleBundleId-B-5a-soi.js → useAppleBundleId-CUTbojvt.js} +1 -1
- package/dist/{useAppleProfiles-BXXI2MAc.js → useAppleProfiles-omIx9KVc.js} +4 -4
- package/dist/{useGoogleStatus-CETX9Rbw.js → useGoogleStatus-v86ZyFiz.js} +2 -2
- package/dist/{useProjectCredentials-AV_OlZEu.js → useProjectCredentials-5Ycm5B4x.js} +3 -3
- package/dist/{useWebSocket-DgYLiSrd.js → useWebSocket-AjcqLcJX.js} +1 -1
- package/docs/game/export.md +13 -2
- package/docs/game/ship.md +1 -1
- package/npm-shrinkwrap.json +73 -70
- package/oclif.manifest.json +19 -4
- package/package.json +3 -5
- package/dist/JobProgress-C24YiJOA.js +0 -252
|
@@ -2,9 +2,9 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as fs from 'node:fs';
|
|
3
3
|
import { Args, Flags } from '@oclif/core';
|
|
4
4
|
import { render } from 'ink';
|
|
5
|
-
import { a as getProjectCredentials } from '../../../../index-
|
|
5
|
+
import { a as getProjectCredentials } from '../../../../index-YX-OJ2AA.js';
|
|
6
6
|
import 'axios';
|
|
7
|
-
import { P as Platform, C as CredentialsType } from '../../../../baseCommand-
|
|
7
|
+
import { P as Platform, C as CredentialsType } from '../../../../baseCommand-C7OdounZ.js';
|
|
8
8
|
import 'luxon';
|
|
9
9
|
import 'ink-spinner';
|
|
10
10
|
import 'node:crypto';
|
|
@@ -15,25 +15,25 @@ import 'readline-sync';
|
|
|
15
15
|
import 'isomorphic-git';
|
|
16
16
|
import '@tanstack/react-query';
|
|
17
17
|
import 'react';
|
|
18
|
-
import 'fast-glob';
|
|
19
18
|
import 'uuid';
|
|
20
|
-
import '
|
|
21
|
-
import 'fullscreen-ink';
|
|
19
|
+
import 'fast-glob';
|
|
22
20
|
import 'stream';
|
|
23
21
|
import 'yazl';
|
|
22
|
+
import 'socket.io-client';
|
|
23
|
+
import 'fullscreen-ink';
|
|
24
24
|
import 'string-length';
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import { c as BaseGameCommand } from '../../../../baseGameCommand-
|
|
28
|
+
import { c as BaseGameCommand } from '../../../../baseGameCommand-Bap2bDqP.js';
|
|
29
29
|
import 'marked';
|
|
30
30
|
import 'marked-terminal';
|
|
31
31
|
import 'qrcode';
|
|
32
32
|
import { R as RunWithSpinner } from '../../../../RunWithSpinner-DucRnFp6.js';
|
|
33
33
|
import 'godot-export-presets';
|
|
34
|
-
import { C as Command } from '../../../../Command-
|
|
34
|
+
import { C as Command } from '../../../../Command-DuEKI93-.js';
|
|
35
35
|
import 'chalk';
|
|
36
|
-
import { e as exportCredential } from '../../../../export-
|
|
36
|
+
import { e as exportCredential } from '../../../../export-gdKqwR7u.js';
|
|
37
37
|
import '@expo/apple-utils/build/index.js';
|
|
38
38
|
import 'fs';
|
|
39
39
|
import 'path';
|
|
@@ -2,9 +2,9 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as fs from 'node:fs';
|
|
3
3
|
import { Args, Flags } from '@oclif/core';
|
|
4
4
|
import { render } from 'ink';
|
|
5
|
-
import { a as getProjectCredentials } from '../../../../index-
|
|
5
|
+
import { a as getProjectCredentials } from '../../../../index-YX-OJ2AA.js';
|
|
6
6
|
import 'axios';
|
|
7
|
-
import { P as Platform, C as CredentialsType } from '../../../../baseCommand-
|
|
7
|
+
import { P as Platform, C as CredentialsType } from '../../../../baseCommand-C7OdounZ.js';
|
|
8
8
|
import 'luxon';
|
|
9
9
|
import 'ink-spinner';
|
|
10
10
|
import 'node:crypto';
|
|
@@ -15,25 +15,25 @@ import 'readline-sync';
|
|
|
15
15
|
import 'isomorphic-git';
|
|
16
16
|
import '@tanstack/react-query';
|
|
17
17
|
import 'react';
|
|
18
|
-
import 'fast-glob';
|
|
19
18
|
import 'uuid';
|
|
20
|
-
import '
|
|
21
|
-
import 'fullscreen-ink';
|
|
19
|
+
import 'fast-glob';
|
|
22
20
|
import 'stream';
|
|
23
21
|
import 'yazl';
|
|
22
|
+
import 'socket.io-client';
|
|
23
|
+
import 'fullscreen-ink';
|
|
24
24
|
import 'string-length';
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import { c as BaseGameCommand } from '../../../../baseGameCommand-
|
|
28
|
+
import { c as BaseGameCommand } from '../../../../baseGameCommand-Bap2bDqP.js';
|
|
29
29
|
import 'marked';
|
|
30
30
|
import 'marked-terminal';
|
|
31
31
|
import 'qrcode';
|
|
32
32
|
import { R as RunWithSpinner } from '../../../../RunWithSpinner-DucRnFp6.js';
|
|
33
33
|
import 'godot-export-presets';
|
|
34
|
-
import { C as Command } from '../../../../Command-
|
|
34
|
+
import { C as Command } from '../../../../Command-DuEKI93-.js';
|
|
35
35
|
import 'chalk';
|
|
36
|
-
import { i as importCredential } from '../../../../import-
|
|
36
|
+
import { i as importCredential } from '../../../../import-CICoTBgo.js';
|
|
37
37
|
import '@expo/apple-utils/build/index.js';
|
|
38
38
|
import 'fs';
|
|
39
39
|
import 'path';
|
|
@@ -3,7 +3,7 @@ import { Flags } from '@oclif/core';
|
|
|
3
3
|
import { Box, Text, render } from 'ink';
|
|
4
4
|
import 'node:fs';
|
|
5
5
|
import 'axios';
|
|
6
|
-
import { C as CredentialsType, P as Platform } from '../../../../baseCommand-
|
|
6
|
+
import { C as CredentialsType, P as Platform } from '../../../../baseCommand-C7OdounZ.js';
|
|
7
7
|
import 'luxon';
|
|
8
8
|
import Spinner from 'ink-spinner';
|
|
9
9
|
import 'node:crypto';
|
|
@@ -14,28 +14,28 @@ import 'readline-sync';
|
|
|
14
14
|
import 'isomorphic-git';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
16
|
import 'react';
|
|
17
|
-
import 'fast-glob';
|
|
18
17
|
import 'uuid';
|
|
19
|
-
import '
|
|
20
|
-
import 'fullscreen-ink';
|
|
18
|
+
import 'fast-glob';
|
|
21
19
|
import 'stream';
|
|
22
20
|
import 'yazl';
|
|
21
|
+
import 'socket.io-client';
|
|
22
|
+
import 'fullscreen-ink';
|
|
23
23
|
import 'string-length';
|
|
24
24
|
import 'strip-ansi';
|
|
25
|
-
import { P as ProjectCredentialsTable } from '../../../../ProjectCredentialsTable-
|
|
25
|
+
import { P as ProjectCredentialsTable } from '../../../../ProjectCredentialsTable-BXWs0Ler.js';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import { c as BaseGameCommand } from '../../../../baseGameCommand-
|
|
28
|
+
import { c as BaseGameCommand } from '../../../../baseGameCommand-Bap2bDqP.js';
|
|
29
29
|
import 'marked';
|
|
30
30
|
import 'marked-terminal';
|
|
31
31
|
import 'qrcode';
|
|
32
32
|
import 'godot-export-presets';
|
|
33
|
-
import { u as useAppleProfiles, c as canAppleProfileBeUsed, g as getAppleProfileSummary } from '../../../../useAppleProfiles-
|
|
34
|
-
import { u as useProjectCredentials } from '../../../../useProjectCredentials-
|
|
33
|
+
import { u as useAppleProfiles, c as canAppleProfileBeUsed, g as getAppleProfileSummary } from '../../../../useAppleProfiles-omIx9KVc.js';
|
|
34
|
+
import { u as useProjectCredentials } from '../../../../useProjectCredentials-5Ycm5B4x.js';
|
|
35
35
|
import { T as Table } from '../../../../Table-FaNgpyeq.js';
|
|
36
36
|
import { T as Title } from '../../../../Title-BCQtayg6.js';
|
|
37
37
|
import { N as NextSteps } from '../../../../NextSteps-DbJHmscQ.js';
|
|
38
|
-
import { C as Command } from '../../../../Command-
|
|
38
|
+
import { C as Command } from '../../../../Command-DuEKI93-.js';
|
|
39
39
|
import 'chalk';
|
|
40
40
|
import '@expo/apple-utils/build/index.js';
|
|
41
41
|
import 'fs';
|
|
@@ -3,7 +3,7 @@ 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-C7OdounZ.js';
|
|
7
7
|
import 'luxon';
|
|
8
8
|
import 'ink-spinner';
|
|
9
9
|
import 'node:crypto';
|
|
@@ -14,24 +14,24 @@ import 'readline-sync';
|
|
|
14
14
|
import 'isomorphic-git';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
16
|
import 'react';
|
|
17
|
-
import 'fast-glob';
|
|
18
17
|
import 'uuid';
|
|
19
|
-
import '
|
|
20
|
-
import 'fullscreen-ink';
|
|
18
|
+
import 'fast-glob';
|
|
21
19
|
import 'stream';
|
|
22
20
|
import 'yazl';
|
|
23
|
-
import
|
|
21
|
+
import 'socket.io-client';
|
|
22
|
+
import 'fullscreen-ink';
|
|
23
|
+
import { G as GameStatusDetails } from '../../../GameStatus-NSIKI7Zi.js';
|
|
24
24
|
import 'string-length';
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import { c as BaseGameCommand } from '../../../baseGameCommand-
|
|
28
|
+
import { c as BaseGameCommand } from '../../../baseGameCommand-Bap2bDqP.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-4WNaBSGY.js';
|
|
34
|
+
import { C as CommandGame } from '../../../CommandGame-BeyPCeC7.js';
|
|
35
35
|
import 'chalk';
|
|
36
36
|
import '@expo/apple-utils/build/index.js';
|
|
37
37
|
import '../../../StatusTable-DzRWcMr4.js';
|
|
@@ -39,10 +39,10 @@ import '../../../Title-BCQtayg6.js';
|
|
|
39
39
|
import '../../../NextSteps-DbJHmscQ.js';
|
|
40
40
|
import 'fs';
|
|
41
41
|
import 'path';
|
|
42
|
-
import '../../../useAppleApp-
|
|
42
|
+
import '../../../useAppleApp-ChI2baWJ.js';
|
|
43
43
|
import '../../../Table-FaNgpyeq.js';
|
|
44
|
-
import '../../../useAppleBundleId-
|
|
45
|
-
import '../../../Command-
|
|
44
|
+
import '../../../useAppleBundleId-CUTbojvt.js';
|
|
45
|
+
import '../../../Command-DuEKI93-.js';
|
|
46
46
|
|
|
47
47
|
class GameIosStatus extends BaseGameCommand {
|
|
48
48
|
static args = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Flags } from '@oclif/core';
|
|
2
2
|
import chalk from 'chalk';
|
|
3
|
-
import { k as isCWDGodotGame, W as WEB_URL, P as Platform, C as CredentialsType, l as getProject } from '../../../baseCommand-
|
|
4
|
-
import { B as BaseAuthenticatedCommand, a as getRenderedMarkdown } from '../../../baseGameCommand-
|
|
3
|
+
import { k as isCWDGodotGame, W as WEB_URL, P as Platform, C as CredentialsType, l as getProject } from '../../../baseCommand-C7OdounZ.js';
|
|
4
|
+
import { B as BaseAuthenticatedCommand, a as getRenderedMarkdown } from '../../../baseGameCommand-Bap2bDqP.js';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:path';
|
|
7
7
|
import 'node:crypto';
|
|
@@ -13,13 +13,13 @@ import 'axios';
|
|
|
13
13
|
import 'isomorphic-git';
|
|
14
14
|
import '@tanstack/react-query';
|
|
15
15
|
import 'react';
|
|
16
|
-
import 'fast-glob';
|
|
17
16
|
import 'uuid';
|
|
17
|
+
import 'fast-glob';
|
|
18
|
+
import 'stream';
|
|
19
|
+
import 'yazl';
|
|
18
20
|
import 'socket.io-client';
|
|
19
21
|
import 'fullscreen-ink';
|
|
20
22
|
import 'ink';
|
|
21
|
-
import 'stream';
|
|
22
|
-
import 'yazl';
|
|
23
23
|
import 'react/jsx-runtime';
|
|
24
24
|
import 'ink-spinner';
|
|
25
25
|
import 'string-length';
|
|
@@ -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-YX-OJ2AA.js';
|
|
32
32
|
import '@expo/apple-utils/build/index.js';
|
|
33
33
|
import 'fs';
|
|
34
34
|
import 'path';
|
|
@@ -78,7 +78,7 @@ class GameIosWizard extends BaseAuthenticatedCommand {
|
|
|
78
78
|
async shouldRun() {
|
|
79
79
|
const userCredentials = await getUserCredentials();
|
|
80
80
|
const userAppleApiKeyCredentials = userCredentials.filter(
|
|
81
|
-
(cred) => cred.platform === Platform.IOS && cred.type === CredentialsType.KEY
|
|
81
|
+
(cred) => cred.platform === Platform.IOS && cred.type === CredentialsType.KEY && cred.isActive
|
|
82
82
|
);
|
|
83
83
|
const hasKey = userAppleApiKeyCredentials.length > 0;
|
|
84
84
|
return !hasKey;
|
|
@@ -90,7 +90,7 @@ class GameIosWizard extends BaseAuthenticatedCommand {
|
|
|
90
90
|
async shouldRun() {
|
|
91
91
|
const userCredentials = await getUserCredentials();
|
|
92
92
|
const userAppleDistCredentials = userCredentials.filter(
|
|
93
|
-
(cred) => cred.platform === Platform.IOS && cred.type === CredentialsType.CERTIFICATE
|
|
93
|
+
(cred) => cred.platform === Platform.IOS && cred.type === CredentialsType.CERTIFICATE && cred.isActive
|
|
94
94
|
);
|
|
95
95
|
const hasDistCert = userAppleDistCredentials.length > 0;
|
|
96
96
|
return !hasDistCert;
|
|
@@ -2,17 +2,19 @@ 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 { z as getProjectJobs } from '../../../baseCommand-C7OdounZ.js';
|
|
6
6
|
import 'ink-spinner';
|
|
7
|
-
import { c as BaseGameCommand, e as getJobSummary, f as getJobStatusColor } from '../../../baseGameCommand-
|
|
7
|
+
import { c as BaseGameCommand, e as getJobSummary, f as getJobStatusColor } from '../../../baseGameCommand-Bap2bDqP.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
11
|
import '@tanstack/react-query';
|
|
12
12
|
import 'axios';
|
|
13
13
|
import 'node:fs';
|
|
14
|
-
import 'fast-glob';
|
|
15
14
|
import 'uuid';
|
|
15
|
+
import 'fast-glob';
|
|
16
|
+
import 'stream';
|
|
17
|
+
import 'yazl';
|
|
16
18
|
import 'socket.io-client';
|
|
17
19
|
import 'fullscreen-ink';
|
|
18
20
|
import 'string-length';
|
|
@@ -24,8 +26,7 @@ import 'marked';
|
|
|
24
26
|
import 'marked-terminal';
|
|
25
27
|
import 'qrcode';
|
|
26
28
|
import 'godot-export-presets';
|
|
27
|
-
import '
|
|
28
|
-
import { C as Command } from '../../../Command-CWKSGrtu.js';
|
|
29
|
+
import { C as Command } from '../../../Command-DuEKI93-.js';
|
|
29
30
|
import 'chalk';
|
|
30
31
|
import '@expo/apple-utils/build/index.js';
|
|
31
32
|
import 'node:crypto';
|
|
@@ -33,7 +34,6 @@ import 'node:readline';
|
|
|
33
34
|
import 'node:url';
|
|
34
35
|
import 'readline-sync';
|
|
35
36
|
import 'isomorphic-git';
|
|
36
|
-
import 'stream';
|
|
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 { E as getJob, J as JobStatus } from '../../../baseCommand-C7OdounZ.js';
|
|
5
5
|
import 'ink-spinner';
|
|
6
6
|
import 'node:crypto';
|
|
7
7
|
import 'node:fs';
|
|
@@ -14,28 +14,28 @@ import 'axios';
|
|
|
14
14
|
import 'isomorphic-git';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
16
|
import 'react';
|
|
17
|
-
import 'fast-glob';
|
|
18
17
|
import 'uuid';
|
|
19
|
-
import '
|
|
20
|
-
import 'fullscreen-ink';
|
|
18
|
+
import 'fast-glob';
|
|
21
19
|
import 'stream';
|
|
22
20
|
import 'yazl';
|
|
23
|
-
import
|
|
24
|
-
import
|
|
21
|
+
import 'socket.io-client';
|
|
22
|
+
import 'fullscreen-ink';
|
|
23
|
+
import { J as JobLogTail } from '../../../JobLogTail-CDGqKKin.js';
|
|
24
|
+
import { J as JobStatusTable } from '../../../JobStatusTable-DamWqM1t.js';
|
|
25
25
|
import 'open';
|
|
26
26
|
import '@inkjs/ui';
|
|
27
27
|
import 'string-length';
|
|
28
28
|
import 'strip-ansi';
|
|
29
|
-
import { c as BaseGameCommand } from '../../../baseGameCommand-
|
|
29
|
+
import { c as BaseGameCommand } from '../../../baseGameCommand-Bap2bDqP.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-DuEKI93-.js';
|
|
36
36
|
import 'chalk';
|
|
37
37
|
import '@expo/apple-utils/build/index.js';
|
|
38
|
-
import '../../../useWebSocket-
|
|
38
|
+
import '../../../useWebSocket-AjcqLcJX.js';
|
|
39
39
|
import '../../../Title-BCQtayg6.js';
|
|
40
40
|
import '../../../StatusTable-DzRWcMr4.js';
|
|
41
41
|
import 'fs';
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { g as getProjects, c as getShortDate } from '../../baseCommand-
|
|
5
|
-
import { B as BaseAuthenticatedCommand, g as getShortUUID } from '../../baseGameCommand-
|
|
4
|
+
import { g as getProjects, c as getShortDate } from '../../baseCommand-C7OdounZ.js';
|
|
5
|
+
import { B as BaseAuthenticatedCommand, g as getShortUUID } from '../../baseGameCommand-Bap2bDqP.js';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'node:path';
|
|
8
8
|
import 'chalk';
|
|
@@ -12,8 +12,10 @@ import 'react';
|
|
|
12
12
|
import '@tanstack/react-query';
|
|
13
13
|
import 'axios';
|
|
14
14
|
import 'luxon';
|
|
15
|
-
import 'fast-glob';
|
|
16
15
|
import 'uuid';
|
|
16
|
+
import 'fast-glob';
|
|
17
|
+
import 'stream';
|
|
18
|
+
import 'yazl';
|
|
17
19
|
import 'socket.io-client';
|
|
18
20
|
import 'fullscreen-ink';
|
|
19
21
|
import 'string-length';
|
|
@@ -24,15 +26,13 @@ import 'marked';
|
|
|
24
26
|
import 'marked-terminal';
|
|
25
27
|
import 'qrcode';
|
|
26
28
|
import 'godot-export-presets';
|
|
27
|
-
import '
|
|
28
|
-
import { C as Command } from '../../Command-CWKSGrtu.js';
|
|
29
|
+
import { C as Command } from '../../Command-DuEKI93-.js';
|
|
29
30
|
import '@expo/apple-utils/build/index.js';
|
|
30
31
|
import 'node:crypto';
|
|
31
32
|
import 'node:readline';
|
|
32
33
|
import 'node:url';
|
|
33
34
|
import 'readline-sync';
|
|
34
35
|
import 'isomorphic-git';
|
|
35
|
-
import 'stream';
|
|
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 { a1 as LogLevel, W as WEB_URL, a2 as getShortAuthRequiredUrl, E as getJob, M as downloadBuildById } from '../../baseCommand-C7OdounZ.js';
|
|
5
|
+
import { k as CommandContext, j as GameContext, t as useSafeInput, M as Markdown, g as getShortUUID, c as BaseGameCommand } from '../../baseGameCommand-Bap2bDqP.js';
|
|
6
6
|
import 'ink-spinner';
|
|
7
7
|
import 'node:crypto';
|
|
8
8
|
import 'node:fs';
|
|
@@ -15,34 +15,35 @@ import axios from 'axios';
|
|
|
15
15
|
import 'isomorphic-git';
|
|
16
16
|
import '@tanstack/react-query';
|
|
17
17
|
import { useContext, useState, useEffect } from 'react';
|
|
18
|
-
import 'fast-glob';
|
|
19
18
|
import 'uuid';
|
|
20
|
-
import '
|
|
21
|
-
import 'fullscreen-ink';
|
|
19
|
+
import 'fast-glob';
|
|
22
20
|
import 'stream';
|
|
23
21
|
import 'yazl';
|
|
22
|
+
import 'socket.io-client';
|
|
23
|
+
import 'fullscreen-ink';
|
|
24
24
|
import 'string-length';
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import open from 'open';
|
|
27
|
-
import { u as useJobWatching, J as JobLogTail } from '../../JobLogTail-
|
|
28
|
-
import { J as JobStatusTable } from '../../JobStatusTable-
|
|
27
|
+
import { u as useJobWatching, J as JobLogTail } from '../../JobLogTail-CDGqKKin.js';
|
|
28
|
+
import { J as JobStatusTable } from '../../JobStatusTable-DamWqM1t.js';
|
|
29
29
|
import '@inkjs/ui';
|
|
30
|
-
import { u as useShip, J as JobProgress } from '../../JobProgress-
|
|
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-BeyPCeC7.js';
|
|
36
36
|
import 'chalk';
|
|
37
37
|
import '@expo/apple-utils/build/index.js';
|
|
38
38
|
import 'fs';
|
|
39
39
|
import 'path';
|
|
40
|
-
import '../../useWebSocket-
|
|
40
|
+
import '../../useWebSocket-AjcqLcJX.js';
|
|
41
41
|
import '../../Title-BCQtayg6.js';
|
|
42
42
|
import '../../StatusTable-DzRWcMr4.js';
|
|
43
|
+
import '../../useProjectCredentials-5Ycm5B4x.js';
|
|
43
44
|
import '../../git-BpsfNFZ_.js';
|
|
44
45
|
import '../../ProgressSpinner-Um6ARKlk.js';
|
|
45
|
-
import '../../Command-
|
|
46
|
+
import '../../Command-DuEKI93-.js';
|
|
46
47
|
|
|
47
48
|
function isNetworkError(exception) {
|
|
48
49
|
if (!axios.isAxiosError(exception)) return false;
|
|
@@ -111,8 +112,8 @@ const Ship = ({ onComplete, onError }) => {
|
|
|
111
112
|
const [isComplete, setIsComplete] = useState(false);
|
|
112
113
|
const handleStartOnMount = async () => {
|
|
113
114
|
if (!command) throw new Error("No command in context");
|
|
114
|
-
const logFn = flags?.follow ? console.log : setShipLog;
|
|
115
|
-
const startedJobs = await shipMutation.mutateAsync({ command, log: logFn });
|
|
115
|
+
const logFn = flags?.follow || flags?.dryRun ? console.log : setShipLog;
|
|
116
|
+
const startedJobs = await shipMutation.mutateAsync({ command, log: logFn, warnLog: console.warn });
|
|
116
117
|
setJobs(startedJobs);
|
|
117
118
|
};
|
|
118
119
|
useEffect(() => {
|
|
@@ -153,7 +154,7 @@ const Ship = ({ onComplete, onError }) => {
|
|
|
153
154
|
}, 500);
|
|
154
155
|
}, [isComplete]);
|
|
155
156
|
if (!gameId) return /* @__PURE__ */ jsx(Fragment, {});
|
|
156
|
-
if (flags?.follow) {
|
|
157
|
+
if (flags?.follow || flags?.dryRun) {
|
|
157
158
|
if (jobs && jobs.length > 0) {
|
|
158
159
|
return /* @__PURE__ */ jsx(JobFollow, { jobId: jobs[0].id, onComplete: handleJobComplete, onFailure: handleJobFailure, projectId: gameId });
|
|
159
160
|
}
|
|
@@ -210,7 +211,8 @@ class GameShip extends BaseGameCommand {
|
|
|
210
211
|
"<%= config.bin %> <%= command.id %> --platform android --follow --downloadAPK game.apk",
|
|
211
212
|
"<%= config.bin %> <%= command.id %> --platform ios --follow --verbose",
|
|
212
213
|
"<%= config.bin %> <%= command.id %> --platform ios --useDemoCredentials --download game.ipa",
|
|
213
|
-
"<%= config.bin %> <%= command.id %> --platform android --gameEngineVersion 4.5.1 --skipPublish"
|
|
214
|
+
"<%= config.bin %> <%= command.id %> --platform android --gameEngineVersion 4.5.1 --skipPublish",
|
|
215
|
+
"<%= config.bin %> <%= command.id %> --platform android --dryRun"
|
|
214
216
|
];
|
|
215
217
|
static flags = {
|
|
216
218
|
...BaseGameCommand.flags,
|
|
@@ -252,6 +254,11 @@ class GameShip extends BaseGameCommand {
|
|
|
252
254
|
gameEngineVersion: Flags.string({
|
|
253
255
|
description: "Override the specified game engine version for this build",
|
|
254
256
|
required: false
|
|
257
|
+
}),
|
|
258
|
+
dryRun: Flags.boolean({
|
|
259
|
+
default: false,
|
|
260
|
+
description: "Dry run - lists the files that would be shipped without executing the build or publish steps",
|
|
261
|
+
required: false
|
|
255
262
|
})
|
|
256
263
|
};
|
|
257
264
|
async run() {
|
|
@@ -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-Bap2bDqP.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-C7OdounZ.js';
|
|
10
10
|
import 'luxon';
|
|
11
11
|
import 'node:crypto';
|
|
12
12
|
import 'node:readline';
|
|
@@ -15,14 +15,14 @@ import 'readline-sync';
|
|
|
15
15
|
import 'isomorphic-git';
|
|
16
16
|
import '@tanstack/react-query';
|
|
17
17
|
import 'react';
|
|
18
|
-
import 'fast-glob';
|
|
19
18
|
import 'uuid';
|
|
20
|
-
import '
|
|
21
|
-
import 'fullscreen-ink';
|
|
19
|
+
import 'fast-glob';
|
|
22
20
|
import 'stream';
|
|
23
21
|
import 'yazl';
|
|
22
|
+
import 'socket.io-client';
|
|
23
|
+
import 'fullscreen-ink';
|
|
24
24
|
import 'ink-spinner';
|
|
25
|
-
import { a as GameStatus$1 } from '../../GameStatus-
|
|
25
|
+
import { a as GameStatus$1 } from '../../GameStatus-NSIKI7Zi.js';
|
|
26
26
|
import 'string-length';
|
|
27
27
|
import 'strip-ansi';
|
|
28
28
|
import 'open';
|
|
@@ -31,14 +31,14 @@ 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-BeyPCeC7.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 '../../Command-
|
|
41
|
+
import '../../Command-DuEKI93-.js';
|
|
42
42
|
|
|
43
43
|
class GameStatus extends BaseAuthenticatedCommand {
|
|
44
44
|
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 {
|
|
4
|
+
import { i as cacheKeys, k as CommandContext, j as GameContext, t as useSafeInput, M as Markdown, u as useBuilds, g as getShortUUID, z as queryBuilds, n as fetchKeyTestResult, K as KeyTestStatus, p as KeyTestError, G as GameProvider, A as CreateGooglePlayGame, B as BaseAuthenticatedCommand } from '../../baseGameCommand-Bap2bDqP.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 { H as queryClient, q as getAuthedHeaders, p as API_URL, F as castArrayObjectDates, l as getProject, ab as updateProject, v as getGodotVersion, u as GameEngine, w as createProject, x as DEFAULT_PLATFORM_GLOBS, W as WEB_URL, ac as getGradleBuildOptionKey, P as Platform, ad as BuildType, J as JobStatus, i as isGradleBuildEnabled, s as setGradleBuildEnabled, C as CredentialsType, N as getGoogleStatus, k as isCWDGodotGame } from '../../baseCommand-C7OdounZ.js';
|
|
10
10
|
import 'luxon';
|
|
11
11
|
import 'node:crypto';
|
|
12
12
|
import 'node:readline';
|
|
@@ -15,40 +15,40 @@ import 'readline-sync';
|
|
|
15
15
|
import 'isomorphic-git';
|
|
16
16
|
import { useMutation, useQuery } from '@tanstack/react-query';
|
|
17
17
|
import React, { useState, useContext, useEffect, useRef } from 'react';
|
|
18
|
-
import 'fast-glob';
|
|
19
18
|
import 'uuid';
|
|
20
|
-
import '
|
|
21
|
-
import { Box, Text } from 'ink';
|
|
19
|
+
import 'fast-glob';
|
|
22
20
|
import 'stream';
|
|
23
21
|
import 'yazl';
|
|
22
|
+
import 'socket.io-client';
|
|
23
|
+
import { Box, Text } from 'ink';
|
|
24
24
|
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-CjYag6UG.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 JobLogTail } from '../../JobLogTail-
|
|
35
|
-
import { u as useShip, J as JobProgress } from '../../JobProgress-
|
|
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 { J as JobLogTail } from '../../JobLogTail-CDGqKKin.js';
|
|
35
|
+
import { u as useShip, J as JobProgress } from '../../JobProgress-COP5mbrn.js';
|
|
36
|
+
import { C as CreateServiceAccountKey } from '../../index-BaxMfQnE.js';
|
|
37
|
+
import { C as CreateKeystore } from '../../Create-DUl1dfhZ.js';
|
|
38
|
+
import { I as ImportKeystore } from '../../Import-B_2jztJs.js';
|
|
39
|
+
import { a as getProjectCredentials } from '../../index-YX-OJ2AA.js';
|
|
40
40
|
import { T as Title } from '../../Title-BCQtayg6.js';
|
|
41
|
-
import { C as Command } from '../../Command-
|
|
41
|
+
import { C as Command } from '../../Command-DuEKI93-.js';
|
|
42
42
|
import 'fs';
|
|
43
43
|
import 'path';
|
|
44
44
|
import '@expo/apple-utils/build/index.js';
|
|
45
|
-
import '../../
|
|
46
|
-
import '../../
|
|
45
|
+
import '../../useWebSocket-AjcqLcJX.js';
|
|
46
|
+
import '../../useGoogleStatus-v86ZyFiz.js';
|
|
47
|
+
import '../../useProjectCredentials-5Ycm5B4x.js';
|
|
47
48
|
import '../../git-BpsfNFZ_.js';
|
|
48
49
|
import '../../ProgressSpinner-Um6ARKlk.js';
|
|
49
|
-
import '../../useProjectCredentials-AV_OlZEu.js';
|
|
50
50
|
import '../../RunWithSpinner-DucRnFp6.js';
|
|
51
|
-
import '../../import-
|
|
51
|
+
import '../../import-CICoTBgo.js';
|
|
52
52
|
|
|
53
53
|
const useInviteServiceAccount = () => useMutation({
|
|
54
54
|
async mutationFn({ developerId, projectId }) {
|
|
@@ -231,9 +231,8 @@ const CreateGame = (props) => {
|
|
|
231
231
|
};
|
|
232
232
|
const project = await createProject({ details: projectDetails, name });
|
|
233
233
|
await command.setProjectConfig({
|
|
234
|
-
|
|
235
|
-
project
|
|
236
|
-
shippedFilesGlobs: DEFAULT_SHIPPED_FILES_GLOBS
|
|
234
|
+
globs: DEFAULT_PLATFORM_GLOBS,
|
|
235
|
+
project
|
|
237
236
|
});
|
|
238
237
|
setGameId(project.id);
|
|
239
238
|
props.onComplete();
|
|
@@ -296,6 +295,8 @@ const InitialAndroidBuild = ({ gameId, onComplete, onError, ...boxProps }) => {
|
|
|
296
295
|
shipMutation.mutateAsync({
|
|
297
296
|
command,
|
|
298
297
|
log: setShipLog,
|
|
298
|
+
warnLog: setShipLog,
|
|
299
|
+
// TODO orange color
|
|
299
300
|
shipFlags: {
|
|
300
301
|
platform: "android",
|
|
301
302
|
skipPublish: true
|
|
@@ -2,7 +2,7 @@ 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-C7OdounZ.js';
|
|
6
6
|
import 'luxon';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'ink';
|
|
@@ -14,17 +14,17 @@ import 'readline-sync';
|
|
|
14
14
|
import 'isomorphic-git';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
16
|
import 'react';
|
|
17
|
-
import 'fast-glob';
|
|
18
17
|
import 'uuid';
|
|
19
|
-
import '
|
|
20
|
-
import 'fullscreen-ink';
|
|
18
|
+
import 'fast-glob';
|
|
21
19
|
import 'stream';
|
|
22
20
|
import 'yazl';
|
|
21
|
+
import 'socket.io-client';
|
|
22
|
+
import 'fullscreen-ink';
|
|
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-Bap2bDqP.js';
|
|
28
28
|
import 'marked';
|
|
29
29
|
import 'marked-terminal';
|
|
30
30
|
import 'qrcode';
|