shipthis 0.1.39 → 0.1.42

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.
Files changed (94) hide show
  1. package/README.md +58 -0
  2. package/assets/markdown/confirm-change-android-build-method.md.ejs +13 -0
  3. package/dist/{AppleBundleIdDetails-Ck7iAjMb.js → AppleBundleIdDetails-jDq3gYbk.js} +7 -5
  4. package/dist/{Command-C84QiOWP.js → Command-cVo97lkQ.js} +2 -1
  5. package/dist/{CommandGame-CsM9GE5Q.js → CommandGame-BwudtYCO.js} +2 -2
  6. package/dist/{Create-Dx1nEKmS.js → Create-By4NsPEI.js} +3 -1
  7. package/dist/{GameStatus-B4WBgoLs.js → GameStatus-C59zQE1H.js} +3 -1
  8. package/dist/{Import-BC5XgwRT.js → Import-DTcVM-T-.js} +4 -2
  9. package/dist/{JobLogTail-mBXpeWMu.js → JobLogTail-BzisGkY8.js} +30 -16
  10. package/dist/{JobProgress-KZ6EkMFi.js → JobProgress-DAnhaTho.js} +21 -9
  11. package/dist/{JobStatusTable-BYIxTt0d.js → JobStatusTable-BYEi8dtD.js} +3 -2
  12. package/dist/{ProjectCredentialsTable-DSy1YIWX.js → ProjectCredentialsTable-NZf3V39z.js} +2 -2
  13. package/dist/{UserCredentialsTable-qNByRE84.js → UserCredentialsTable-Dp884nYO.js} +2 -1
  14. package/dist/{baseAppleCommand-CdROzhyU.js → baseAppleCommand-DewNWX3L.js} +1 -1
  15. package/dist/baseCommand-CscxrTMI.js +757 -0
  16. package/dist/{baseGameAndroidCommand-B21zS0MN.js → baseGameAndroidCommand-CEcDz5P2.js} +4 -2
  17. package/dist/{index-Cv-92xRd.js → baseGameCommand-BKvHM3h_.js} +19 -755
  18. package/dist/commands/apiKey/create.js +7 -7
  19. package/dist/commands/apiKey/list.js +7 -7
  20. package/dist/commands/apiKey/revoke.js +7 -7
  21. package/dist/commands/apple/apiKey/create.js +14 -14
  22. package/dist/commands/apple/apiKey/delete.js +8 -8
  23. package/dist/commands/apple/apiKey/export.js +14 -14
  24. package/dist/commands/apple/apiKey/import.js +14 -14
  25. package/dist/commands/apple/apiKey/status.js +13 -13
  26. package/dist/commands/apple/certificate/create.js +14 -14
  27. package/dist/commands/apple/certificate/delete.js +8 -8
  28. package/dist/commands/apple/certificate/export.js +14 -14
  29. package/dist/commands/apple/certificate/import.js +14 -14
  30. package/dist/commands/apple/certificate/status.js +13 -13
  31. package/dist/commands/apple/login.js +5 -5
  32. package/dist/commands/apple/status.js +13 -13
  33. package/dist/commands/dashboard.js +8 -8
  34. package/dist/commands/game/android/apiKey/connect.js +12 -12
  35. package/dist/commands/game/android/apiKey/create.js +14 -14
  36. package/dist/commands/game/android/apiKey/delete.js +7 -7
  37. package/dist/commands/game/android/apiKey/export.js +14 -14
  38. package/dist/commands/game/android/apiKey/import.js +14 -14
  39. package/dist/commands/game/android/apiKey/invite.js +20 -20
  40. package/dist/commands/game/android/apiKey/policy.js +9 -9
  41. package/dist/commands/game/android/apiKey/status.js +14 -14
  42. package/dist/commands/game/android/keyStore/create.js +11 -11
  43. package/dist/commands/game/android/keyStore/delete.js +7 -7
  44. package/dist/commands/game/android/keyStore/export.js +13 -13
  45. package/dist/commands/game/android/keyStore/import.js +16 -16
  46. package/dist/commands/game/android/keyStore/status.js +16 -16
  47. package/dist/commands/game/android/status.js +6 -6
  48. package/dist/commands/game/build/download.js +7 -7
  49. package/dist/commands/game/build/list.js +12 -12
  50. package/dist/commands/game/create.js +5 -5
  51. package/dist/commands/game/details.js +16 -13
  52. package/dist/commands/game/export.js +5 -5
  53. package/dist/commands/game/ios/app/addTester.js +9 -9
  54. package/dist/commands/game/ios/app/create.js +10 -9
  55. package/dist/commands/game/ios/app/status.js +14 -14
  56. package/dist/commands/game/ios/app/sync.js +12 -12
  57. package/dist/commands/game/ios/profile/create.js +10 -10
  58. package/dist/commands/game/ios/profile/delete.js +8 -8
  59. package/dist/commands/game/ios/profile/export.js +13 -13
  60. package/dist/commands/game/ios/profile/import.js +13 -13
  61. package/dist/commands/game/ios/profile/status.js +14 -14
  62. package/dist/commands/game/ios/status.js +18 -18
  63. package/dist/commands/game/ios/wizard.js +8 -8
  64. package/dist/commands/game/job/list.js +7 -7
  65. package/dist/commands/game/job/status.js +14 -14
  66. package/dist/commands/game/list.js +7 -7
  67. package/dist/commands/game/ship.js +30 -13
  68. package/dist/commands/game/status.js +14 -14
  69. package/dist/commands/game/wizard.js +87 -37
  70. package/dist/commands/internal/fastlane.js +13 -13
  71. package/dist/commands/internal/readme.js +17 -17
  72. package/dist/commands/login.js +21 -21
  73. package/dist/commands/status.js +10 -10
  74. package/dist/commands/util/android-build-method.js +66 -0
  75. package/dist/commands/util/glass.js +118 -0
  76. package/dist/{export-BtUjg3Tl.js → export-DBQHSKU-.js} +1 -1
  77. package/dist/{import-BYSkF-tX.js → import-Bk4w8kks.js} +1 -1
  78. package/dist/{index-CcGRePRU.js → index-WrVwh6le.js} +6 -4
  79. package/dist/{index-Du6l7ZyV.js → index-qOGviaGc.js} +1 -1
  80. package/dist/{index-CgGLBt2v.js → index-zdIBXHs2.js} +5 -3
  81. package/dist/{upload-LoVBuJbT.js → upload-CeRPHRCP.js} +1 -1
  82. package/dist/{useAppleApp-Bg0x6s97.js → useAppleApp-DgZH0CBS.js} +1 -1
  83. package/dist/{useAppleBundleId-CEOssLqN.js → useAppleBundleId-CA7Pg4Hi.js} +2 -2
  84. package/dist/{useAppleProfiles-CHf_gHdZ.js → useAppleProfiles-CUBTPbcC.js} +1 -1
  85. package/dist/{useGoogleStatus-Ch36GbVo.js → useGoogleStatus-DpPwKmw_.js} +2 -1
  86. package/dist/{useProjectCredentials-CsQWPdyo.js → useProjectCredentials-rQLm2O1J.js} +2 -1
  87. package/dist/{useWebSocket-CWeaaLqi.js → useWebSocket-PU55rRGt.js} +1 -1
  88. package/docs/README.md +1 -0
  89. package/docs/util/android-build-method.md +26 -0
  90. package/docs/util/glass.md +47 -0
  91. package/docs/util.md +12 -0
  92. package/npm-shrinkwrap.json +14181 -0
  93. package/oclif.manifest.json +2966 -0
  94. package/package.json +11 -6
@@ -8,20 +8,21 @@ import 'node:path';
8
8
  import 'node:readline';
9
9
  import 'node:url';
10
10
  import 'readline-sync';
11
- import { a0 as cacheKeys, u as getAuthedHeaders, t as API_URL, aw as castObjectDates, X 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, f as getShortDate } from './index-Cv-92xRd.js';
11
+ import { q as getAuthedHeaders, p as API_URL, a6 as castObjectDates, I as queryClient, S as revokePolicy, R as enforcePolicy, P as Platform, C as CredentialsType, O as getGoogleStatus, c as getShortDate } from './baseCommand-CscxrTMI.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
16
  import 'luxon';
17
+ import { k as cacheKeys, i as GameContext, x as useSafeInput, M as Markdown } from './baseGameCommand-BKvHM3h_.js';
17
18
  import 'fast-glob';
18
19
  import 'uuid';
19
20
  import 'yazl';
20
21
  import 'socket.io-client';
21
22
  import 'fullscreen-ink';
22
- import { u as useWebSocket } from './useWebSocket-CWeaaLqi.js';
23
- import { u as useProjectCredentials } from './useProjectCredentials-CsQWPdyo.js';
24
- import { u as useGoogleStatus } from './useGoogleStatus-Ch36GbVo.js';
23
+ import { u as useWebSocket } from './useWebSocket-PU55rRGt.js';
24
+ import { u as useProjectCredentials } from './useProjectCredentials-rQLm2O1J.js';
25
+ import { u as useGoogleStatus } from './useGoogleStatus-DpPwKmw_.js';
25
26
  import 'crypto-js';
26
27
  import 'string-length';
27
28
  import 'strip-ansi';
@@ -29,6 +30,7 @@ import 'open';
29
30
  import '@inkjs/ui';
30
31
  import { P as ProgressSpinner } from './ProgressSpinner-Um6ARKlk.js';
31
32
  import 'qrcode';
33
+ import 'godot-export-presets';
32
34
 
33
35
  async function fetchStatus({ projectId }) {
34
36
  try {
@@ -1,5 +1,5 @@
1
1
  import axios from 'axios';
2
- import { t as API_URL, u as getAuthedHeaders, V as castArrayObjectDates } from './index-Cv-92xRd.js';
2
+ import { p as API_URL, q as getAuthedHeaders, H as castArrayObjectDates } from './baseCommand-CscxrTMI.js';
3
3
  import 'node:fs';
4
4
 
5
5
  async function getUserCredentials(pageSize = 100) {
@@ -12,7 +12,7 @@ import 'readline-sync';
12
12
  import 'luxon';
13
13
  import 'axios';
14
14
  import 'isomorphic-git';
15
- import { av as getShortAuthRequiredUrl, ax as getGoogleAuthUrl, R as GameContext, at as useSafeInput, W as WEB_URL, au as Markdown } from './index-Cv-92xRd.js';
15
+ import { a5 as getShortAuthRequiredUrl, a7 as getGoogleAuthUrl, W as WEB_URL } from './baseCommand-CscxrTMI.js';
16
16
  import '@oclif/core';
17
17
  import '@tanstack/react-query';
18
18
  import 'crypto-js';
@@ -20,12 +20,14 @@ import 'uuid';
20
20
  import 'fast-glob';
21
21
  import 'yazl';
22
22
  import 'socket.io-client';
23
- import { u as useGoogleStatus } from './useGoogleStatus-Ch36GbVo.js';
24
- import { u as useWebSocket } from './useWebSocket-CWeaaLqi.js';
23
+ import { u as useGoogleStatus } from './useGoogleStatus-DpPwKmw_.js';
24
+ import { u as useWebSocket } from './useWebSocket-PU55rRGt.js';
25
25
  import 'fullscreen-ink';
26
+ import { i as GameContext, x as useSafeInput, M as Markdown } from './baseGameCommand-BKvHM3h_.js';
26
27
  import 'string-length';
27
28
  import 'strip-ansi';
28
29
  import '@inkjs/ui';
30
+ import 'godot-export-presets';
29
31
  import 'marked';
30
32
  import 'marked-terminal';
31
33
  import qrcode from 'qrcode';
@@ -1,5 +1,5 @@
1
1
  import axios from 'axios';
2
- import { t as API_URL, u as getAuthedHeaders } from './index-Cv-92xRd.js';
2
+ import { p as API_URL, q as getAuthedHeaders } from './baseCommand-CscxrTMI.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 { l as App } from './index-Cv-92xRd.js';
2
+ import { f as App } from './baseCommand-CscxrTMI.js';
3
3
 
4
4
  const queryAppleApp = async ({ ctx, iosBundleId }) => {
5
5
  if (!iosBundleId) {
@@ -1,5 +1,5 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
- import { k as BundleId, v as getGodotProjectCapabilities, P as Platform, G as GODOT_CAPABILITIES, w as CapabilityType } from './index-Cv-92xRd.js';
2
+ import { e as BundleId, r as getGodotProjectCapabilities, P as Platform, G as GODOT_CAPABILITIES, t as CapabilityType } from './baseCommand-CscxrTMI.js';
3
3
 
4
4
  async function getBundleIdCapabilities(bundleId) {
5
5
  const current = await bundleId.getBundleIdCapabilitiesAsync();
@@ -27,7 +27,7 @@ const fetchBundleId = async ({ ctx, iosBundleId }) => {
27
27
  });
28
28
  if (!bundleId) return empty;
29
29
  const bundleIdCapabilities = await getBundleIdCapabilities(bundleId);
30
- const projectCapabilities = getGodotProjectCapabilities(Platform.IOS);
30
+ const projectCapabilities = await getGodotProjectCapabilities(Platform.IOS);
31
31
  const capabilitiesTable = GODOT_CAPABILITIES.map((gc) => {
32
32
  const isEnabledInBundle = bundleIdCapabilities.includes(gc.type);
33
33
  const isEnabledInProject = projectCapabilities.includes(gc.type);
@@ -1,6 +1,6 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
2
  import { DateTime } from 'luxon';
3
- import { f as getShortDate, r as Profile, s as ProfileType } from './index-Cv-92xRd.js';
3
+ import { c as getShortDate, n as Profile, o as ProfileType } from './baseCommand-CscxrTMI.js';
4
4
  import 'node:crypto';
5
5
  import 'node:fs';
6
6
  import 'node:path';
@@ -1,5 +1,6 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
- import { a0 as cacheKeys, a2 as getGoogleStatus } from './index-Cv-92xRd.js';
2
+ import { O as getGoogleStatus } from './baseCommand-CscxrTMI.js';
3
+ import { k as cacheKeys } from './baseGameCommand-BKvHM3h_.js';
3
4
 
4
5
  const useGoogleStatus = () => useQuery({
5
6
  queryFn: getGoogleStatus,
@@ -1,6 +1,7 @@
1
1
  import { useQuery } from '@tanstack/react-query';
2
2
  import axios from 'axios';
3
- import { a0 as cacheKeys, g as getShortUUID, f as getShortDate, u as getAuthedHeaders, t as API_URL, V as castArrayObjectDates } from './index-Cv-92xRd.js';
3
+ import { c as getShortDate, q as getAuthedHeaders, p as API_URL, H as castArrayObjectDates } from './baseCommand-CscxrTMI.js';
4
+ import { k as cacheKeys, g as getShortUUID } from './baseGameCommand-BKvHM3h_.js';
4
5
 
5
6
  async function queryProjectCredentials({
6
7
  projectId,
@@ -1,6 +1,6 @@
1
1
  import { useEffect } from 'react';
2
2
  import { io } from 'socket.io-client';
3
- import { _ as WS_URL, $ as getAuthToken } from './index-Cv-92xRd.js';
3
+ import { K as WS_URL, L as getAuthToken } from './baseCommand-CscxrTMI.js';
4
4
 
5
5
  function useWebSocket(listeners = []) {
6
6
  const log = () => {
package/docs/README.md CHANGED
@@ -11,6 +11,7 @@ Begin with our [Quickstart Guide](https://shipth.is/docs/guides/quick-start).
11
11
  - [apiKey](https://shipth.is/docs/reference/apiKey) - Commands that relate to ShipThis API keys
12
12
  - [apple](https://shipth.is/docs/reference/apple) - Commands that relate to linking your ShipThis account with your Apple Developer Account
13
13
  - [game](https://shipth.is/docs/reference/game) - Commands that relate to configuring the specific game in the current working directory
14
+ - [util](https://shipth.is/docs/reference/util) - Utility commands that do not require login
14
15
 
15
16
  ## Commands
16
17
 
@@ -0,0 +1,26 @@
1
+ # Command: `util android-build-method`
2
+
3
+ ## Description
4
+
5
+ Gets and sets the Android build method in export_presets.cfg
6
+
7
+ ## Help Output
8
+
9
+ ```help
10
+ USAGE
11
+ $ shipthis util android-build-method [-l] [-g]
12
+
13
+ FLAGS
14
+ -g, --gradle use gradle build method
15
+ -l, --legacy use legacy build method
16
+
17
+ DESCRIPTION
18
+ Gets and sets the Android build method in export_presets.cfg
19
+
20
+ EXAMPLES
21
+ $ shipthis util android-build-method
22
+
23
+ $ shipthis util android-build-method --legacy
24
+
25
+ $ shipthis util android-build-method --gradle
26
+ ```
@@ -0,0 +1,47 @@
1
+ # Command: `util glass`
2
+
3
+ ## Description
4
+
5
+ Applies a Liquid Glass `.icon` folder to a local Xcode project.
6
+
7
+ This updates the project's resources to include the specified `.icon` which Xcode will use as the app icon at build time.
8
+ Useful when preparing an iOS export created by Godot, when you want to apply a Liquid Glass icon locally before building.
9
+
10
+ :::note
11
+ Liquid Glass icons are bundles in the `.icon` format.
12
+ They look like a single file in Finder, but are actually directories containing all icon variants.
13
+ :::
14
+
15
+ This command works locally and does **not** require authentication.
16
+
17
+ ## Arguments
18
+
19
+ - **`PROJECT`** - Path to the `.xcodeproj` directory you want to modify.
20
+ - **`ICON`** - Path to the `.icon` folder (e.g. `AppIcon.icon`).
21
+
22
+ ## Example
23
+
24
+ Apply `MyIcon.icon` to an exported Xcode project:
25
+
26
+ ```bash
27
+ shipthis util glass ios/output.xcodeproj MyIcon.icon
28
+ ```
29
+
30
+ This will update the project configuration so that Xcode will use `MyIcon.icon` as the icon.
31
+
32
+ ## Help Output
33
+
34
+ ```help
35
+ USAGE
36
+ $ shipthis util glass PROJECT ICON [--verbose]
37
+
38
+ ARGUMENTS
39
+ PROJECT Path to the .xcodeproj directory
40
+ ICON Path to the .icon folder
41
+
42
+ FLAGS
43
+ --verbose Enable verbose logging
44
+
45
+ DESCRIPTION
46
+ Apply a Liquid Glass .icon folder to a local Xcode project
47
+ ```
package/docs/util.md ADDED
@@ -0,0 +1,12 @@
1
+ # Topic: `util`
2
+
3
+ Commands in this topic are invoked as `shipthis util <command>`.
4
+
5
+ :::tip
6
+ These commands do not require authentication.
7
+ :::
8
+
9
+ ## Commands
10
+
11
+ - [util android-build-method](/docs/reference/util/android-build-method)
12
+ - [util glass](/docs/reference/util/glass)