shipthis 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/markdown/create-or-import-keystore.md +7 -0
- package/dist/AppleBundleIdDetails-CjP5y0cj.js +74 -0
- package/dist/AppleBundleIdDetails-CztWY_mT.js +73 -0
- package/dist/AppleBundleIdDetails-DKeSAte9.js +73 -0
- package/dist/AppleBundleIdDetails-DymjrhOZ.js +73 -0
- package/dist/Command-BiB9MqbJ.js +204 -0
- package/dist/Command-D6rWEZRM.js +204 -0
- package/dist/Command-Dn0P_KOV.js +205 -0
- package/dist/Command-YJJp90ru.js +204 -0
- package/dist/CommandGame-C1oTlfdb.js +8 -0
- package/dist/CommandGame-cPaTk1wh.js +8 -0
- package/dist/CommandGame-k04mHiDl.js +8 -0
- package/dist/CommandGame-pI9VXKxi.js +8 -0
- package/dist/Create-DIaSKUpl.js +56 -0
- package/dist/CreateKeystore-BnNdeDUa.js +57 -0
- package/dist/CreateKeystore-Cf-nsK_M.js +56 -0
- package/dist/CreateKeystore-g1z6DsU5.js +56 -0
- package/dist/Import-BIOsf8AA.js +107 -0
- package/dist/JobProgress-CPkWVSlH.js +108 -0
- package/dist/JobProgress-W0QQR49T.js +108 -0
- package/dist/JobProgress-biiLhigg.js +109 -0
- package/dist/JobProgress-jmGAzvxS.js +108 -0
- package/dist/JobStatusTable-BA_q-kgE.js +75 -0
- package/dist/JobStatusTable-ByW0bN6c.js +75 -0
- package/dist/JobStatusTable-CgaTS7jS.js +75 -0
- package/dist/JobStatusTable-DqoppRro.js +75 -0
- package/dist/ProjectCredentialsTable-8kXt7sTS.js +37 -0
- package/dist/ProjectCredentialsTable-DRMK_SNw.js +37 -0
- package/dist/ProjectCredentialsTable-DfkpvTf8.js +37 -0
- package/dist/UserCredentialsTable-DMh8Wpy7.js +82 -0
- package/dist/UserCredentialsTable-DgHZJSHG.js +82 -0
- package/dist/UserCredentialsTable-TflQvTEP.js +82 -0
- package/dist/baseAppleCommand-1isaFxCQ.js +10 -0
- package/dist/baseAppleCommand-B9wyIqdL.js +10 -0
- package/dist/baseAppleCommand-DpasCbje.js +10 -0
- package/dist/baseGameAndroidCommand-6vsMpE7a.js +43 -0
- package/dist/baseGameAndroidCommand-B3LRG701.js +43 -0
- package/dist/baseGameAndroidCommand-C9BuS2Sr.js +43 -0
- package/dist/commands/apple/apiKey/create.js +10 -10
- package/dist/commands/apple/apiKey/export.js +8 -8
- package/dist/commands/apple/apiKey/import.js +8 -8
- package/dist/commands/apple/apiKey/status.js +7 -7
- package/dist/commands/apple/certificate/create.js +10 -10
- package/dist/commands/apple/certificate/export.js +8 -8
- package/dist/commands/apple/certificate/import.js +8 -8
- package/dist/commands/apple/certificate/status.js +7 -7
- package/dist/commands/apple/login.js +2 -2
- package/dist/commands/apple/status.js +6 -6
- package/dist/commands/dashboard.js +1 -1
- package/dist/commands/game/android/apiKey/connect.js +11 -11
- package/dist/commands/game/android/apiKey/create.js +13 -13
- package/dist/commands/game/android/apiKey/export.js +9 -9
- package/dist/commands/game/android/apiKey/import.js +9 -9
- package/dist/commands/game/android/apiKey/invite.js +4 -4
- package/dist/commands/game/android/apiKey/status.js +9 -9
- package/dist/commands/game/android/keyStore/create.js +12 -12
- package/dist/commands/game/android/keyStore/export.js +8 -8
- package/dist/commands/game/android/keyStore/import.js +49 -29
- package/dist/commands/game/android/keyStore/status.js +8 -8
- package/dist/commands/game/android/status.js +7 -7
- package/dist/commands/game/build/download.js +7 -7
- package/dist/commands/game/build/list.js +7 -7
- package/dist/commands/game/create.js +2 -2
- package/dist/commands/game/details.js +22 -8
- package/dist/commands/game/export.js +1 -1
- package/dist/commands/game/ios/app/addTester.js +6 -6
- package/dist/commands/game/ios/app/create.js +5 -5
- package/dist/commands/game/ios/app/status.js +9 -9
- package/dist/commands/game/ios/app/sync.js +7 -7
- package/dist/commands/game/ios/profile/create.js +10 -10
- package/dist/commands/game/ios/profile/export.js +8 -8
- package/dist/commands/game/ios/profile/import.js +8 -8
- package/dist/commands/game/ios/profile/status.js +8 -8
- package/dist/commands/game/ios/status.js +10 -10
- package/dist/commands/game/ios/wizard.js +2 -2
- package/dist/commands/game/job/list.js +7 -7
- package/dist/commands/game/job/status.js +11 -11
- package/dist/commands/game/list.js +7 -7
- package/dist/commands/game/ship.js +11 -11
- package/dist/commands/game/status.js +7 -7
- package/dist/commands/game/wizard.js +590 -35
- package/dist/commands/internal/fastlane.js +1 -1
- package/dist/commands/internal/readme.js +255 -770
- package/dist/commands/login.js +2 -2
- package/dist/commands/status.js +6 -6
- package/dist/export-B_F6vXIK.js +36 -0
- package/dist/export-C_lu1FD9.js +36 -0
- package/dist/export-rS9o87LD.js +36 -0
- package/dist/import-7T3J63j2.js +38 -0
- package/dist/import-Brg3zYmT.js +38 -0
- package/dist/import-DPbg8WvS.js +38 -0
- package/dist/import-v54PM_Qg.js +47 -0
- package/dist/index-BB7X1Pqp.js +695 -0
- package/dist/index-BQnkBr1Q.js +136 -0
- package/dist/index-BX9h2vPV.js +123 -0
- package/dist/index-BjGSEqP5.js +135 -0
- package/dist/index-Bv3x8c78.js +693 -0
- package/dist/index-ByOvCs4O.js +122 -0
- package/dist/index-BzffuqPa.js +24 -0
- package/dist/index-C9734Cj2.js +693 -0
- package/dist/index-CKYExssR.js +136 -0
- package/dist/index-Cz_KLwWf.js +136 -0
- package/dist/index-D6BH5UAM.js +135 -0
- package/dist/index-DOgF4dFK.js +24 -0
- package/dist/index-DgbQBx6x.js +122 -0
- package/dist/index-DxHPjZav.js +136 -0
- package/dist/index-m4HTrJ5J.js +135 -0
- package/dist/index-o9Y-84Rj.js +122 -0
- package/dist/upload-2naN75Zu.js +60 -0
- package/dist/upload-Cx71802W.js +60 -0
- package/dist/upload-DvAE1vDq.js +60 -0
- package/dist/useAndroidServiceAccountTestResult-BDc7XpKE.js +52 -0
- package/dist/useAndroidServiceAccountTestResult-B_ekRewZ.js +52 -0
- package/dist/useAndroidServiceAccountTestResult-Ce1x0Eh8.js +52 -0
- package/dist/useAppleApp-BEtLQa7n.js +32 -0
- package/dist/useAppleApp-CApC0-4Q.js +32 -0
- package/dist/useAppleApp-CETIcsJS.js +32 -0
- package/dist/useAppleBundleId-DXbMDRLd.js +64 -0
- package/dist/useAppleBundleId-SmzY6rkm.js +64 -0
- package/dist/useAppleBundleId-gPBzJwQg.js +64 -0
- package/dist/useJobWatching-BIG6fnTN.js +45 -0
- package/dist/useJobWatching-Cp-CYd90.js +45 -0
- package/dist/useJobWatching-D-YzSlK8.js +45 -0
- package/dist/useJobWatching-I_A3b36f.js +45 -0
- package/dist/useProjectCredentials-CKngz2rd.js +54 -0
- package/dist/useProjectCredentials-EapDge1I.js +54 -0
- package/dist/useProjectCredentials-vjedBbKl.js +54 -0
- package/dist/useWebSocket-Bep1zAVG.js +36 -0
- package/dist/useWebSocket-CBqsjHbt.js +36 -0
- package/dist/useWebSocket-rBLiZsKb.js +36 -0
- package/dist/wizard-ChPegnMW.js +133 -0
- package/npm-shrinkwrap.json +251 -223
- package/oclif.manifest.json +282 -223
- package/package.json +2 -4
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Box } from 'ink';
|
|
3
|
+
import axios from 'axios';
|
|
4
|
+
import { useContext } from 'react';
|
|
5
|
+
import { useQueryClient } from '@tanstack/react-query';
|
|
6
|
+
import { p as getAuthedHeaders, q as API_URL } from './index-BB7X1Pqp.js';
|
|
7
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
8
|
+
import { b as GameContext } from './Command-BiB9MqbJ.js';
|
|
9
|
+
import 'ink-spinner';
|
|
10
|
+
import '@inkjs/ui';
|
|
11
|
+
import 'fs';
|
|
12
|
+
import 'uuid';
|
|
13
|
+
import 'yazl';
|
|
14
|
+
import 'crypto';
|
|
15
|
+
import 'readline-sync';
|
|
16
|
+
import 'node:readline';
|
|
17
|
+
import 'node:path';
|
|
18
|
+
import 'node:url';
|
|
19
|
+
import 'luxon';
|
|
20
|
+
import 'fast-glob';
|
|
21
|
+
import 'socket.io-client';
|
|
22
|
+
import 'isomorphic-git';
|
|
23
|
+
import '@oclif/core';
|
|
24
|
+
import 'open';
|
|
25
|
+
import 'qrcode';
|
|
26
|
+
import { R as RunWithSpinner } from './RunWithSpinner-BVXNWGD3.js';
|
|
27
|
+
import 'string-length';
|
|
28
|
+
import 'strip-ansi';
|
|
29
|
+
|
|
30
|
+
const CreateKeystore = ({ onComplete, onError, ...boxProps }) => {
|
|
31
|
+
const { gameId } = useContext(GameContext);
|
|
32
|
+
const queryClient = useQueryClient();
|
|
33
|
+
const handleCreate = async () => {
|
|
34
|
+
try {
|
|
35
|
+
if (!gameId) throw new Error("No game");
|
|
36
|
+
const headers = await getAuthedHeaders();
|
|
37
|
+
await axios.post(`${API_URL}/projects/${gameId}/credentials/android/certificate`, null, {
|
|
38
|
+
headers
|
|
39
|
+
});
|
|
40
|
+
queryClient.invalidateQueries({ queryKey: cacheKeys.projectCredentials({ projectId: gameId, pageNumber: 0 }) });
|
|
41
|
+
} catch (err) {
|
|
42
|
+
onError(err);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
return /* @__PURE__ */ jsx(Box, { flexDirection: "column", gap: 1, ...boxProps, children: /* @__PURE__ */ jsx(
|
|
46
|
+
RunWithSpinner,
|
|
47
|
+
{
|
|
48
|
+
executeMethod: handleCreate,
|
|
49
|
+
msgInProgress: "Creating Keystore...",
|
|
50
|
+
msgComplete: "Keystore created",
|
|
51
|
+
onComplete
|
|
52
|
+
}
|
|
53
|
+
) });
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export { CreateKeystore as C };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Box } from 'ink';
|
|
3
|
+
import axios from 'axios';
|
|
4
|
+
import { useContext } from 'react';
|
|
5
|
+
import { useQueryClient } from '@tanstack/react-query';
|
|
6
|
+
import { o as getAuthedHeaders, p as API_URL } from './index-C9734Cj2.js';
|
|
7
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-B_ekRewZ.js';
|
|
8
|
+
import { b as GameContext } from './Command-Dn0P_KOV.js';
|
|
9
|
+
import 'ink-spinner';
|
|
10
|
+
import '@inkjs/ui';
|
|
11
|
+
import 'open';
|
|
12
|
+
import 'crypto';
|
|
13
|
+
import 'fs';
|
|
14
|
+
import 'readline-sync';
|
|
15
|
+
import 'node:readline';
|
|
16
|
+
import 'node:path';
|
|
17
|
+
import 'node:url';
|
|
18
|
+
import 'luxon';
|
|
19
|
+
import 'uuid';
|
|
20
|
+
import 'fast-glob';
|
|
21
|
+
import 'yazl';
|
|
22
|
+
import 'socket.io-client';
|
|
23
|
+
import 'isomorphic-git';
|
|
24
|
+
import '@oclif/core';
|
|
25
|
+
import 'qrcode';
|
|
26
|
+
import { R as RunWithSpinner } from './RunWithSpinner-BVXNWGD3.js';
|
|
27
|
+
import 'string-length';
|
|
28
|
+
import 'strip-ansi';
|
|
29
|
+
import './wizard-ChPegnMW.js';
|
|
30
|
+
|
|
31
|
+
const CreateKeystore = ({ onComplete, onError, ...boxProps }) => {
|
|
32
|
+
const { gameId } = useContext(GameContext);
|
|
33
|
+
const queryClient = useQueryClient();
|
|
34
|
+
const handleCreate = async () => {
|
|
35
|
+
try {
|
|
36
|
+
if (!gameId) throw new Error("No game");
|
|
37
|
+
const headers = await getAuthedHeaders();
|
|
38
|
+
await axios.post(`${API_URL}/projects/${gameId}/credentials/android/certificate`, null, {
|
|
39
|
+
headers
|
|
40
|
+
});
|
|
41
|
+
queryClient.invalidateQueries({ queryKey: cacheKeys.projectCredentials({ projectId: gameId, pageNumber: 0 }) });
|
|
42
|
+
} catch (err) {
|
|
43
|
+
onError(err);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
return /* @__PURE__ */ jsx(Box, { flexDirection: "column", gap: 1, ...boxProps, children: /* @__PURE__ */ jsx(
|
|
47
|
+
RunWithSpinner,
|
|
48
|
+
{
|
|
49
|
+
executeMethod: handleCreate,
|
|
50
|
+
msgInProgress: "Creating Keystore...",
|
|
51
|
+
msgComplete: "Keystore created",
|
|
52
|
+
onComplete
|
|
53
|
+
}
|
|
54
|
+
) });
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export { CreateKeystore as C };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Box } from 'ink';
|
|
3
|
+
import axios from 'axios';
|
|
4
|
+
import { useContext } from 'react';
|
|
5
|
+
import { useQueryClient } from '@tanstack/react-query';
|
|
6
|
+
import { p as getAuthedHeaders, q as API_URL } from './index-Bv3x8c78.js';
|
|
7
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-BDc7XpKE.js';
|
|
8
|
+
import { b as GameContext } from './Command-YJJp90ru.js';
|
|
9
|
+
import 'ink-spinner';
|
|
10
|
+
import '@inkjs/ui';
|
|
11
|
+
import 'open';
|
|
12
|
+
import 'crypto';
|
|
13
|
+
import 'fs';
|
|
14
|
+
import 'readline-sync';
|
|
15
|
+
import 'node:readline';
|
|
16
|
+
import 'node:path';
|
|
17
|
+
import 'node:url';
|
|
18
|
+
import 'luxon';
|
|
19
|
+
import 'uuid';
|
|
20
|
+
import 'fast-glob';
|
|
21
|
+
import 'yazl';
|
|
22
|
+
import 'socket.io-client';
|
|
23
|
+
import 'isomorphic-git';
|
|
24
|
+
import '@oclif/core';
|
|
25
|
+
import 'qrcode';
|
|
26
|
+
import { R as RunWithSpinner } from './RunWithSpinner-BVXNWGD3.js';
|
|
27
|
+
import 'string-length';
|
|
28
|
+
import 'strip-ansi';
|
|
29
|
+
|
|
30
|
+
const CreateKeystore = ({ onComplete, onError, ...boxProps }) => {
|
|
31
|
+
const { gameId } = useContext(GameContext);
|
|
32
|
+
const queryClient = useQueryClient();
|
|
33
|
+
const handleCreate = async () => {
|
|
34
|
+
try {
|
|
35
|
+
if (!gameId) throw new Error("No game");
|
|
36
|
+
const headers = await getAuthedHeaders();
|
|
37
|
+
await axios.post(`${API_URL}/projects/${gameId}/credentials/android/certificate`, null, {
|
|
38
|
+
headers
|
|
39
|
+
});
|
|
40
|
+
queryClient.invalidateQueries({ queryKey: cacheKeys.projectCredentials({ projectId: gameId, pageNumber: 0 }) });
|
|
41
|
+
} catch (err) {
|
|
42
|
+
onError(err);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
return /* @__PURE__ */ jsx(Box, { flexDirection: "column", gap: 1, ...boxProps, children: /* @__PURE__ */ jsx(
|
|
46
|
+
RunWithSpinner,
|
|
47
|
+
{
|
|
48
|
+
executeMethod: handleCreate,
|
|
49
|
+
msgInProgress: "Creating Keystore...",
|
|
50
|
+
msgComplete: "Keystore created",
|
|
51
|
+
onComplete
|
|
52
|
+
}
|
|
53
|
+
) });
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export { CreateKeystore as C };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { Box } from 'ink';
|
|
3
|
+
import axios from 'axios';
|
|
4
|
+
import { useContext } from 'react';
|
|
5
|
+
import { useQueryClient } from '@tanstack/react-query';
|
|
6
|
+
import { p as getAuthedHeaders, q as API_URL } from './index-BB7X1Pqp.js';
|
|
7
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
8
|
+
import { b as GameContext } from './Command-D6rWEZRM.js';
|
|
9
|
+
import 'ink-spinner';
|
|
10
|
+
import '@inkjs/ui';
|
|
11
|
+
import 'open';
|
|
12
|
+
import 'crypto';
|
|
13
|
+
import 'fs';
|
|
14
|
+
import 'readline-sync';
|
|
15
|
+
import 'node:readline';
|
|
16
|
+
import 'node:path';
|
|
17
|
+
import 'node:url';
|
|
18
|
+
import 'luxon';
|
|
19
|
+
import 'uuid';
|
|
20
|
+
import 'fast-glob';
|
|
21
|
+
import 'yazl';
|
|
22
|
+
import 'socket.io-client';
|
|
23
|
+
import 'isomorphic-git';
|
|
24
|
+
import '@oclif/core';
|
|
25
|
+
import 'qrcode';
|
|
26
|
+
import { R as RunWithSpinner } from './RunWithSpinner-BVXNWGD3.js';
|
|
27
|
+
import 'string-length';
|
|
28
|
+
import 'strip-ansi';
|
|
29
|
+
|
|
30
|
+
const CreateKeystore = ({ onComplete, onError, ...boxProps }) => {
|
|
31
|
+
const { gameId } = useContext(GameContext);
|
|
32
|
+
const queryClient = useQueryClient();
|
|
33
|
+
const handleCreate = async () => {
|
|
34
|
+
try {
|
|
35
|
+
if (!gameId) throw new Error("No game");
|
|
36
|
+
const headers = await getAuthedHeaders();
|
|
37
|
+
await axios.post(`${API_URL}/projects/${gameId}/credentials/android/certificate`, null, {
|
|
38
|
+
headers
|
|
39
|
+
});
|
|
40
|
+
queryClient.invalidateQueries({ queryKey: cacheKeys.projectCredentials({ projectId: gameId, pageNumber: 0 }) });
|
|
41
|
+
} catch (err) {
|
|
42
|
+
onError(err);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
return /* @__PURE__ */ jsx(Box, { flexDirection: "column", gap: 1, ...boxProps, children: /* @__PURE__ */ jsx(
|
|
46
|
+
RunWithSpinner,
|
|
47
|
+
{
|
|
48
|
+
executeMethod: handleCreate,
|
|
49
|
+
msgInProgress: "Creating Keystore...",
|
|
50
|
+
msgComplete: "Keystore created",
|
|
51
|
+
onComplete
|
|
52
|
+
}
|
|
53
|
+
) });
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export { CreateKeystore as C };
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { useContext, useState, useEffect } from 'react';
|
|
3
|
+
import { Box, Text } from 'ink';
|
|
4
|
+
import Spinner from 'ink-spinner';
|
|
5
|
+
import { b as GameContext } from './Command-BiB9MqbJ.js';
|
|
6
|
+
import { $ as queryClient, P as Platform, C as CredentialsType } from './index-BB7X1Pqp.js';
|
|
7
|
+
import 'axios';
|
|
8
|
+
import 'crypto-js';
|
|
9
|
+
import { v4 } from 'uuid';
|
|
10
|
+
import 'luxon';
|
|
11
|
+
import fs__default from 'fs';
|
|
12
|
+
import '@inkjs/ui';
|
|
13
|
+
import { useMutation } from '@tanstack/react-query';
|
|
14
|
+
import yazl from 'yazl';
|
|
15
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
16
|
+
import { i as importCredential } from './import-v54PM_Qg.js';
|
|
17
|
+
import 'crypto';
|
|
18
|
+
import 'readline-sync';
|
|
19
|
+
import 'node:readline';
|
|
20
|
+
import 'node:path';
|
|
21
|
+
import 'node:url';
|
|
22
|
+
import 'fast-glob';
|
|
23
|
+
import 'socket.io-client';
|
|
24
|
+
import 'isomorphic-git';
|
|
25
|
+
import '@oclif/core';
|
|
26
|
+
import 'open';
|
|
27
|
+
import 'qrcode';
|
|
28
|
+
import 'string-length';
|
|
29
|
+
import 'strip-ansi';
|
|
30
|
+
|
|
31
|
+
async function importKeystore({ log = () => {
|
|
32
|
+
}, ...opt }) {
|
|
33
|
+
if (!opt.zipFilePath && !opt.jksFilePath) {
|
|
34
|
+
throw new Error("You must provide either a zipFilePath or a jksFilePath");
|
|
35
|
+
}
|
|
36
|
+
if (opt.zipFilePath && opt.jksFilePath) {
|
|
37
|
+
throw new Error("You cannot provide both a zipFilePath and a jksFilePath");
|
|
38
|
+
}
|
|
39
|
+
if (opt.jksFilePath && (!opt.keystorePassword || !opt.keyPassword)) {
|
|
40
|
+
throw new Error("You must provide both keystorePassword and keyPassword when importing a jks file");
|
|
41
|
+
}
|
|
42
|
+
const toDelete = [];
|
|
43
|
+
if (opt.jksFilePath) {
|
|
44
|
+
log("Creating zip file from jks file...");
|
|
45
|
+
const outputZipToFile = (zip, fileName) => new Promise((resolve) => {
|
|
46
|
+
const outputStream = fs__default.createWriteStream(fileName);
|
|
47
|
+
zip.outputStream.pipe(outputStream).on("close", () => resolve());
|
|
48
|
+
zip.end();
|
|
49
|
+
});
|
|
50
|
+
const zipFile = new yazl.ZipFile();
|
|
51
|
+
log("Adding keyStore.jks to zip file...");
|
|
52
|
+
zipFile.addFile(opt.jksFilePath, "keyStore.jks");
|
|
53
|
+
log("Adding password.txt and keyPassword.txt to zip file...");
|
|
54
|
+
zipFile.addBuffer(Buffer.from(`${opt.keystorePassword}`), "password.txt");
|
|
55
|
+
zipFile.addBuffer(Buffer.from(`${opt.keyPassword}`), "keyPassword.txt");
|
|
56
|
+
const tmpZipFile = `${process.cwd()}/shipthis-keyStore-${v4()}.zip`;
|
|
57
|
+
log(`Writing zip file: ${tmpZipFile}`);
|
|
58
|
+
await outputZipToFile(zipFile, tmpZipFile);
|
|
59
|
+
toDelete.push(tmpZipFile);
|
|
60
|
+
opt.zipFilePath = tmpZipFile;
|
|
61
|
+
}
|
|
62
|
+
log("Uploading and importing zip file...");
|
|
63
|
+
const keyStore = await importCredential({
|
|
64
|
+
projectId: opt.gameId,
|
|
65
|
+
zipPath: `${opt.zipFilePath}`,
|
|
66
|
+
type: CredentialsType.CERTIFICATE,
|
|
67
|
+
platform: Platform.ANDROID
|
|
68
|
+
});
|
|
69
|
+
log("Imported successfully");
|
|
70
|
+
toDelete.forEach((file) => {
|
|
71
|
+
log(`Deleting temporary file: ${file}`);
|
|
72
|
+
fs__default.unlinkSync(file);
|
|
73
|
+
});
|
|
74
|
+
return keyStore;
|
|
75
|
+
}
|
|
76
|
+
const useImportKeystore = () => {
|
|
77
|
+
return useMutation({
|
|
78
|
+
mutationFn: importKeystore,
|
|
79
|
+
onSuccess: async (data) => {
|
|
80
|
+
const projectId = data.projectId;
|
|
81
|
+
queryClient.invalidateQueries({
|
|
82
|
+
queryKey: cacheKeys.projectCredentials({ projectId, pageNumber: 0 })
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
const ImportKeystore = ({ onComplete, onError, importKeystoreProps }) => {
|
|
89
|
+
const { gameId } = useContext(GameContext);
|
|
90
|
+
const importMutation = useImportKeystore();
|
|
91
|
+
const [log, setLog] = useState(null);
|
|
92
|
+
useEffect(() => {
|
|
93
|
+
if (!gameId) return;
|
|
94
|
+
const importOpts = {
|
|
95
|
+
...importKeystoreProps,
|
|
96
|
+
gameId,
|
|
97
|
+
log: setLog
|
|
98
|
+
};
|
|
99
|
+
importMutation.mutateAsync(importOpts).catch(onError).then(onComplete);
|
|
100
|
+
}, [gameId]);
|
|
101
|
+
return /* @__PURE__ */ jsxs(Box, { flexDirection: "row", gap: 1, children: [
|
|
102
|
+
/* @__PURE__ */ jsx(Spinner, { type: "dots" }),
|
|
103
|
+
log && /* @__PURE__ */ jsx(Text, { children: log })
|
|
104
|
+
] });
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
export { ImportKeystore as I };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { v4 } from 'uuid';
|
|
2
|
+
import axios from 'axios';
|
|
3
|
+
import fg from 'fast-glob';
|
|
4
|
+
import fs__default from 'fs';
|
|
5
|
+
import yazl from 'yazl';
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-BDc7XpKE.js';
|
|
8
|
+
import { $ as queryClient, x as DEFAULT_SHIPPED_FILES_GLOBS, w as DEFAULT_IGNORED_FILES_GLOBS, a0 as getNewUploadTicket, a1 as startJobsFromUpload, J as JobStatus } from './index-Bv3x8c78.js';
|
|
9
|
+
import { f as getFileHash, h as getPlatformName } from './index-BQnkBr1Q.js';
|
|
10
|
+
import { g as getCWDGitInfo } from './git-DREGq-jc.js';
|
|
11
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
12
|
+
import { useRef } from 'react';
|
|
13
|
+
import 'ink';
|
|
14
|
+
import './Command-YJJp90ru.js';
|
|
15
|
+
import 'ink-spinner';
|
|
16
|
+
import 'crypto-js';
|
|
17
|
+
import 'luxon';
|
|
18
|
+
import '@inkjs/ui';
|
|
19
|
+
import 'open';
|
|
20
|
+
import { P as ProgressSpinner } from './ProgressSpinner-6pw1T8Iw.js';
|
|
21
|
+
import 'qrcode';
|
|
22
|
+
import 'string-length';
|
|
23
|
+
import 'strip-ansi';
|
|
24
|
+
import 'socket.io-client';
|
|
25
|
+
import { u as useJobWatching } from './useJobWatching-Cp-CYd90.js';
|
|
26
|
+
|
|
27
|
+
async function ship({ command, log = () => {
|
|
28
|
+
} }) {
|
|
29
|
+
log("Fetching project config...");
|
|
30
|
+
const projectConfig = await command.getProjectConfig();
|
|
31
|
+
if (!projectConfig.project) throw new Error("No project found in project config");
|
|
32
|
+
log("Retrieving file globs...");
|
|
33
|
+
const shippedFilesGlobs = projectConfig.shippedFilesGlobs || DEFAULT_SHIPPED_FILES_GLOBS;
|
|
34
|
+
const ignoredFilesGlobs = projectConfig.ignoredFilesGlobs || DEFAULT_IGNORED_FILES_GLOBS;
|
|
35
|
+
log("Finding files to include in zip...");
|
|
36
|
+
const files = await fg(shippedFilesGlobs, { dot: true, ignore: ignoredFilesGlobs });
|
|
37
|
+
log(`Found ${files.length} files, adding to zip...`);
|
|
38
|
+
const zipFile = new yazl.ZipFile();
|
|
39
|
+
for (const file of files) {
|
|
40
|
+
zipFile.addFile(file, file);
|
|
41
|
+
}
|
|
42
|
+
const outputZipToFile = (zip, fileName) => new Promise((resolve) => {
|
|
43
|
+
const outputStream = fs__default.createWriteStream(fileName);
|
|
44
|
+
zip.outputStream.pipe(outputStream).on("close", () => resolve());
|
|
45
|
+
zip.end();
|
|
46
|
+
});
|
|
47
|
+
const tmpZipFile = `${process.cwd()}/shipthis-${v4()}.zip`;
|
|
48
|
+
log(`Creating zip file: ${tmpZipFile}`);
|
|
49
|
+
await outputZipToFile(zipFile, tmpZipFile);
|
|
50
|
+
log("Reading zip file buffer...");
|
|
51
|
+
const zipBuffer = fs__default.readFileSync(tmpZipFile);
|
|
52
|
+
const { size } = fs__default.statSync(tmpZipFile);
|
|
53
|
+
log("Requesting upload ticket...");
|
|
54
|
+
const uploadTicket = await getNewUploadTicket(projectConfig.project.id);
|
|
55
|
+
log("Uploading zip file...");
|
|
56
|
+
await axios.put(uploadTicket.url, zipBuffer, {
|
|
57
|
+
headers: {
|
|
58
|
+
"Content-length": size,
|
|
59
|
+
"Content-Type": "application/zip"
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
log("Fetching Git info...");
|
|
63
|
+
const gitInfo = await getCWDGitInfo();
|
|
64
|
+
log("Computing file hash...");
|
|
65
|
+
const zipFileMd5 = await getFileHash(tmpZipFile);
|
|
66
|
+
const uploadDetails = {
|
|
67
|
+
...gitInfo,
|
|
68
|
+
zipFileMd5
|
|
69
|
+
};
|
|
70
|
+
log("Starting jobs from upload...");
|
|
71
|
+
const jobs = await startJobsFromUpload(uploadTicket.id, uploadDetails);
|
|
72
|
+
log("Cleaning up temporary zip file...");
|
|
73
|
+
fs__default.unlinkSync(tmpZipFile);
|
|
74
|
+
log("Job submission complete.");
|
|
75
|
+
return jobs;
|
|
76
|
+
}
|
|
77
|
+
const useShip = () => {
|
|
78
|
+
return useMutation({
|
|
79
|
+
mutationFn: ship,
|
|
80
|
+
onSuccess: async (data) => {
|
|
81
|
+
queryClient.invalidateQueries({
|
|
82
|
+
queryKey: cacheKeys.jobs({ projectId: data[0].project.id, pageNumber: 0 })
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
const JobProgress = (props) => {
|
|
89
|
+
const prevJobStatus = useRef(props.job.status);
|
|
90
|
+
const handleJobUpdate = (job) => {
|
|
91
|
+
const completed = [JobStatus.COMPLETED, JobStatus.FAILED];
|
|
92
|
+
const wasRunning = !completed.includes(prevJobStatus.current);
|
|
93
|
+
if (completed.includes(job.status) && wasRunning) {
|
|
94
|
+
props.onComplete();
|
|
95
|
+
}
|
|
96
|
+
prevJobStatus.current = job.status;
|
|
97
|
+
};
|
|
98
|
+
const { progress } = useJobWatching({
|
|
99
|
+
projectId: props.job.project.id,
|
|
100
|
+
jobId: props.job.id,
|
|
101
|
+
isWatching: true,
|
|
102
|
+
onJobUpdate: handleJobUpdate
|
|
103
|
+
});
|
|
104
|
+
const label = `${getPlatformName(props.job.type)} build progress...`;
|
|
105
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(ProgressSpinner, { progress, label, spinnerType: "dots" }) });
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export { JobProgress as J, useShip as u };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { v4 } from 'uuid';
|
|
2
|
+
import axios from 'axios';
|
|
3
|
+
import fg from 'fast-glob';
|
|
4
|
+
import fs__default from 'fs';
|
|
5
|
+
import yazl from 'yazl';
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-Ce1x0Eh8.js';
|
|
8
|
+
import { $ as queryClient, x as DEFAULT_SHIPPED_FILES_GLOBS, w as DEFAULT_IGNORED_FILES_GLOBS, a0 as getNewUploadTicket, a1 as startJobsFromUpload, J as JobStatus } from './index-BB7X1Pqp.js';
|
|
9
|
+
import { f as getFileHash, h as getPlatformName } from './index-Cz_KLwWf.js';
|
|
10
|
+
import { g as getCWDGitInfo } from './git-DREGq-jc.js';
|
|
11
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
12
|
+
import { useRef } from 'react';
|
|
13
|
+
import 'ink';
|
|
14
|
+
import './Command-BiB9MqbJ.js';
|
|
15
|
+
import 'ink-spinner';
|
|
16
|
+
import 'crypto-js';
|
|
17
|
+
import 'luxon';
|
|
18
|
+
import '@inkjs/ui';
|
|
19
|
+
import 'open';
|
|
20
|
+
import { P as ProgressSpinner } from './ProgressSpinner-6pw1T8Iw.js';
|
|
21
|
+
import 'qrcode';
|
|
22
|
+
import 'string-length';
|
|
23
|
+
import 'strip-ansi';
|
|
24
|
+
import 'socket.io-client';
|
|
25
|
+
import { u as useJobWatching } from './useJobWatching-I_A3b36f.js';
|
|
26
|
+
|
|
27
|
+
async function ship({ command, log = () => {
|
|
28
|
+
} }) {
|
|
29
|
+
log("Fetching project config...");
|
|
30
|
+
const projectConfig = await command.getProjectConfig();
|
|
31
|
+
if (!projectConfig.project) throw new Error("No project found in project config");
|
|
32
|
+
log("Retrieving file globs...");
|
|
33
|
+
const shippedFilesGlobs = projectConfig.shippedFilesGlobs || DEFAULT_SHIPPED_FILES_GLOBS;
|
|
34
|
+
const ignoredFilesGlobs = projectConfig.ignoredFilesGlobs || DEFAULT_IGNORED_FILES_GLOBS;
|
|
35
|
+
log("Finding files to include in zip...");
|
|
36
|
+
const files = await fg(shippedFilesGlobs, { dot: true, ignore: ignoredFilesGlobs });
|
|
37
|
+
log(`Found ${files.length} files, adding to zip...`);
|
|
38
|
+
const zipFile = new yazl.ZipFile();
|
|
39
|
+
for (const file of files) {
|
|
40
|
+
zipFile.addFile(file, file);
|
|
41
|
+
}
|
|
42
|
+
const outputZipToFile = (zip, fileName) => new Promise((resolve) => {
|
|
43
|
+
const outputStream = fs__default.createWriteStream(fileName);
|
|
44
|
+
zip.outputStream.pipe(outputStream).on("close", () => resolve());
|
|
45
|
+
zip.end();
|
|
46
|
+
});
|
|
47
|
+
const tmpZipFile = `${process.cwd()}/shipthis-${v4()}.zip`;
|
|
48
|
+
log(`Creating zip file: ${tmpZipFile}`);
|
|
49
|
+
await outputZipToFile(zipFile, tmpZipFile);
|
|
50
|
+
log("Reading zip file buffer...");
|
|
51
|
+
const zipBuffer = fs__default.readFileSync(tmpZipFile);
|
|
52
|
+
const { size } = fs__default.statSync(tmpZipFile);
|
|
53
|
+
log("Requesting upload ticket...");
|
|
54
|
+
const uploadTicket = await getNewUploadTicket(projectConfig.project.id);
|
|
55
|
+
log("Uploading zip file...");
|
|
56
|
+
await axios.put(uploadTicket.url, zipBuffer, {
|
|
57
|
+
headers: {
|
|
58
|
+
"Content-length": size,
|
|
59
|
+
"Content-Type": "application/zip"
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
log("Fetching Git info...");
|
|
63
|
+
const gitInfo = await getCWDGitInfo();
|
|
64
|
+
log("Computing file hash...");
|
|
65
|
+
const zipFileMd5 = await getFileHash(tmpZipFile);
|
|
66
|
+
const uploadDetails = {
|
|
67
|
+
...gitInfo,
|
|
68
|
+
zipFileMd5
|
|
69
|
+
};
|
|
70
|
+
log("Starting jobs from upload...");
|
|
71
|
+
const jobs = await startJobsFromUpload(uploadTicket.id, uploadDetails);
|
|
72
|
+
log("Cleaning up temporary zip file...");
|
|
73
|
+
fs__default.unlinkSync(tmpZipFile);
|
|
74
|
+
log("Job submission complete.");
|
|
75
|
+
return jobs;
|
|
76
|
+
}
|
|
77
|
+
const useShip = () => {
|
|
78
|
+
return useMutation({
|
|
79
|
+
mutationFn: ship,
|
|
80
|
+
onSuccess: async (data) => {
|
|
81
|
+
queryClient.invalidateQueries({
|
|
82
|
+
queryKey: cacheKeys.jobs({ projectId: data[0].project.id, pageNumber: 0 })
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
const JobProgress = (props) => {
|
|
89
|
+
const prevJobStatus = useRef(props.job.status);
|
|
90
|
+
const handleJobUpdate = (job) => {
|
|
91
|
+
const completed = [JobStatus.COMPLETED, JobStatus.FAILED];
|
|
92
|
+
const wasRunning = !completed.includes(prevJobStatus.current);
|
|
93
|
+
if (completed.includes(job.status) && wasRunning) {
|
|
94
|
+
props.onComplete();
|
|
95
|
+
}
|
|
96
|
+
prevJobStatus.current = job.status;
|
|
97
|
+
};
|
|
98
|
+
const { progress } = useJobWatching({
|
|
99
|
+
projectId: props.job.project.id,
|
|
100
|
+
jobId: props.job.id,
|
|
101
|
+
isWatching: true,
|
|
102
|
+
onJobUpdate: handleJobUpdate
|
|
103
|
+
});
|
|
104
|
+
const label = `${getPlatformName(props.job.type)} build progress...`;
|
|
105
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(ProgressSpinner, { progress, label, spinnerType: "dots" }) });
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export { JobProgress as J, useShip as u };
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { v4 } from 'uuid';
|
|
2
|
+
import axios from 'axios';
|
|
3
|
+
import fg from 'fast-glob';
|
|
4
|
+
import fs__default from 'fs';
|
|
5
|
+
import yazl from 'yazl';
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-B_ekRewZ.js';
|
|
8
|
+
import { _ as queryClient, x as DEFAULT_SHIPPED_FILES_GLOBS, w as DEFAULT_IGNORED_FILES_GLOBS, $ as getNewUploadTicket, a0 as startJobsFromUpload, J as JobStatus } from './index-C9734Cj2.js';
|
|
9
|
+
import { e as getFileHash, f as getPlatformName } from './index-DxHPjZav.js';
|
|
10
|
+
import { g as getCWDGitInfo } from './git-DREGq-jc.js';
|
|
11
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
12
|
+
import { useRef } from 'react';
|
|
13
|
+
import 'ink';
|
|
14
|
+
import './Command-Dn0P_KOV.js';
|
|
15
|
+
import 'ink-spinner';
|
|
16
|
+
import 'crypto-js';
|
|
17
|
+
import 'luxon';
|
|
18
|
+
import '@inkjs/ui';
|
|
19
|
+
import 'open';
|
|
20
|
+
import { P as ProgressSpinner } from './ProgressSpinner-6pw1T8Iw.js';
|
|
21
|
+
import 'qrcode';
|
|
22
|
+
import 'string-length';
|
|
23
|
+
import 'strip-ansi';
|
|
24
|
+
import 'socket.io-client';
|
|
25
|
+
import { u as useJobWatching } from './useJobWatching-BIG6fnTN.js';
|
|
26
|
+
import './wizard-ChPegnMW.js';
|
|
27
|
+
|
|
28
|
+
async function ship({ command, log = () => {
|
|
29
|
+
} }) {
|
|
30
|
+
log("Fetching project config...");
|
|
31
|
+
const projectConfig = await command.getProjectConfig();
|
|
32
|
+
if (!projectConfig.project) throw new Error("No project found in project config");
|
|
33
|
+
log("Retrieving file globs...");
|
|
34
|
+
const shippedFilesGlobs = projectConfig.shippedFilesGlobs || DEFAULT_SHIPPED_FILES_GLOBS;
|
|
35
|
+
const ignoredFilesGlobs = projectConfig.ignoredFilesGlobs || DEFAULT_IGNORED_FILES_GLOBS;
|
|
36
|
+
log("Finding files to include in zip...");
|
|
37
|
+
const files = await fg(shippedFilesGlobs, { dot: true, ignore: ignoredFilesGlobs });
|
|
38
|
+
log(`Found ${files.length} files, adding to zip...`);
|
|
39
|
+
const zipFile = new yazl.ZipFile();
|
|
40
|
+
for (const file of files) {
|
|
41
|
+
zipFile.addFile(file, file);
|
|
42
|
+
}
|
|
43
|
+
const outputZipToFile = (zip, fileName) => new Promise((resolve) => {
|
|
44
|
+
const outputStream = fs__default.createWriteStream(fileName);
|
|
45
|
+
zip.outputStream.pipe(outputStream).on("close", () => resolve());
|
|
46
|
+
zip.end();
|
|
47
|
+
});
|
|
48
|
+
const tmpZipFile = `${process.cwd()}/shipthis-${v4()}.zip`;
|
|
49
|
+
log(`Creating zip file: ${tmpZipFile}`);
|
|
50
|
+
await outputZipToFile(zipFile, tmpZipFile);
|
|
51
|
+
log("Reading zip file buffer...");
|
|
52
|
+
const zipBuffer = fs__default.readFileSync(tmpZipFile);
|
|
53
|
+
const { size } = fs__default.statSync(tmpZipFile);
|
|
54
|
+
log("Requesting upload ticket...");
|
|
55
|
+
const uploadTicket = await getNewUploadTicket(projectConfig.project.id);
|
|
56
|
+
log("Uploading zip file...");
|
|
57
|
+
await axios.put(uploadTicket.url, zipBuffer, {
|
|
58
|
+
headers: {
|
|
59
|
+
"Content-length": size,
|
|
60
|
+
"Content-Type": "application/zip"
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
log("Fetching Git info...");
|
|
64
|
+
const gitInfo = await getCWDGitInfo();
|
|
65
|
+
log("Computing file hash...");
|
|
66
|
+
const zipFileMd5 = await getFileHash(tmpZipFile);
|
|
67
|
+
const uploadDetails = {
|
|
68
|
+
...gitInfo,
|
|
69
|
+
zipFileMd5
|
|
70
|
+
};
|
|
71
|
+
log("Starting jobs from upload...");
|
|
72
|
+
const jobs = await startJobsFromUpload(uploadTicket.id, uploadDetails);
|
|
73
|
+
log("Cleaning up temporary zip file...");
|
|
74
|
+
fs__default.unlinkSync(tmpZipFile);
|
|
75
|
+
log("Job submission complete.");
|
|
76
|
+
return jobs;
|
|
77
|
+
}
|
|
78
|
+
const useShip = () => {
|
|
79
|
+
return useMutation({
|
|
80
|
+
mutationFn: ship,
|
|
81
|
+
onSuccess: async (data) => {
|
|
82
|
+
queryClient.invalidateQueries({
|
|
83
|
+
queryKey: cacheKeys.jobs({ projectId: data[0].project.id, pageNumber: 0 })
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
const JobProgress = (props) => {
|
|
90
|
+
const prevJobStatus = useRef(props.job.status);
|
|
91
|
+
const handleJobUpdate = (job) => {
|
|
92
|
+
const completed = [JobStatus.COMPLETED, JobStatus.FAILED];
|
|
93
|
+
const wasRunning = !completed.includes(prevJobStatus.current);
|
|
94
|
+
if (completed.includes(job.status) && wasRunning) {
|
|
95
|
+
props.onComplete();
|
|
96
|
+
}
|
|
97
|
+
prevJobStatus.current = job.status;
|
|
98
|
+
};
|
|
99
|
+
const { progress } = useJobWatching({
|
|
100
|
+
projectId: props.job.project.id,
|
|
101
|
+
jobId: props.job.id,
|
|
102
|
+
isWatching: true,
|
|
103
|
+
onJobUpdate: handleJobUpdate
|
|
104
|
+
});
|
|
105
|
+
const label = `${getPlatformName(props.job.type)} build progress...`;
|
|
106
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(ProgressSpinner, { progress, label, spinnerType: "dots" }) });
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
export { JobProgress as J, useShip as u };
|