shipthis 0.1.36 → 0.1.38

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 (101) hide show
  1. package/README.md +46 -33
  2. package/assets/markdown/confirm-delete-android-keystore.md.ejs +22 -0
  3. package/assets/markdown/confirm-delete-android-serviceaccountkey.md.ejs +24 -0
  4. package/assets/markdown/confirm-delete-apple-credential.md.ejs +29 -0
  5. package/assets/markdown/ship-success.md.ejs +4 -0
  6. package/dist/{AppleBundleIdDetails-pEVOUXTQ.js → AppleBundleIdDetails-CgleH2pl.js} +3 -3
  7. package/dist/{Command-DhAVAdiI.js → Command-7dCv1F9p.js} +1 -1
  8. package/dist/{CommandGame-C-oV-hb4.js → CommandGame-er5Ql6hq.js} +2 -2
  9. package/dist/{Create-Dg9ZlwEd.js → Create-pLXESvEq.js} +1 -1
  10. package/dist/{GameStatus-Dm9TqFfW.js → GameStatus-B_Iw9tYr.js} +1 -1
  11. package/dist/{Import-BFNNkN-I.js → Import-fIsrfsmr.js} +2 -2
  12. package/dist/{JobLogTail-RTNIiAUk.js → JobLogTail-BPcQ8ghI.js} +2 -2
  13. package/dist/{JobProgress-dFWcT0CQ.js → JobProgress-CpEatVPs.js} +10 -6
  14. package/dist/{JobStatusTable-BlvMuWF7.js → JobStatusTable-BmJLzsUN.js} +2 -2
  15. package/dist/{ProjectCredentialsTable-CMBnYLou.js → ProjectCredentialsTable-DvPDhi7C.js} +5 -3
  16. package/dist/{UserCredentialsTable-oxE3mDmE.js → UserCredentialsTable-MBm1vAP3.js} +4 -2
  17. package/dist/{baseAppleCommand-cnLvBz95.js → baseAppleCommand-uL0Gnav4.js} +1 -1
  18. package/dist/{baseGameAndroidCommand-DUDYisYm.js → baseGameAndroidCommand-CKTSQyZV.js} +1 -1
  19. package/dist/commands/apiKey/create.js +3 -2
  20. package/dist/commands/apiKey/list.js +3 -2
  21. package/dist/commands/apiKey/revoke.js +3 -2
  22. package/dist/commands/apple/apiKey/create.js +7 -6
  23. package/dist/commands/apple/apiKey/delete.js +118 -0
  24. package/dist/commands/apple/apiKey/export.js +6 -5
  25. package/dist/commands/apple/apiKey/import.js +6 -5
  26. package/dist/commands/apple/apiKey/status.js +4 -3
  27. package/dist/commands/apple/certificate/create.js +7 -6
  28. package/dist/commands/apple/certificate/delete.js +127 -0
  29. package/dist/commands/apple/certificate/export.js +6 -5
  30. package/dist/commands/apple/certificate/import.js +6 -5
  31. package/dist/commands/apple/certificate/status.js +4 -3
  32. package/dist/commands/apple/login.js +12 -3
  33. package/dist/commands/apple/status.js +3 -2
  34. package/dist/commands/dashboard.js +2 -1
  35. package/dist/commands/game/android/apiKey/connect.js +8 -7
  36. package/dist/commands/game/android/apiKey/create.js +10 -9
  37. package/dist/commands/game/android/apiKey/delete.js +100 -0
  38. package/dist/commands/game/android/apiKey/export.js +6 -5
  39. package/dist/commands/game/android/apiKey/import.js +6 -5
  40. package/dist/commands/game/android/apiKey/invite.js +3 -2
  41. package/dist/commands/game/android/apiKey/policy.js +3 -2
  42. package/dist/commands/game/android/apiKey/status.js +6 -5
  43. package/dist/commands/game/android/keyStore/create.js +7 -6
  44. package/dist/commands/game/android/keyStore/delete.js +100 -0
  45. package/dist/commands/game/android/keyStore/export.js +5 -4
  46. package/dist/commands/game/android/keyStore/import.js +8 -7
  47. package/dist/commands/game/android/keyStore/status.js +5 -4
  48. package/dist/commands/game/android/status.js +2 -1
  49. package/dist/commands/game/build/download.js +3 -2
  50. package/dist/commands/game/build/list.js +4 -3
  51. package/dist/commands/game/create.js +2 -1
  52. package/dist/commands/game/details.js +9 -5
  53. package/dist/commands/game/export.js +2 -1
  54. package/dist/commands/game/ios/app/addTester.js +4 -3
  55. package/dist/commands/game/ios/app/create.js +3 -2
  56. package/dist/commands/game/ios/app/status.js +6 -5
  57. package/dist/commands/game/ios/app/sync.js +4 -3
  58. package/dist/commands/game/ios/profile/create.js +6 -5
  59. package/dist/commands/game/ios/profile/delete.js +123 -0
  60. package/dist/commands/game/ios/profile/export.js +5 -4
  61. package/dist/commands/game/ios/profile/import.js +5 -4
  62. package/dist/commands/game/ios/profile/status.js +8 -47
  63. package/dist/commands/game/ios/status.js +8 -7
  64. package/dist/commands/game/ios/wizard.js +2 -2
  65. package/dist/commands/game/job/list.js +3 -2
  66. package/dist/commands/game/job/status.js +6 -5
  67. package/dist/commands/game/list.js +3 -2
  68. package/dist/commands/game/ship.js +18 -10
  69. package/dist/commands/game/status.js +5 -4
  70. package/dist/commands/game/wizard.js +14 -13
  71. package/dist/commands/internal/fastlane.js +2 -1
  72. package/dist/commands/internal/readme.js +2 -1
  73. package/dist/commands/login.js +2 -1
  74. package/dist/commands/status.js +2 -2
  75. package/dist/{export-Bd552LBe.js → export-BwwAjG_F.js} +1 -1
  76. package/dist/{import-D-EL9sQJ.js → import-OgFrUsqw.js} +1 -1
  77. package/dist/{index-DwATmUTQ.js → index-C1XpCT_9.js} +4 -4
  78. package/dist/index-C2omlhEs.js +48 -0
  79. package/dist/{index-BtPf4vzY.js → index-DHioYOIm.js} +6 -3
  80. package/dist/{index-DCN43FhY.js → index-DVEYxVsH.js} +3 -3
  81. package/dist/{upload-Dm38PqhN.js → upload-5s3sy2jF.js} +1 -1
  82. package/dist/{useAppleApp-BKPntZPm.js → useAppleApp-szQ_Kg5S.js} +1 -1
  83. package/dist/{useAppleBundleId-DvQKEEy4.js → useAppleBundleId-BarLcidd.js} +1 -1
  84. package/dist/useAppleProfiles-C2U4NzC3.js +63 -0
  85. package/dist/{useGoogleStatus-D9jjGa--.js → useGoogleStatus-zfnjhtNB.js} +1 -1
  86. package/dist/{useProjectCredentials-BjsS28hP.js → useProjectCredentials-DbynNY96.js} +1 -1
  87. package/dist/{useWebSocket-CIeyHqxG.js → useWebSocket-h7smqhZQ.js} +1 -1
  88. package/docs/apple/apiKey/delete.md +25 -0
  89. package/docs/apple/apiKey.md +26 -0
  90. package/docs/apple/certificate/delete.md +25 -0
  91. package/docs/apple/certificate.md +26 -0
  92. package/docs/game/android/apiKey/delete.md +25 -0
  93. package/docs/game/android/apiKey.md +26 -0
  94. package/docs/game/android/keyStore/delete.md +25 -0
  95. package/docs/game/android/keyStore.md +26 -0
  96. package/docs/game/details.md +13 -10
  97. package/docs/game/ios/profile/delete.md +26 -0
  98. package/docs/game/ios/profile.md +27 -0
  99. package/docs/game/ship.md +5 -4
  100. package/package.json +6 -1
  101. package/dist/index-1H48f5j2.js +0 -24
@@ -29,18 +29,21 @@ After changing these values, you will need to trigger a new build of your game w
29
29
 
30
30
  ```help
31
31
  USAGE
32
- $ shipthis game details [-g <value>] [-f] [-b <value>] [-s <value>] [-e <value>] [-v <value>] [-i <value>] [-a
33
- <value>]
32
+ $ shipthis game details [-g <value>] [-f] [-a <value>] [-b <value>] [-e <value>] [-v <value>] [-g <value>] [-c <value>] [-i <value>] [-n <value>] [-s <value>] [-d <value>]
34
33
 
35
34
  FLAGS
36
- -a, --androidPackageName=<value> Set the Android package name
37
- -b, --buildNumber=<value> Set the build number
38
- -e, --gameEngine=<value> Set the game engine
39
- -f, --force Force the command to run
40
- -g, --gameId=<value> The ID of the game
41
- -i, --iosBundleId=<value> Set the iOS bundle ID
42
- -s, --semanticVersion=<value> Set the semantic version
43
- -v, --gameEngineVersion=<value> Set the game engine version
35
+ -a, --androidPackageName=<value> Set the Android package name
36
+ -b, --buildNumber=<value> Set the build number
37
+ -c, --gcpServiceAccountId=<value> Set the GCP service account ID
38
+ -d, --useDemoCredentials=<value> Use demo credentials for this project
39
+ -e, --gameEngine=<value> Set the game engine
40
+ -f, --force Force the command to run
41
+ -g, --gameId=<value> The ID of the game
42
+ -g, --gcpProjectId=<value> Set the GCP project ID
43
+ -i, --iosBundleId=<value> Set the iOS bundle ID
44
+ -n, --name=<value> The name of the game
45
+ -s, --semanticVersion=<value> Set the semantic version
46
+ -v, --gameEngineVersion=<value> Set the game engine version
44
47
 
45
48
  DESCRIPTION
46
49
  Shows and sets the details of a game.
@@ -0,0 +1,26 @@
1
+ # Command: `game ios profile delete`
2
+
3
+ ## Description
4
+
5
+ Delete an iOS Mobile Provisioning Profile from ShipThis and optionally from Apple
6
+
7
+ ## Help Output
8
+
9
+ ```help
10
+ USAGE
11
+ $ shipthis game ios profile delete [-g <value>] [-i] [-y] [-a]
12
+
13
+ FLAGS
14
+ -a, --revokeInApple Also revoke the Profile in Apple (cannot be undone)
15
+ -g, --gameId=<value> The ID of the game
16
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
17
+ -y, --iAmSure I am sure I want to do this - do not prompt me
18
+
19
+ DESCRIPTION
20
+ Delete an iOS Mobile Provisioning Profile from ShipThis and optionally from Apple
21
+
22
+ EXAMPLES
23
+ $ shipthis game ios profile delete
24
+
25
+ $ shipthis game ios profile delete --revokeInApple --immediate --iAmSure
26
+ ```
@@ -56,6 +56,33 @@ EXAMPLES
56
56
  $ shipthis game ios profile create
57
57
  ```
58
58
 
59
+ ### `game ios profile delete`
60
+
61
+ #### Description
62
+
63
+ Delete an iOS Mobile Provisioning Profile from ShipThis and optionally from Apple
64
+
65
+ #### Help Output
66
+
67
+ ```help
68
+ USAGE
69
+ $ shipthis game ios profile delete [-g <value>] [-i] [-y] [-a]
70
+
71
+ FLAGS
72
+ -a, --revokeInApple Also revoke the Profile in Apple (cannot be undone)
73
+ -g, --gameId=<value> The ID of the game
74
+ -i, --immediate Remove from storage immediately (rather than waiting for automatic cleanup - cannot be undone)
75
+ -y, --iAmSure I am sure I want to do this - do not prompt me
76
+
77
+ DESCRIPTION
78
+ Delete an iOS Mobile Provisioning Profile from ShipThis and optionally from Apple
79
+
80
+ EXAMPLES
81
+ $ shipthis game ios profile delete
82
+
83
+ $ shipthis game ios profile delete --revokeInApple --immediate --iAmSure
84
+ ```
85
+
59
86
  ### `game ios profile export`
60
87
 
61
88
  #### Description
package/docs/game/ship.md CHANGED
@@ -34,19 +34,19 @@ When using ShipThis in a CI environment, it is most useful to use the `--follow`
34
34
  ## Help Output
35
35
 
36
36
  ```help
37
- Builds the app (for all platforms with valid credentials) and ships it to the stores.
38
-
39
37
  USAGE
40
- $ shipthis game ship [-g <value>] [--download <value> --platform android|ios] [--downloadAPK <value> ] [--follow ] [--skipPublish] [--verbose]
38
+ $ shipthis game ship [-g <value>] [--download <value> --platform android|ios] [--downloadAPK <value> ] [--follow ]
39
+ [--skipPublish] [--verbose] [--useDemoCredentials ]
41
40
 
42
41
  FLAGS
43
42
  -g, --gameId=<value> The ID of the game
44
43
  --download=<value> Download the build artifact to the specified file
45
44
  --downloadAPK=<value> Download the APK artifact (if available) to the specified file
46
- --follow Follow the job logs in real-time. Requires --platform to be specified.
45
+ --follow Follow the job logs in real-time (requires --platform)
47
46
  --platform=<option> The platform to ship the game to. This can be "android" or "ios"
48
47
  <options: android|ios>
49
48
  --skipPublish Skip the publish step
49
+ --useDemoCredentials Use demo credentials for this build (requires --platform, implies --skipPublish)
50
50
  --verbose Enable verbose logging
51
51
 
52
52
  DESCRIPTION
@@ -65,4 +65,5 @@ EXAMPLES
65
65
 
66
66
  $ shipthis game ship --platform ios --follow --verbose
67
67
 
68
+ $ shipthis game ship --platform ios --useDemoCredentials --download game.ipa
68
69
  ```
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.36",
4
+ "version": "0.1.38",
5
5
  "author": "Hello Invent Ltd",
6
6
  "bin": {
7
7
  "shipthis": "./bin/run.js"
@@ -109,11 +109,13 @@
109
109
  "./dist/commands/apple/apiKey/export.js",
110
110
  "./dist/commands/apple/apiKey/create.js",
111
111
  "./dist/commands/apple/apiKey/status.js",
112
+ "./dist/commands/apple/apiKey/delete.js",
112
113
  "./dist/commands/apple/apiKey/import.js",
113
114
  "./dist/commands/apple/status.js",
114
115
  "./dist/commands/apple/certificate/export.js",
115
116
  "./dist/commands/apple/certificate/create.js",
116
117
  "./dist/commands/apple/certificate/status.js",
118
+ "./dist/commands/apple/certificate/delete.js",
117
119
  "./dist/commands/apple/certificate/import.js",
118
120
  "./dist/commands/apple/login.js",
119
121
  "./dist/commands/game/list.js",
@@ -127,6 +129,7 @@
127
129
  "./dist/commands/game/ios/profile/export.js",
128
130
  "./dist/commands/game/ios/profile/create.js",
129
131
  "./dist/commands/game/ios/profile/status.js",
132
+ "./dist/commands/game/ios/profile/delete.js",
130
133
  "./dist/commands/game/ios/profile/import.js",
131
134
  "./dist/commands/game/create.js",
132
135
  "./dist/commands/game/job/list.js",
@@ -138,11 +141,13 @@
138
141
  "./dist/commands/game/android/keyStore/export.js",
139
142
  "./dist/commands/game/android/keyStore/create.js",
140
143
  "./dist/commands/game/android/keyStore/status.js",
144
+ "./dist/commands/game/android/keyStore/delete.js",
141
145
  "./dist/commands/game/android/keyStore/import.js",
142
146
  "./dist/commands/game/android/apiKey/export.js",
143
147
  "./dist/commands/game/android/apiKey/create.js",
144
148
  "./dist/commands/game/android/apiKey/policy.js",
145
149
  "./dist/commands/game/android/apiKey/status.js",
150
+ "./dist/commands/game/android/apiKey/delete.js",
146
151
  "./dist/commands/game/android/apiKey/import.js",
147
152
  "./dist/commands/game/android/apiKey/invite.js",
148
153
  "./dist/commands/game/android/apiKey/connect.js",
@@ -1,24 +0,0 @@
1
- import axios from 'axios';
2
- import { s as API_URL, t as getAuthedHeaders, X as castArrayObjectDates } from './index-BtPf4vzY.js';
3
- import 'node:fs';
4
-
5
- async function getUserCredentials(pageSize = 100) {
6
- const headers = getAuthedHeaders();
7
- const { data } = await axios({
8
- headers,
9
- method: "get",
10
- url: `${API_URL}/credentials?pageSize=${pageSize}`
11
- });
12
- return castArrayObjectDates(data.data);
13
- }
14
- async function getProjectCredentials(projectId, pageSize = 100) {
15
- const headers = getAuthedHeaders();
16
- const { data } = await axios({
17
- headers,
18
- method: "get",
19
- url: `${API_URL}/projects/${projectId}/credentials?pageSize=${pageSize}`
20
- });
21
- return castArrayObjectDates(data.data);
22
- }
23
-
24
- export { getProjectCredentials as a, getUserCredentials as g };