shipthis 0.1.35 → 0.1.36
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 +223 -80
- package/assets/markdown/agreement-update.md.ejs +12 -0
- package/dist/{AppleBundleIdDetails-N_j1wv6f.js → AppleBundleIdDetails-pEVOUXTQ.js} +3 -5
- package/dist/{Command-DN1j3tjt.js → Command-DhAVAdiI.js} +1 -2
- package/dist/{CommandGame-D2NqytWc.js → CommandGame-C-oV-hb4.js} +2 -2
- package/dist/{Create-BRdv5jXQ.js → Create-Dg9ZlwEd.js} +1 -4
- package/dist/{GameStatus-joyHPy0f.js → GameStatus-Dm9TqFfW.js} +1 -4
- package/dist/{Import-BNMHsJoM.js → Import-BFNNkN-I.js} +2 -5
- package/dist/{JobLogTail-D35FO5v-.js → JobLogTail-RTNIiAUk.js} +2 -5
- package/dist/{JobProgress-D-9KESaA.js → JobProgress-dFWcT0CQ.js} +16 -18
- package/dist/{JobStatusTable-DIJ_h-gi.js → JobStatusTable-BlvMuWF7.js} +2 -4
- package/dist/{ProjectCredentialsTable-BMKgv99h.js → ProjectCredentialsTable-CMBnYLou.js} +2 -2
- package/dist/{UserCredentialsTable-CUrTDzTK.js → UserCredentialsTable-oxE3mDmE.js} +1 -3
- package/dist/{baseAppleCommand-Cs9a52e5.js → baseAppleCommand-cnLvBz95.js} +1 -1
- package/dist/{baseGameAndroidCommand-BCB1SMCf.js → baseGameAndroidCommand-DUDYisYm.js} +1 -2
- package/dist/commands/apiKey/create.js +2 -6
- package/dist/commands/apiKey/list.js +2 -6
- package/dist/commands/apiKey/revoke.js +2 -6
- package/dist/commands/apple/apiKey/create.js +5 -9
- package/dist/commands/apple/apiKey/export.js +4 -8
- package/dist/commands/apple/apiKey/import.js +4 -8
- package/dist/commands/apple/apiKey/status.js +3 -7
- package/dist/commands/apple/certificate/create.js +5 -9
- package/dist/commands/apple/certificate/export.js +4 -8
- package/dist/commands/apple/certificate/import.js +4 -8
- package/dist/commands/apple/certificate/status.js +3 -7
- package/dist/commands/apple/login.js +12 -2
- package/dist/commands/apple/status.js +3 -7
- package/dist/commands/dashboard.js +11 -1
- package/dist/commands/game/android/apiKey/connect.js +7 -11
- package/dist/commands/game/android/apiKey/create.js +9 -13
- package/dist/commands/game/android/apiKey/export.js +5 -9
- package/dist/commands/game/android/apiKey/import.js +5 -9
- package/dist/commands/game/android/apiKey/invite.js +13 -4
- package/dist/commands/game/android/apiKey/policy.js +2 -6
- package/dist/commands/game/android/apiKey/status.js +5 -9
- package/dist/commands/game/android/keyStore/create.js +6 -10
- package/dist/commands/game/android/keyStore/export.js +4 -8
- package/dist/commands/game/android/keyStore/import.js +7 -11
- package/dist/commands/game/android/keyStore/status.js +6 -10
- package/dist/commands/game/android/status.js +12 -1
- package/dist/commands/game/build/download.js +2 -6
- package/dist/commands/game/build/list.js +3 -7
- package/dist/commands/game/create.js +12 -2
- package/dist/commands/game/details.js +3 -7
- package/dist/commands/game/export.js +12 -1
- package/dist/commands/game/ios/app/addTester.js +3 -7
- package/dist/commands/game/ios/app/create.js +2 -6
- package/dist/commands/game/ios/app/status.js +5 -9
- package/dist/commands/game/ios/app/sync.js +3 -7
- package/dist/commands/game/ios/profile/create.js +5 -9
- package/dist/commands/game/ios/profile/export.js +4 -8
- package/dist/commands/game/ios/profile/import.js +4 -8
- package/dist/commands/game/ios/profile/status.js +4 -8
- package/dist/commands/game/ios/status.js +9 -13
- package/dist/commands/game/ios/wizard.js +2 -6
- package/dist/commands/game/job/list.js +2 -6
- package/dist/commands/game/job/status.js +7 -11
- package/dist/commands/game/list.js +2 -6
- package/dist/commands/game/ship.js +16 -14
- package/dist/commands/game/status.js +6 -10
- package/dist/commands/game/wizard.js +13 -17
- package/dist/commands/internal/fastlane.js +12 -1
- package/dist/commands/internal/readme.js +12 -4
- package/dist/commands/login.js +26 -4
- package/dist/commands/status.js +6 -8
- package/dist/{export-DFCZKNQk.js → export-Bd552LBe.js} +1 -1
- package/dist/{import-BpGyif-m.js → import-D-EL9sQJ.js} +1 -1
- package/dist/{index-izrACZbC.js → index-1H48f5j2.js} +1 -1
- package/dist/index-BtPf4vzY.js +1903 -0
- package/dist/{index-DlE_SPt3.js → index-DCN43FhY.js} +3 -5
- package/dist/{index-BTXEUd8W.js → index-DwATmUTQ.js} +4 -6
- package/dist/{upload-D19OQsbn.js → upload-Dm38PqhN.js} +1 -1
- package/dist/{useAppleApp-BZc_cNa-.js → useAppleApp-BKPntZPm.js} +1 -1
- package/dist/{useAppleBundleId-DvMXAvWD.js → useAppleBundleId-DvQKEEy4.js} +1 -1
- package/dist/{useGoogleStatus-Cx_QIsXa.js → useGoogleStatus-D9jjGa--.js} +1 -2
- package/dist/{useProjectCredentials-DxdwJCfU.js → useProjectCredentials-BjsS28hP.js} +1 -3
- package/dist/{useWebSocket-cM5yOcDv.js → useWebSocket-CIeyHqxG.js} +1 -1
- package/docs/assets/st.png +0 -0
- package/docs/game/ship.md +4 -4
- package/docs/login.md +6 -2
- package/docs/status.md +1 -1
- package/package.json +8 -2
- package/dist/ejs-DirFZbza.js +0 -716
- package/dist/index-BwnzoldS.js +0 -784
- package/dist/index-CJWMt1s-.js +0 -153
- package/dist/index-hoHfGrjg.js +0 -221
- package/dist/useAndroidServiceAccountTestResult-CwKeW0ED.js +0 -50
|
@@ -4,9 +4,7 @@ import axios from 'axios';
|
|
|
4
4
|
import fg from 'fast-glob';
|
|
5
5
|
import { v4 } from 'uuid';
|
|
6
6
|
import { ZipFile } from 'yazl';
|
|
7
|
-
import {
|
|
8
|
-
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
9
|
-
import { f as getFileHash, h as getPlatformName } from './index-CJWMt1s-.js';
|
|
7
|
+
import { Y as queryClient, a1 as cacheKeys, z as DEFAULT_SHIPPED_FILES_GLOBS, E as DEFAULT_IGNORED_FILES_GLOBS, ao as getNewUploadTicket, ap as getFileHash, aq as startJobsFromUpload, ar as getPlatformName } from './index-BtPf4vzY.js';
|
|
10
8
|
import { g as getCWDGitInfo } from './git-BpsfNFZ_.js';
|
|
11
9
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
12
10
|
import 'ink';
|
|
@@ -15,23 +13,22 @@ import 'react';
|
|
|
15
13
|
import 'crypto-js';
|
|
16
14
|
import 'luxon';
|
|
17
15
|
import 'socket.io-client';
|
|
18
|
-
import { u as useJobWatching } from './JobLogTail-
|
|
16
|
+
import { u as useJobWatching } from './JobLogTail-RTNIiAUk.js';
|
|
19
17
|
import 'fullscreen-ink';
|
|
20
18
|
import 'string-length';
|
|
21
19
|
import 'strip-ansi';
|
|
22
20
|
import 'open';
|
|
23
21
|
import '@inkjs/ui';
|
|
24
22
|
import 'node:path';
|
|
25
|
-
import './ejs-DirFZbza.js';
|
|
26
23
|
import 'marked';
|
|
27
24
|
import 'marked-terminal';
|
|
28
25
|
import { P as ProgressSpinner } from './ProgressSpinner-Um6ARKlk.js';
|
|
29
26
|
import 'qrcode';
|
|
30
|
-
import './index-hoHfGrjg.js';
|
|
31
27
|
|
|
32
28
|
async function ship({ command, log = () => {
|
|
33
29
|
}, shipFlags }) {
|
|
34
|
-
|
|
30
|
+
const verbose = Boolean(shipFlags?.verbose || command.getFlags().verbose);
|
|
31
|
+
verbose && log("Fetching game config...");
|
|
35
32
|
const projectConfig = await command.getProjectConfig();
|
|
36
33
|
if (!projectConfig.project) throw new Error("No project found in project config");
|
|
37
34
|
const hasConfiguredIos = Boolean(projectConfig.project.details?.iosBundleId);
|
|
@@ -41,12 +38,12 @@ async function ship({ command, log = () => {
|
|
|
41
38
|
"No Android or iOS configuration found. Please run `shipthis game wizard android` or `shipthis game wizard ios` to configure your game."
|
|
42
39
|
);
|
|
43
40
|
}
|
|
44
|
-
log("Retrieving file globs...");
|
|
41
|
+
verbose && log("Retrieving file globs...");
|
|
45
42
|
const shippedFilesGlobs = projectConfig.shippedFilesGlobs || DEFAULT_SHIPPED_FILES_GLOBS;
|
|
46
43
|
const ignoredFilesGlobs = projectConfig.ignoredFilesGlobs || DEFAULT_IGNORED_FILES_GLOBS;
|
|
47
|
-
log("Finding files to include in zip...");
|
|
44
|
+
verbose && log("Finding files to include in zip...");
|
|
48
45
|
const files = await fg(shippedFilesGlobs, { dot: true, ignore: ignoredFilesGlobs });
|
|
49
|
-
log(`Found ${files.length} files, adding to zip...`);
|
|
46
|
+
verbose && log(`Found ${files.length} files, adding to zip...`);
|
|
50
47
|
const zipFile = new ZipFile();
|
|
51
48
|
for (const file of files) {
|
|
52
49
|
zipFile.addFile(file, file);
|
|
@@ -59,10 +56,10 @@ async function ship({ command, log = () => {
|
|
|
59
56
|
const tmpZipFile = `${process.cwd()}/shipthis-${v4()}.zip`;
|
|
60
57
|
log(`Creating zip file: ${tmpZipFile}`);
|
|
61
58
|
await outputZipToFile(zipFile, tmpZipFile);
|
|
62
|
-
log("Reading zip file buffer...");
|
|
59
|
+
verbose && log("Reading zip file buffer...");
|
|
63
60
|
const zipBuffer = fs__default.readFileSync(tmpZipFile);
|
|
64
61
|
const { size } = fs__default.statSync(tmpZipFile);
|
|
65
|
-
log("Requesting upload ticket...");
|
|
62
|
+
verbose && log("Requesting upload ticket...");
|
|
66
63
|
const uploadTicket = await getNewUploadTicket(projectConfig.project.id);
|
|
67
64
|
log("Uploading zip file...");
|
|
68
65
|
await axios.put(uploadTicket.url, zipBuffer, {
|
|
@@ -71,25 +68,26 @@ async function ship({ command, log = () => {
|
|
|
71
68
|
"Content-length": size
|
|
72
69
|
}
|
|
73
70
|
});
|
|
74
|
-
log("Fetching Git info...");
|
|
71
|
+
verbose && log("Fetching Git info...");
|
|
75
72
|
const gitInfo = await getCWDGitInfo();
|
|
76
|
-
log("Computing file hash...");
|
|
73
|
+
verbose && log("Computing file hash...");
|
|
77
74
|
const zipFileMd5 = await getFileHash(tmpZipFile);
|
|
78
75
|
const uploadDetails = {
|
|
79
76
|
...gitInfo,
|
|
80
77
|
zipFileMd5
|
|
81
78
|
};
|
|
82
|
-
log("Starting jobs from upload...");
|
|
79
|
+
verbose && log("Starting jobs from upload...");
|
|
83
80
|
const finalFlags = shipFlags || command.getFlags();
|
|
84
81
|
const startJobsOptions = {
|
|
85
82
|
...uploadDetails,
|
|
86
83
|
platform: finalFlags.platform?.toUpperCase(),
|
|
87
|
-
skipPublish: finalFlags.skipPublish
|
|
84
|
+
skipPublish: finalFlags.skipPublish,
|
|
85
|
+
verbose: finalFlags.verbose
|
|
88
86
|
};
|
|
89
87
|
const jobs = await startJobsFromUpload(uploadTicket.id, startJobsOptions);
|
|
90
|
-
log("Cleaning up temporary zip file...");
|
|
88
|
+
verbose && log("Cleaning up temporary zip file...");
|
|
91
89
|
fs__default.unlinkSync(tmpZipFile);
|
|
92
|
-
log("Job submission complete.");
|
|
90
|
+
verbose && log("Job submission complete.");
|
|
93
91
|
if (jobs.length === 0) {
|
|
94
92
|
throw new Error("No jobs were created. Please check your game configuration and try again.");
|
|
95
93
|
}
|
|
@@ -3,18 +3,16 @@ import { Box, Text } from 'ink';
|
|
|
3
3
|
import Spinner from 'ink-spinner';
|
|
4
4
|
import { DateTime } from 'luxon';
|
|
5
5
|
import { useState, useEffect } from 'react';
|
|
6
|
-
import {
|
|
6
|
+
import { L as JobStatus, I as getJobSummary, M as getStageColor, J as getJobStatusColor } from './index-BtPf4vzY.js';
|
|
7
7
|
import '@tanstack/react-query';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import 'node:fs';
|
|
10
10
|
import 'crypto-js';
|
|
11
11
|
import 'uuid';
|
|
12
|
-
import { d as getStageColor, c as getJobStatusColor } from './index-CJWMt1s-.js';
|
|
13
|
-
import { a as getJobSummary } from './index-hoHfGrjg.js';
|
|
14
12
|
import 'fast-glob';
|
|
15
13
|
import 'yazl';
|
|
16
14
|
import 'socket.io-client';
|
|
17
|
-
import { u as useJobWatching } from './JobLogTail-
|
|
15
|
+
import { u as useJobWatching } from './JobLogTail-RTNIiAUk.js';
|
|
18
16
|
import 'fullscreen-ink';
|
|
19
17
|
import { a as StatusRow, b as StatusRowLabel } from './StatusTable-DzRWcMr4.js';
|
|
20
18
|
import { T as Title } from './Title-BCQtayg6.js';
|
|
@@ -10,13 +10,13 @@ import 'readline-sync';
|
|
|
10
10
|
import 'luxon';
|
|
11
11
|
import 'axios';
|
|
12
12
|
import 'isomorphic-git';
|
|
13
|
-
import './index-
|
|
13
|
+
import './index-BtPf4vzY.js';
|
|
14
14
|
import '@oclif/core';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
16
|
import 'react';
|
|
17
17
|
import 'crypto-js';
|
|
18
18
|
import 'uuid';
|
|
19
|
-
import { u as useProjectCredentials, g as getProjectCredentialSummary } from './useProjectCredentials-
|
|
19
|
+
import { u as useProjectCredentials, g as getProjectCredentialSummary } from './useProjectCredentials-BjsS28hP.js';
|
|
20
20
|
import 'fast-glob';
|
|
21
21
|
import 'yazl';
|
|
22
22
|
import 'socket.io-client';
|
|
@@ -10,7 +10,7 @@ import 'readline-sync';
|
|
|
10
10
|
import 'luxon';
|
|
11
11
|
import axios from 'axios';
|
|
12
12
|
import 'isomorphic-git';
|
|
13
|
-
import { b as getShortDate,
|
|
13
|
+
import { a1 as cacheKeys, b as getShortUUID, c as getShortDate, t as getAuthedHeaders, s as API_URL, X as castArrayObjectDates } from './index-BtPf4vzY.js';
|
|
14
14
|
import '@oclif/core';
|
|
15
15
|
import { useQuery } from '@tanstack/react-query';
|
|
16
16
|
import 'react';
|
|
@@ -18,8 +18,6 @@ import 'crypto-js';
|
|
|
18
18
|
import 'uuid';
|
|
19
19
|
import 'fast-glob';
|
|
20
20
|
import 'yazl';
|
|
21
|
-
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
22
|
-
import { g as getShortUUID } from './index-CJWMt1s-.js';
|
|
23
21
|
import 'socket.io-client';
|
|
24
22
|
import 'fullscreen-ink';
|
|
25
23
|
import { T as Table } from './Table-FaNgpyeq.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as generatePackageName, a as getInput } from './index-CJWMt1s-.js';
|
|
1
|
+
import { d as BaseGameCommand, a2 as getGoogleStatus, f as generatePackageName, a3 as getGodotAndroidPackageName, e as getInput } from './index-BtPf4vzY.js';
|
|
3
2
|
|
|
4
3
|
class BaseGameAndroidCommand extends BaseGameCommand {
|
|
5
4
|
async checkGoogleAuth(waitForAuth = false) {
|
|
@@ -2,9 +2,8 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
4
|
import { v4 } from 'uuid';
|
|
5
|
-
import { B as BaseAuthenticatedCommand,
|
|
5
|
+
import { B as BaseAuthenticatedCommand, b as getShortUUID, af as createAPIKey, n as getRenderedMarkdown, c as getShortDate } from '../../index-BtPf4vzY.js';
|
|
6
6
|
import 'ink-spinner';
|
|
7
|
-
import { g as getShortUUID } from '../../index-CJWMt1s-.js';
|
|
8
7
|
import 'react';
|
|
9
8
|
import '@tanstack/react-query';
|
|
10
9
|
import 'axios';
|
|
@@ -18,10 +17,9 @@ import 'string-length';
|
|
|
18
17
|
import 'strip-ansi';
|
|
19
18
|
import 'open';
|
|
20
19
|
import '@inkjs/ui';
|
|
21
|
-
import { g as getRenderedMarkdown } from '../../index-hoHfGrjg.js';
|
|
22
20
|
import 'qrcode';
|
|
23
21
|
import { R as RunWithSpinner } from '../../RunWithSpinner-DucRnFp6.js';
|
|
24
|
-
import { C as Command } from '../../Command-
|
|
22
|
+
import { C as Command } from '../../Command-DhAVAdiI.js';
|
|
25
23
|
import 'crypto-js';
|
|
26
24
|
import 'node:path';
|
|
27
25
|
import '@expo/apple-utils/build/index.js';
|
|
@@ -32,8 +30,6 @@ import 'readline-sync';
|
|
|
32
30
|
import 'isomorphic-git';
|
|
33
31
|
import 'deepmerge';
|
|
34
32
|
import 'ini';
|
|
35
|
-
import '../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
36
|
-
import '../../ejs-DirFZbza.js';
|
|
37
33
|
import 'fs';
|
|
38
34
|
import 'path';
|
|
39
35
|
import 'marked';
|
|
@@ -1,9 +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 { B as BaseAuthenticatedCommand,
|
|
4
|
+
import { B as BaseAuthenticatedCommand, ae as getAPIKeys, c as getShortDate, b as getShortUUID } from '../../index-BtPf4vzY.js';
|
|
5
5
|
import 'ink-spinner';
|
|
6
|
-
import { g as getShortUUID } from '../../index-CJWMt1s-.js';
|
|
7
6
|
import { T as Table } from '../../Table-FaNgpyeq.js';
|
|
8
7
|
import 'react';
|
|
9
8
|
import '@tanstack/react-query';
|
|
@@ -20,12 +19,10 @@ import 'strip-ansi';
|
|
|
20
19
|
import 'open';
|
|
21
20
|
import '@inkjs/ui';
|
|
22
21
|
import 'node:path';
|
|
23
|
-
import '../../ejs-DirFZbza.js';
|
|
24
22
|
import 'marked';
|
|
25
23
|
import 'marked-terminal';
|
|
26
24
|
import 'qrcode';
|
|
27
|
-
import '../../
|
|
28
|
-
import { C as Command } from '../../Command-DN1j3tjt.js';
|
|
25
|
+
import { C as Command } from '../../Command-DhAVAdiI.js';
|
|
29
26
|
import 'crypto-js';
|
|
30
27
|
import '@expo/apple-utils/build/index.js';
|
|
31
28
|
import 'node:crypto';
|
|
@@ -37,7 +34,6 @@ import 'deepmerge';
|
|
|
37
34
|
import 'ini';
|
|
38
35
|
import 'fs';
|
|
39
36
|
import 'path';
|
|
40
|
-
import '../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
41
37
|
|
|
42
38
|
class ApiKeyList extends BaseAuthenticatedCommand {
|
|
43
39
|
static args = {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Args, Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
|
-
import { B as BaseAuthenticatedCommand,
|
|
4
|
+
import { B as BaseAuthenticatedCommand, ag as revokeAPIKey, b as getShortUUID } from '../../index-BtPf4vzY.js';
|
|
5
5
|
import 'ink-spinner';
|
|
6
|
-
import { g as getShortUUID } from '../../index-CJWMt1s-.js';
|
|
7
6
|
import 'react';
|
|
8
7
|
import '@tanstack/react-query';
|
|
9
8
|
import 'axios';
|
|
@@ -19,13 +18,11 @@ import 'strip-ansi';
|
|
|
19
18
|
import 'open';
|
|
20
19
|
import '@inkjs/ui';
|
|
21
20
|
import 'node:path';
|
|
22
|
-
import '../../ejs-DirFZbza.js';
|
|
23
21
|
import 'marked';
|
|
24
22
|
import 'marked-terminal';
|
|
25
23
|
import 'qrcode';
|
|
26
24
|
import { R as RunWithSpinner } from '../../RunWithSpinner-DucRnFp6.js';
|
|
27
|
-
import '../../
|
|
28
|
-
import { C as Command } from '../../Command-DN1j3tjt.js';
|
|
25
|
+
import { C as Command } from '../../Command-DhAVAdiI.js';
|
|
29
26
|
import 'crypto-js';
|
|
30
27
|
import '@expo/apple-utils/build/index.js';
|
|
31
28
|
import 'node:crypto';
|
|
@@ -37,7 +34,6 @@ import 'deepmerge';
|
|
|
37
34
|
import 'ini';
|
|
38
35
|
import 'fs';
|
|
39
36
|
import 'path';
|
|
40
|
-
import '../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
41
37
|
|
|
42
38
|
class ApiKeyRevoke extends BaseAuthenticatedCommand {
|
|
43
39
|
static args = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
|
-
import { g as getUserCredentials } from '../../../index-
|
|
5
|
-
import { P as Platform, C as CredentialsType, A as ApiKey, U as UserRole, a as ApiKeyType } from '../../../index-
|
|
4
|
+
import { g as getUserCredentials } from '../../../index-1H48f5j2.js';
|
|
5
|
+
import { P as Platform, C as CredentialsType, A as ApiKey, U as UserRole, a as ApiKeyType } from '../../../index-BtPf4vzY.js';
|
|
6
6
|
import 'ink-spinner';
|
|
7
7
|
import 'node:crypto';
|
|
8
8
|
import 'node:fs';
|
|
@@ -25,22 +25,18 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import '../../../ejs-DirFZbza.js';
|
|
29
28
|
import 'marked';
|
|
30
29
|
import 'marked-terminal';
|
|
31
30
|
import 'qrcode';
|
|
32
31
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
33
|
-
import '../../../
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { u as uploadUserCredentials } from '../../../upload-D19OQsbn.js';
|
|
32
|
+
import { C as Command } from '../../../Command-DhAVAdiI.js';
|
|
33
|
+
import { B as BaseAppleCommand } from '../../../baseAppleCommand-cnLvBz95.js';
|
|
34
|
+
import { u as uploadUserCredentials } from '../../../upload-Dm38PqhN.js';
|
|
37
35
|
import '@expo/apple-utils/build/index.js';
|
|
38
36
|
import 'deepmerge';
|
|
39
37
|
import 'ini';
|
|
40
38
|
import 'fs';
|
|
41
39
|
import 'path';
|
|
42
|
-
import '../../../index-CJWMt1s-.js';
|
|
43
|
-
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
44
40
|
|
|
45
41
|
class AppleApiKeyCreate extends BaseAppleCommand {
|
|
46
42
|
static args = {};
|
|
@@ -2,8 +2,8 @@ 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 { g as getUserCredentials } from '../../../index-
|
|
6
|
-
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-
|
|
5
|
+
import { g as getUserCredentials } from '../../../index-1H48f5j2.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-BtPf4vzY.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -25,21 +25,17 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import '../../../ejs-DirFZbza.js';
|
|
29
28
|
import 'marked';
|
|
30
29
|
import 'marked-terminal';
|
|
31
30
|
import 'qrcode';
|
|
32
31
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
33
|
-
import '../../../
|
|
34
|
-
import {
|
|
35
|
-
import { e as exportCredential } from '../../../export-DFCZKNQk.js';
|
|
32
|
+
import { C as Command } from '../../../Command-DhAVAdiI.js';
|
|
33
|
+
import { e as exportCredential } from '../../../export-Bd552LBe.js';
|
|
36
34
|
import '@expo/apple-utils/build/index.js';
|
|
37
35
|
import 'deepmerge';
|
|
38
36
|
import 'ini';
|
|
39
37
|
import 'fs';
|
|
40
38
|
import 'path';
|
|
41
|
-
import '../../../index-CJWMt1s-.js';
|
|
42
|
-
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
43
39
|
|
|
44
40
|
class AppleApiKeyExport extends BaseAuthenticatedCommand {
|
|
45
41
|
static args = {
|
|
@@ -2,8 +2,8 @@ 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 { g as getUserCredentials } from '../../../index-
|
|
6
|
-
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-
|
|
5
|
+
import { g as getUserCredentials } from '../../../index-1H48f5j2.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-BtPf4vzY.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -25,21 +25,17 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import '../../../ejs-DirFZbza.js';
|
|
29
28
|
import 'marked';
|
|
30
29
|
import 'marked-terminal';
|
|
31
30
|
import 'qrcode';
|
|
32
31
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
33
|
-
import '../../../
|
|
34
|
-
import {
|
|
35
|
-
import { i as importCredential } from '../../../import-BpGyif-m.js';
|
|
32
|
+
import { C as Command } from '../../../Command-DhAVAdiI.js';
|
|
33
|
+
import { i as importCredential } from '../../../import-D-EL9sQJ.js';
|
|
36
34
|
import '@expo/apple-utils/build/index.js';
|
|
37
35
|
import 'deepmerge';
|
|
38
36
|
import 'ini';
|
|
39
37
|
import 'fs';
|
|
40
38
|
import 'path';
|
|
41
|
-
import '../../../index-CJWMt1s-.js';
|
|
42
|
-
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
43
39
|
|
|
44
40
|
class AppleApiKeyImport extends BaseAuthenticatedCommand {
|
|
45
41
|
static args = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { Box, Text, render } from 'ink';
|
|
4
|
-
import {
|
|
4
|
+
import { c as getShortDate, A as ApiKey, C as CredentialsType, P as Platform, B as BaseAuthenticatedCommand } from '../../../index-BtPf4vzY.js';
|
|
5
5
|
import Spinner from 'ink-spinner';
|
|
6
6
|
import 'node:crypto';
|
|
7
7
|
import 'node:fs';
|
|
@@ -23,22 +23,18 @@ import 'fullscreen-ink';
|
|
|
23
23
|
import 'string-length';
|
|
24
24
|
import 'strip-ansi';
|
|
25
25
|
import 'open';
|
|
26
|
-
import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-
|
|
26
|
+
import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-oxE3mDmE.js';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import '../../../ejs-DirFZbza.js';
|
|
29
28
|
import 'marked';
|
|
30
29
|
import 'marked-terminal';
|
|
31
30
|
import 'qrcode';
|
|
32
|
-
import '../../../index-hoHfGrjg.js';
|
|
33
31
|
import { T as Table } from '../../../Table-FaNgpyeq.js';
|
|
34
32
|
import { T as Title } from '../../../Title-BCQtayg6.js';
|
|
35
33
|
import { N as NextSteps } from '../../../NextSteps-DbJHmscQ.js';
|
|
36
|
-
import { C as Command } from '../../../Command-
|
|
34
|
+
import { C as Command } from '../../../Command-DhAVAdiI.js';
|
|
37
35
|
import '@expo/apple-utils/build/index.js';
|
|
38
36
|
import 'deepmerge';
|
|
39
37
|
import 'ini';
|
|
40
|
-
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
41
|
-
import '../../../index-CJWMt1s-.js';
|
|
42
38
|
import 'fs';
|
|
43
39
|
import 'path';
|
|
44
40
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { render } from 'ink';
|
|
4
|
-
import { g as getUserCredentials } from '../../../index-
|
|
4
|
+
import { g as getUserCredentials } from '../../../index-1H48f5j2.js';
|
|
5
5
|
import forge from 'node-forge';
|
|
6
|
-
import {
|
|
6
|
+
import { p as CertificateType, o as Certificate, P as Platform, C as CredentialsType } from '../../../index-BtPf4vzY.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:fs';
|
|
@@ -26,22 +26,18 @@ import 'string-length';
|
|
|
26
26
|
import 'strip-ansi';
|
|
27
27
|
import 'open';
|
|
28
28
|
import '@inkjs/ui';
|
|
29
|
-
import '../../../ejs-DirFZbza.js';
|
|
30
29
|
import 'marked';
|
|
31
30
|
import 'marked-terminal';
|
|
32
31
|
import 'qrcode';
|
|
33
32
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
34
|
-
import '../../../
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import { u as uploadUserCredentials } from '../../../upload-D19OQsbn.js';
|
|
33
|
+
import { C as Command } from '../../../Command-DhAVAdiI.js';
|
|
34
|
+
import { B as BaseAppleCommand } from '../../../baseAppleCommand-cnLvBz95.js';
|
|
35
|
+
import { u as uploadUserCredentials } from '../../../upload-Dm38PqhN.js';
|
|
38
36
|
import '@expo/apple-utils/build/index.js';
|
|
39
37
|
import 'deepmerge';
|
|
40
38
|
import 'ini';
|
|
41
39
|
import 'fs';
|
|
42
40
|
import 'path';
|
|
43
|
-
import '../../../index-CJWMt1s-.js';
|
|
44
|
-
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
45
41
|
|
|
46
42
|
function decodeCertificate(certificateContent) {
|
|
47
43
|
const decodedContent = forge.util.decode64(certificateContent);
|
|
@@ -2,8 +2,8 @@ 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 { g as getUserCredentials } from '../../../index-
|
|
6
|
-
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-
|
|
5
|
+
import { g as getUserCredentials } from '../../../index-1H48f5j2.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-BtPf4vzY.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -25,21 +25,17 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import '../../../ejs-DirFZbza.js';
|
|
29
28
|
import 'marked';
|
|
30
29
|
import 'marked-terminal';
|
|
31
30
|
import 'qrcode';
|
|
32
31
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
33
|
-
import '../../../
|
|
34
|
-
import {
|
|
35
|
-
import { e as exportCredential } from '../../../export-DFCZKNQk.js';
|
|
32
|
+
import { C as Command } from '../../../Command-DhAVAdiI.js';
|
|
33
|
+
import { e as exportCredential } from '../../../export-Bd552LBe.js';
|
|
36
34
|
import '@expo/apple-utils/build/index.js';
|
|
37
35
|
import 'deepmerge';
|
|
38
36
|
import 'ini';
|
|
39
37
|
import 'fs';
|
|
40
38
|
import 'path';
|
|
41
|
-
import '../../../index-CJWMt1s-.js';
|
|
42
|
-
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
43
39
|
|
|
44
40
|
class AppleCertificateExport extends BaseAuthenticatedCommand {
|
|
45
41
|
static args = {
|
|
@@ -2,8 +2,8 @@ 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 { g as getUserCredentials } from '../../../index-
|
|
6
|
-
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-
|
|
5
|
+
import { g as getUserCredentials } from '../../../index-1H48f5j2.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-BtPf4vzY.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -25,21 +25,17 @@ import 'string-length';
|
|
|
25
25
|
import 'strip-ansi';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import '../../../ejs-DirFZbza.js';
|
|
29
28
|
import 'marked';
|
|
30
29
|
import 'marked-terminal';
|
|
31
30
|
import 'qrcode';
|
|
32
31
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-DucRnFp6.js';
|
|
33
|
-
import '../../../
|
|
34
|
-
import {
|
|
35
|
-
import { i as importCredential } from '../../../import-BpGyif-m.js';
|
|
32
|
+
import { C as Command } from '../../../Command-DhAVAdiI.js';
|
|
33
|
+
import { i as importCredential } from '../../../import-D-EL9sQJ.js';
|
|
36
34
|
import '@expo/apple-utils/build/index.js';
|
|
37
35
|
import 'deepmerge';
|
|
38
36
|
import 'ini';
|
|
39
37
|
import 'fs';
|
|
40
38
|
import 'path';
|
|
41
|
-
import '../../../index-CJWMt1s-.js';
|
|
42
|
-
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
43
39
|
|
|
44
40
|
class AppleCertificateImport extends BaseAuthenticatedCommand {
|
|
45
41
|
static args = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { Flags } from '@oclif/core';
|
|
3
3
|
import { Box, Text, render } from 'ink';
|
|
4
|
-
import { b as getShortDate,
|
|
4
|
+
import { b as getShortUUID, c as getShortDate, o as Certificate, p as CertificateType, P as Platform, C as CredentialsType, B as BaseAuthenticatedCommand } from '../../../index-BtPf4vzY.js';
|
|
5
5
|
import Spinner from 'ink-spinner';
|
|
6
6
|
import 'node:crypto';
|
|
7
7
|
import 'node:fs';
|
|
@@ -23,22 +23,18 @@ import 'fullscreen-ink';
|
|
|
23
23
|
import 'string-length';
|
|
24
24
|
import 'strip-ansi';
|
|
25
25
|
import 'open';
|
|
26
|
-
import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-
|
|
26
|
+
import { u as useUserCredentials, U as UserCredentialsTable } from '../../../UserCredentialsTable-oxE3mDmE.js';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import '../../../ejs-DirFZbza.js';
|
|
29
28
|
import 'marked';
|
|
30
29
|
import 'marked-terminal';
|
|
31
30
|
import 'qrcode';
|
|
32
|
-
import '../../../index-hoHfGrjg.js';
|
|
33
|
-
import { g as getShortUUID } from '../../../index-CJWMt1s-.js';
|
|
34
31
|
import { T as Table } from '../../../Table-FaNgpyeq.js';
|
|
35
32
|
import { T as Title } from '../../../Title-BCQtayg6.js';
|
|
36
33
|
import { N as NextSteps } from '../../../NextSteps-DbJHmscQ.js';
|
|
37
|
-
import { C as Command } from '../../../Command-
|
|
34
|
+
import { C as Command } from '../../../Command-DhAVAdiI.js';
|
|
38
35
|
import '@expo/apple-utils/build/index.js';
|
|
39
36
|
import 'deepmerge';
|
|
40
37
|
import 'ini';
|
|
41
|
-
import '../../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
42
38
|
import 'fs';
|
|
43
39
|
import 'path';
|
|
44
40
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Flags } from '@oclif/core';
|
|
2
|
-
import {
|
|
3
|
-
import { a as getInput, e as getMaskedInput } from '../../index-CJWMt1s-.js';
|
|
2
|
+
import { ak as Auth, B as BaseAuthenticatedCommand, e as getInput, al as getMaskedInput } from '../../index-BtPf4vzY.js';
|
|
4
3
|
import 'node:fs';
|
|
5
4
|
import 'axios';
|
|
6
5
|
import 'crypto-js';
|
|
@@ -22,6 +21,17 @@ import 'yazl';
|
|
|
22
21
|
import 'socket.io-client';
|
|
23
22
|
import 'fullscreen-ink';
|
|
24
23
|
import 'ink';
|
|
24
|
+
import 'react/jsx-runtime';
|
|
25
|
+
import 'ink-spinner';
|
|
26
|
+
import 'string-length';
|
|
27
|
+
import 'strip-ansi';
|
|
28
|
+
import 'open';
|
|
29
|
+
import '@inkjs/ui';
|
|
30
|
+
import 'fs';
|
|
31
|
+
import 'path';
|
|
32
|
+
import 'marked';
|
|
33
|
+
import 'marked-terminal';
|
|
34
|
+
import 'qrcode';
|
|
25
35
|
|
|
26
36
|
async function getNewAuthState(username, password) {
|
|
27
37
|
const authState = await Auth.loginAsync({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { render } from 'ink';
|
|
3
|
-
import { B as BaseAuthenticatedCommand } from '../../index-
|
|
3
|
+
import { B as BaseAuthenticatedCommand } from '../../index-BtPf4vzY.js';
|
|
4
4
|
import 'ink-spinner';
|
|
5
5
|
import 'node:crypto';
|
|
6
6
|
import 'node:fs';
|
|
@@ -25,21 +25,17 @@ import 'strip-ansi';
|
|
|
25
25
|
import { S as StatusTable } from '../../StatusTable-DzRWcMr4.js';
|
|
26
26
|
import 'open';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
|
-
import '../../ejs-DirFZbza.js';
|
|
29
28
|
import 'marked';
|
|
30
29
|
import 'marked-terminal';
|
|
31
30
|
import { N as NextSteps } from '../../NextSteps-DbJHmscQ.js';
|
|
32
31
|
import 'qrcode';
|
|
33
|
-
import '../../
|
|
34
|
-
import { C as Command } from '../../Command-DN1j3tjt.js';
|
|
32
|
+
import { C as Command } from '../../Command-DhAVAdiI.js';
|
|
35
33
|
import '@expo/apple-utils/build/index.js';
|
|
36
34
|
import 'deepmerge';
|
|
37
35
|
import 'ini';
|
|
38
|
-
import '../../Title-BCQtayg6.js';
|
|
39
36
|
import 'fs';
|
|
40
37
|
import 'path';
|
|
41
|
-
import '../../
|
|
42
|
-
import '../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
38
|
+
import '../../Title-BCQtayg6.js';
|
|
43
39
|
|
|
44
40
|
class AppleStatus extends BaseAuthenticatedCommand {
|
|
45
41
|
static args = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import open from 'open';
|
|
2
|
-
import { B as BaseAuthenticatedCommand,
|
|
2
|
+
import { B as BaseAuthenticatedCommand, ah as getSingleUseUrl } from '../index-BtPf4vzY.js';
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import 'crypto-js';
|
|
@@ -22,6 +22,16 @@ import 'yazl';
|
|
|
22
22
|
import 'socket.io-client';
|
|
23
23
|
import 'fullscreen-ink';
|
|
24
24
|
import 'ink';
|
|
25
|
+
import 'react/jsx-runtime';
|
|
26
|
+
import 'ink-spinner';
|
|
27
|
+
import 'string-length';
|
|
28
|
+
import 'strip-ansi';
|
|
29
|
+
import '@inkjs/ui';
|
|
30
|
+
import 'fs';
|
|
31
|
+
import 'path';
|
|
32
|
+
import 'marked';
|
|
33
|
+
import 'marked-terminal';
|
|
34
|
+
import 'qrcode';
|
|
25
35
|
|
|
26
36
|
class Dashboard extends BaseAuthenticatedCommand {
|
|
27
37
|
static args = {};
|