shipthis 0.0.40 → 0.0.41

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.
@@ -55,7 +55,8 @@ class Login extends BaseCommand {
55
55
  return otp2;
56
56
  };
57
57
  const otp = await getOTP();
58
- const { data: shipThisUser } = await axios.post(`${API_URL}/auth/email/verify`, { email, otp });
58
+ const source = `shipthis-cli-${this.config.version}`;
59
+ const { data: shipThisUser } = await axios.post(`${API_URL}/auth/email/verify`, { email, otp, source });
59
60
  const getAcceptedTermsResponse = async () => {
60
61
  console.log(
61
62
  `Please review the following documents:
@@ -663,6 +663,139 @@
663
663
  "status.js"
664
664
  ]
665
665
  },
666
+ "game:build:download": {
667
+ "aliases": [],
668
+ "args": {
669
+ "build_id": {
670
+ "description": "The ID of the build to download",
671
+ "name": "build_id",
672
+ "required": true
673
+ },
674
+ "file": {
675
+ "description": "Name of the file to output",
676
+ "name": "file",
677
+ "required": true
678
+ }
679
+ },
680
+ "description": "Downloads the given build artifact to the specified file",
681
+ "examples": [
682
+ "<%= config.bin %> <%= command.id %> 7a3f5c92 output.ipa",
683
+ "<%= config.bin %> <%= command.id %> --gameId 0c179fc4 e4b9a3d7 output.apk"
684
+ ],
685
+ "flags": {
686
+ "gameId": {
687
+ "char": "g",
688
+ "description": "The ID of the game",
689
+ "name": "gameId",
690
+ "hasDynamicHelp": false,
691
+ "multiple": false,
692
+ "type": "option"
693
+ },
694
+ "force": {
695
+ "char": "f",
696
+ "description": "Overwrite the file if it already exists",
697
+ "name": "force",
698
+ "allowNo": false,
699
+ "type": "boolean"
700
+ }
701
+ },
702
+ "hasDynamicHelp": false,
703
+ "hiddenAliases": [],
704
+ "id": "game:build:download",
705
+ "pluginAlias": "shipthis",
706
+ "pluginName": "shipthis",
707
+ "pluginType": "core",
708
+ "strict": true,
709
+ "enableJsonFlag": false,
710
+ "isESM": true,
711
+ "relativePath": [
712
+ "dist",
713
+ "commands",
714
+ "game",
715
+ "build",
716
+ "download.js"
717
+ ]
718
+ },
719
+ "game:build:list": {
720
+ "aliases": [],
721
+ "args": {},
722
+ "description": "Lists the builds for successful jobs of a game.",
723
+ "examples": [
724
+ "<%= config.bin %> <%= command.id %>",
725
+ "<%= config.bin %> <%= command.id %> --gameId 0c179fc4",
726
+ "<%= config.bin %> <%= command.id %> --gameId 0c179fc4 --pageSize 20 --pageNumber 1"
727
+ ],
728
+ "flags": {
729
+ "gameId": {
730
+ "char": "g",
731
+ "description": "The ID of the game",
732
+ "name": "gameId",
733
+ "hasDynamicHelp": false,
734
+ "multiple": false,
735
+ "type": "option"
736
+ },
737
+ "pageNumber": {
738
+ "char": "p",
739
+ "description": "The page number to show (starts at 0)",
740
+ "name": "pageNumber",
741
+ "default": 0,
742
+ "hasDynamicHelp": false,
743
+ "multiple": false,
744
+ "type": "option"
745
+ },
746
+ "pageSize": {
747
+ "char": "s",
748
+ "description": "The number of items to show per page",
749
+ "name": "pageSize",
750
+ "default": 10,
751
+ "hasDynamicHelp": false,
752
+ "multiple": false,
753
+ "type": "option"
754
+ },
755
+ "orderBy": {
756
+ "char": "o",
757
+ "description": "The field to order by",
758
+ "name": "orderBy",
759
+ "default": "createdAt",
760
+ "hasDynamicHelp": false,
761
+ "multiple": false,
762
+ "options": [
763
+ "createdAt",
764
+ "updatedAt"
765
+ ],
766
+ "type": "option"
767
+ },
768
+ "order": {
769
+ "char": "r",
770
+ "description": "The order to sort by",
771
+ "name": "order",
772
+ "default": "desc",
773
+ "hasDynamicHelp": false,
774
+ "multiple": false,
775
+ "options": [
776
+ "asc",
777
+ "desc"
778
+ ],
779
+ "type": "option"
780
+ }
781
+ },
782
+ "hasDynamicHelp": false,
783
+ "hiddenAliases": [],
784
+ "id": "game:build:list",
785
+ "pluginAlias": "shipthis",
786
+ "pluginName": "shipthis",
787
+ "pluginType": "core",
788
+ "strict": true,
789
+ "enableJsonFlag": false,
790
+ "isESM": true,
791
+ "relativePath": [
792
+ "dist",
793
+ "commands",
794
+ "game",
795
+ "build",
796
+ "list.js"
797
+ ]
798
+ },
666
799
  "apple:certificate:create": {
667
800
  "aliases": [],
668
801
  "args": {},
@@ -812,67 +945,13 @@
812
945
  "status.js"
813
946
  ]
814
947
  },
815
- "game:build:download": {
816
- "aliases": [],
817
- "args": {
818
- "build_id": {
819
- "description": "The ID of the build to download",
820
- "name": "build_id",
821
- "required": true
822
- },
823
- "file": {
824
- "description": "Name of the file to output",
825
- "name": "file",
826
- "required": true
827
- }
828
- },
829
- "description": "Downloads the given build artifact to the specified file",
830
- "examples": [
831
- "<%= config.bin %> <%= command.id %> 7a3f5c92 output.ipa",
832
- "<%= config.bin %> <%= command.id %> --gameId 0c179fc4 e4b9a3d7 output.apk"
833
- ],
834
- "flags": {
835
- "gameId": {
836
- "char": "g",
837
- "description": "The ID of the game",
838
- "name": "gameId",
839
- "hasDynamicHelp": false,
840
- "multiple": false,
841
- "type": "option"
842
- },
843
- "force": {
844
- "char": "f",
845
- "description": "Overwrite the file if it already exists",
846
- "name": "force",
847
- "allowNo": false,
848
- "type": "boolean"
849
- }
850
- },
851
- "hasDynamicHelp": false,
852
- "hiddenAliases": [],
853
- "id": "game:build:download",
854
- "pluginAlias": "shipthis",
855
- "pluginName": "shipthis",
856
- "pluginType": "core",
857
- "strict": true,
858
- "enableJsonFlag": false,
859
- "isESM": true,
860
- "relativePath": [
861
- "dist",
862
- "commands",
863
- "game",
864
- "build",
865
- "download.js"
866
- ]
867
- },
868
- "game:build:list": {
948
+ "game:ios:status": {
869
949
  "aliases": [],
870
950
  "args": {},
871
- "description": "Lists the builds for successful jobs of a game.",
951
+ "description": "Shows the Game iOS Platform status. If --gameId is not provided it will look in the current directory.",
872
952
  "examples": [
873
953
  "<%= config.bin %> <%= command.id %>",
874
- "<%= config.bin %> <%= command.id %> --gameId 0c179fc4",
875
- "<%= config.bin %> <%= command.id %> --gameId 0c179fc4 --pageSize 20 --pageNumber 1"
954
+ "<%= config.bin %> <%= command.id %> --gameId 0c179fc4"
876
955
  ],
877
956
  "flags": {
878
957
  "gameId": {
@@ -882,55 +961,11 @@
882
961
  "hasDynamicHelp": false,
883
962
  "multiple": false,
884
963
  "type": "option"
885
- },
886
- "pageNumber": {
887
- "char": "p",
888
- "description": "The page number to show (starts at 0)",
889
- "name": "pageNumber",
890
- "default": 0,
891
- "hasDynamicHelp": false,
892
- "multiple": false,
893
- "type": "option"
894
- },
895
- "pageSize": {
896
- "char": "s",
897
- "description": "The number of items to show per page",
898
- "name": "pageSize",
899
- "default": 10,
900
- "hasDynamicHelp": false,
901
- "multiple": false,
902
- "type": "option"
903
- },
904
- "orderBy": {
905
- "char": "o",
906
- "description": "The field to order by",
907
- "name": "orderBy",
908
- "default": "createdAt",
909
- "hasDynamicHelp": false,
910
- "multiple": false,
911
- "options": [
912
- "createdAt",
913
- "updatedAt"
914
- ],
915
- "type": "option"
916
- },
917
- "order": {
918
- "char": "r",
919
- "description": "The order to sort by",
920
- "name": "order",
921
- "default": "desc",
922
- "hasDynamicHelp": false,
923
- "multiple": false,
924
- "options": [
925
- "asc",
926
- "desc"
927
- ],
928
- "type": "option"
929
964
  }
930
965
  },
931
966
  "hasDynamicHelp": false,
932
967
  "hiddenAliases": [],
933
- "id": "game:build:list",
968
+ "id": "game:ios:status",
934
969
  "pluginAlias": "shipthis",
935
970
  "pluginName": "shipthis",
936
971
  "pluginType": "core",
@@ -941,8 +976,8 @@
941
976
  "dist",
942
977
  "commands",
943
978
  "game",
944
- "build",
945
- "list.js"
979
+ "ios",
980
+ "status.js"
946
981
  ]
947
982
  },
948
983
  "game:job:list": {
@@ -1082,41 +1117,6 @@
1082
1117
  "status.js"
1083
1118
  ]
1084
1119
  },
1085
- "game:ios:status": {
1086
- "aliases": [],
1087
- "args": {},
1088
- "description": "Shows the Game iOS Platform status. If --gameId is not provided it will look in the current directory.",
1089
- "examples": [
1090
- "<%= config.bin %> <%= command.id %>",
1091
- "<%= config.bin %> <%= command.id %> --gameId 0c179fc4"
1092
- ],
1093
- "flags": {
1094
- "gameId": {
1095
- "char": "g",
1096
- "description": "The ID of the game",
1097
- "name": "gameId",
1098
- "hasDynamicHelp": false,
1099
- "multiple": false,
1100
- "type": "option"
1101
- }
1102
- },
1103
- "hasDynamicHelp": false,
1104
- "hiddenAliases": [],
1105
- "id": "game:ios:status",
1106
- "pluginAlias": "shipthis",
1107
- "pluginName": "shipthis",
1108
- "pluginType": "core",
1109
- "strict": true,
1110
- "enableJsonFlag": false,
1111
- "isESM": true,
1112
- "relativePath": [
1113
- "dist",
1114
- "commands",
1115
- "game",
1116
- "ios",
1117
- "status.js"
1118
- ]
1119
- },
1120
1120
  "game:ios:app:addTester": {
1121
1121
  "aliases": [],
1122
1122
  "args": {},
@@ -1508,5 +1508,5 @@
1508
1508
  ]
1509
1509
  }
1510
1510
  },
1511
- "version": "0.0.40"
1511
+ "version": "0.0.41"
1512
1512
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shipthis",
3
3
  "description": "A command line tool which manages releasing your Godot games to the iOS App Store.",
4
- "version": "0.0.40",
4
+ "version": "0.0.41",
5
5
  "author": "Hello Invent Ltd",
6
6
  "bin": {
7
7
  "shipthis": "./bin/run.js"