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
|
@@ -12,7 +12,7 @@ import 'readline-sync';
|
|
|
12
12
|
import 'luxon';
|
|
13
13
|
import 'axios';
|
|
14
14
|
import 'isomorphic-git';
|
|
15
|
-
import {
|
|
15
|
+
import { av as getShortAuthRequiredUrl, ax as getGoogleAuthUrl, R as GameContext, at as useSafeInput, W as WEB_URL, au as Markdown } from './index-BtPf4vzY.js';
|
|
16
16
|
import '@oclif/core';
|
|
17
17
|
import '@tanstack/react-query';
|
|
18
18
|
import 'crypto-js';
|
|
@@ -20,14 +20,12 @@ import 'uuid';
|
|
|
20
20
|
import 'fast-glob';
|
|
21
21
|
import 'yazl';
|
|
22
22
|
import 'socket.io-client';
|
|
23
|
-
import { u as useGoogleStatus } from './useGoogleStatus-
|
|
24
|
-
import { u as useWebSocket } from './useWebSocket-
|
|
23
|
+
import { u as useGoogleStatus } from './useGoogleStatus-D9jjGa--.js';
|
|
24
|
+
import { u as useWebSocket } from './useWebSocket-CIeyHqxG.js';
|
|
25
25
|
import 'fullscreen-ink';
|
|
26
|
-
import { G as GameContext, e as useSafeInput, M as Markdown } from './index-hoHfGrjg.js';
|
|
27
26
|
import 'string-length';
|
|
28
27
|
import 'strip-ansi';
|
|
29
28
|
import '@inkjs/ui';
|
|
30
|
-
import './ejs-DirFZbza.js';
|
|
31
29
|
import 'marked';
|
|
32
30
|
import 'marked-terminal';
|
|
33
31
|
import qrcode from 'qrcode';
|
|
@@ -8,23 +8,21 @@ import 'node:path';
|
|
|
8
8
|
import 'node:readline';
|
|
9
9
|
import 'node:url';
|
|
10
10
|
import 'readline-sync';
|
|
11
|
-
import {
|
|
11
|
+
import { a1 as cacheKeys, t as getAuthedHeaders, s as API_URL, aw as castObjectDates, Y as queryClient, a5 as revokePolicy, a4 as enforcePolicy, P as Platform, C as CredentialsType, a2 as getGoogleStatus, R as GameContext, at as useSafeInput, au as Markdown, c as getShortDate } from './index-BtPf4vzY.js';
|
|
12
12
|
import axios from 'axios';
|
|
13
13
|
import 'isomorphic-git';
|
|
14
14
|
import '@oclif/core';
|
|
15
15
|
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query';
|
|
16
|
-
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
17
16
|
import 'luxon';
|
|
18
17
|
import 'fast-glob';
|
|
19
18
|
import 'uuid';
|
|
20
19
|
import 'yazl';
|
|
21
20
|
import 'socket.io-client';
|
|
22
21
|
import 'fullscreen-ink';
|
|
23
|
-
import { u as useWebSocket } from './useWebSocket-
|
|
24
|
-
import { u as useProjectCredentials } from './useProjectCredentials-
|
|
25
|
-
import { u as useGoogleStatus } from './useGoogleStatus-
|
|
22
|
+
import { u as useWebSocket } from './useWebSocket-CIeyHqxG.js';
|
|
23
|
+
import { u as useProjectCredentials } from './useProjectCredentials-BjsS28hP.js';
|
|
24
|
+
import { u as useGoogleStatus } from './useGoogleStatus-D9jjGa--.js';
|
|
26
25
|
import 'crypto-js';
|
|
27
|
-
import { G as GameContext, e as useSafeInput, M as Markdown } from './index-hoHfGrjg.js';
|
|
28
26
|
import 'string-length';
|
|
29
27
|
import 'strip-ansi';
|
|
30
28
|
import 'open';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
|
-
import {
|
|
2
|
+
import { s as API_URL, t as getAuthedHeaders } from './index-BtPf4vzY.js';
|
|
3
3
|
|
|
4
4
|
async function getNewUploadTicket(projectId = null) {
|
|
5
5
|
const url = projectId ? `${API_URL}/projects/${projectId}/credentials/url` : `${API_URL}/credentials/url`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useQuery } from '@tanstack/react-query';
|
|
2
|
-
import {
|
|
2
|
+
import { i as BundleId, u as getGodotProjectCapabilities, P as Platform, G as GODOT_CAPABILITIES, v as CapabilityType } from './index-BtPf4vzY.js';
|
|
3
3
|
|
|
4
4
|
async function getBundleIdCapabilities(bundleId) {
|
|
5
5
|
const current = await bundleId.getBundleIdCapabilitiesAsync();
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { useQuery } from '@tanstack/react-query';
|
|
2
|
-
import {
|
|
3
|
-
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
2
|
+
import { a1 as cacheKeys, a2 as getGoogleStatus } from './index-BtPf4vzY.js';
|
|
4
3
|
|
|
5
4
|
const useGoogleStatus = () => useQuery({
|
|
6
5
|
queryFn: getGoogleStatus,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { useQuery } from '@tanstack/react-query';
|
|
2
2
|
import axios from 'axios';
|
|
3
|
-
import { b as getShortDate,
|
|
4
|
-
import { c as cacheKeys } from './useAndroidServiceAccountTestResult-CwKeW0ED.js';
|
|
5
|
-
import { g as getShortUUID } from './index-CJWMt1s-.js';
|
|
3
|
+
import { a1 as cacheKeys, b as getShortUUID, c as getShortDate, t as getAuthedHeaders, s as API_URL, X as castArrayObjectDates } from './index-BtPf4vzY.js';
|
|
6
4
|
|
|
7
5
|
async function queryProjectCredentials({
|
|
8
6
|
projectId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
2
|
import { io } from 'socket.io-client';
|
|
3
|
-
import {
|
|
3
|
+
import { $ as WS_URL, a0 as getAuthToken } from './index-BtPf4vzY.js';
|
|
4
4
|
|
|
5
5
|
function useWebSocket(listeners = []) {
|
|
6
6
|
const log = () => {
|
|
Binary file
|
package/docs/game/ship.md
CHANGED
|
@@ -21,26 +21,23 @@ When run like this, pressing **L** will show or hide the last few lines of the l
|
|
|
21
21
|
|
|
22
22
|
[](https://asciinema.org/a/7e1jPMx5i69VyM6TynkeFU0dI#shipthis-col80row24)
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
### Follow mode
|
|
26
25
|
|
|
27
26
|
When using ShipThis in a CI environment, it is most useful to use the `--follow` to collect the full output. This flag requires you to specify the `--platform` flag too.
|
|
28
27
|
|
|
29
28
|
[](https://asciinema.org/a/gKmZ0E1rJ4oiT9SyuSivXBZfY#shipthis-col80row24)
|
|
30
29
|
|
|
31
|
-
|
|
32
30
|
### Advanced usage - follow, do not publish, and then download APK
|
|
33
31
|
|
|
34
32
|
[](https://asciinema.org/a/GNf0t8niOlrMDsgPKqmBcuqQh#shipthis-col80row24)
|
|
35
33
|
|
|
36
|
-
|
|
37
34
|
## Help Output
|
|
38
35
|
|
|
39
36
|
```help
|
|
40
37
|
Builds the app (for all platforms with valid credentials) and ships it to the stores.
|
|
41
38
|
|
|
42
39
|
USAGE
|
|
43
|
-
$ shipthis game ship [-g <value>] [--download <value> --platform android|ios] [--downloadAPK <value> ] [--follow ] [--skipPublish]
|
|
40
|
+
$ shipthis game ship [-g <value>] [--download <value> --platform android|ios] [--downloadAPK <value> ] [--follow ] [--skipPublish] [--verbose]
|
|
44
41
|
|
|
45
42
|
FLAGS
|
|
46
43
|
-g, --gameId=<value> The ID of the game
|
|
@@ -50,6 +47,7 @@ FLAGS
|
|
|
50
47
|
--platform=<option> The platform to ship the game to. This can be "android" or "ios"
|
|
51
48
|
<options: android|ios>
|
|
52
49
|
--skipPublish Skip the publish step
|
|
50
|
+
--verbose Enable verbose logging
|
|
53
51
|
|
|
54
52
|
DESCRIPTION
|
|
55
53
|
Builds the app (for all platforms with valid credentials) and ships it to the stores.
|
|
@@ -65,4 +63,6 @@ EXAMPLES
|
|
|
65
63
|
|
|
66
64
|
$ shipthis game ship --platform android --follow --downloadAPK game.apk
|
|
67
65
|
|
|
66
|
+
$ shipthis game ship --platform ios --follow --verbose
|
|
67
|
+
|
|
68
68
|
```
|
package/docs/login.md
CHANGED
|
@@ -18,11 +18,13 @@ you can view details of your games.
|
|
|
18
18
|
|
|
19
19
|
```help
|
|
20
20
|
USAGE
|
|
21
|
-
$ shipthis login [-
|
|
21
|
+
$ shipthis login [-e <value>] [-f] [--acceptAgreements]
|
|
22
22
|
|
|
23
23
|
FLAGS
|
|
24
|
-
-e, --email=<value>
|
|
24
|
+
-e, --email=<value> Your email address
|
|
25
25
|
-f, --force
|
|
26
|
+
--acceptAgreements Accept the current version of the agreements (terms &
|
|
27
|
+
privacy).
|
|
26
28
|
|
|
27
29
|
DESCRIPTION
|
|
28
30
|
Authenticate - will create a new account if one does not exist.
|
|
@@ -31,4 +33,6 @@ EXAMPLES
|
|
|
31
33
|
$ shipthis login
|
|
32
34
|
|
|
33
35
|
$ shipthis login --force --email me@email.nowhere
|
|
36
|
+
|
|
37
|
+
$ shipthis login --acceptAgreements
|
|
34
38
|
```
|
package/docs/status.md
CHANGED
|
@@ -17,7 +17,7 @@ Displays the current overall status.
|
|
|
17
17
|
|
|
18
18
|
## Example
|
|
19
19
|
|
|
20
|
-
[](https://asciinema.org/a/i5chSgJubWSXlAzjYdht98fLj)
|
|
21
21
|
|
|
22
22
|
## Help Output
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shipthis",
|
|
3
3
|
"description": "ShipThis manages building and uploading your Godot games to the App Store and Google Play.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.36",
|
|
5
5
|
"author": "Hello Invent Ltd",
|
|
6
6
|
"bin": {
|
|
7
7
|
"shipthis": "./bin/run.js"
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"@inkjs/ui": "^2.0.0",
|
|
14
14
|
"@oclif/core": "^4",
|
|
15
15
|
"@oclif/plugin-help": "^6",
|
|
16
|
+
"@oclif/plugin-warn-if-update-available": "^3.1.46",
|
|
16
17
|
"@tanstack/react-query": "^5.56.2",
|
|
17
18
|
"@types/marked-terminal": "^6.1.1",
|
|
18
19
|
"@types/uuid": "^10.0.0",
|
|
@@ -163,7 +164,8 @@
|
|
|
163
164
|
"commands": "./dist/commands",
|
|
164
165
|
"helpClass": "./dist/utils/help",
|
|
165
166
|
"plugins": [
|
|
166
|
-
"@oclif/plugin-help"
|
|
167
|
+
"@oclif/plugin-help",
|
|
168
|
+
"@oclif/plugin-warn-if-update-available"
|
|
167
169
|
],
|
|
168
170
|
"topicSeparator": " ",
|
|
169
171
|
"topics": {
|
|
@@ -209,6 +211,10 @@
|
|
|
209
211
|
"game:job": {
|
|
210
212
|
"description": "Commands related to jobs for a specific game"
|
|
211
213
|
}
|
|
214
|
+
},
|
|
215
|
+
"warn-if-update-available": {
|
|
216
|
+
"frequency": 1,
|
|
217
|
+
"frequencyUnit": "days"
|
|
212
218
|
}
|
|
213
219
|
},
|
|
214
220
|
"repository": "github:shipth-is/cli",
|