shipthis 0.1.18 → 0.1.20
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 +54 -18
- package/assets/markdown/ios-success.md +17 -0
- package/dist/{AppleBundleIdDetails-D41xptO8.js → AppleBundleIdDetails-fvGbPZdv.js} +7 -4
- package/dist/Command-I9hBoGAj.js +28 -0
- package/dist/{CommandGame-ClEQvI36.js → CommandGame-CdBKIgr-.js} +2 -1
- package/dist/{Create-C-7pvYVd.js → Create-4wdfWBjN.js} +6 -3
- package/dist/{Import-BfcHPxoi.js → Import-B3j3Faf_.js} +7 -4
- package/dist/{JobProgress-CICU69cf.js → JobProgress-DrBLSHdv.js} +8 -5
- package/dist/{JobStatusTable-CpPlQBqR.js → JobStatusTable-CHJt8Sci.js} +6 -6
- package/dist/{ProjectCredentialsTable-Ch2s5qF1.js → ProjectCredentialsTable-CJdsMx-O.js} +2 -2
- package/dist/{UserCredentialsTable-DzyAHhLB.js → UserCredentialsTable-DO3pBaVs.js} +3 -3
- package/dist/{baseAppleCommand-BGXyWK-R.js → baseAppleCommand-DwtoHHJe.js} +1 -1
- package/dist/{baseGameAndroidCommand-mdFhxanf.js → baseGameAndroidCommand-_iWWt-Rh.js} +2 -2
- package/dist/commands/apple/apiKey/create.js +11 -10
- package/dist/commands/apple/apiKey/export.js +10 -9
- package/dist/commands/apple/apiKey/import.js +10 -9
- package/dist/commands/apple/apiKey/status.js +9 -8
- package/dist/commands/apple/certificate/create.js +11 -10
- package/dist/commands/apple/certificate/export.js +10 -9
- package/dist/commands/apple/certificate/import.js +10 -9
- package/dist/commands/apple/certificate/status.js +9 -8
- package/dist/commands/apple/login.js +2 -2
- package/dist/commands/apple/status.js +8 -7
- package/dist/commands/dashboard.js +1 -1
- package/dist/commands/game/android/apiKey/connect.js +12 -11
- package/dist/commands/game/android/apiKey/create.js +14 -13
- package/dist/commands/game/android/apiKey/export.js +11 -10
- package/dist/commands/game/android/apiKey/import.js +11 -10
- package/dist/commands/game/android/apiKey/invite.js +4 -4
- package/dist/commands/game/android/apiKey/status.js +11 -10
- package/dist/commands/game/android/keyStore/create.js +12 -11
- package/dist/commands/game/android/keyStore/export.js +10 -9
- package/dist/commands/game/android/keyStore/import.js +13 -12
- package/dist/commands/game/android/keyStore/status.js +10 -9
- package/dist/commands/game/android/status.js +11 -10
- package/dist/commands/game/build/download.js +8 -7
- package/dist/commands/game/build/list.js +9 -8
- package/dist/commands/game/create.js +2 -2
- package/dist/commands/game/details.js +10 -9
- package/dist/commands/game/export.js +1 -1
- package/dist/commands/game/ios/app/addTester.js +11 -10
- package/dist/commands/game/ios/app/create.js +10 -9
- package/dist/commands/game/ios/app/status.js +11 -10
- package/dist/commands/game/ios/app/sync.js +9 -8
- package/dist/commands/game/ios/profile/create.js +11 -10
- package/dist/commands/game/ios/profile/export.js +10 -9
- package/dist/commands/game/ios/profile/import.js +10 -9
- package/dist/commands/game/ios/profile/status.js +10 -9
- package/dist/commands/game/ios/status.js +14 -13
- package/dist/commands/game/ios/wizard.js +44 -16
- package/dist/commands/game/job/list.js +8 -7
- package/dist/commands/game/job/status.js +11 -10
- package/dist/commands/game/list.js +8 -7
- package/dist/commands/game/ship.js +13 -12
- package/dist/commands/game/status.js +11 -10
- package/dist/commands/game/wizard.js +18 -17
- package/dist/commands/internal/fastlane.js +1 -1
- package/dist/commands/internal/readme.js +1 -1
- package/dist/commands/login.js +2 -2
- package/dist/commands/status.js +8 -7
- package/dist/{export-Cin4rLWR.js → export-CDgzZlSd.js} +1 -1
- package/dist/{import-CXTv9E84.js → import-D9dyGwy2.js} +1 -1
- package/dist/{index-Dj-chiHz.js → index-B-jDJolg.js} +1 -1
- package/dist/{index-B4v66AKo.js → index-BCO3QRqD.js} +1 -1
- package/dist/{Command-DdJBwDHu.js → index-CSBsz7Js.js} +21 -30
- package/dist/{index-Dhx6FAHt.js → index-Cn5-DHOL.js} +2 -2
- package/dist/{index-_Lan5Hud.js → index-JYXa6bEW.js} +8 -5
- package/dist/{index-DlvM24jQ.js → index-xV-xLIQa.js} +7 -4
- package/dist/{upload-DZCIfnwf.js → upload-CoVtaz5g.js} +1 -1
- package/dist/{useAndroidServiceAccountTestResult-L4oozjag.js → useAndroidServiceAccountTestResult-Bwu7ZeY5.js} +1 -1
- package/dist/{useAppleApp-DcSr-q-w.js → useAppleApp-1zogXNDE.js} +1 -1
- package/dist/{useAppleBundleId-BnJVPVIz.js → useAppleBundleId-C1shz-fc.js} +1 -1
- package/dist/{useJobWatching-W6FYJEPP.js → useJobWatching-mXM2P2E5.js} +3 -3
- package/dist/{useProjectCredentials-CI_AoXmH.js → useProjectCredentials-B2wXUghS.js} +3 -3
- package/dist/{useWebSocket-ZEZvtpT_.js → useWebSocket-Kupwp5m2.js} +1 -1
- package/docs/README.md +7 -7
- package/docs/apple/apiKey.md +1 -1
- package/docs/apple/certificate.md +1 -1
- package/docs/assets/wizard-android-existingx0.5.gif +0 -0
- package/docs/dashboard.md +1 -1
- package/docs/game/create.md +1 -1
- package/docs/login.md +1 -1
- package/npm-shrinkwrap.json +44 -79
- package/oclif.manifest.json +105 -105
- package/package.json +3 -2
|
@@ -1,26 +1,40 @@
|
|
|
1
1
|
import { Flags } from '@oclif/core';
|
|
2
|
-
import
|
|
2
|
+
import chalk from 'chalk';
|
|
3
|
+
import { B as BaseAuthenticatedCommand, j as isCWDGodotGame, W as WEB_URL, P as Platform, C as CredentialsType } from '../../../index-Cn5-DHOL.js';
|
|
3
4
|
import 'axios';
|
|
4
5
|
import 'crypto-js';
|
|
5
6
|
import 'uuid';
|
|
6
7
|
import 'luxon';
|
|
7
|
-
import { g as getUserCredentials, a as getProjectCredentials } from '../../../index-
|
|
8
|
-
import '
|
|
8
|
+
import { g as getUserCredentials, a as getProjectCredentials } from '../../../index-BCO3QRqD.js';
|
|
9
|
+
import 'react/jsx-runtime';
|
|
10
|
+
import 'react';
|
|
11
|
+
import 'ink';
|
|
12
|
+
import { g as getRenderedMarkdown } from '../../../index-CSBsz7Js.js';
|
|
13
|
+
import 'ink-spinner';
|
|
14
|
+
import '@inkjs/ui';
|
|
15
|
+
import '@tanstack/react-query';
|
|
9
16
|
import 'fs';
|
|
10
|
-
import '
|
|
17
|
+
import 'yazl';
|
|
11
18
|
import 'crypto';
|
|
12
19
|
import 'readline-sync';
|
|
13
20
|
import 'node:readline';
|
|
14
21
|
import 'node:path';
|
|
15
22
|
import 'node:url';
|
|
16
|
-
import 'react';
|
|
17
|
-
import '@tanstack/react-query';
|
|
18
|
-
import 'ini';
|
|
19
|
-
import 'deepmerge';
|
|
20
23
|
import 'fast-glob';
|
|
21
|
-
import 'yazl';
|
|
22
24
|
import 'socket.io-client';
|
|
23
25
|
import 'isomorphic-git';
|
|
26
|
+
import 'open';
|
|
27
|
+
import 'qrcode';
|
|
28
|
+
import 'string-length';
|
|
29
|
+
import 'strip-ansi';
|
|
30
|
+
import 'path';
|
|
31
|
+
import '@expo/apple-utils/build/index.js';
|
|
32
|
+
import 'ini';
|
|
33
|
+
import 'deepmerge';
|
|
34
|
+
import '../../../index-B-jDJolg.js';
|
|
35
|
+
import '../../../useAndroidServiceAccountTestResult-Bwu7ZeY5.js';
|
|
36
|
+
import 'marked';
|
|
37
|
+
import 'marked-terminal';
|
|
24
38
|
|
|
25
39
|
class GameIosWizard extends BaseAuthenticatedCommand {
|
|
26
40
|
static args = {};
|
|
@@ -42,7 +56,9 @@ class GameIosWizard extends BaseAuthenticatedCommand {
|
|
|
42
56
|
}
|
|
43
57
|
const projectConfig = await this.getProjectConfigSafe();
|
|
44
58
|
const game = projectConfig.project;
|
|
45
|
-
const isStepForced = (
|
|
59
|
+
const isStepForced = (cmdName) => flags.forceStep?.includes(cmdName);
|
|
60
|
+
const logSkip = (cmdName) => this.log(chalk.blue(`[skip] shipthis ${cmdName.replaceAll(":", " ")}`));
|
|
61
|
+
const logRun = (cmdName, args) => this.log(chalk.green(`[run] shipthis ${cmdName.replaceAll(":", " ")} ${args.join(" ")}`));
|
|
46
62
|
const iosSteps = [
|
|
47
63
|
{
|
|
48
64
|
command: "game:create",
|
|
@@ -65,7 +81,8 @@ class GameIosWizard extends BaseAuthenticatedCommand {
|
|
|
65
81
|
const userAppleApiKeyCredentials = userCredentials.filter(
|
|
66
82
|
(cred) => cred.platform == Platform.IOS && cred.type == CredentialsType.KEY
|
|
67
83
|
);
|
|
68
|
-
|
|
84
|
+
const hasKey = userAppleApiKeyCredentials.length > 0;
|
|
85
|
+
return !hasKey;
|
|
69
86
|
}
|
|
70
87
|
},
|
|
71
88
|
{
|
|
@@ -76,7 +93,8 @@ class GameIosWizard extends BaseAuthenticatedCommand {
|
|
|
76
93
|
const userAppleDistCredentials = userCredentials.filter(
|
|
77
94
|
(cred) => cred.platform == Platform.IOS && cred.type == CredentialsType.CERTIFICATE
|
|
78
95
|
);
|
|
79
|
-
|
|
96
|
+
const hasDistCert = userAppleDistCredentials.length > 0;
|
|
97
|
+
return !hasDistCert;
|
|
80
98
|
}
|
|
81
99
|
},
|
|
82
100
|
{
|
|
@@ -103,7 +121,8 @@ class GameIosWizard extends BaseAuthenticatedCommand {
|
|
|
103
121
|
const projectAppleProfileCredentials = projectCredentials.filter(
|
|
104
122
|
(cred) => cred.platform == Platform.IOS && cred.type == CredentialsType.CERTIFICATE
|
|
105
123
|
);
|
|
106
|
-
|
|
124
|
+
const hasProfile = projectAppleProfileCredentials.length > 0;
|
|
125
|
+
return !hasProfile;
|
|
107
126
|
}
|
|
108
127
|
}
|
|
109
128
|
];
|
|
@@ -111,14 +130,23 @@ class GameIosWizard extends BaseAuthenticatedCommand {
|
|
|
111
130
|
const command = step.command;
|
|
112
131
|
const willRun = isStepForced(command) || await step.shouldRun();
|
|
113
132
|
if (!willRun) {
|
|
114
|
-
|
|
133
|
+
logSkip(command);
|
|
115
134
|
continue;
|
|
116
135
|
}
|
|
117
136
|
const args = [...step.args, ...isStepForced(command) ? ["--force"] : []];
|
|
118
|
-
|
|
137
|
+
logRun(command, args);
|
|
119
138
|
await this.config.runCommand(command, args);
|
|
120
139
|
}
|
|
121
|
-
|
|
140
|
+
const successMessage = getRenderedMarkdown({
|
|
141
|
+
filename: "ios-success.md",
|
|
142
|
+
templateVars: {
|
|
143
|
+
androidSetupURL: new URL("/docs/android", WEB_URL).toString(),
|
|
144
|
+
docsURL: new URL("/docs", WEB_URL).toString()
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
this.log(`
|
|
148
|
+
${successMessage}
|
|
149
|
+
`);
|
|
122
150
|
}
|
|
123
151
|
}
|
|
124
152
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { render, Box, Text } from 'ink';
|
|
3
3
|
import { Flags } from '@oclif/core';
|
|
4
|
-
import { c as BaseGameCommand, z as getProjectJobs } from '../../../index-
|
|
4
|
+
import { c as BaseGameCommand, z as getProjectJobs } from '../../../index-Cn5-DHOL.js';
|
|
5
5
|
import 'react';
|
|
6
|
-
import {
|
|
6
|
+
import { a as getJobSummary } from '../../../index-CSBsz7Js.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import '@inkjs/ui';
|
|
9
9
|
import 'axios';
|
|
@@ -11,16 +11,19 @@ import '@tanstack/react-query';
|
|
|
11
11
|
import 'fs';
|
|
12
12
|
import 'uuid';
|
|
13
13
|
import 'yazl';
|
|
14
|
-
import { c as getJobStatusColor } from '../../../index-
|
|
14
|
+
import { c as getJobStatusColor } from '../../../index-B-jDJolg.js';
|
|
15
15
|
import 'open';
|
|
16
|
+
import 'marked';
|
|
17
|
+
import 'marked-terminal';
|
|
18
|
+
import 'path';
|
|
16
19
|
import 'qrcode';
|
|
17
20
|
import { T as Table } from '../../../Table-CvM6pccN.js';
|
|
18
21
|
import 'string-length';
|
|
19
22
|
import 'strip-ansi';
|
|
20
23
|
import { DateTime } from 'luxon';
|
|
21
24
|
import 'fast-glob';
|
|
25
|
+
import { C as Command } from '../../../Command-I9hBoGAj.js';
|
|
22
26
|
import 'socket.io-client';
|
|
23
|
-
import 'path';
|
|
24
27
|
import '@expo/apple-utils/build/index.js';
|
|
25
28
|
import 'crypto-js';
|
|
26
29
|
import 'crypto';
|
|
@@ -31,9 +34,7 @@ import 'node:url';
|
|
|
31
34
|
import 'ini';
|
|
32
35
|
import 'deepmerge';
|
|
33
36
|
import 'isomorphic-git';
|
|
34
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
35
|
-
import 'marked';
|
|
36
|
-
import 'marked-terminal';
|
|
37
|
+
import '../../../useAndroidServiceAccountTestResult-Bwu7ZeY5.js';
|
|
37
38
|
|
|
38
39
|
class GameJobList extends BaseGameCommand {
|
|
39
40
|
static args = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { c as BaseGameCommand, E as getJob, J as JobStatus } from '../../../index-
|
|
4
|
+
import { c as BaseGameCommand, E as getJob, J as JobStatus } from '../../../index-Cn5-DHOL.js';
|
|
5
5
|
import 'react';
|
|
6
|
-
import
|
|
6
|
+
import '../../../index-CSBsz7Js.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import '@inkjs/ui';
|
|
9
9
|
import 'axios';
|
|
@@ -21,23 +21,24 @@ import 'fast-glob';
|
|
|
21
21
|
import 'socket.io-client';
|
|
22
22
|
import 'isomorphic-git';
|
|
23
23
|
import 'open';
|
|
24
|
+
import 'marked';
|
|
25
|
+
import 'marked-terminal';
|
|
26
|
+
import 'path';
|
|
24
27
|
import { N as NextSteps } from '../../../NextSteps-CK9zHOCt.js';
|
|
25
28
|
import 'qrcode';
|
|
26
29
|
import 'string-length';
|
|
27
30
|
import 'strip-ansi';
|
|
28
|
-
import {
|
|
29
|
-
import '
|
|
31
|
+
import { C as Command } from '../../../Command-I9hBoGAj.js';
|
|
32
|
+
import { J as JobStatusTable, a as JobLogTail } from '../../../JobStatusTable-CHJt8Sci.js';
|
|
30
33
|
import '@expo/apple-utils/build/index.js';
|
|
31
34
|
import 'crypto-js';
|
|
32
35
|
import 'ini';
|
|
33
36
|
import 'deepmerge';
|
|
34
|
-
import '../../../index-
|
|
35
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
36
|
-
import 'marked';
|
|
37
|
-
import 'marked-terminal';
|
|
37
|
+
import '../../../index-B-jDJolg.js';
|
|
38
|
+
import '../../../useAndroidServiceAccountTestResult-Bwu7ZeY5.js';
|
|
38
39
|
import '../../../Title-BCQtayg6.js';
|
|
39
|
-
import '../../../useWebSocket-
|
|
40
|
-
import '../../../useJobWatching-
|
|
40
|
+
import '../../../useWebSocket-Kupwp5m2.js';
|
|
41
|
+
import '../../../useJobWatching-mXM2P2E5.js';
|
|
41
42
|
import '../../../StatusTable-Dm5St4g-.js';
|
|
42
43
|
|
|
43
44
|
class GameJobStatus extends BaseGameCommand {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { render, Text, Box } from 'ink';
|
|
3
3
|
import { Flags } from '@oclif/core';
|
|
4
|
-
import { B as BaseAuthenticatedCommand, g as getProjects, b as getShortDate } from '../../index-
|
|
4
|
+
import { B as BaseAuthenticatedCommand, g as getProjects, b as getShortDate } from '../../index-Cn5-DHOL.js';
|
|
5
5
|
import 'react';
|
|
6
|
-
import
|
|
6
|
+
import '../../index-CSBsz7Js.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import '@inkjs/ui';
|
|
9
9
|
import 'axios';
|
|
@@ -11,16 +11,19 @@ import '@tanstack/react-query';
|
|
|
11
11
|
import 'fs';
|
|
12
12
|
import 'uuid';
|
|
13
13
|
import 'yazl';
|
|
14
|
-
import { g as getShortUUID } from '../../index-
|
|
14
|
+
import { g as getShortUUID } from '../../index-B-jDJolg.js';
|
|
15
15
|
import 'open';
|
|
16
|
+
import 'marked';
|
|
17
|
+
import 'marked-terminal';
|
|
18
|
+
import 'path';
|
|
16
19
|
import 'qrcode';
|
|
17
20
|
import { T as Table } from '../../Table-CvM6pccN.js';
|
|
18
21
|
import 'string-length';
|
|
19
22
|
import 'strip-ansi';
|
|
20
23
|
import 'luxon';
|
|
21
24
|
import 'fast-glob';
|
|
25
|
+
import { C as Command } from '../../Command-I9hBoGAj.js';
|
|
22
26
|
import 'socket.io-client';
|
|
23
|
-
import 'path';
|
|
24
27
|
import '@expo/apple-utils/build/index.js';
|
|
25
28
|
import 'crypto-js';
|
|
26
29
|
import 'crypto';
|
|
@@ -31,9 +34,7 @@ import 'node:url';
|
|
|
31
34
|
import 'ini';
|
|
32
35
|
import 'deepmerge';
|
|
33
36
|
import 'isomorphic-git';
|
|
34
|
-
import '../../useAndroidServiceAccountTestResult-
|
|
35
|
-
import 'marked';
|
|
36
|
-
import 'marked-terminal';
|
|
37
|
+
import '../../useAndroidServiceAccountTestResult-Bwu7ZeY5.js';
|
|
37
38
|
|
|
38
39
|
class GameList extends BaseAuthenticatedCommand {
|
|
39
40
|
static args = {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { a1 as getShortAuthRequiredUrl, W as WEB_URL, c as BaseGameCommand } from '../../index-Cn5-DHOL.js';
|
|
3
3
|
import { useContext, useState, useEffect } from 'react';
|
|
4
4
|
import { useInput, Box, Text, render } from 'ink';
|
|
5
|
-
import {
|
|
5
|
+
import { c as CommandContext, b as GameContext, M as Markdown } from '../../index-CSBsz7Js.js';
|
|
6
6
|
import 'ink-spinner';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import 'crypto-js';
|
|
@@ -22,24 +22,25 @@ import 'socket.io-client';
|
|
|
22
22
|
import 'isomorphic-git';
|
|
23
23
|
import '@oclif/core';
|
|
24
24
|
import open from 'open';
|
|
25
|
+
import 'marked';
|
|
26
|
+
import 'marked-terminal';
|
|
27
|
+
import 'path';
|
|
25
28
|
import 'qrcode';
|
|
26
29
|
import 'string-length';
|
|
27
30
|
import 'strip-ansi';
|
|
28
|
-
import { C as CommandGame } from '../../CommandGame-
|
|
29
|
-
import { g as getShortUUID } from '../../index-
|
|
30
|
-
import { u as useShip, J as JobProgress } from '../../JobProgress-
|
|
31
|
-
import { J as JobStatusTable, a as JobLogTail } from '../../JobStatusTable-
|
|
32
|
-
import 'path';
|
|
31
|
+
import { C as CommandGame } from '../../CommandGame-CdBKIgr-.js';
|
|
32
|
+
import { g as getShortUUID } from '../../index-B-jDJolg.js';
|
|
33
|
+
import { u as useShip, J as JobProgress } from '../../JobProgress-DrBLSHdv.js';
|
|
34
|
+
import { J as JobStatusTable, a as JobLogTail } from '../../JobStatusTable-CHJt8Sci.js';
|
|
33
35
|
import '@expo/apple-utils/build/index.js';
|
|
34
36
|
import 'ini';
|
|
35
37
|
import 'deepmerge';
|
|
36
|
-
import '../../useAndroidServiceAccountTestResult-
|
|
37
|
-
import '
|
|
38
|
-
import 'marked-terminal';
|
|
38
|
+
import '../../useAndroidServiceAccountTestResult-Bwu7ZeY5.js';
|
|
39
|
+
import '../../Command-I9hBoGAj.js';
|
|
39
40
|
import '../../git-DREGq-jc.js';
|
|
40
41
|
import '../../ProgressSpinner-6pw1T8Iw.js';
|
|
41
|
-
import '../../useJobWatching-
|
|
42
|
-
import '../../useWebSocket-
|
|
42
|
+
import '../../useJobWatching-mXM2P2E5.js';
|
|
43
|
+
import '../../useWebSocket-Kupwp5m2.js';
|
|
43
44
|
import '../../Title-BCQtayg6.js';
|
|
44
45
|
import '../../StatusTable-Dm5St4g-.js';
|
|
45
46
|
|
|
@@ -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
|
|
6
|
-
import { B as BaseAuthenticatedCommand, I as getProject, P as Platform, k as getProjectPlatformProgress, b as getShortDate } from '../../index-
|
|
5
|
+
import '../../index-CSBsz7Js.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, I as getProject, P as Platform, k as getProjectPlatformProgress, b as getShortDate } from '../../index-Cn5-DHOL.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import '@inkjs/ui';
|
|
9
9
|
import 'axios';
|
|
@@ -11,8 +11,11 @@ import '@tanstack/react-query';
|
|
|
11
11
|
import 'fs';
|
|
12
12
|
import 'uuid';
|
|
13
13
|
import 'yazl';
|
|
14
|
-
import { g as getShortUUID, m as makeHumanReadable } from '../../index-
|
|
14
|
+
import { g as getShortUUID, m as makeHumanReadable } from '../../index-B-jDJolg.js';
|
|
15
15
|
import 'open';
|
|
16
|
+
import 'marked';
|
|
17
|
+
import 'marked-terminal';
|
|
18
|
+
import 'path';
|
|
16
19
|
import { N as NextSteps } from '../../NextSteps-CK9zHOCt.js';
|
|
17
20
|
import 'qrcode';
|
|
18
21
|
import { S as StatusTable } from '../../StatusTable-Dm5St4g-.js';
|
|
@@ -20,21 +23,19 @@ import 'string-length';
|
|
|
20
23
|
import 'strip-ansi';
|
|
21
24
|
import 'luxon';
|
|
22
25
|
import 'fast-glob';
|
|
26
|
+
import { C as Command } from '../../Command-I9hBoGAj.js';
|
|
23
27
|
import 'socket.io-client';
|
|
24
|
-
import '../../useAndroidServiceAccountTestResult-
|
|
25
|
-
import '
|
|
26
|
-
import '
|
|
27
|
-
import 'path';
|
|
28
|
+
import '../../useAndroidServiceAccountTestResult-Bwu7ZeY5.js';
|
|
29
|
+
import '@expo/apple-utils/build/index.js';
|
|
30
|
+
import 'crypto-js';
|
|
28
31
|
import 'crypto';
|
|
29
32
|
import 'readline-sync';
|
|
30
33
|
import 'node:readline';
|
|
31
34
|
import 'node:path';
|
|
32
35
|
import 'node:url';
|
|
33
|
-
import 'crypto-js';
|
|
34
|
-
import 'isomorphic-git';
|
|
35
|
-
import '@expo/apple-utils/build/index.js';
|
|
36
36
|
import 'ini';
|
|
37
37
|
import 'deepmerge';
|
|
38
|
+
import 'isomorphic-git';
|
|
38
39
|
import '../../Title-BCQtayg6.js';
|
|
39
40
|
|
|
40
41
|
function getSteps(platform, progress) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Args } from '@oclif/core';
|
|
3
3
|
import { Text, Box, useInput, useFocus, measureElement, render } from 'ink';
|
|
4
|
-
import { p as getAuthedHeaders, q as API_URL, L as castArrayObjectDates,
|
|
4
|
+
import { p as getAuthedHeaders, q as API_URL, L as castArrayObjectDates, M as queryClient, a8 as updateProject, u as getGodotVersion, t as GameEngine, v as createProject, w as DEFAULT_IGNORED_FILES_GLOBS, x as DEFAULT_SHIPPED_FILES_GLOBS, P as Platform, J as JobStatus, W as WEB_URL, I as getProject, C as CredentialsType, T as getGoogleStatus, B as BaseAuthenticatedCommand, j as isCWDGodotGame } from '../../index-Cn5-DHOL.js';
|
|
5
5
|
import React, { useState, useContext, useEffect, useRef, useReducer } from 'react';
|
|
6
|
-
import {
|
|
6
|
+
import { c as CommandContext, b as GameContext, M as Markdown, d as useBuilds, q as queryBuilds, G as GameProvider, f as CreateGooglePlayGame } from '../../index-CSBsz7Js.js';
|
|
7
7
|
import Spinner from 'ink-spinner';
|
|
8
8
|
import { Alert, TextInput } from '@inkjs/ui';
|
|
9
9
|
import axios from 'axios';
|
|
@@ -22,31 +22,32 @@ import 'fast-glob';
|
|
|
22
22
|
import 'socket.io-client';
|
|
23
23
|
import 'isomorphic-git';
|
|
24
24
|
import 'open';
|
|
25
|
+
import 'marked';
|
|
26
|
+
import 'marked-terminal';
|
|
27
|
+
import 'path';
|
|
25
28
|
import 'qrcode';
|
|
26
29
|
import 'string-length';
|
|
27
30
|
import 'strip-ansi';
|
|
28
|
-
import { C as CreateKeystore } from '../../Create-
|
|
29
|
-
import { I as ImportKeystore } from '../../Import-
|
|
30
|
-
import { C as ConnectGoogle } from '../../index-
|
|
31
|
-
import { C as CreateServiceAccountKey } from '../../index-
|
|
32
|
-
import { c as cacheKeys, f as fetchKeyTestResult, K as KeyTestStatus, a as KeyTestError } from '../../useAndroidServiceAccountTestResult-
|
|
33
|
-
import { u as useShip, J as JobProgress } from '../../JobProgress-
|
|
34
|
-
import { a as getProjectCredentials } from '../../index-
|
|
31
|
+
import { C as CreateKeystore } from '../../Create-4wdfWBjN.js';
|
|
32
|
+
import { I as ImportKeystore } from '../../Import-B3j3Faf_.js';
|
|
33
|
+
import { C as ConnectGoogle } from '../../index-xV-xLIQa.js';
|
|
34
|
+
import { C as CreateServiceAccountKey } from '../../index-JYXa6bEW.js';
|
|
35
|
+
import { c as cacheKeys, f as fetchKeyTestResult, K as KeyTestStatus, a as KeyTestError } from '../../useAndroidServiceAccountTestResult-Bwu7ZeY5.js';
|
|
36
|
+
import { u as useShip, J as JobProgress } from '../../JobProgress-DrBLSHdv.js';
|
|
37
|
+
import { a as getProjectCredentials } from '../../index-BCO3QRqD.js';
|
|
35
38
|
import { T as Title } from '../../Title-BCQtayg6.js';
|
|
36
|
-
import '
|
|
39
|
+
import { C as Command } from '../../Command-I9hBoGAj.js';
|
|
37
40
|
import '@expo/apple-utils/build/index.js';
|
|
38
41
|
import 'ini';
|
|
39
42
|
import 'deepmerge';
|
|
40
|
-
import '../../index-
|
|
41
|
-
import 'marked';
|
|
42
|
-
import 'marked-terminal';
|
|
43
|
+
import '../../index-B-jDJolg.js';
|
|
43
44
|
import '../../RunWithSpinner-BVXNWGD3.js';
|
|
44
|
-
import '../../import-
|
|
45
|
-
import '../../useWebSocket-
|
|
46
|
-
import '../../useProjectCredentials-
|
|
45
|
+
import '../../import-D9dyGwy2.js';
|
|
46
|
+
import '../../useWebSocket-Kupwp5m2.js';
|
|
47
|
+
import '../../useProjectCredentials-B2wXUghS.js';
|
|
47
48
|
import '../../ProgressSpinner-6pw1T8Iw.js';
|
|
48
49
|
import '../../git-DREGq-jc.js';
|
|
49
|
-
import '../../useJobWatching-
|
|
50
|
+
import '../../useJobWatching-mXM2P2E5.js';
|
|
50
51
|
|
|
51
52
|
async function queryJobs({ projectId, ...pageAndSortParams }) {
|
|
52
53
|
try {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs__default, { promises } from 'fs';
|
|
2
2
|
import path from 'path';
|
|
3
3
|
import { Args, Flags } from '@oclif/core';
|
|
4
|
-
import {
|
|
4
|
+
import { Y as BaseCommand } from '../../index-Cn5-DHOL.js';
|
|
5
5
|
import '@expo/apple-utils/build/index.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import 'crypto-js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Args, Flags } from '@oclif/core';
|
|
2
2
|
import fs__default from 'fs';
|
|
3
3
|
import path from 'path';
|
|
4
|
-
import {
|
|
4
|
+
import { Y as BaseCommand } from '../../index-Cn5-DHOL.js';
|
|
5
5
|
import CustomHelp from '../../utils/help.js';
|
|
6
6
|
import '@expo/apple-utils/build/index.js';
|
|
7
7
|
import 'axios';
|
package/dist/commands/login.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
|
-
import {
|
|
4
|
-
import { a as getInput } from '../index-
|
|
3
|
+
import { W as WEB_URL, Y as BaseCommand, q as API_URL, _ as setAuthToken, $ as acceptTerms } from '../index-Cn5-DHOL.js';
|
|
4
|
+
import { a as getInput } from '../index-B-jDJolg.js';
|
|
5
5
|
import 'path';
|
|
6
6
|
import 'fs';
|
|
7
7
|
import '@expo/apple-utils/build/index.js';
|
package/dist/commands/status.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { render } from 'ink';
|
|
3
|
-
import {
|
|
3
|
+
import { Y as BaseCommand, j as isCWDGodotGame } from '../index-Cn5-DHOL.js';
|
|
4
4
|
import 'react';
|
|
5
|
-
import
|
|
5
|
+
import '../index-CSBsz7Js.js';
|
|
6
6
|
import 'ink-spinner';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import 'crypto-js';
|
|
@@ -22,20 +22,21 @@ import 'socket.io-client';
|
|
|
22
22
|
import { i as isCWDGitRepo } from '../git-DREGq-jc.js';
|
|
23
23
|
import '@oclif/core';
|
|
24
24
|
import 'open';
|
|
25
|
+
import 'marked';
|
|
26
|
+
import 'marked-terminal';
|
|
27
|
+
import 'path';
|
|
25
28
|
import { N as NextSteps } from '../NextSteps-CK9zHOCt.js';
|
|
26
29
|
import 'qrcode';
|
|
27
30
|
import { S as StatusTable } from '../StatusTable-Dm5St4g-.js';
|
|
28
31
|
import 'string-length';
|
|
29
32
|
import 'strip-ansi';
|
|
30
|
-
import '
|
|
33
|
+
import { C as Command } from '../Command-I9hBoGAj.js';
|
|
31
34
|
import '@expo/apple-utils/build/index.js';
|
|
32
35
|
import 'ini';
|
|
33
36
|
import 'deepmerge';
|
|
34
37
|
import 'isomorphic-git';
|
|
35
|
-
import '../index-
|
|
36
|
-
import '../useAndroidServiceAccountTestResult-
|
|
37
|
-
import 'marked';
|
|
38
|
-
import 'marked-terminal';
|
|
38
|
+
import '../index-B-jDJolg.js';
|
|
39
|
+
import '../useAndroidServiceAccountTestResult-Bwu7ZeY5.js';
|
|
39
40
|
import '../Title-BCQtayg6.js';
|
|
40
41
|
|
|
41
42
|
class Status extends BaseCommand {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import * as fs from 'fs';
|
|
3
|
-
import { p as getAuthedHeaders, q as API_URL } from './index-
|
|
3
|
+
import { p as getAuthedHeaders, q as API_URL } from './index-Cn5-DHOL.js';
|
|
4
4
|
|
|
5
5
|
async function exportCredential({ zipPath, credentialId, projectId }) {
|
|
6
6
|
const headers = getAuthedHeaders();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import { promises } from 'fs';
|
|
3
|
-
import { p as getAuthedHeaders, q as API_URL } from './index-
|
|
3
|
+
import { p as getAuthedHeaders, q as API_URL } from './index-Cn5-DHOL.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`;
|
|
@@ -4,7 +4,7 @@ import readlineSync from 'readline-sync';
|
|
|
4
4
|
import { promises } from 'node:readline';
|
|
5
5
|
import path from 'node:path';
|
|
6
6
|
import { fileURLToPath } from 'node:url';
|
|
7
|
-
import { P as Platform, J as JobStatus,
|
|
7
|
+
import { P as Platform, J as JobStatus, N as JobStage, O as LogLevel } from './index-Cn5-DHOL.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import '@tanstack/react-query';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
|
-
import { p as getAuthedHeaders, q as API_URL, L as castArrayObjectDates } from './index-
|
|
2
|
+
import { p as getAuthedHeaders, q as API_URL, L as castArrayObjectDates } from './index-Cn5-DHOL.js';
|
|
3
3
|
import 'fs';
|
|
4
4
|
|
|
5
5
|
async function getUserCredentials(pageSize = 100) {
|
|
@@ -3,12 +3,12 @@ import { Text, useInput, Box } from 'ink';
|
|
|
3
3
|
import React, { useState, useEffect, useContext, useRef } from 'react';
|
|
4
4
|
import Spinner from 'ink-spinner';
|
|
5
5
|
import open from 'open';
|
|
6
|
-
import { g as getShortUUID, f as getPlatformName, s as scriptDir } from './index-
|
|
7
|
-
import { c as cacheKeys, u as useAndroidServiceAccountTestResult, K as KeyTestStatus, a as KeyTestError } from './useAndroidServiceAccountTestResult-
|
|
8
|
-
import { p as getAuthedHeaders, q as API_URL, L as castArrayObjectDates, P as Platform, a6 as getShortDateTime, E as getJob, J as JobStatus, a7 as getShortTimeDelta, I as getProject,
|
|
6
|
+
import { g as getShortUUID, f as getPlatformName, s as scriptDir } from './index-B-jDJolg.js';
|
|
7
|
+
import { c as cacheKeys, u as useAndroidServiceAccountTestResult, K as KeyTestStatus, a as KeyTestError } from './useAndroidServiceAccountTestResult-Bwu7ZeY5.js';
|
|
8
|
+
import { p as getAuthedHeaders, q as API_URL, L as castArrayObjectDates, P as Platform, a6 as getShortDateTime, E as getJob, J as JobStatus, a7 as getShortTimeDelta, I as getProject, a1 as getShortAuthRequiredUrl, M as queryClient, W as WEB_URL } from './index-Cn5-DHOL.js';
|
|
9
9
|
import '@inkjs/ui';
|
|
10
10
|
import axios from 'axios';
|
|
11
|
-
import { useQuery
|
|
11
|
+
import { useQuery } from '@tanstack/react-query';
|
|
12
12
|
import fs__default from 'fs';
|
|
13
13
|
import 'uuid';
|
|
14
14
|
import 'yazl';
|
|
@@ -21,14 +21,6 @@ import 'strip-ansi';
|
|
|
21
21
|
import 'luxon';
|
|
22
22
|
import 'fast-glob';
|
|
23
23
|
import 'socket.io-client';
|
|
24
|
-
import 'crypto';
|
|
25
|
-
import 'readline-sync';
|
|
26
|
-
import 'node:readline';
|
|
27
|
-
import 'node:path';
|
|
28
|
-
import 'node:url';
|
|
29
|
-
import 'crypto-js';
|
|
30
|
-
import 'isomorphic-git';
|
|
31
|
-
import '@oclif/core';
|
|
32
24
|
|
|
33
25
|
async function queryBuilds({ projectId, ...pageAndSortParams }) {
|
|
34
26
|
try {
|
|
@@ -137,21 +129,25 @@ const GameProvider = ({ children }) => {
|
|
|
137
129
|
const cleanHyperlinks = (input) => {
|
|
138
130
|
return input.replace(/\x1b]8;;[^\x07]*\x07/g, "").replace(/\x1b]8;;\x07/g, "");
|
|
139
131
|
};
|
|
140
|
-
const
|
|
141
|
-
|
|
132
|
+
const getRenderedMarkdown = ({ filename, templateVars, ...options }) => {
|
|
133
|
+
setOptions({
|
|
134
|
+
renderer: new TerminalRenderer({
|
|
135
|
+
...options
|
|
136
|
+
})
|
|
137
|
+
});
|
|
138
|
+
const entrypointPath = fs__default.realpathSync(process.argv[1]);
|
|
139
|
+
const root = path.dirname(entrypointPath);
|
|
140
|
+
const mdPath = path.join(root, "..", "assets", "markdown", filename);
|
|
141
|
+
const mdTemplate = fs__default.readFileSync(mdPath, "utf8").trim();
|
|
142
|
+
const markdown = !templateVars ? mdTemplate : mdTemplate.replace(/\${(.*?)}/g, (_, key) => templateVars[key.trim()] || "");
|
|
143
|
+
const rendered = parse(markdown).trim();
|
|
144
|
+
const cleaned = cleanHyperlinks(rendered);
|
|
145
|
+
return cleaned;
|
|
146
|
+
};
|
|
142
147
|
const Markdown = ({ filename, templateVars, ...options }) => {
|
|
143
148
|
const [text, setText] = useState("");
|
|
144
149
|
useEffect(() => {
|
|
145
|
-
|
|
146
|
-
renderer: new TerminalRenderer({
|
|
147
|
-
...options
|
|
148
|
-
})
|
|
149
|
-
});
|
|
150
|
-
const mdPath = path.join(root, "..", "assets", "markdown", filename);
|
|
151
|
-
const mdTemplate = fs__default.readFileSync(mdPath, "utf8").trim();
|
|
152
|
-
const markdown = !templateVars ? mdTemplate : mdTemplate.replace(/\${(.*?)}/g, (_, key) => templateVars[key.trim()] || "");
|
|
153
|
-
const rendered = parse(markdown).trim();
|
|
154
|
-
const cleaned = cleanHyperlinks(rendered);
|
|
150
|
+
const cleaned = getRenderedMarkdown({ filename, templateVars, ...options });
|
|
155
151
|
setText(cleaned);
|
|
156
152
|
}, [filename, templateVars, options]);
|
|
157
153
|
return /* @__PURE__ */ jsx(Text, { children: text });
|
|
@@ -209,9 +205,4 @@ const Create = ({ onComplete, onError, gameId, ...boxProps }) => {
|
|
|
209
205
|
] }) });
|
|
210
206
|
};
|
|
211
207
|
|
|
212
|
-
|
|
213
|
-
const width = process.stdout.columns || 80;
|
|
214
|
-
return /* @__PURE__ */ jsx(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx(CommandProvider, { command, children: /* @__PURE__ */ jsx(Box, { width, flexDirection: "column", children }) }) });
|
|
215
|
-
};
|
|
216
|
-
|
|
217
|
-
export { Command as C, GameProvider as G, Markdown as M, GameContext as a, CommandContext as b, useBuilds as c, getBuildSummary as d, CreateGooglePlayGame as e, getJobSummary as g, queryBuilds as q, useJob as u };
|
|
208
|
+
export { CommandProvider as C, GameProvider as G, Markdown as M, getJobSummary as a, GameContext as b, CommandContext as c, useBuilds as d, getBuildSummary as e, CreateGooglePlayGame as f, getRenderedMarkdown as g, queryBuilds as q, useJob as u };
|
|
@@ -40,7 +40,7 @@ const {
|
|
|
40
40
|
|
|
41
41
|
const DEFAULT_SHIPPED_FILES_GLOBS = ["**/*"];
|
|
42
42
|
const DEFAULT_IGNORED_FILES_GLOBS = [".git", ".gitignore", "shipthis.json", "shipthis-*.zip"];
|
|
43
|
-
const PRIMARY_DOMAIN = "
|
|
43
|
+
const PRIMARY_DOMAIN = "shipth.is";
|
|
44
44
|
function getUrlsForDomain(domain) {
|
|
45
45
|
const isPublic = domain.includes(PRIMARY_DOMAIN);
|
|
46
46
|
const apiDomain = (isPublic ? `api.` : "") + domain;
|
|
@@ -692,4 +692,4 @@ const DetailsFlags = {
|
|
|
692
692
|
gcpServiceAccountId: Flags.string({ char: "c", description: "Set the GCP service account ID" })
|
|
693
693
|
};
|
|
694
694
|
|
|
695
|
-
export {
|
|
695
|
+
export { acceptTerms as $, ApiKey as A, BaseAuthenticatedCommand as B, CredentialsType as C, DetailsFlags as D, getJob as E, castJobDates as F, GODOT_CAPABILITIES as G, castObjectDates as H, getProject as I, JobStatus as J, getBuild as K, castArrayObjectDates as L, queryClient as M, JobStage as N, LogLevel as O, Platform as P, getAuthToken as Q, WS_URL as R, getGodotAndroidPackageName as S, getGoogleStatus as T, UserRole as U, inviteServiceAccount as V, WEB_URL as W, disconnectGoogle as X, BaseCommand as Y, getSingleUseUrl as Z, setAuthToken as _, ApiKeyType as a, Auth as a0, getShortAuthRequiredUrl as a1, getNewUploadTicket as a2, startJobsFromUpload as a3, getGoogleAuthUrl as a4, getShortTime as a5, getShortDateTime as a6, getShortTimeDelta as a7, updateProject as a8, getShortDate as b, BaseGameCommand as c, getGodotAppleBundleIdentifier as d, BundleId as e, App as f, getProjects as g, CapabilityTypeOption as h, BetaGroup as i, isCWDGodotGame as j, getProjectPlatformProgress as k, Certificate as l, CertificateType as m, Profile as n, ProfileType as o, getAuthedHeaders as p, API_URL as q, getGodotProjectCapabilities as r, CapabilityType as s, GameEngine as t, getGodotVersion as u, createProject as v, DEFAULT_IGNORED_FILES_GLOBS as w, DEFAULT_SHIPPED_FILES_GLOBS as x, getGodotProjectName as y, getProjectJobs as z };
|