shipthis 0.1.32 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AppleBundleIdDetails-6H3cNWxw.js → AppleBundleIdDetails-BhHPCvRm.js} +4 -4
- package/dist/{Command-WPpmLPkL.js → Command-BDIkuv2g.js} +2 -2
- package/dist/{CommandGame-cxzWG4nT.js → CommandGame-CvBIjPZp.js} +2 -2
- package/dist/{Create-3Ob8sjik.js → Create-Lpe0B8nT.js} +3 -3
- package/dist/{GameStatus-BQEtVKvv.js → GameStatus-5XpufIY_.js} +3 -3
- package/dist/{Import-CFuPDI0K.js → Import-DFzrAG04.js} +6 -6
- package/dist/{JobLogTail-0CBLoG8N.js → JobLogTail-BYcJgPcL.js} +5 -5
- package/dist/{JobProgress-lKqVT88m.js → JobProgress-BcrE7CUK.js} +11 -8
- package/dist/{JobStatusTable-C_ZsZJCm.js → JobStatusTable-Bi-y8ZZT.js} +4 -4
- package/dist/{ProgressSpinner-DGcakQSK.js → ProgressSpinner-Um6ARKlk.js} +1 -1
- package/dist/{ProjectCredentialsTable-B5pHOnGu.js → ProjectCredentialsTable-B4vDJl4l.js} +2 -2
- package/dist/{UserCredentialsTable-3W3qesh7.js → UserCredentialsTable-CwkZTFBD.js} +3 -3
- package/dist/{baseAppleCommand-BGV088--.js → baseAppleCommand-BKXweb-U.js} +1 -1
- package/dist/{baseGameAndroidCommand-CsemgVjp.js → baseGameAndroidCommand-CAi-BSsH.js} +2 -2
- package/dist/commands/apple/apiKey/create.js +9 -9
- package/dist/commands/apple/apiKey/export.js +8 -8
- package/dist/commands/apple/apiKey/import.js +8 -8
- package/dist/commands/apple/apiKey/status.js +7 -7
- package/dist/commands/apple/certificate/create.js +9 -9
- package/dist/commands/apple/certificate/export.js +8 -8
- package/dist/commands/apple/certificate/import.js +8 -8
- package/dist/commands/apple/certificate/status.js +8 -8
- package/dist/commands/apple/login.js +3 -2
- package/dist/commands/apple/status.js +5 -5
- package/dist/commands/dashboard.js +2 -1
- package/dist/commands/game/android/apiKey/connect.js +9 -9
- 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 +5 -4
- package/dist/commands/game/android/apiKey/status.js +9 -9
- package/dist/commands/game/android/keyStore/create.js +10 -10
- package/dist/commands/game/android/keyStore/export.js +8 -8
- package/dist/commands/game/android/keyStore/import.js +11 -11
- package/dist/commands/game/android/keyStore/status.js +7 -7
- package/dist/commands/game/android/status.js +2 -1
- package/dist/commands/game/build/download.js +5 -5
- package/dist/commands/game/build/list.js +6 -6
- package/dist/commands/game/create.js +3 -2
- package/dist/commands/game/details.js +5 -5
- package/dist/commands/game/export.js +2 -1
- package/dist/commands/game/ios/app/addTester.js +19 -14
- package/dist/commands/game/ios/app/create.js +5 -5
- package/dist/commands/game/ios/app/status.js +8 -8
- package/dist/commands/game/ios/app/sync.js +6 -6
- 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 +7 -7
- package/dist/commands/game/ios/status.js +10 -10
- package/dist/commands/game/ios/wizard.js +13 -8
- package/dist/commands/game/job/list.js +5 -5
- package/dist/commands/game/job/status.js +9 -9
- package/dist/commands/game/list.js +6 -6
- package/dist/commands/game/ship.js +19 -17
- package/dist/commands/game/status.js +7 -7
- package/dist/commands/game/wizard.js +21 -21
- package/dist/commands/internal/fastlane.js +2 -1
- package/dist/commands/internal/readme.js +2 -1
- package/dist/commands/login.js +3 -2
- package/dist/commands/status.js +5 -5
- package/dist/{export-CXsVPXA1.js → export-DLQrUEBK.js} +1 -1
- package/dist/{import-DGvG5REx.js → import-BoY5e0uJ.js} +1 -1
- package/dist/{index-CGBdOm1q.js → index-B27WJDxn.js} +2 -1
- package/dist/{index-CS9Gwcb0.js → index-CisLwc7e.js} +7 -7
- package/dist/{index-CtTI85m-.js → index-Crv7S0bl.js} +1 -1
- package/dist/{index-C03TV1_J.js → index-DC0GJtAy.js} +17 -9
- package/dist/{index-C66Dd8Xc.js → index-DfUg5j06.js} +23 -12
- package/dist/{index-BhhiXbey.js → index-pj8JVg5X.js} +4 -3
- package/dist/{upload-8y5MQEm9.js → upload-C8S17EU_.js} +1 -1
- package/dist/{useAndroidServiceAccountTestResult-DZk5SMxI.js → useAndroidServiceAccountTestResult-D4e5AKAZ.js} +1 -1
- package/dist/{useAppleApp-DWYGURwU.js → useAppleApp-Dr6URQvC.js} +1 -1
- package/dist/{useAppleBundleId-PsTJ2g1B.js → useAppleBundleId-DELAwSQp.js} +1 -1
- package/dist/{useProjectCredentials-BEphqa18.js → useProjectCredentials-BjvdJdQg.js} +3 -3
- package/dist/{useWebSocket-5PYa2QER.js → useWebSocket-CRV7V69Q.js} +1 -1
- package/package.json +2 -2
|
@@ -11,13 +11,13 @@ import 'readline-sync';
|
|
|
11
11
|
import 'luxon';
|
|
12
12
|
import 'axios';
|
|
13
13
|
import 'isomorphic-git';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-pj8JVg5X.js';
|
|
15
15
|
import '@oclif/core';
|
|
16
16
|
import '@tanstack/react-query';
|
|
17
17
|
import 'react';
|
|
18
18
|
import 'crypto-js';
|
|
19
19
|
import 'uuid';
|
|
20
|
-
import { u as useAppleApp } from './useAppleApp-
|
|
20
|
+
import { u as useAppleApp } from './useAppleApp-Dr6URQvC.js';
|
|
21
21
|
import 'fast-glob';
|
|
22
22
|
import 'yazl';
|
|
23
23
|
import 'socket.io-client';
|
|
@@ -27,11 +27,11 @@ import { T as Title } from './Title-BCQtayg6.js';
|
|
|
27
27
|
import 'string-length';
|
|
28
28
|
import 'strip-ansi';
|
|
29
29
|
import 'open';
|
|
30
|
-
import './index-
|
|
30
|
+
import './index-DfUg5j06.js';
|
|
31
31
|
import 'marked';
|
|
32
32
|
import 'marked-terminal';
|
|
33
33
|
import 'qrcode';
|
|
34
|
-
import { u as useAppleBundleId } from './useAppleBundleId-
|
|
34
|
+
import { u as useAppleBundleId } from './useAppleBundleId-DELAwSQp.js';
|
|
35
35
|
|
|
36
36
|
const AppleAppDetails = (props) => {
|
|
37
37
|
const { data, isLoading } = useAppleApp(props);
|
|
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { QueryClientProvider } from '@tanstack/react-query';
|
|
3
3
|
import { useScreenSize } from 'fullscreen-ink';
|
|
4
4
|
import { Box } from 'ink';
|
|
5
|
-
import { K as queryClient } from './index-
|
|
5
|
+
import { K as queryClient } from './index-pj8JVg5X.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'crypto-js';
|
|
@@ -19,7 +19,7 @@ import 'react';
|
|
|
19
19
|
import 'socket.io-client';
|
|
20
20
|
import 'fast-glob';
|
|
21
21
|
import 'yazl';
|
|
22
|
-
import { b as CommandProvider } from './index-
|
|
22
|
+
import { b as CommandProvider } from './index-DfUg5j06.js';
|
|
23
23
|
|
|
24
24
|
const Command = ({ children, command }) => {
|
|
25
25
|
const { width } = useScreenSize();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { c as GameProvider } from './index-
|
|
3
|
-
import { C as Command } from './Command-
|
|
2
|
+
import { c as GameProvider } from './index-DfUg5j06.js';
|
|
3
|
+
import { C as Command } from './Command-BDIkuv2g.js';
|
|
4
4
|
|
|
5
5
|
const CommandGame = ({ children, command }) => /* @__PURE__ */ jsx(Command, { command, children: /* @__PURE__ */ jsx(GameProvider, { children }) });
|
|
6
6
|
|
|
@@ -3,7 +3,7 @@ import { useQueryClient } from '@tanstack/react-query';
|
|
|
3
3
|
import axios from 'axios';
|
|
4
4
|
import { Box } from 'ink';
|
|
5
5
|
import { useContext } from 'react';
|
|
6
|
-
import { p as getAuthedHeaders, o as API_URL } from './index-
|
|
6
|
+
import { p as getAuthedHeaders, o as API_URL } from './index-pj8JVg5X.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:fs';
|
|
@@ -14,7 +14,7 @@ import 'readline-sync';
|
|
|
14
14
|
import 'luxon';
|
|
15
15
|
import 'isomorphic-git';
|
|
16
16
|
import '@oclif/core';
|
|
17
|
-
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-
|
|
17
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
18
18
|
import 'fast-glob';
|
|
19
19
|
import 'uuid';
|
|
20
20
|
import 'yazl';
|
|
@@ -28,7 +28,7 @@ import 'marked';
|
|
|
28
28
|
import 'marked-terminal';
|
|
29
29
|
import 'qrcode';
|
|
30
30
|
import { R as RunWithSpinner } from './RunWithSpinner-gMVA07bZ.js';
|
|
31
|
-
import { G as GameContext } from './index-
|
|
31
|
+
import { G as GameContext } from './index-DfUg5j06.js';
|
|
32
32
|
|
|
33
33
|
const CreateKeystore = ({ onComplete, onError, ...boxProps }) => {
|
|
34
34
|
const { gameId } = useContext(GameContext);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { Text, Box } from 'ink';
|
|
3
3
|
import { useState, useEffect, useContext } from 'react';
|
|
4
|
-
import { b as getShortDate, P as Platform, E as getProject, F as getProjectPlatformProgress } from './index-
|
|
4
|
+
import { b as getShortDate, P as Platform, E as getProject, F as getProjectPlatformProgress } from './index-pj8JVg5X.js';
|
|
5
5
|
import 'ink-spinner';
|
|
6
|
-
import { g as getShortUUID, m as makeHumanReadable } from './index-
|
|
6
|
+
import { g as getShortUUID, m as makeHumanReadable } from './index-B27WJDxn.js';
|
|
7
7
|
import '@tanstack/react-query';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import 'luxon';
|
|
@@ -23,7 +23,7 @@ import 'marked';
|
|
|
23
23
|
import 'marked-terminal';
|
|
24
24
|
import { N as NextSteps } from './NextSteps-DbJHmscQ.js';
|
|
25
25
|
import 'qrcode';
|
|
26
|
-
import { G as GameContext, C as CommandContext } from './index-
|
|
26
|
+
import { G as GameContext, C as CommandContext } from './index-DfUg5j06.js';
|
|
27
27
|
|
|
28
28
|
function isPlatformConfigured(platform, progress) {
|
|
29
29
|
if (!progress) return false;
|
|
@@ -11,13 +11,13 @@ import 'readline-sync';
|
|
|
11
11
|
import 'luxon';
|
|
12
12
|
import 'axios';
|
|
13
13
|
import 'isomorphic-git';
|
|
14
|
-
import { K as queryClient, P as Platform, C as CredentialsType } from './index-
|
|
14
|
+
import { K as queryClient, P as Platform, C as CredentialsType } from './index-pj8JVg5X.js';
|
|
15
15
|
import '@oclif/core';
|
|
16
16
|
import { useMutation } from '@tanstack/react-query';
|
|
17
17
|
import 'crypto-js';
|
|
18
18
|
import { v4 } from 'uuid';
|
|
19
19
|
import 'fast-glob';
|
|
20
|
-
import
|
|
20
|
+
import { ZipFile } from 'yazl';
|
|
21
21
|
import 'socket.io-client';
|
|
22
22
|
import 'fullscreen-ink';
|
|
23
23
|
import 'string-length';
|
|
@@ -27,9 +27,9 @@ import '@inkjs/ui';
|
|
|
27
27
|
import 'marked';
|
|
28
28
|
import 'marked-terminal';
|
|
29
29
|
import 'qrcode';
|
|
30
|
-
import { G as GameContext } from './index-
|
|
31
|
-
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-
|
|
32
|
-
import { i as importCredential } from './import-
|
|
30
|
+
import { G as GameContext } from './index-DfUg5j06.js';
|
|
31
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
32
|
+
import { i as importCredential } from './import-BoY5e0uJ.js';
|
|
33
33
|
|
|
34
34
|
async function importKeystore({ log = () => {
|
|
35
35
|
}, ...opt }) {
|
|
@@ -50,7 +50,7 @@ async function importKeystore({ log = () => {
|
|
|
50
50
|
zip.outputStream.pipe(outputStream).on("close", () => resolve());
|
|
51
51
|
zip.end();
|
|
52
52
|
});
|
|
53
|
-
const zipFile = new
|
|
53
|
+
const zipFile = new ZipFile();
|
|
54
54
|
log("Adding keyStore.jks to zip file...");
|
|
55
55
|
zipFile.addFile(opt.jksFilePath, "keyStore.jks");
|
|
56
56
|
log("Adding password.txt and keyPassword.txt to zip file...");
|
|
@@ -7,13 +7,13 @@ import { useState, useRef, useEffect } from 'react';
|
|
|
7
7
|
import 'node:fs';
|
|
8
8
|
import 'crypto-js';
|
|
9
9
|
import 'uuid';
|
|
10
|
-
import { p as getAuthedHeaders, o as API_URL, I as castArrayObjectDates, J as JobStatus, a4 as castJobDates, a1 as castObjectDates, a5 as getShortTime } from './index-
|
|
11
|
-
import { d as getStageColor, j as getMessageColor } from './index-
|
|
10
|
+
import { p as getAuthedHeaders, o as API_URL, I as castArrayObjectDates, J as JobStatus, a4 as castJobDates, a1 as castObjectDates, a5 as getShortTime } from './index-pj8JVg5X.js';
|
|
11
|
+
import { d as getStageColor, j as getMessageColor } from './index-B27WJDxn.js';
|
|
12
12
|
import 'luxon';
|
|
13
13
|
import 'fast-glob';
|
|
14
14
|
import 'yazl';
|
|
15
15
|
import 'socket.io-client';
|
|
16
|
-
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-
|
|
16
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
17
17
|
import 'node:crypto';
|
|
18
18
|
import 'node:path';
|
|
19
19
|
import 'node:readline';
|
|
@@ -22,8 +22,8 @@ import 'readline-sync';
|
|
|
22
22
|
import 'isomorphic-git';
|
|
23
23
|
import '@oclif/core';
|
|
24
24
|
import 'fullscreen-ink';
|
|
25
|
-
import {
|
|
26
|
-
import { u as useWebSocket } from './useWebSocket-
|
|
25
|
+
import { f as useJob } from './index-DfUg5j06.js';
|
|
26
|
+
import { u as useWebSocket } from './useWebSocket-CRV7V69Q.js';
|
|
27
27
|
import { T as Title } from './Title-BCQtayg6.js';
|
|
28
28
|
import stringLength from 'string-length';
|
|
29
29
|
import stripAnsi from 'strip-ansi';
|
|
@@ -3,10 +3,10 @@ import { useMutation } from '@tanstack/react-query';
|
|
|
3
3
|
import axios from 'axios';
|
|
4
4
|
import fg from 'fast-glob';
|
|
5
5
|
import { v4 } from 'uuid';
|
|
6
|
-
import
|
|
7
|
-
import { K as queryClient, v as DEFAULT_SHIPPED_FILES_GLOBS, w as DEFAULT_IGNORED_FILES_GLOBS, $ as getNewUploadTicket, a0 as startJobsFromUpload } from './index-
|
|
8
|
-
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-
|
|
9
|
-
import { f as getFileHash, h as getPlatformName } from './index-
|
|
6
|
+
import { ZipFile } from 'yazl';
|
|
7
|
+
import { K as queryClient, v as DEFAULT_SHIPPED_FILES_GLOBS, w as DEFAULT_IGNORED_FILES_GLOBS, $ as getNewUploadTicket, a0 as startJobsFromUpload } from './index-pj8JVg5X.js';
|
|
8
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
9
|
+
import { f as getFileHash, h as getPlatformName } from './index-B27WJDxn.js';
|
|
10
10
|
import { g as getCWDGitInfo } from './git-BpsfNFZ_.js';
|
|
11
11
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
12
12
|
import 'ink';
|
|
@@ -15,7 +15,7 @@ import 'react';
|
|
|
15
15
|
import 'crypto-js';
|
|
16
16
|
import 'luxon';
|
|
17
17
|
import 'socket.io-client';
|
|
18
|
-
import { u as useJobWatching } from './JobLogTail-
|
|
18
|
+
import { u as useJobWatching } from './JobLogTail-BYcJgPcL.js';
|
|
19
19
|
import 'fullscreen-ink';
|
|
20
20
|
import 'string-length';
|
|
21
21
|
import 'strip-ansi';
|
|
@@ -24,9 +24,9 @@ import '@inkjs/ui';
|
|
|
24
24
|
import 'node:path';
|
|
25
25
|
import 'marked';
|
|
26
26
|
import 'marked-terminal';
|
|
27
|
-
import { P as ProgressSpinner } from './ProgressSpinner-
|
|
27
|
+
import { P as ProgressSpinner } from './ProgressSpinner-Um6ARKlk.js';
|
|
28
28
|
import 'qrcode';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-DfUg5j06.js';
|
|
30
30
|
|
|
31
31
|
async function ship({ command, log = () => {
|
|
32
32
|
}, shipFlags }) {
|
|
@@ -46,7 +46,7 @@ async function ship({ command, log = () => {
|
|
|
46
46
|
log("Finding files to include in zip...");
|
|
47
47
|
const files = await fg(shippedFilesGlobs, { dot: true, ignore: ignoredFilesGlobs });
|
|
48
48
|
log(`Found ${files.length} files, adding to zip...`);
|
|
49
|
-
const zipFile = new
|
|
49
|
+
const zipFile = new ZipFile();
|
|
50
50
|
for (const file of files) {
|
|
51
51
|
zipFile.addFile(file, file);
|
|
52
52
|
}
|
|
@@ -92,6 +92,9 @@ async function ship({ command, log = () => {
|
|
|
92
92
|
if (jobs.length === 0) {
|
|
93
93
|
throw new Error("No jobs were created. Please check your game configuration and try again.");
|
|
94
94
|
}
|
|
95
|
+
if (finalFlags?.follow) {
|
|
96
|
+
log("Waiting for job to start...");
|
|
97
|
+
}
|
|
95
98
|
return jobs;
|
|
96
99
|
}
|
|
97
100
|
const useShip = () => useMutation({
|
|
@@ -3,18 +3,18 @@ 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 { J as JobStatus } from './index-
|
|
6
|
+
import { J as JobStatus } from './index-pj8JVg5X.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-
|
|
13
|
-
import { a as getJobSummary } from './index-
|
|
12
|
+
import { d as getStageColor, c as getJobStatusColor } from './index-B27WJDxn.js';
|
|
13
|
+
import { a as getJobSummary } from './index-DfUg5j06.js';
|
|
14
14
|
import 'fast-glob';
|
|
15
15
|
import 'yazl';
|
|
16
16
|
import 'socket.io-client';
|
|
17
|
-
import { u as useJobWatching } from './JobLogTail-
|
|
17
|
+
import { u as useJobWatching } from './JobLogTail-BYcJgPcL.js';
|
|
18
18
|
import 'fullscreen-ink';
|
|
19
19
|
import { a as StatusRow, b as StatusRowLabel } from './StatusTable-DzRWcMr4.js';
|
|
20
20
|
import { T as Title } from './Title-BCQtayg6.js';
|
|
@@ -4,7 +4,7 @@ import { Box, Text } from 'ink';
|
|
|
4
4
|
import Spinner from 'ink-spinner';
|
|
5
5
|
|
|
6
6
|
const ProgressSpinner = ({ boxProps, label, labelProps, progress, spinnerType }) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Box, { flexDirection: "column", gap: 1, ...boxProps, children: /* @__PURE__ */ jsxs(Box, { flexDirection: "row", gap: 1, children: [
|
|
7
|
-
label && label
|
|
7
|
+
label && label !== "" && /* @__PURE__ */ jsx(Text, { ...labelProps, children: label }),
|
|
8
8
|
/* @__PURE__ */ jsx(ProgressBar, { value: progress || 0 }),
|
|
9
9
|
/* @__PURE__ */ jsx(Box, { width: 4, children: /* @__PURE__ */ jsxs(Text, { children: [
|
|
10
10
|
Math.floor(progress || 0),
|
|
@@ -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-pj8JVg5X.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-BjvdJdQg.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, p as getAuthedHeaders, o as API_URL, I as castArrayObjectDates } from './index-
|
|
13
|
+
import { b as getShortDate, p as getAuthedHeaders, o as API_URL, I as castArrayObjectDates } from './index-pj8JVg5X.js';
|
|
14
14
|
import '@oclif/core';
|
|
15
15
|
import { useQuery } from '@tanstack/react-query';
|
|
16
16
|
import 'react';
|
|
@@ -18,8 +18,8 @@ import 'crypto-js';
|
|
|
18
18
|
import 'uuid';
|
|
19
19
|
import 'fast-glob';
|
|
20
20
|
import 'yazl';
|
|
21
|
-
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-
|
|
22
|
-
import { g as getShortUUID } from './index-
|
|
21
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
22
|
+
import { g as getShortUUID } from './index-B27WJDxn.js';
|
|
23
23
|
import 'socket.io-client';
|
|
24
24
|
import 'fullscreen-ink';
|
|
25
25
|
import { T as Table } from './Table-FaNgpyeq.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as BaseGameCommand, Q as getGoogleStatus, R as getGodotAndroidPackageName } from './index-
|
|
2
|
-
import { b as generatePackageName, a as getInput } from './index-
|
|
1
|
+
import { c as BaseGameCommand, Q as getGoogleStatus, R as getGodotAndroidPackageName } from './index-pj8JVg5X.js';
|
|
2
|
+
import { b as generatePackageName, a as getInput } from './index-B27WJDxn.js';
|
|
3
3
|
|
|
4
4
|
class BaseGameAndroidCommand extends BaseGameCommand {
|
|
5
5
|
async checkGoogleAuth(waitForAuth = false) {
|
|
@@ -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-Crv7S0bl.js';
|
|
5
|
+
import { P as Platform, C as CredentialsType, A as ApiKey, U as UserRole, a as ApiKeyType } from '../../../index-pj8JVg5X.js';
|
|
6
6
|
import 'ink-spinner';
|
|
7
7
|
import 'node:crypto';
|
|
8
8
|
import 'node:fs';
|
|
@@ -29,15 +29,15 @@ import 'marked';
|
|
|
29
29
|
import 'marked-terminal';
|
|
30
30
|
import 'qrcode';
|
|
31
31
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-gMVA07bZ.js';
|
|
32
|
-
import '../../../index-
|
|
33
|
-
import { C as Command } from '../../../Command-
|
|
34
|
-
import { B as BaseAppleCommand } from '../../../baseAppleCommand-
|
|
35
|
-
import { u as uploadUserCredentials } from '../../../upload-
|
|
32
|
+
import '../../../index-DfUg5j06.js';
|
|
33
|
+
import { C as Command } from '../../../Command-BDIkuv2g.js';
|
|
34
|
+
import { B as BaseAppleCommand } from '../../../baseAppleCommand-BKXweb-U.js';
|
|
35
|
+
import { u as uploadUserCredentials } from '../../../upload-C8S17EU_.js';
|
|
36
36
|
import '@expo/apple-utils/build/index.js';
|
|
37
37
|
import 'deepmerge';
|
|
38
38
|
import 'ini';
|
|
39
|
-
import '../../../index-
|
|
40
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
39
|
+
import '../../../index-B27WJDxn.js';
|
|
40
|
+
import '../../../useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
41
41
|
|
|
42
42
|
class AppleApiKeyCreate extends BaseAppleCommand {
|
|
43
43
|
static args = {};
|
|
@@ -52,7 +52,7 @@ class AppleApiKeyCreate extends BaseAppleCommand {
|
|
|
52
52
|
const { force } = flags;
|
|
53
53
|
const userCredentials = await getUserCredentials();
|
|
54
54
|
const userAppleApiKeyCredentials = userCredentials.filter(
|
|
55
|
-
(cred) => cred.platform
|
|
55
|
+
(cred) => cred.platform === Platform.IOS && cred.type === CredentialsType.KEY
|
|
56
56
|
);
|
|
57
57
|
if (userAppleApiKeyCredentials.length > 0 && !force) {
|
|
58
58
|
this.error("An App Store Connect API already exists. Use --force to overwrite it.");
|
|
@@ -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-Crv7S0bl.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-pj8JVg5X.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -29,14 +29,14 @@ import 'marked';
|
|
|
29
29
|
import 'marked-terminal';
|
|
30
30
|
import 'qrcode';
|
|
31
31
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-gMVA07bZ.js';
|
|
32
|
-
import '../../../index-
|
|
33
|
-
import { C as Command } from '../../../Command-
|
|
34
|
-
import { e as exportCredential } from '../../../export-
|
|
32
|
+
import '../../../index-DfUg5j06.js';
|
|
33
|
+
import { C as Command } from '../../../Command-BDIkuv2g.js';
|
|
34
|
+
import { e as exportCredential } from '../../../export-DLQrUEBK.js';
|
|
35
35
|
import '@expo/apple-utils/build/index.js';
|
|
36
36
|
import 'deepmerge';
|
|
37
37
|
import 'ini';
|
|
38
|
-
import '../../../index-
|
|
39
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
38
|
+
import '../../../index-B27WJDxn.js';
|
|
39
|
+
import '../../../useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
40
40
|
|
|
41
41
|
class AppleApiKeyExport extends BaseAuthenticatedCommand {
|
|
42
42
|
static args = {
|
|
@@ -57,7 +57,7 @@ class AppleApiKeyExport extends BaseAuthenticatedCommand {
|
|
|
57
57
|
}
|
|
58
58
|
const userCredentials = await getUserCredentials();
|
|
59
59
|
const userAppleApiKeyCredentials = userCredentials.filter(
|
|
60
|
-
(cred) => cred.platform
|
|
60
|
+
(cred) => cred.platform === Platform.IOS && cred.type === CredentialsType.KEY
|
|
61
61
|
);
|
|
62
62
|
if (userAppleApiKeyCredentials.length === 0) {
|
|
63
63
|
this.error("No App Store Connect API Key found which can be exported.");
|
|
@@ -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-Crv7S0bl.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-pj8JVg5X.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -29,14 +29,14 @@ import 'marked';
|
|
|
29
29
|
import 'marked-terminal';
|
|
30
30
|
import 'qrcode';
|
|
31
31
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-gMVA07bZ.js';
|
|
32
|
-
import '../../../index-
|
|
33
|
-
import { C as Command } from '../../../Command-
|
|
34
|
-
import { i as importCredential } from '../../../import-
|
|
32
|
+
import '../../../index-DfUg5j06.js';
|
|
33
|
+
import { C as Command } from '../../../Command-BDIkuv2g.js';
|
|
34
|
+
import { i as importCredential } from '../../../import-BoY5e0uJ.js';
|
|
35
35
|
import '@expo/apple-utils/build/index.js';
|
|
36
36
|
import 'deepmerge';
|
|
37
37
|
import 'ini';
|
|
38
|
-
import '../../../index-
|
|
39
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
38
|
+
import '../../../index-B27WJDxn.js';
|
|
39
|
+
import '../../../useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
40
40
|
|
|
41
41
|
class AppleApiKeyImport extends BaseAuthenticatedCommand {
|
|
42
42
|
static args = {
|
|
@@ -60,7 +60,7 @@ class AppleApiKeyImport extends BaseAuthenticatedCommand {
|
|
|
60
60
|
}
|
|
61
61
|
const userCredentials = await getUserCredentials();
|
|
62
62
|
const userAppleApiKeyCredentials = userCredentials.filter(
|
|
63
|
-
(cred) => cred.platform
|
|
63
|
+
(cred) => cred.platform === Platform.IOS && cred.type === CredentialsType.KEY
|
|
64
64
|
);
|
|
65
65
|
if (userAppleApiKeyCredentials.length > 0 && !force) {
|
|
66
66
|
this.error("An App Store Connect API Key already exists. Use --force to overwrite it.");
|
|
@@ -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, A as ApiKey, C as CredentialsType, P as Platform, B as BaseAuthenticatedCommand } from '../../../index-
|
|
4
|
+
import { b as getShortDate, A as ApiKey, C as CredentialsType, P as Platform, B as BaseAuthenticatedCommand } from '../../../index-pj8JVg5X.js';
|
|
5
5
|
import Spinner from 'ink-spinner';
|
|
6
6
|
import 'node:crypto';
|
|
7
7
|
import 'node:fs';
|
|
@@ -23,21 +23,21 @@ 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-CwkZTFBD.js';
|
|
27
27
|
import '@inkjs/ui';
|
|
28
28
|
import 'marked';
|
|
29
29
|
import 'marked-terminal';
|
|
30
30
|
import 'qrcode';
|
|
31
|
-
import '../../../index-
|
|
31
|
+
import '../../../index-DfUg5j06.js';
|
|
32
32
|
import { T as Table } from '../../../Table-FaNgpyeq.js';
|
|
33
33
|
import { T as Title } from '../../../Title-BCQtayg6.js';
|
|
34
34
|
import { N as NextSteps } from '../../../NextSteps-DbJHmscQ.js';
|
|
35
|
-
import { C as Command } from '../../../Command-
|
|
35
|
+
import { C as Command } from '../../../Command-BDIkuv2g.js';
|
|
36
36
|
import '@expo/apple-utils/build/index.js';
|
|
37
37
|
import 'deepmerge';
|
|
38
38
|
import 'ini';
|
|
39
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
40
|
-
import '../../../index-
|
|
39
|
+
import '../../../useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
40
|
+
import '../../../index-B27WJDxn.js';
|
|
41
41
|
|
|
42
42
|
async function queryAppleApiKeys({ ctx }) {
|
|
43
43
|
const keys = await ApiKey.getAsync(ctx);
|
|
@@ -46,7 +46,7 @@ async function queryAppleApiKeys({ ctx }) {
|
|
|
46
46
|
}
|
|
47
47
|
const canAppleApiKeyBeUsed = (key, userCredentials) => {
|
|
48
48
|
if (!key.attributes.isActive) return false;
|
|
49
|
-
return userCredentials.some((cred) => cred.isActive && cred.serialNumber
|
|
49
|
+
return userCredentials.some((cred) => cred.isActive && cred.serialNumber === key.id);
|
|
50
50
|
};
|
|
51
51
|
function getAppleApiKeySummary(key, userCredentials) {
|
|
52
52
|
return {
|
|
@@ -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-Crv7S0bl.js';
|
|
5
5
|
import forge from 'node-forge';
|
|
6
|
-
import { l as CertificateType, k as Certificate, P as Platform, C as CredentialsType } from '../../../index-
|
|
6
|
+
import { l as CertificateType, k as Certificate, P as Platform, C as CredentialsType } from '../../../index-pj8JVg5X.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:fs';
|
|
@@ -30,15 +30,15 @@ import 'marked';
|
|
|
30
30
|
import 'marked-terminal';
|
|
31
31
|
import 'qrcode';
|
|
32
32
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-gMVA07bZ.js';
|
|
33
|
-
import '../../../index-
|
|
34
|
-
import { C as Command } from '../../../Command-
|
|
35
|
-
import { B as BaseAppleCommand } from '../../../baseAppleCommand-
|
|
36
|
-
import { u as uploadUserCredentials } from '../../../upload-
|
|
33
|
+
import '../../../index-DfUg5j06.js';
|
|
34
|
+
import { C as Command } from '../../../Command-BDIkuv2g.js';
|
|
35
|
+
import { B as BaseAppleCommand } from '../../../baseAppleCommand-BKXweb-U.js';
|
|
36
|
+
import { u as uploadUserCredentials } from '../../../upload-C8S17EU_.js';
|
|
37
37
|
import '@expo/apple-utils/build/index.js';
|
|
38
38
|
import 'deepmerge';
|
|
39
39
|
import 'ini';
|
|
40
|
-
import '../../../index-
|
|
41
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
40
|
+
import '../../../index-B27WJDxn.js';
|
|
41
|
+
import '../../../useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
42
42
|
|
|
43
43
|
function decodeCertificate(certificateContent) {
|
|
44
44
|
const decodedContent = forge.util.decode64(certificateContent);
|
|
@@ -91,7 +91,7 @@ class AppleCertificateCreate extends BaseAppleCommand {
|
|
|
91
91
|
const { force } = flags;
|
|
92
92
|
const userCredentials = await getUserCredentials();
|
|
93
93
|
const userAppleDistCredentials = userCredentials.filter(
|
|
94
|
-
(cred) => cred.platform
|
|
94
|
+
(cred) => cred.platform === Platform.IOS && cred.type === CredentialsType.CERTIFICATE
|
|
95
95
|
);
|
|
96
96
|
if (userAppleDistCredentials.length > 0 && !force) {
|
|
97
97
|
this.error("An Apple Distribution Certificate already exists. Use --force to overwrite it.");
|
|
@@ -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-Crv7S0bl.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-pj8JVg5X.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -29,14 +29,14 @@ import 'marked';
|
|
|
29
29
|
import 'marked-terminal';
|
|
30
30
|
import 'qrcode';
|
|
31
31
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-gMVA07bZ.js';
|
|
32
|
-
import '../../../index-
|
|
33
|
-
import { C as Command } from '../../../Command-
|
|
34
|
-
import { e as exportCredential } from '../../../export-
|
|
32
|
+
import '../../../index-DfUg5j06.js';
|
|
33
|
+
import { C as Command } from '../../../Command-BDIkuv2g.js';
|
|
34
|
+
import { e as exportCredential } from '../../../export-DLQrUEBK.js';
|
|
35
35
|
import '@expo/apple-utils/build/index.js';
|
|
36
36
|
import 'deepmerge';
|
|
37
37
|
import 'ini';
|
|
38
|
-
import '../../../index-
|
|
39
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
38
|
+
import '../../../index-B27WJDxn.js';
|
|
39
|
+
import '../../../useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
40
40
|
|
|
41
41
|
class AppleCertificateExport extends BaseAuthenticatedCommand {
|
|
42
42
|
static args = {
|
|
@@ -57,7 +57,7 @@ class AppleCertificateExport extends BaseAuthenticatedCommand {
|
|
|
57
57
|
}
|
|
58
58
|
const userCredentials = await getUserCredentials();
|
|
59
59
|
const userAppleDistCredentials = userCredentials.filter(
|
|
60
|
-
(cred) => cred.platform
|
|
60
|
+
(cred) => cred.platform === Platform.IOS && cred.type === CredentialsType.CERTIFICATE
|
|
61
61
|
);
|
|
62
62
|
if (userAppleDistCredentials.length === 0) {
|
|
63
63
|
this.error("No Apple Distribution Certificate found which can be exported.");
|
|
@@ -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-Crv7S0bl.js';
|
|
6
|
+
import { B as BaseAuthenticatedCommand, P as Platform, C as CredentialsType } from '../../../index-pj8JVg5X.js';
|
|
7
7
|
import 'ink-spinner';
|
|
8
8
|
import 'node:crypto';
|
|
9
9
|
import 'node:path';
|
|
@@ -29,14 +29,14 @@ import 'marked';
|
|
|
29
29
|
import 'marked-terminal';
|
|
30
30
|
import 'qrcode';
|
|
31
31
|
import { R as RunWithSpinner } from '../../../RunWithSpinner-gMVA07bZ.js';
|
|
32
|
-
import '../../../index-
|
|
33
|
-
import { C as Command } from '../../../Command-
|
|
34
|
-
import { i as importCredential } from '../../../import-
|
|
32
|
+
import '../../../index-DfUg5j06.js';
|
|
33
|
+
import { C as Command } from '../../../Command-BDIkuv2g.js';
|
|
34
|
+
import { i as importCredential } from '../../../import-BoY5e0uJ.js';
|
|
35
35
|
import '@expo/apple-utils/build/index.js';
|
|
36
36
|
import 'deepmerge';
|
|
37
37
|
import 'ini';
|
|
38
|
-
import '../../../index-
|
|
39
|
-
import '../../../useAndroidServiceAccountTestResult-
|
|
38
|
+
import '../../../index-B27WJDxn.js';
|
|
39
|
+
import '../../../useAndroidServiceAccountTestResult-D4e5AKAZ.js';
|
|
40
40
|
|
|
41
41
|
class AppleCertificateImport extends BaseAuthenticatedCommand {
|
|
42
42
|
static args = {
|
|
@@ -60,7 +60,7 @@ class AppleCertificateImport extends BaseAuthenticatedCommand {
|
|
|
60
60
|
}
|
|
61
61
|
const userCredentials = await getUserCredentials();
|
|
62
62
|
const userAppleDistCredentials = userCredentials.filter(
|
|
63
|
-
(cred) => cred.platform
|
|
63
|
+
(cred) => cred.platform === Platform.IOS && cred.type === CredentialsType.CERTIFICATE
|
|
64
64
|
);
|
|
65
65
|
if (userAppleDistCredentials.length > 0 && !force) {
|
|
66
66
|
this.error("An Apple Distribution Certificate already exists. Use --force to overwrite it.");
|