shipthis 0.1.9 → 0.1.11
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/assets/markdown/create-or-import-keystore.md +7 -0
- package/dist/AppleBundleIdDetails-CjP5y0cj.js +74 -0
- package/dist/AppleBundleIdDetails-CztWY_mT.js +73 -0
- package/dist/AppleBundleIdDetails-DKeSAte9.js +73 -0
- package/dist/AppleBundleIdDetails-DymjrhOZ.js +73 -0
- package/dist/Command-BiB9MqbJ.js +204 -0
- package/dist/Command-D6rWEZRM.js +204 -0
- package/dist/Command-Dn0P_KOV.js +205 -0
- package/dist/Command-YJJp90ru.js +204 -0
- package/dist/CommandGame-C1oTlfdb.js +8 -0
- package/dist/CommandGame-cPaTk1wh.js +8 -0
- package/dist/CommandGame-k04mHiDl.js +8 -0
- package/dist/CommandGame-pI9VXKxi.js +8 -0
- package/dist/Create-DIaSKUpl.js +56 -0
- package/dist/CreateKeystore-BnNdeDUa.js +57 -0
- package/dist/CreateKeystore-Cf-nsK_M.js +56 -0
- package/dist/CreateKeystore-g1z6DsU5.js +56 -0
- package/dist/Import-BIOsf8AA.js +107 -0
- package/dist/JobProgress-CPkWVSlH.js +108 -0
- package/dist/JobProgress-W0QQR49T.js +108 -0
- package/dist/JobProgress-biiLhigg.js +109 -0
- package/dist/JobProgress-jmGAzvxS.js +108 -0
- package/dist/JobStatusTable-BA_q-kgE.js +75 -0
- package/dist/JobStatusTable-ByW0bN6c.js +75 -0
- package/dist/JobStatusTable-CgaTS7jS.js +75 -0
- package/dist/JobStatusTable-DqoppRro.js +75 -0
- package/dist/ProjectCredentialsTable-8kXt7sTS.js +37 -0
- package/dist/ProjectCredentialsTable-DRMK_SNw.js +37 -0
- package/dist/ProjectCredentialsTable-DfkpvTf8.js +37 -0
- package/dist/UserCredentialsTable-DMh8Wpy7.js +82 -0
- package/dist/UserCredentialsTable-DgHZJSHG.js +82 -0
- package/dist/UserCredentialsTable-TflQvTEP.js +82 -0
- package/dist/baseAppleCommand-1isaFxCQ.js +10 -0
- package/dist/baseAppleCommand-B9wyIqdL.js +10 -0
- package/dist/baseAppleCommand-DpasCbje.js +10 -0
- package/dist/baseGameAndroidCommand-6vsMpE7a.js +43 -0
- package/dist/baseGameAndroidCommand-B3LRG701.js +43 -0
- package/dist/baseGameAndroidCommand-C9BuS2Sr.js +43 -0
- package/dist/commands/apple/apiKey/create.js +10 -10
- 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 +10 -10
- 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 +2 -2
- package/dist/commands/apple/status.js +6 -6
- package/dist/commands/dashboard.js +1 -1
- 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/export.js +9 -9
- package/dist/commands/game/android/apiKey/import.js +9 -9
- package/dist/commands/game/android/apiKey/invite.js +4 -4
- package/dist/commands/game/android/apiKey/status.js +9 -9
- package/dist/commands/game/android/keyStore/create.js +12 -12
- package/dist/commands/game/android/keyStore/export.js +8 -8
- package/dist/commands/game/android/keyStore/import.js +49 -29
- package/dist/commands/game/android/keyStore/status.js +8 -8
- package/dist/commands/game/android/status.js +7 -7
- package/dist/commands/game/build/download.js +7 -7
- package/dist/commands/game/build/list.js +7 -7
- package/dist/commands/game/create.js +2 -2
- package/dist/commands/game/details.js +22 -8
- package/dist/commands/game/export.js +1 -1
- package/dist/commands/game/ios/app/addTester.js +6 -6
- package/dist/commands/game/ios/app/create.js +5 -5
- 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 +10 -10
- 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 +8 -8
- package/dist/commands/game/ios/status.js +10 -10
- package/dist/commands/game/ios/wizard.js +2 -2
- package/dist/commands/game/job/list.js +7 -7
- package/dist/commands/game/job/status.js +11 -11
- package/dist/commands/game/list.js +7 -7
- package/dist/commands/game/ship.js +11 -11
- package/dist/commands/game/status.js +7 -7
- package/dist/commands/game/wizard.js +590 -35
- package/dist/commands/internal/fastlane.js +1 -1
- package/dist/commands/internal/readme.js +255 -770
- package/dist/commands/login.js +2 -2
- package/dist/commands/status.js +6 -6
- package/dist/export-B_F6vXIK.js +36 -0
- package/dist/export-C_lu1FD9.js +36 -0
- package/dist/export-rS9o87LD.js +36 -0
- package/dist/import-7T3J63j2.js +38 -0
- package/dist/import-Brg3zYmT.js +38 -0
- package/dist/import-DPbg8WvS.js +38 -0
- package/dist/import-v54PM_Qg.js +47 -0
- package/dist/index-BB7X1Pqp.js +695 -0
- package/dist/index-BQnkBr1Q.js +136 -0
- package/dist/index-BX9h2vPV.js +123 -0
- package/dist/index-BjGSEqP5.js +135 -0
- package/dist/index-Bv3x8c78.js +693 -0
- package/dist/index-ByOvCs4O.js +122 -0
- package/dist/index-BzffuqPa.js +24 -0
- package/dist/index-C9734Cj2.js +693 -0
- package/dist/index-CKYExssR.js +136 -0
- package/dist/index-Cz_KLwWf.js +136 -0
- package/dist/index-D6BH5UAM.js +135 -0
- package/dist/index-DOgF4dFK.js +24 -0
- package/dist/index-DgbQBx6x.js +122 -0
- package/dist/index-DxHPjZav.js +136 -0
- package/dist/index-m4HTrJ5J.js +135 -0
- package/dist/index-o9Y-84Rj.js +122 -0
- package/dist/upload-2naN75Zu.js +60 -0
- package/dist/upload-Cx71802W.js +60 -0
- package/dist/upload-DvAE1vDq.js +60 -0
- package/dist/useAndroidServiceAccountTestResult-BDc7XpKE.js +52 -0
- package/dist/useAndroidServiceAccountTestResult-B_ekRewZ.js +52 -0
- package/dist/useAndroidServiceAccountTestResult-Ce1x0Eh8.js +52 -0
- package/dist/useAppleApp-BEtLQa7n.js +32 -0
- package/dist/useAppleApp-CApC0-4Q.js +32 -0
- package/dist/useAppleApp-CETIcsJS.js +32 -0
- package/dist/useAppleBundleId-DXbMDRLd.js +64 -0
- package/dist/useAppleBundleId-SmzY6rkm.js +64 -0
- package/dist/useAppleBundleId-gPBzJwQg.js +64 -0
- package/dist/useJobWatching-BIG6fnTN.js +45 -0
- package/dist/useJobWatching-Cp-CYd90.js +45 -0
- package/dist/useJobWatching-D-YzSlK8.js +45 -0
- package/dist/useJobWatching-I_A3b36f.js +45 -0
- package/dist/useProjectCredentials-CKngz2rd.js +54 -0
- package/dist/useProjectCredentials-EapDge1I.js +54 -0
- package/dist/useProjectCredentials-vjedBbKl.js +54 -0
- package/dist/useWebSocket-Bep1zAVG.js +36 -0
- package/dist/useWebSocket-CBqsjHbt.js +36 -0
- package/dist/useWebSocket-rBLiZsKb.js +36 -0
- package/dist/wizard-ChPegnMW.js +133 -0
- package/npm-shrinkwrap.json +251 -223
- package/oclif.manifest.json +282 -223
- package/package.json +2 -4
|
@@ -2,10 +2,10 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { Args, Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
4
|
import * as fs from 'fs';
|
|
5
|
-
import { c as BaseGameCommand, P as Platform, C as CredentialsType } from '../../../../index-
|
|
6
|
-
import { a as getProjectCredentials } from '../../../../index-
|
|
5
|
+
import { c as BaseGameCommand, P as Platform, C as CredentialsType } from '../../../../index-BB7X1Pqp.js';
|
|
6
|
+
import { a as getProjectCredentials } from '../../../../index-DOgF4dFK.js';
|
|
7
7
|
import 'react';
|
|
8
|
-
import
|
|
8
|
+
import '../../../../Command-BiB9MqbJ.js';
|
|
9
9
|
import 'ink-spinner';
|
|
10
10
|
import 'axios';
|
|
11
11
|
import 'crypto-js';
|
|
@@ -13,6 +13,7 @@ import 'uuid';
|
|
|
13
13
|
import 'luxon';
|
|
14
14
|
import '@inkjs/ui';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
|
+
import { I as ImportKeystore } from '../../../../Import-BIOsf8AA.js';
|
|
16
17
|
import 'open';
|
|
17
18
|
import 'crypto';
|
|
18
19
|
import 'readline-sync';
|
|
@@ -24,64 +25,83 @@ import 'yazl';
|
|
|
24
25
|
import 'socket.io-client';
|
|
25
26
|
import 'isomorphic-git';
|
|
26
27
|
import 'qrcode';
|
|
27
|
-
import { R as RunWithSpinner } from '../../../../RunWithSpinner-BVXNWGD3.js';
|
|
28
28
|
import 'string-length';
|
|
29
29
|
import 'strip-ansi';
|
|
30
|
-
import {
|
|
30
|
+
import { C as CommandGame } from '../../../../CommandGame-C1oTlfdb.js';
|
|
31
|
+
import { B as BaseGameAndroidCommand } from '../../../../baseGameAndroidCommand-6vsMpE7a.js';
|
|
31
32
|
import 'path';
|
|
32
33
|
import '@expo/apple-utils/build/index.js';
|
|
33
34
|
import 'ini';
|
|
34
35
|
import 'deepmerge';
|
|
35
|
-
import '../../../../index-
|
|
36
|
-
import '../../../../useAndroidServiceAccountTestResult-
|
|
36
|
+
import '../../../../index-Cz_KLwWf.js';
|
|
37
|
+
import '../../../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
37
38
|
import 'marked';
|
|
38
39
|
import 'marked-terminal';
|
|
40
|
+
import '../../../../import-v54PM_Qg.js';
|
|
39
41
|
|
|
40
42
|
class GameAndroidKeyStoreImport extends BaseGameCommand {
|
|
41
43
|
static args = {
|
|
42
44
|
file: Args.string({
|
|
43
|
-
description: "
|
|
44
|
-
required:
|
|
45
|
+
description: "Path to the ZIP file to import (must be in the same format as the export)",
|
|
46
|
+
required: false
|
|
45
47
|
})
|
|
46
48
|
};
|
|
47
49
|
static description = "Imports an Android Keystore to your ShipThis account for the specified game.";
|
|
48
|
-
static examples = [
|
|
50
|
+
static examples = [
|
|
51
|
+
"<%= config.bin %> <%= command.id %> path/to/import.zip -g abfd5b00",
|
|
52
|
+
"<%= config.bin %> <%= command.id %> --jksFile path/to/file.jks --keystorePassword yourpass --keyPassword yourkeypass"
|
|
53
|
+
];
|
|
49
54
|
static flags = {
|
|
50
|
-
|
|
51
|
-
|
|
55
|
+
...BaseGameAndroidCommand.flags,
|
|
56
|
+
jksFile: Flags.string({ description: "Path to the JKS file to import (requires passwords)" }),
|
|
57
|
+
keystorePassword: Flags.string({
|
|
58
|
+
description: "Keystore password (required when using --jksFile)"
|
|
59
|
+
}),
|
|
60
|
+
keyPassword: Flags.string({
|
|
61
|
+
description: "Key alias password (required when using --jksFile)"
|
|
62
|
+
}),
|
|
63
|
+
force: Flags.boolean({
|
|
64
|
+
char: "f",
|
|
65
|
+
description: "Overwrite any existing keystore without confirmation"
|
|
66
|
+
})
|
|
52
67
|
};
|
|
53
68
|
async run() {
|
|
54
69
|
const game = await this.getGame();
|
|
55
70
|
const { args, flags } = this;
|
|
56
|
-
const
|
|
57
|
-
const
|
|
58
|
-
const
|
|
59
|
-
if (!
|
|
60
|
-
this.error(
|
|
71
|
+
const zipFilePath = args.file;
|
|
72
|
+
const jksFilePath = flags.jksFile;
|
|
73
|
+
const { keystorePassword, keyPassword } = flags;
|
|
74
|
+
if (!zipFilePath && !jksFilePath) {
|
|
75
|
+
this.error("You must provide either a ZIP file or a JKS file to import.");
|
|
76
|
+
}
|
|
77
|
+
if (zipFilePath && jksFilePath) {
|
|
78
|
+
this.error("You cannot provide both a ZIP file and a JKS file.");
|
|
79
|
+
}
|
|
80
|
+
if (jksFilePath && (!keystorePassword || !keyPassword)) {
|
|
81
|
+
this.error("Both --keystorePassword and --keyPassword are required when importing a JKS file.");
|
|
82
|
+
}
|
|
83
|
+
const toTest = `${zipFilePath || jksFilePath}`;
|
|
84
|
+
const isFound = fs.existsSync(toTest);
|
|
85
|
+
if (!isFound) {
|
|
86
|
+
this.error(`The file ${toTest} does not exist.`);
|
|
61
87
|
}
|
|
62
88
|
const projectCredentials = await getProjectCredentials(game.id);
|
|
63
89
|
const hasKeystore = projectCredentials.some(
|
|
64
90
|
(cred) => cred.platform == Platform.ANDROID && cred.isActive && cred.type == CredentialsType.CERTIFICATE
|
|
65
91
|
);
|
|
66
|
-
if (hasKeystore && !force) {
|
|
92
|
+
if (hasKeystore && !flags.force) {
|
|
67
93
|
this.error("A Keystore is already set on this game. Use --force to overwrite it.");
|
|
68
94
|
}
|
|
69
95
|
const handleComplete = async () => {
|
|
70
96
|
await this.config.runCommand(`game:android:keyStore:status`, ["--gameId", game.id]);
|
|
71
97
|
};
|
|
72
98
|
render(
|
|
73
|
-
/* @__PURE__ */ jsx(
|
|
74
|
-
|
|
99
|
+
/* @__PURE__ */ jsx(CommandGame, { command: this, children: /* @__PURE__ */ jsx(
|
|
100
|
+
ImportKeystore,
|
|
75
101
|
{
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
projectId: game.id,
|
|
80
|
-
zipPath: file,
|
|
81
|
-
type: CredentialsType.CERTIFICATE,
|
|
82
|
-
platform: Platform.ANDROID
|
|
83
|
-
}),
|
|
84
|
-
onComplete: handleComplete
|
|
102
|
+
onComplete: handleComplete,
|
|
103
|
+
onError: (e) => this.error(e),
|
|
104
|
+
importKeystoreProps: { zipFilePath, jksFilePath, keystorePassword, keyPassword }
|
|
85
105
|
}
|
|
86
106
|
) })
|
|
87
107
|
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { render } from 'ink';
|
|
3
3
|
import 'react';
|
|
4
|
-
import { C as Command } from '../../../../Command-
|
|
5
|
-
import { c as BaseGameCommand, P as Platform, C as CredentialsType } from '../../../../index-
|
|
4
|
+
import { C as Command } from '../../../../Command-BiB9MqbJ.js';
|
|
5
|
+
import { c as BaseGameCommand, P as Platform, C as CredentialsType } from '../../../../index-BB7X1Pqp.js';
|
|
6
6
|
import 'ink-spinner';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import 'crypto-js';
|
|
@@ -11,30 +11,30 @@ import 'luxon';
|
|
|
11
11
|
import 'fs';
|
|
12
12
|
import '@inkjs/ui';
|
|
13
13
|
import '@tanstack/react-query';
|
|
14
|
-
import '
|
|
14
|
+
import 'yazl';
|
|
15
15
|
import 'crypto';
|
|
16
16
|
import 'readline-sync';
|
|
17
17
|
import 'node:readline';
|
|
18
18
|
import 'node:path';
|
|
19
19
|
import 'node:url';
|
|
20
20
|
import 'fast-glob';
|
|
21
|
-
import 'yazl';
|
|
22
21
|
import 'socket.io-client';
|
|
23
22
|
import 'isomorphic-git';
|
|
24
23
|
import '@oclif/core';
|
|
24
|
+
import 'open';
|
|
25
25
|
import 'qrcode';
|
|
26
26
|
import 'string-length';
|
|
27
27
|
import 'strip-ansi';
|
|
28
|
-
import { P as ProjectCredentialsTable } from '../../../../ProjectCredentialsTable-
|
|
29
|
-
import '../../../../index-
|
|
30
|
-
import '../../../../useAndroidServiceAccountTestResult-
|
|
28
|
+
import { P as ProjectCredentialsTable } from '../../../../ProjectCredentialsTable-8kXt7sTS.js';
|
|
29
|
+
import '../../../../index-Cz_KLwWf.js';
|
|
30
|
+
import '../../../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
31
31
|
import 'marked';
|
|
32
32
|
import 'marked-terminal';
|
|
33
33
|
import 'path';
|
|
34
34
|
import '@expo/apple-utils/build/index.js';
|
|
35
35
|
import 'ini';
|
|
36
36
|
import 'deepmerge';
|
|
37
|
-
import '../../../../useProjectCredentials-
|
|
37
|
+
import '../../../../useProjectCredentials-vjedBbKl.js';
|
|
38
38
|
import '../../../../Table-CvM6pccN.js';
|
|
39
39
|
import '../../../../Title-BCQtayg6.js';
|
|
40
40
|
|
|
@@ -2,26 +2,26 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { render } from 'ink';
|
|
3
3
|
import { Flags } from '@oclif/core';
|
|
4
4
|
import 'react';
|
|
5
|
-
import { C as Command } from '../../../Command-
|
|
6
|
-
import { c as BaseGameCommand, k as getProjectPlatformProgress, P as Platform, b as getShortDate } from '../../../index-
|
|
5
|
+
import { C as Command } from '../../../Command-BiB9MqbJ.js';
|
|
6
|
+
import { c as BaseGameCommand, k as getProjectPlatformProgress, P as Platform, b as getShortDate } from '../../../index-BB7X1Pqp.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import '@inkjs/ui';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import '@tanstack/react-query';
|
|
11
|
+
import 'fs';
|
|
12
|
+
import 'uuid';
|
|
13
|
+
import 'yazl';
|
|
14
|
+
import { g as getShortUUID, m as makeHumanReadable } from '../../../index-Cz_KLwWf.js';
|
|
11
15
|
import 'open';
|
|
12
|
-
import { g as getShortUUID, m as makeHumanReadable } from '../../../index-wyPoxiTc.js';
|
|
13
16
|
import { N as NextSteps } from '../../../NextSteps-CK9zHOCt.js';
|
|
14
17
|
import 'qrcode';
|
|
15
18
|
import { S as StatusTable } from '../../../StatusTable-Dm5St4g-.js';
|
|
16
19
|
import 'string-length';
|
|
17
20
|
import 'strip-ansi';
|
|
18
21
|
import 'luxon';
|
|
19
|
-
import 'uuid';
|
|
20
22
|
import 'fast-glob';
|
|
21
|
-
import 'fs';
|
|
22
|
-
import 'yazl';
|
|
23
23
|
import 'socket.io-client';
|
|
24
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
24
|
+
import '../../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
25
25
|
import 'marked';
|
|
26
26
|
import 'marked-terminal';
|
|
27
27
|
import 'path';
|
|
@@ -2,25 +2,25 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { Args, Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
4
|
import * as fs from 'fs';
|
|
5
|
-
import { c as BaseGameCommand,
|
|
5
|
+
import { c as BaseGameCommand, I as getBuild } from '../../../index-BB7X1Pqp.js';
|
|
6
6
|
import 'react';
|
|
7
|
-
import { C as Command } from '../../../Command-
|
|
7
|
+
import { C as Command } from '../../../Command-BiB9MqbJ.js';
|
|
8
8
|
import 'ink-spinner';
|
|
9
9
|
import '@inkjs/ui';
|
|
10
10
|
import axios from 'axios';
|
|
11
11
|
import '@tanstack/react-query';
|
|
12
|
-
import '
|
|
12
|
+
import 'uuid';
|
|
13
|
+
import 'yazl';
|
|
13
14
|
import 'crypto';
|
|
14
15
|
import 'readline-sync';
|
|
15
16
|
import 'node:readline';
|
|
16
17
|
import 'node:path';
|
|
17
18
|
import 'node:url';
|
|
18
19
|
import 'luxon';
|
|
19
|
-
import 'uuid';
|
|
20
20
|
import 'fast-glob';
|
|
21
|
-
import 'yazl';
|
|
22
21
|
import 'socket.io-client';
|
|
23
22
|
import 'isomorphic-git';
|
|
23
|
+
import 'open';
|
|
24
24
|
import 'qrcode';
|
|
25
25
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-BVXNWGD3.js';
|
|
26
26
|
import 'string-length';
|
|
@@ -30,8 +30,8 @@ import '@expo/apple-utils/build/index.js';
|
|
|
30
30
|
import 'crypto-js';
|
|
31
31
|
import 'ini';
|
|
32
32
|
import 'deepmerge';
|
|
33
|
-
import '../../../index-
|
|
34
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
33
|
+
import '../../../index-Cz_KLwWf.js';
|
|
34
|
+
import '../../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
35
35
|
import 'marked';
|
|
36
36
|
import 'marked-terminal';
|
|
37
37
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Box, Text, render } from 'ink';
|
|
3
3
|
import { Flags } from '@oclif/core';
|
|
4
|
-
import { c as BaseGameCommand } from '../../../index-
|
|
4
|
+
import { c as BaseGameCommand } from '../../../index-BB7X1Pqp.js';
|
|
5
5
|
import 'react';
|
|
6
|
-
import { d as useBuilds, a as getBuildSummary } from '../../../Command-
|
|
6
|
+
import { d as useBuilds, a as getBuildSummary } from '../../../Command-BiB9MqbJ.js';
|
|
7
7
|
import Spinner from 'ink-spinner';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import 'crypto-js';
|
|
@@ -12,28 +12,28 @@ import 'luxon';
|
|
|
12
12
|
import 'fs';
|
|
13
13
|
import '@inkjs/ui';
|
|
14
14
|
import '@tanstack/react-query';
|
|
15
|
-
import '
|
|
15
|
+
import 'yazl';
|
|
16
16
|
import 'crypto';
|
|
17
17
|
import 'readline-sync';
|
|
18
18
|
import 'node:readline';
|
|
19
19
|
import 'node:path';
|
|
20
20
|
import 'node:url';
|
|
21
21
|
import 'fast-glob';
|
|
22
|
-
import 'yazl';
|
|
23
22
|
import 'socket.io-client';
|
|
24
23
|
import 'isomorphic-git';
|
|
24
|
+
import 'open';
|
|
25
25
|
import 'qrcode';
|
|
26
26
|
import 'string-length';
|
|
27
27
|
import 'strip-ansi';
|
|
28
|
-
import { C as CommandGame } from '../../../CommandGame-
|
|
28
|
+
import { C as CommandGame } from '../../../CommandGame-C1oTlfdb.js';
|
|
29
29
|
import { T as Table } from '../../../Table-CvM6pccN.js';
|
|
30
30
|
import { T as Title } from '../../../Title-BCQtayg6.js';
|
|
31
31
|
import 'path';
|
|
32
32
|
import '@expo/apple-utils/build/index.js';
|
|
33
33
|
import 'ini';
|
|
34
34
|
import 'deepmerge';
|
|
35
|
-
import '../../../index-
|
|
36
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
35
|
+
import '../../../index-Cz_KLwWf.js';
|
|
36
|
+
import '../../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
37
37
|
import 'marked';
|
|
38
38
|
import 'marked-terminal';
|
|
39
39
|
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
-
import { a as getInput } from '../../index-
|
|
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-BB7X1Pqp.js';
|
|
3
|
+
import { a as getInput } from '../../index-Cz_KLwWf.js';
|
|
4
4
|
import 'path';
|
|
5
5
|
import 'fs';
|
|
6
6
|
import '@expo/apple-utils/build/index.js';
|
|
@@ -2,8 +2,8 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { render } from 'ink';
|
|
3
3
|
import { Flags } from '@oclif/core';
|
|
4
4
|
import 'react';
|
|
5
|
-
import { C as Command } from '../../Command-
|
|
6
|
-
import { c as BaseGameCommand, D as DetailsFlags, t as GameEngine } from '../../index-
|
|
5
|
+
import { C as Command } from '../../Command-BiB9MqbJ.js';
|
|
6
|
+
import { c as BaseGameCommand, D as DetailsFlags, t as GameEngine } from '../../index-BB7X1Pqp.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import 'crypto-js';
|
|
@@ -12,16 +12,16 @@ import 'luxon';
|
|
|
12
12
|
import 'fs';
|
|
13
13
|
import '@inkjs/ui';
|
|
14
14
|
import '@tanstack/react-query';
|
|
15
|
+
import 'yazl';
|
|
16
|
+
import { i as isValidSemVer } from '../../index-Cz_KLwWf.js';
|
|
15
17
|
import 'open';
|
|
16
|
-
import { i as isValidSemVer } from '../../index-wyPoxiTc.js';
|
|
17
18
|
import 'qrcode';
|
|
18
19
|
import { S as StatusTable } from '../../StatusTable-Dm5St4g-.js';
|
|
19
20
|
import 'string-length';
|
|
20
21
|
import 'strip-ansi';
|
|
21
22
|
import 'fast-glob';
|
|
22
|
-
import 'yazl';
|
|
23
23
|
import 'socket.io-client';
|
|
24
|
-
import '../../useAndroidServiceAccountTestResult-
|
|
24
|
+
import '../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
25
25
|
import 'marked';
|
|
26
26
|
import 'marked-terminal';
|
|
27
27
|
import 'path';
|
|
@@ -52,7 +52,17 @@ class GameDetails extends BaseGameCommand {
|
|
|
52
52
|
};
|
|
53
53
|
async run() {
|
|
54
54
|
const { gameId, force, ...valueFlags } = this.flags;
|
|
55
|
-
const {
|
|
55
|
+
const {
|
|
56
|
+
name,
|
|
57
|
+
semanticVersion,
|
|
58
|
+
buildNumber,
|
|
59
|
+
gameEngine,
|
|
60
|
+
gameEngineVersion,
|
|
61
|
+
iosBundleId,
|
|
62
|
+
androidPackageName,
|
|
63
|
+
gcpProjectId,
|
|
64
|
+
gcpServiceAccountId
|
|
65
|
+
} = valueFlags;
|
|
56
66
|
if (semanticVersion && !isValidSemVer(semanticVersion))
|
|
57
67
|
throw new Error(`Invalid semantic version: ${semanticVersion}`);
|
|
58
68
|
if ((gameEngine || gameEngineVersion || iosBundleId || androidPackageName) && !force)
|
|
@@ -68,7 +78,9 @@ class GameDetails extends BaseGameCommand {
|
|
|
68
78
|
...gameEngine && { gameEngine },
|
|
69
79
|
...gameEngineVersion && { gameEngineVersion },
|
|
70
80
|
...iosBundleId && { iosBundleId },
|
|
71
|
-
...androidPackageName && { androidPackageName }
|
|
81
|
+
...androidPackageName && { androidPackageName },
|
|
82
|
+
...gcpProjectId && { gcpProjectId },
|
|
83
|
+
...gcpServiceAccountId && { gcpServiceAccountId }
|
|
72
84
|
}
|
|
73
85
|
};
|
|
74
86
|
if (Object.keys(valueFlags).length > 0) {
|
|
@@ -85,7 +97,9 @@ class GameDetails extends BaseGameCommand {
|
|
|
85
97
|
"iOS Bundle ID": game.details?.iosBundleId || "N/A",
|
|
86
98
|
"Android Package Name": game.details?.androidPackageName || "N/A",
|
|
87
99
|
"Semantic Version": game.details?.semanticVersion || "0.0.1",
|
|
88
|
-
"Build Number": game.details?.buildNumber || 1
|
|
100
|
+
"Build Number": game.details?.buildNumber || 1,
|
|
101
|
+
"GCP Project ID": game.details?.gcpProjectId || "N/A",
|
|
102
|
+
"GCP Service Account ID": game.details?.gcpServiceAccountId || "N/A"
|
|
89
103
|
}
|
|
90
104
|
}
|
|
91
105
|
) })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Args, Flags } from '@oclif/core';
|
|
2
|
-
import { B as BaseAuthenticatedCommand, j as isCWDGodotGame,
|
|
2
|
+
import { B as BaseAuthenticatedCommand, j as isCWDGodotGame, H as getProject, w as DEFAULT_IGNORED_FILES_GLOBS, x as DEFAULT_SHIPPED_FILES_GLOBS } from '../../index-BB7X1Pqp.js';
|
|
3
3
|
import 'crypto';
|
|
4
4
|
import 'fs';
|
|
5
5
|
import 'readline-sync';
|
|
@@ -2,8 +2,8 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { render } from 'ink';
|
|
3
3
|
import { Flags } from '@oclif/core';
|
|
4
4
|
import 'react';
|
|
5
|
-
import { C as Command } from '../../../../Command-
|
|
6
|
-
import { c as BaseGameCommand, i as BetaGroup } from '../../../../index-
|
|
5
|
+
import { C as Command } from '../../../../Command-BiB9MqbJ.js';
|
|
6
|
+
import { c as BaseGameCommand, i as BetaGroup } from '../../../../index-BB7X1Pqp.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import 'crypto-js';
|
|
@@ -12,17 +12,17 @@ import 'luxon';
|
|
|
12
12
|
import 'fs';
|
|
13
13
|
import '@inkjs/ui';
|
|
14
14
|
import '@tanstack/react-query';
|
|
15
|
+
import 'yazl';
|
|
16
|
+
import { a as getInput } from '../../../../index-Cz_KLwWf.js';
|
|
15
17
|
import 'open';
|
|
16
|
-
import { a as getInput } from '../../../../index-wyPoxiTc.js';
|
|
17
18
|
import 'qrcode';
|
|
18
19
|
import { R as RunWithSpinner } from '../../../../RunWithSpinner-BVXNWGD3.js';
|
|
19
20
|
import 'string-length';
|
|
20
21
|
import 'strip-ansi';
|
|
21
|
-
import { q as queryAppleApp } from '../../../../useAppleApp-
|
|
22
|
+
import { q as queryAppleApp } from '../../../../useAppleApp-BEtLQa7n.js';
|
|
22
23
|
import 'fast-glob';
|
|
23
|
-
import 'yazl';
|
|
24
24
|
import 'socket.io-client';
|
|
25
|
-
import '../../../../useAndroidServiceAccountTestResult-
|
|
25
|
+
import '../../../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
26
26
|
import 'marked';
|
|
27
27
|
import 'marked-terminal';
|
|
28
28
|
import 'path';
|
|
@@ -2,8 +2,8 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { render } from 'ink';
|
|
3
3
|
import { Flags } from '@oclif/core';
|
|
4
4
|
import 'react';
|
|
5
|
-
import { C as Command } from '../../../../Command-
|
|
6
|
-
import { c as BaseGameCommand, d as getGodotAppleBundleIdentifier, e as BundleId, f as App } from '../../../../index-
|
|
5
|
+
import { C as Command } from '../../../../Command-BiB9MqbJ.js';
|
|
6
|
+
import { c as BaseGameCommand, d as getGodotAppleBundleIdentifier, e as BundleId, f as App } from '../../../../index-BB7X1Pqp.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import 'crypto-js';
|
|
@@ -12,16 +12,16 @@ import 'luxon';
|
|
|
12
12
|
import 'fs';
|
|
13
13
|
import '@inkjs/ui';
|
|
14
14
|
import '@tanstack/react-query';
|
|
15
|
+
import 'yazl';
|
|
16
|
+
import { a as getInput, b as generatePackageName } from '../../../../index-Cz_KLwWf.js';
|
|
15
17
|
import 'open';
|
|
16
|
-
import { a as getInput, b as generatePackageName } from '../../../../index-wyPoxiTc.js';
|
|
17
18
|
import 'qrcode';
|
|
18
19
|
import { R as RunWithSpinner } from '../../../../RunWithSpinner-BVXNWGD3.js';
|
|
19
20
|
import 'string-length';
|
|
20
21
|
import 'strip-ansi';
|
|
21
22
|
import 'fast-glob';
|
|
22
|
-
import 'yazl';
|
|
23
23
|
import 'socket.io-client';
|
|
24
|
-
import '../../../../useAndroidServiceAccountTestResult-
|
|
24
|
+
import '../../../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
25
25
|
import 'marked';
|
|
26
26
|
import 'marked-terminal';
|
|
27
27
|
import 'path';
|
|
@@ -2,8 +2,8 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { render } from 'ink';
|
|
3
3
|
import { Flags } from '@oclif/core';
|
|
4
4
|
import 'react';
|
|
5
|
-
import { C as Command } from '../../../../Command-
|
|
6
|
-
import { c as BaseGameCommand } from '../../../../index-
|
|
5
|
+
import { C as Command } from '../../../../Command-BiB9MqbJ.js';
|
|
6
|
+
import { c as BaseGameCommand } from '../../../../index-BB7X1Pqp.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import 'crypto-js';
|
|
@@ -12,23 +12,23 @@ import 'luxon';
|
|
|
12
12
|
import 'fs';
|
|
13
13
|
import '@inkjs/ui';
|
|
14
14
|
import '@tanstack/react-query';
|
|
15
|
-
import '
|
|
15
|
+
import 'yazl';
|
|
16
16
|
import 'crypto';
|
|
17
17
|
import 'readline-sync';
|
|
18
18
|
import 'node:readline';
|
|
19
19
|
import 'node:path';
|
|
20
20
|
import 'node:url';
|
|
21
21
|
import 'fast-glob';
|
|
22
|
-
import 'yazl';
|
|
23
22
|
import 'socket.io-client';
|
|
24
23
|
import 'isomorphic-git';
|
|
24
|
+
import 'open';
|
|
25
25
|
import { N as NextSteps } from '../../../../NextSteps-CK9zHOCt.js';
|
|
26
26
|
import 'qrcode';
|
|
27
27
|
import 'string-length';
|
|
28
28
|
import 'strip-ansi';
|
|
29
|
-
import { A as AppleAppDetails, a as AppleBundleIdDetails } from '../../../../AppleBundleIdDetails-
|
|
30
|
-
import '../../../../index-
|
|
31
|
-
import '../../../../useAndroidServiceAccountTestResult-
|
|
29
|
+
import { A as AppleAppDetails, a as AppleBundleIdDetails } from '../../../../AppleBundleIdDetails-DymjrhOZ.js';
|
|
30
|
+
import '../../../../index-Cz_KLwWf.js';
|
|
31
|
+
import '../../../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
32
32
|
import 'marked';
|
|
33
33
|
import 'marked-terminal';
|
|
34
34
|
import 'path';
|
|
@@ -36,9 +36,9 @@ import '@expo/apple-utils/build/index.js';
|
|
|
36
36
|
import 'ini';
|
|
37
37
|
import 'deepmerge';
|
|
38
38
|
import '../../../../Title-BCQtayg6.js';
|
|
39
|
-
import '../../../../useAppleApp-
|
|
39
|
+
import '../../../../useAppleApp-BEtLQa7n.js';
|
|
40
40
|
import '../../../../Table-CvM6pccN.js';
|
|
41
|
-
import '../../../../useAppleBundleId-
|
|
41
|
+
import '../../../../useAppleBundleId-DXbMDRLd.js';
|
|
42
42
|
|
|
43
43
|
class GameIosAppStatus extends BaseGameCommand {
|
|
44
44
|
static args = {};
|
|
@@ -2,8 +2,8 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { render } from 'ink';
|
|
3
3
|
import { Flags } from '@oclif/core';
|
|
4
4
|
import 'react';
|
|
5
|
-
import { C as Command } from '../../../../Command-
|
|
6
|
-
import { c as BaseGameCommand, h as CapabilityTypeOption } from '../../../../index-
|
|
5
|
+
import { C as Command } from '../../../../Command-BiB9MqbJ.js';
|
|
6
|
+
import { c as BaseGameCommand, h as CapabilityTypeOption } from '../../../../index-BB7X1Pqp.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import 'crypto-js';
|
|
@@ -12,23 +12,23 @@ import 'luxon';
|
|
|
12
12
|
import 'fs';
|
|
13
13
|
import '@inkjs/ui';
|
|
14
14
|
import '@tanstack/react-query';
|
|
15
|
-
import '
|
|
15
|
+
import 'yazl';
|
|
16
16
|
import 'crypto';
|
|
17
17
|
import 'readline-sync';
|
|
18
18
|
import 'node:readline';
|
|
19
19
|
import 'node:path';
|
|
20
20
|
import 'node:url';
|
|
21
|
-
import { f as fetchBundleId } from '../../../../useAppleBundleId-
|
|
21
|
+
import { f as fetchBundleId } from '../../../../useAppleBundleId-DXbMDRLd.js';
|
|
22
22
|
import 'fast-glob';
|
|
23
|
-
import 'yazl';
|
|
24
23
|
import 'socket.io-client';
|
|
25
24
|
import 'isomorphic-git';
|
|
25
|
+
import 'open';
|
|
26
26
|
import 'qrcode';
|
|
27
27
|
import { R as RunWithSpinner } from '../../../../RunWithSpinner-BVXNWGD3.js';
|
|
28
28
|
import 'string-length';
|
|
29
29
|
import 'strip-ansi';
|
|
30
|
-
import '../../../../index-
|
|
31
|
-
import '../../../../useAndroidServiceAccountTestResult-
|
|
30
|
+
import '../../../../index-Cz_KLwWf.js';
|
|
31
|
+
import '../../../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
32
32
|
import 'marked';
|
|
33
33
|
import 'marked-terminal';
|
|
34
34
|
import 'path';
|
|
@@ -3,34 +3,34 @@ import { render } from 'ink';
|
|
|
3
3
|
import { Flags } from '@oclif/core';
|
|
4
4
|
import axios from 'axios';
|
|
5
5
|
import 'react';
|
|
6
|
-
import { C as Command } from '../../../../Command-
|
|
7
|
-
import { c as BaseGameCommand, P as Platform, C as CredentialsType, l as Certificate, m as CertificateType, n as Profile, o as ProfileType } from '../../../../index-
|
|
6
|
+
import { C as Command } from '../../../../Command-BiB9MqbJ.js';
|
|
7
|
+
import { c as BaseGameCommand, P as Platform, C as CredentialsType, l as Certificate, m as CertificateType, n as Profile, o as ProfileType } from '../../../../index-BB7X1Pqp.js';
|
|
8
8
|
import 'ink-spinner';
|
|
9
9
|
import 'crypto-js';
|
|
10
10
|
import 'uuid';
|
|
11
11
|
import 'luxon';
|
|
12
|
-
import { a as getProjectCredentials, g as getUserCredentials } from '../../../../index-
|
|
12
|
+
import { a as getProjectCredentials, g as getUserCredentials } from '../../../../index-DOgF4dFK.js';
|
|
13
13
|
import '@inkjs/ui';
|
|
14
14
|
import '@tanstack/react-query';
|
|
15
|
-
import 'open';
|
|
16
|
-
import 'crypto';
|
|
17
15
|
import 'fs';
|
|
16
|
+
import 'yazl';
|
|
17
|
+
import 'crypto';
|
|
18
18
|
import 'readline-sync';
|
|
19
19
|
import 'node:readline';
|
|
20
20
|
import 'node:path';
|
|
21
21
|
import 'node:url';
|
|
22
|
-
import { f as fetchBundleId } from '../../../../useAppleBundleId-
|
|
22
|
+
import { f as fetchBundleId } from '../../../../useAppleBundleId-DXbMDRLd.js';
|
|
23
23
|
import 'fast-glob';
|
|
24
|
-
import 'yazl';
|
|
25
24
|
import 'socket.io-client';
|
|
26
25
|
import 'isomorphic-git';
|
|
26
|
+
import 'open';
|
|
27
27
|
import 'qrcode';
|
|
28
28
|
import { R as RunWithSpinner } from '../../../../RunWithSpinner-BVXNWGD3.js';
|
|
29
29
|
import 'string-length';
|
|
30
30
|
import 'strip-ansi';
|
|
31
|
-
import { a as uploadProjectCredentials } from '../../../../upload-
|
|
32
|
-
import '../../../../index-
|
|
33
|
-
import '../../../../useAndroidServiceAccountTestResult-
|
|
31
|
+
import { a as uploadProjectCredentials } from '../../../../upload-2naN75Zu.js';
|
|
32
|
+
import '../../../../index-Cz_KLwWf.js';
|
|
33
|
+
import '../../../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
34
34
|
import 'marked';
|
|
35
35
|
import 'marked-terminal';
|
|
36
36
|
import 'path';
|
|
@@ -2,10 +2,10 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { Args, Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
4
|
import * as fs from 'fs';
|
|
5
|
-
import { c as BaseGameCommand, P as Platform, C as CredentialsType } from '../../../../index-
|
|
6
|
-
import { a as getProjectCredentials } from '../../../../index-
|
|
5
|
+
import { c as BaseGameCommand, P as Platform, C as CredentialsType } from '../../../../index-BB7X1Pqp.js';
|
|
6
|
+
import { a as getProjectCredentials } from '../../../../index-DOgF4dFK.js';
|
|
7
7
|
import 'react';
|
|
8
|
-
import { C as Command } from '../../../../Command-
|
|
8
|
+
import { C as Command } from '../../../../Command-BiB9MqbJ.js';
|
|
9
9
|
import 'ink-spinner';
|
|
10
10
|
import 'axios';
|
|
11
11
|
import 'crypto-js';
|
|
@@ -13,27 +13,27 @@ import 'uuid';
|
|
|
13
13
|
import 'luxon';
|
|
14
14
|
import '@inkjs/ui';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
|
-
import '
|
|
16
|
+
import 'yazl';
|
|
17
17
|
import 'crypto';
|
|
18
18
|
import 'readline-sync';
|
|
19
19
|
import 'node:readline';
|
|
20
20
|
import 'node:path';
|
|
21
21
|
import 'node:url';
|
|
22
22
|
import 'fast-glob';
|
|
23
|
-
import 'yazl';
|
|
24
23
|
import 'socket.io-client';
|
|
25
24
|
import 'isomorphic-git';
|
|
25
|
+
import 'open';
|
|
26
26
|
import 'qrcode';
|
|
27
27
|
import { R as RunWithSpinner } from '../../../../RunWithSpinner-BVXNWGD3.js';
|
|
28
28
|
import 'string-length';
|
|
29
29
|
import 'strip-ansi';
|
|
30
|
-
import { e as exportCredential } from '../../../../export-
|
|
30
|
+
import { e as exportCredential } from '../../../../export-rS9o87LD.js';
|
|
31
31
|
import 'path';
|
|
32
32
|
import '@expo/apple-utils/build/index.js';
|
|
33
33
|
import 'ini';
|
|
34
34
|
import 'deepmerge';
|
|
35
|
-
import '../../../../index-
|
|
36
|
-
import '../../../../useAndroidServiceAccountTestResult-
|
|
35
|
+
import '../../../../index-Cz_KLwWf.js';
|
|
36
|
+
import '../../../../useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
37
37
|
import 'marked';
|
|
38
38
|
import 'marked-terminal';
|
|
39
39
|
|