shipthis 0.1.34 → 0.1.35
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/{android-success.md → android-success.md.ejs} +2 -2
- package/assets/markdown/{apikey-create.md → apikey-create.md.ejs} +4 -4
- package/assets/markdown/{create-google-play-game.md → create-google-play-game.md.ejs} +2 -2
- package/assets/markdown/{invite-service-account.md → invite-service-account.md.ejs} +1 -1
- package/assets/markdown/{ios-success.md → ios-success.md.ejs} +2 -2
- package/assets/markdown/{privacy-notification.md → privacy-notification.md.ejs} +1 -1
- package/assets/markdown/service-account-policy-wizard.md.ejs +26 -0
- package/assets/markdown/service-account-policy.md.ejs +30 -0
- package/assets/markdown/{ship-failure.md → ship-failure.md.ejs} +1 -1
- package/assets/markdown/{ship-success.md → ship-success.md.ejs} +2 -2
- package/dist/{AppleBundleIdDetails-By-sSGNl.js → AppleBundleIdDetails-N_j1wv6f.js} +5 -4
- package/dist/{Command-VWMnGslo.js → Command-DN1j3tjt.js} +2 -2
- package/dist/{CommandGame-BSVPZzNl.js → CommandGame-D2NqytWc.js} +2 -2
- package/dist/{Create-SR1Mq7BY.js → Create-BRdv5jXQ.js} +4 -3
- package/dist/{GameStatus-1ntFyxEx.js → GameStatus-joyHPy0f.js} +12 -17
- package/dist/{Import-cedOWPDz.js → Import-BNMHsJoM.js} +5 -4
- package/dist/{JobLogTail-C_W8UAMg.js → JobLogTail-D35FO5v-.js} +5 -5
- package/dist/{JobProgress-CI385G53.js → JobProgress-D-9KESaA.js} +6 -5
- package/dist/{JobStatusTable-CdbKtwJE.js → JobStatusTable-DIJ_h-gi.js} +4 -4
- package/dist/{ProjectCredentialsTable-ZnuIfcDB.js → ProjectCredentialsTable-BMKgv99h.js} +2 -2
- package/dist/{UserCredentialsTable-DRkAYgEA.js → UserCredentialsTable-CUrTDzTK.js} +10 -10
- package/dist/{baseAppleCommand-CsO-_Yzn.js → baseAppleCommand-Cs9a52e5.js} +1 -1
- package/dist/{baseGameAndroidCommand-CdjaAbNX.js → baseGameAndroidCommand-BCB1SMCf.js} +2 -2
- package/dist/commands/apiKey/create.js +19 -16
- package/dist/commands/apiKey/list.js +10 -7
- package/dist/commands/apiKey/revoke.js +11 -8
- package/dist/commands/apple/apiKey/create.js +11 -8
- package/dist/commands/apple/apiKey/export.js +10 -7
- package/dist/commands/apple/apiKey/import.js +10 -7
- package/dist/commands/apple/apiKey/status.js +16 -13
- package/dist/commands/apple/certificate/create.js +11 -8
- package/dist/commands/apple/certificate/export.js +10 -7
- package/dist/commands/apple/certificate/import.js +10 -7
- package/dist/commands/apple/certificate/status.js +16 -13
- package/dist/commands/apple/login.js +2 -2
- package/dist/commands/apple/status.js +8 -5
- package/dist/commands/dashboard.js +1 -1
- package/dist/commands/game/android/apiKey/connect.js +13 -9
- package/dist/commands/game/android/apiKey/create.js +15 -11
- package/dist/commands/game/android/apiKey/export.js +11 -8
- package/dist/commands/game/android/apiKey/import.js +11 -8
- package/dist/commands/game/android/apiKey/invite.js +4 -4
- package/dist/commands/game/android/apiKey/policy.js +87 -0
- package/dist/commands/game/android/apiKey/status.js +11 -8
- package/dist/commands/game/android/keyStore/create.js +12 -9
- package/dist/commands/game/android/keyStore/export.js +10 -7
- package/dist/commands/game/android/keyStore/import.js +13 -10
- package/dist/commands/game/android/keyStore/status.js +10 -7
- package/dist/commands/game/android/status.js +1 -1
- package/dist/commands/game/build/download.js +8 -5
- package/dist/commands/game/build/list.js +9 -6
- package/dist/commands/game/create.js +2 -2
- package/dist/commands/game/details.js +8 -5
- package/dist/commands/game/export.js +1 -1
- package/dist/commands/game/ios/app/addTester.js +15 -12
- package/dist/commands/game/ios/app/create.js +8 -5
- package/dist/commands/game/ios/app/status.js +11 -8
- package/dist/commands/game/ios/app/sync.js +9 -6
- package/dist/commands/game/ios/profile/create.js +11 -8
- package/dist/commands/game/ios/profile/export.js +10 -7
- package/dist/commands/game/ios/profile/import.js +10 -7
- package/dist/commands/game/ios/profile/status.js +10 -7
- package/dist/commands/game/ios/status.js +13 -10
- package/dist/commands/game/ios/wizard.js +9 -6
- package/dist/commands/game/job/list.js +8 -5
- package/dist/commands/game/job/status.js +11 -8
- package/dist/commands/game/list.js +15 -10
- package/dist/commands/game/ship.js +15 -12
- package/dist/commands/game/status.js +10 -7
- package/dist/commands/game/wizard.js +23 -19
- package/dist/commands/internal/fastlane.js +1 -1
- package/dist/commands/internal/readme.js +4 -715
- package/dist/commands/login.js +2 -2
- package/dist/commands/status.js +14 -14
- package/dist/ejs-DirFZbza.js +716 -0
- package/dist/{export-B5Yfd9vw.js → export-DFCZKNQk.js} +1 -1
- package/dist/{import-A2WcStHl.js → import-BpGyif-m.js} +1 -1
- package/dist/{index-BBLtvl1Y.js → index-BTXEUd8W.js} +59 -16
- package/dist/{index-CO_ssVFA.js → index-BwnzoldS.js} +14 -2
- package/dist/{index-CYjZ26If.js → index-CJWMt1s-.js} +1 -1
- package/dist/{index-Bz1qt_8T.js → index-DlE_SPt3.js} +7 -11
- package/dist/{index-CA6-uLMn.js → index-hoHfGrjg.js} +33 -33
- package/dist/{index-CgzANgJt.js → index-izrACZbC.js} +1 -1
- package/dist/{upload-BIsFZzBO.js → upload-D19OQsbn.js} +1 -1
- package/dist/{useAndroidServiceAccountTestResult-DueKynFy.js → useAndroidServiceAccountTestResult-CwKeW0ED.js} +1 -1
- package/dist/{useAppleApp-BZR94exU.js → useAppleApp-BZc_cNa-.js} +1 -1
- package/dist/{useAppleBundleId-Dg5DsItN.js → useAppleBundleId-DvMXAvWD.js} +1 -1
- package/dist/useGoogleStatus-Cx_QIsXa.js +10 -0
- package/dist/{useProjectCredentials-jQYGcDhT.js → useProjectCredentials-DxdwJCfU.js} +14 -11
- package/dist/{useWebSocket-CIxkPaYi.js → useWebSocket-cM5yOcDv.js} +1 -1
- package/docs/README.md +3 -2
- package/docs/apiKey.md +12 -2
- package/docs/game/android/apiKey/policy.md +28 -0
- package/docs/game/android/keyStore.md +14 -4
- package/docs/game/android/status.md +4 -0
- package/docs/game/android.md +9 -305
- package/docs/game/ship.md +43 -11
- package/docs/game.md +7 -1
- package/package.json +3 -1
- /package/assets/markdown/{create-or-import-keystore.md → create-or-import-keystore.md.ejs} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import { Args } from '@oclif/core';
|
|
3
3
|
import { useScreenSize, withFullScreen } from 'fullscreen-ink';
|
|
4
|
-
import { K as queryClient, p as getAuthedHeaders, o as API_URL, I as castArrayObjectDates,
|
|
4
|
+
import { K as queryClient, p as getAuthedHeaders, o as API_URL, I as castArrayObjectDates, ae as updateProject, t as getGodotVersion, s as GameEngine, u as createProject, v as DEFAULT_SHIPPED_FILES_GLOBS, w as DEFAULT_IGNORED_FILES_GLOBS, P as Platform, J as JobStatus, W as WEB_URL, E as getProject, C as CredentialsType, Q as getGoogleStatus, B as BaseAuthenticatedCommand, j as isCWDGodotGame } from '../../index-BwnzoldS.js';
|
|
5
5
|
import { Box, Text } from 'ink';
|
|
6
6
|
import Spinner from 'ink-spinner';
|
|
7
7
|
import 'node:crypto';
|
|
@@ -23,31 +23,35 @@ import 'socket.io-client';
|
|
|
23
23
|
import 'string-length';
|
|
24
24
|
import 'strip-ansi';
|
|
25
25
|
import 'open';
|
|
26
|
-
import { C as ConnectGoogle } from '../../index-
|
|
27
|
-
import { C as CommandContext, G as GameContext, u as useBuilds, M as Markdown, e as useSafeInput, q as queryBuilds, c as GameProvider, h as CreateGooglePlayGame } from '../../index-
|
|
26
|
+
import { C as ConnectGoogle } from '../../index-DlE_SPt3.js';
|
|
27
|
+
import { C as CommandContext, G as GameContext, u as useBuilds, M as Markdown, e as useSafeInput, q as queryBuilds, c as GameProvider, h as CreateGooglePlayGame } from '../../index-hoHfGrjg.js';
|
|
28
28
|
import { TextInput, Alert } from '@inkjs/ui';
|
|
29
|
+
import '../../ejs-DirFZbza.js';
|
|
29
30
|
import 'marked';
|
|
30
31
|
import 'marked-terminal';
|
|
31
32
|
import 'qrcode';
|
|
32
|
-
import { g as getShortUUID } from '../../index-
|
|
33
|
-
import { J as JobLogTail } from '../../JobLogTail-
|
|
34
|
-
import { c as cacheKeys, f as fetchKeyTestResult, K as KeyTestStatus, a as KeyTestError } from '../../useAndroidServiceAccountTestResult-
|
|
35
|
-
import { u as useShip, J as JobProgress } from '../../JobProgress-
|
|
36
|
-
import { C as CreateServiceAccountKey } from '../../index-
|
|
37
|
-
import { C as CreateKeystore } from '../../Create-
|
|
38
|
-
import { I as ImportKeystore } from '../../Import-
|
|
39
|
-
import { a as getProjectCredentials } from '../../index-
|
|
33
|
+
import { g as getShortUUID } from '../../index-CJWMt1s-.js';
|
|
34
|
+
import { J as JobLogTail } from '../../JobLogTail-D35FO5v-.js';
|
|
35
|
+
import { c as cacheKeys, f as fetchKeyTestResult, K as KeyTestStatus, a as KeyTestError } from '../../useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
36
|
+
import { u as useShip, J as JobProgress } from '../../JobProgress-D-9KESaA.js';
|
|
37
|
+
import { C as CreateServiceAccountKey } from '../../index-BTXEUd8W.js';
|
|
38
|
+
import { C as CreateKeystore } from '../../Create-BRdv5jXQ.js';
|
|
39
|
+
import { I as ImportKeystore } from '../../Import-BNMHsJoM.js';
|
|
40
|
+
import { a as getProjectCredentials } from '../../index-izrACZbC.js';
|
|
40
41
|
import { T as Title } from '../../Title-BCQtayg6.js';
|
|
41
|
-
import { C as Command } from '../../Command-
|
|
42
|
+
import { C as Command } from '../../Command-DN1j3tjt.js';
|
|
42
43
|
import '@expo/apple-utils/build/index.js';
|
|
43
44
|
import 'deepmerge';
|
|
44
45
|
import 'ini';
|
|
45
|
-
import '../../
|
|
46
|
+
import '../../useGoogleStatus-Cx_QIsXa.js';
|
|
47
|
+
import '../../useWebSocket-cM5yOcDv.js';
|
|
48
|
+
import 'fs';
|
|
49
|
+
import 'path';
|
|
46
50
|
import '../../git-BpsfNFZ_.js';
|
|
47
51
|
import '../../ProgressSpinner-Um6ARKlk.js';
|
|
48
|
-
import '../../useProjectCredentials-
|
|
52
|
+
import '../../useProjectCredentials-DxdwJCfU.js';
|
|
49
53
|
import '../../RunWithSpinner-DucRnFp6.js';
|
|
50
|
-
import '../../import-
|
|
54
|
+
import '../../import-BpGyif-m.js';
|
|
51
55
|
|
|
52
56
|
const useInviteServiceAccount = () => useMutation({
|
|
53
57
|
async mutationFn({ developerId, projectId }) {
|
|
@@ -301,7 +305,7 @@ const CreateForGame = ({ gameId, onComplete, onError, ...boxProps }) => {
|
|
|
301
305
|
/* @__PURE__ */ jsx(
|
|
302
306
|
Markdown,
|
|
303
307
|
{
|
|
304
|
-
filename: "ship-failure.md",
|
|
308
|
+
filename: "ship-failure.md.ejs",
|
|
305
309
|
templateVars: {
|
|
306
310
|
jobDashboardUrl: `${WEB_URL}games/${getShortUUID(gameId)}/job/${getShortUUID(failedJob.id)}`
|
|
307
311
|
}
|
|
@@ -356,7 +360,7 @@ const InviteServiceAccount = ({ onComplete, onError, ...boxProps }) => {
|
|
|
356
360
|
guideURL: new URL("/docs/guides/google-play-account-id", WEB_URL).toString()
|
|
357
361
|
};
|
|
358
362
|
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { flexDirection: "column", gap: 1, ...boxProps, children: [
|
|
359
|
-
/* @__PURE__ */ jsx(Markdown, { filename: "invite-service-account.md", templateVars }),
|
|
363
|
+
/* @__PURE__ */ jsx(Markdown, { filename: "invite-service-account.md.ejs", templateVars }),
|
|
360
364
|
/* @__PURE__ */ jsxs(Box, { children: [
|
|
361
365
|
inviteMutation.isPending && /* @__PURE__ */ jsx(Spinner, { type: "dots" }),
|
|
362
366
|
!inviteMutation.isPending && /* @__PURE__ */ jsx(InviteForm, { onSubmit: handleSubmit })
|
|
@@ -460,7 +464,7 @@ const CreateOrImport = ({ onComplete, onError, ...boxProps }) => {
|
|
|
460
464
|
}
|
|
461
465
|
};
|
|
462
466
|
return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", gap: 1, ...boxProps, children: [
|
|
463
|
-
/* @__PURE__ */ jsx(Markdown, { filename: "create-or-import-keystore.md", templateVars: {} }),
|
|
467
|
+
/* @__PURE__ */ jsx(Markdown, { filename: "create-or-import-keystore.md.ejs", templateVars: {} }),
|
|
464
468
|
renderStage()
|
|
465
469
|
] });
|
|
466
470
|
};
|
|
@@ -636,7 +640,7 @@ const AndroidWizard = (props) => {
|
|
|
636
640
|
padding: isTall && isWide ? 1 : 0
|
|
637
641
|
}
|
|
638
642
|
),
|
|
639
|
-
showSuccess && /* @__PURE__ */ jsx(Box, { marginTop: 1, children: /* @__PURE__ */ jsx(Markdown, { filename: "android-success.md", templateVars }) })
|
|
643
|
+
showSuccess && /* @__PURE__ */ jsx(Box, { marginTop: 1, children: /* @__PURE__ */ jsx(Markdown, { filename: "android-success.md.ejs", templateVars }) })
|
|
640
644
|
] });
|
|
641
645
|
};
|
|
642
646
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs__default, { promises } from 'node:fs';
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import { Args, Flags } from '@oclif/core';
|
|
4
|
-
import {
|
|
4
|
+
import { Y as BaseCommand } from '../../index-BwnzoldS.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import 'crypto-js';
|
|
7
7
|
import 'uuid';
|