shipthis 0.0.24 → 0.0.25

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.
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { render, Box, Text } from 'ink';
2
+ import { render, Text, Box } from 'ink';
3
3
  import { Flags } from '@oclif/core';
4
4
  import { B as BaseAuthenticatedCommand, w as getProjects, f as getShortDate } from '../../baseGameCommand-B3NbuvDu.js';
5
5
  import 'path';
@@ -56,7 +56,8 @@ class GameList extends BaseAuthenticatedCommand {
56
56
  });
57
57
  render(
58
58
  /* @__PURE__ */ jsxs(App, { children: [
59
- /* @__PURE__ */ jsx(Table, { data }),
59
+ gameListResponse.data.length === 0 && params.pageNumber == 0 && /* @__PURE__ */ jsx(Text, { children: "No games found. Create one now with $ shipthis game wizard" }),
60
+ gameListResponse.data.length > 0 && /* @__PURE__ */ jsx(Table, { data }),
60
61
  gameListResponse.pageCount > 1 && /* @__PURE__ */ jsxs(Box, { marginTop: 1, flexDirection: "column", children: [
61
62
  /* @__PURE__ */ jsx(Text, { children: `Showing page ${flags.pageNumber + 1} of ${gameListResponse.pageCount}.` }),
62
63
  /* @__PURE__ */ jsx(Text, { children: "Use the --pageNumber parameter to see other pages." })
package/docs/README.md CHANGED
@@ -6,7 +6,56 @@ ShipThis is a platform that helps you manage shipping your [Godot](https://godot
6
6
 
7
7
  This is all done with an easy to use command line tool called `shipthis`.
8
8
 
9
- You can discover **ShipThis in less than 5 minutes** via our [Quick Start Guide](https://shipthis.cc/docs/quickstart).
9
+ ## Quickstart
10
+
11
+ Let's discover **ShipThis in less than 5 minutes**.
12
+
13
+ ### Getting Started
14
+
15
+ ShipThis is a platform that helps you manage shipping your [Godot](https://godotengine.org/) games to the App Store.
16
+
17
+ #### What you'll need
18
+
19
+ - A Godot game
20
+ - [Node.js](https://nodejs.org/en/download/) version 18.0 or above:
21
+ - When installing Node.js, you are recommended to check all checkboxes related to dependencies.
22
+ - An [Apple Developer](https://developer.apple.com) account
23
+
24
+ ### 1. Install ShipThis
25
+
26
+ ShipThis can be installed as a package via the [NPM package manager](https://www.npmjs.com/). Run the following at the command line:
27
+
28
+ ```
29
+ npm install -g shipthis
30
+ ```
31
+
32
+ ### 2. Create an account
33
+
34
+ Set up an account with ShipThis by logging in for the first time using the [`shipthis login`](https://shipthis.cc/docs/reference/login) command.
35
+
36
+ ```
37
+ shipthis login
38
+ ```
39
+
40
+ ### 3. Configure your game
41
+
42
+ Set up your ShipThis configuration using the built in [wizard](https://shipthis.cc/docs/wizard):
43
+
44
+ ```
45
+ shipthis game wizard
46
+ ```
47
+
48
+ ### 4. Ship
49
+
50
+ Now you can publish your game to TestFlight with the [`shipthis game ship`](https://shipthis.cc/docs/reference/game/ship) command:
51
+
52
+ ```
53
+ shipthis game ship
54
+ ```
55
+
56
+ Once you are happy with the build you can submit it to Apple using [App Store
57
+ Connect](https://appstoreconnect.apple.com/).
58
+
10
59
 
11
60
  ## Topics
12
61
 
@@ -1,4 +1,4 @@
1
- # apple apiKey
1
+ # Topic: `apple apiKey`
2
2
 
3
3
  Commands related to App Store Connect API Keys
4
4
 
@@ -1,4 +1,4 @@
1
- # apple certificate
1
+ # Topic: `apple certificate`
2
2
 
3
3
  Commands related to App Store Certificates
4
4
 
@@ -1,4 +1,4 @@
1
- # apple login
1
+ # Command: `apple login`
2
2
 
3
3
  ## Description
4
4
 
@@ -1,4 +1,4 @@
1
- # apple status
1
+ # Command: `apple status`
2
2
 
3
3
  ## Description
4
4
 
package/docs/apple.md CHANGED
@@ -1,6 +1,6 @@
1
- # Apple Commands
1
+ # Topic: `apple`
2
2
 
3
- Commands in the Apple topic are prefixed `shithis apple`. They relate to linking your ShipThis account with your Apple Developer Account. You need to be authenticated against ShipThis (by running [`shipthis login`](/docs/reference/login)) before running the Apple commands.
3
+ Commands in the Apple topic are prefixed `shipthis apple`. They relate to linking your ShipThis account with your Apple Developer Account. You need to be authenticated against ShipThis (by running [`shipthis login`](/docs/reference/login)) before running the Apple commands.
4
4
 
5
5
  ## Status
6
6
 
package/docs/dashboard.md CHANGED
@@ -1,4 +1,4 @@
1
- # dashboard
1
+ # Command: `dashboard`
2
2
 
3
3
  ## Description
4
4
 
@@ -1,4 +1,4 @@
1
- # Topic: Game Build
1
+ # Topic: `game build`
2
2
 
3
3
  Commands in the Game Build topic are prefixed `shipthis game build`. They relate
4
4
  to managing completed builds of your game.
@@ -1,4 +1,4 @@
1
- # game create
1
+ # Command: `game create`
2
2
 
3
3
  ## Description
4
4
 
@@ -7,7 +7,7 @@ Creates a new game in your [ShipThis account](https://shipthis.cc/games).
7
7
  It will read the name of your game from your `project.godot` file. You will be
8
8
  prompted to confirm this name, or you can specify one with the `--name` flag.
9
9
 
10
- If there is already a ShipThis game config file (`shithis.json`) in the current
10
+ If there is already a ShipThis game config file (`shipthis.json`) in the current
11
11
  directory then you will need to use the `--force` flag to create a new game and
12
12
  overwrite this file with the config for the new game.
13
13
 
@@ -1,4 +1,4 @@
1
- # game details
1
+ # Command: `game details`
2
2
 
3
3
  ## Description
4
4
 
@@ -1,4 +1,4 @@
1
- # game export
1
+ # Command: `game export`
2
2
 
3
3
  ## Description
4
4
 
@@ -1,36 +1,10 @@
1
- # game ios app
1
+ # Topic: `game ios app`
2
2
 
3
3
  Commands related to the App Store App for a specific game
4
4
 
5
5
 
6
6
  ## Commands
7
7
 
8
-
9
- ### game ios app addTester
10
-
11
- #### Description
12
-
13
- Adds a test user to the game in App Store Connect.
14
-
15
- #### Help Output
16
-
17
- ```
18
- USAGE
19
- $ shipthis game ios app addTester [-g <value>] [-e <value>] [-f <value>] [-l <value>]
20
-
21
- FLAGS
22
- -e, --email=<value> The email address of the tester
23
- -f, --firstName=<value> The first name of the tester
24
- -g, --gameId=<value> The ID of the game
25
- -l, --lastName=<value> The last name of the tester
26
-
27
- DESCRIPTION
28
- Adds a test user to the game in App Store Connect.
29
-
30
- EXAMPLES
31
- $ shipthis game ios app addTester
32
- ```
33
-
34
8
  ### game ios app create
35
9
 
36
10
  #### Description
@@ -1,4 +1,4 @@
1
- # game ios profile
1
+ # Topic: `game ios profile`
2
2
 
3
3
  Commands related to the App Store Provisioning Profiles for this Game
4
4
 
@@ -1,4 +1,4 @@
1
- # game ios status
1
+ # Command: `game ios status`
2
2
 
3
3
  ## Description
4
4
 
package/docs/game/ios.md CHANGED
@@ -1,4 +1,4 @@
1
- # Topic: Game iOS
1
+ # Topic: `game ios`
2
2
 
3
3
  Commands in the Game iOS topic are prefixed `shipthis game ios`. They relate to
4
4
  managing the iOS platform configuration for the game in the current directory.
@@ -11,7 +11,6 @@ these commands. To do that please run the following commands first:
11
11
  - [`shipthis apple login`](/docs/reference/apple/login)
12
12
  :::
13
13
 
14
-
15
14
  ## Topics
16
15
 
17
16
  - [game ios app](/docs/reference/game/ios/app)
package/docs/game/job.md CHANGED
@@ -1,4 +1,4 @@
1
- # game job
1
+ # Topic: `game job`
2
2
 
3
3
  Commands related to jobs for a specific game
4
4
 
package/docs/game/list.md CHANGED
@@ -1,4 +1,4 @@
1
- # game list
1
+ # Command: `game list`
2
2
 
3
3
  ## Description
4
4
 
package/docs/game/ship.md CHANGED
@@ -1,4 +1,4 @@
1
- # game ship
1
+ # Command: `game ship`
2
2
 
3
3
  ## Description
4
4
 
@@ -1,4 +1,4 @@
1
- # game status
1
+ # Command: `game status`
2
2
 
3
3
  ## Description
4
4
 
@@ -1,4 +1,4 @@
1
- # game wizard
1
+ # Command: `game wizard`
2
2
 
3
3
  ## Description
4
4
 
package/docs/game.md CHANGED
@@ -1,6 +1,6 @@
1
- # Game Commands
1
+ # Topic: `game`
2
2
 
3
- Commands in the Game topic are prefixed `shipthis game`. They relate to configuring
3
+ Commands in the game topic are prefixed `shipthis game`. They relate to configuring
4
4
  the specific game in the current working directory.
5
5
 
6
6
  You will need to be authenticated against ShipThis (by running [`shipthis login`](login)) before running the Game commands.
package/docs/help.md CHANGED
@@ -1,4 +1,4 @@
1
- # help
1
+ # Command: `help`
2
2
 
3
3
  ## Description
4
4
 
package/docs/login.md CHANGED
@@ -1,4 +1,4 @@
1
- # login
1
+ # Command: `login`
2
2
 
3
3
  ## Description
4
4
 
package/docs/status.md CHANGED
@@ -1,4 +1,4 @@
1
- # status
1
+ # Command: `status`
2
2
 
3
3
  ## Description
4
4
 
@@ -514,10 +514,10 @@
514
514
  "wizard.js"
515
515
  ]
516
516
  },
517
- "apple:apiKey:create": {
517
+ "apple:certificate:create": {
518
518
  "aliases": [],
519
519
  "args": {},
520
- "description": "Creates an App Store Connect API Key in your Apple Developer account.\nSaves the private key in your ShipThis account.",
520
+ "description": "Creates an iOS Distribution Certificate in your Apple Developer account.\nSaves the certificate with the private key to your ShipThis account",
521
521
  "examples": [
522
522
  "<%= config.bin %> <%= command.id %>",
523
523
  "<%= config.bin %> <%= command.id %> --force"
@@ -539,7 +539,7 @@
539
539
  },
540
540
  "hasDynamicHelp": false,
541
541
  "hiddenAliases": [],
542
- "id": "apple:apiKey:create",
542
+ "id": "apple:certificate:create",
543
543
  "pluginAlias": "shipthis",
544
544
  "pluginName": "shipthis",
545
545
  "pluginType": "core",
@@ -549,11 +549,11 @@
549
549
  "dist",
550
550
  "commands",
551
551
  "apple",
552
- "apiKey",
552
+ "certificate",
553
553
  "create.js"
554
554
  ]
555
555
  },
556
- "apple:apiKey:export": {
556
+ "apple:certificate:export": {
557
557
  "aliases": [],
558
558
  "args": {
559
559
  "file": {
@@ -562,9 +562,9 @@
562
562
  "required": true
563
563
  }
564
564
  },
565
- "description": "Saves the current App Store Connect API Key to a ZIP file",
565
+ "description": "Saves the current Apple Distribution Certificate to a ZIP file.",
566
566
  "examples": [
567
- "<%= config.bin %> <%= command.id %> userApiKey.zip"
567
+ "<%= config.bin %> <%= command.id %> userCert.zip"
568
568
  ],
569
569
  "flags": {
570
570
  "force": {
@@ -577,7 +577,7 @@
577
577
  },
578
578
  "hasDynamicHelp": false,
579
579
  "hiddenAliases": [],
580
- "id": "apple:apiKey:export",
580
+ "id": "apple:certificate:export",
581
581
  "pluginAlias": "shipthis",
582
582
  "pluginName": "shipthis",
583
583
  "pluginType": "core",
@@ -588,11 +588,11 @@
588
588
  "dist",
589
589
  "commands",
590
590
  "apple",
591
- "apiKey",
591
+ "certificate",
592
592
  "export.js"
593
593
  ]
594
594
  },
595
- "apple:apiKey:import": {
595
+ "apple:certificate:import": {
596
596
  "aliases": [],
597
597
  "args": {
598
598
  "file": {
@@ -601,9 +601,9 @@
601
601
  "required": true
602
602
  }
603
603
  },
604
- "description": "Imports an App Store Connect API Key ZIP file into your ShipThis account",
604
+ "description": "Imports an iOS Distribution Certificate to your ShipThis account",
605
605
  "examples": [
606
- "<%= config.bin %> <%= command.id %> userApiKey.zip"
606
+ "<%= config.bin %> <%= command.id %> userCert.zip"
607
607
  ],
608
608
  "flags": {
609
609
  "force": {
@@ -615,7 +615,7 @@
615
615
  },
616
616
  "hasDynamicHelp": false,
617
617
  "hiddenAliases": [],
618
- "id": "apple:apiKey:import",
618
+ "id": "apple:certificate:import",
619
619
  "pluginAlias": "shipthis",
620
620
  "pluginName": "shipthis",
621
621
  "pluginType": "core",
@@ -626,14 +626,14 @@
626
626
  "dist",
627
627
  "commands",
628
628
  "apple",
629
- "apiKey",
629
+ "certificate",
630
630
  "import.js"
631
631
  ]
632
632
  },
633
- "apple:apiKey:status": {
633
+ "apple:certificate:status": {
634
634
  "aliases": [],
635
635
  "args": {},
636
- "description": "Displays the status of App Store Connect API Keys in your Apple and ShipThis accounts.\nThis API key is used to automatically publish your games to the App Store.",
636
+ "description": "Displays the status of the iOS Distribution certificates in your Apple and ShipThis accounts.\nThese are used to sign all of your iOS apps.",
637
637
  "examples": [
638
638
  "<%= config.bin %> <%= command.id %>",
639
639
  "<%= config.bin %> <%= command.id %> --noAppleAuth"
@@ -648,7 +648,7 @@
648
648
  },
649
649
  "hasDynamicHelp": false,
650
650
  "hiddenAliases": [],
651
- "id": "apple:apiKey:status",
651
+ "id": "apple:certificate:status",
652
652
  "pluginAlias": "shipthis",
653
653
  "pluginName": "shipthis",
654
654
  "pluginType": "core",
@@ -659,14 +659,14 @@
659
659
  "dist",
660
660
  "commands",
661
661
  "apple",
662
- "apiKey",
662
+ "certificate",
663
663
  "status.js"
664
664
  ]
665
665
  },
666
- "apple:certificate:create": {
666
+ "apple:apiKey:create": {
667
667
  "aliases": [],
668
668
  "args": {},
669
- "description": "Creates an iOS Distribution Certificate in your Apple Developer account.\nSaves the certificate with the private key to your ShipThis account",
669
+ "description": "Creates an App Store Connect API Key in your Apple Developer account.\nSaves the private key in your ShipThis account.",
670
670
  "examples": [
671
671
  "<%= config.bin %> <%= command.id %>",
672
672
  "<%= config.bin %> <%= command.id %> --force"
@@ -688,7 +688,7 @@
688
688
  },
689
689
  "hasDynamicHelp": false,
690
690
  "hiddenAliases": [],
691
- "id": "apple:certificate:create",
691
+ "id": "apple:apiKey:create",
692
692
  "pluginAlias": "shipthis",
693
693
  "pluginName": "shipthis",
694
694
  "pluginType": "core",
@@ -698,11 +698,11 @@
698
698
  "dist",
699
699
  "commands",
700
700
  "apple",
701
- "certificate",
701
+ "apiKey",
702
702
  "create.js"
703
703
  ]
704
704
  },
705
- "apple:certificate:export": {
705
+ "apple:apiKey:export": {
706
706
  "aliases": [],
707
707
  "args": {
708
708
  "file": {
@@ -711,9 +711,9 @@
711
711
  "required": true
712
712
  }
713
713
  },
714
- "description": "Saves the current Apple Distribution Certificate to a ZIP file.",
714
+ "description": "Saves the current App Store Connect API Key to a ZIP file",
715
715
  "examples": [
716
- "<%= config.bin %> <%= command.id %> userCert.zip"
716
+ "<%= config.bin %> <%= command.id %> userApiKey.zip"
717
717
  ],
718
718
  "flags": {
719
719
  "force": {
@@ -726,7 +726,7 @@
726
726
  },
727
727
  "hasDynamicHelp": false,
728
728
  "hiddenAliases": [],
729
- "id": "apple:certificate:export",
729
+ "id": "apple:apiKey:export",
730
730
  "pluginAlias": "shipthis",
731
731
  "pluginName": "shipthis",
732
732
  "pluginType": "core",
@@ -737,11 +737,11 @@
737
737
  "dist",
738
738
  "commands",
739
739
  "apple",
740
- "certificate",
740
+ "apiKey",
741
741
  "export.js"
742
742
  ]
743
743
  },
744
- "apple:certificate:import": {
744
+ "apple:apiKey:import": {
745
745
  "aliases": [],
746
746
  "args": {
747
747
  "file": {
@@ -750,9 +750,9 @@
750
750
  "required": true
751
751
  }
752
752
  },
753
- "description": "Imports an iOS Distribution Certificate to your ShipThis account",
753
+ "description": "Imports an App Store Connect API Key ZIP file into your ShipThis account",
754
754
  "examples": [
755
- "<%= config.bin %> <%= command.id %> userCert.zip"
755
+ "<%= config.bin %> <%= command.id %> userApiKey.zip"
756
756
  ],
757
757
  "flags": {
758
758
  "force": {
@@ -764,7 +764,7 @@
764
764
  },
765
765
  "hasDynamicHelp": false,
766
766
  "hiddenAliases": [],
767
- "id": "apple:certificate:import",
767
+ "id": "apple:apiKey:import",
768
768
  "pluginAlias": "shipthis",
769
769
  "pluginName": "shipthis",
770
770
  "pluginType": "core",
@@ -775,14 +775,14 @@
775
775
  "dist",
776
776
  "commands",
777
777
  "apple",
778
- "certificate",
778
+ "apiKey",
779
779
  "import.js"
780
780
  ]
781
781
  },
782
- "apple:certificate:status": {
782
+ "apple:apiKey:status": {
783
783
  "aliases": [],
784
784
  "args": {},
785
- "description": "Displays the status of the iOS Distribution certificates in your Apple and ShipThis accounts.\nThese are used to sign all of your iOS apps.",
785
+ "description": "Displays the status of App Store Connect API Keys in your Apple and ShipThis accounts.\nThis API key is used to automatically publish your games to the App Store.",
786
786
  "examples": [
787
787
  "<%= config.bin %> <%= command.id %>",
788
788
  "<%= config.bin %> <%= command.id %> --noAppleAuth"
@@ -797,7 +797,7 @@
797
797
  },
798
798
  "hasDynamicHelp": false,
799
799
  "hiddenAliases": [],
800
- "id": "apple:certificate:status",
800
+ "id": "apple:apiKey:status",
801
801
  "pluginAlias": "shipthis",
802
802
  "pluginName": "shipthis",
803
803
  "pluginType": "core",
@@ -808,7 +808,7 @@
808
808
  "dist",
809
809
  "commands",
810
810
  "apple",
811
- "certificate",
811
+ "apiKey",
812
812
  "status.js"
813
813
  ]
814
814
  },
@@ -1508,5 +1508,5 @@
1508
1508
  ]
1509
1509
  }
1510
1510
  },
1511
- "version": "0.0.24"
1511
+ "version": "0.0.25"
1512
1512
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shipthis",
3
3
  "description": "Game Shipping Tool",
4
- "version": "0.0.24",
4
+ "version": "0.0.25",
5
5
  "author": "Hello Invent Ltd",
6
6
  "bin": {
7
7
  "shipthis": "./bin/run.js"