@autifyhq/autify-cli 0.47.0 → 0.49.0

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 CHANGED
@@ -76,7 +76,7 @@ EXAMPLES
76
76
  $ autify connect access-point create --name NAME --web-workspace-id ID
77
77
  ```
78
78
 
79
- _See code: [src/commands/connect/access-point/create.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/connect/access-point/create.ts)_
79
+ _See code: [src/commands/connect/access-point/create.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/connect/access-point/create.ts)_
80
80
 
81
81
  ## `autify connect access-point set`
82
82
 
@@ -102,7 +102,7 @@ EXAMPLES
102
102
  $ autify connect access-point set --name=NAME < key.txt
103
103
  ```
104
104
 
105
- _See code: [src/commands/connect/access-point/set.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/connect/access-point/set.ts)_
105
+ _See code: [src/commands/connect/access-point/set.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/connect/access-point/set.ts)_
106
106
 
107
107
  ## `autify connect client install [VERSION]`
108
108
 
@@ -132,7 +132,7 @@ EXAMPLES
132
132
  $ autify connect client install stable
133
133
  ```
134
134
 
135
- _See code: [src/commands/connect/client/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/connect/client/install.ts)_
135
+ _See code: [src/commands/connect/client/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/connect/client/install.ts)_
136
136
 
137
137
  ## `autify connect client start`
138
138
 
@@ -166,7 +166,7 @@ EXAMPLES
166
166
  $ autify connect client start --web-workspace-id 000
167
167
  ```
168
168
 
169
- _See code: [src/commands/connect/client/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/connect/client/start.ts)_
169
+ _See code: [src/commands/connect/client/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/connect/client/start.ts)_
170
170
 
171
171
  ## `autify help [COMMAND]`
172
172
 
@@ -186,7 +186,7 @@ DESCRIPTION
186
186
  Display help for autify.
187
187
  ```
188
188
 
189
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.7/src/commands/help.ts)_
189
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.16/src/commands/help.ts)_
190
190
 
191
191
  ## `autify mobile api describe-test-result`
192
192
 
@@ -207,7 +207,7 @@ EXAMPLES
207
207
  $ autify mobile api describe-test-result
208
208
  ```
209
209
 
210
- _See code: [src/commands/mobile/api/describe-test-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/mobile/api/describe-test-result.ts)_
210
+ _See code: [src/commands/mobile/api/describe-test-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/mobile/api/describe-test-result.ts)_
211
211
 
212
212
  ## `autify mobile api list-test-results`
213
213
 
@@ -231,7 +231,7 @@ EXAMPLES
231
231
  $ autify mobile api list-test-results
232
232
  ```
233
233
 
234
- _See code: [src/commands/mobile/api/list-test-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/mobile/api/list-test-results.ts)_
234
+ _See code: [src/commands/mobile/api/list-test-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/mobile/api/list-test-results.ts)_
235
235
 
236
236
  ## `autify mobile api run-test-plan`
237
237
 
@@ -253,7 +253,7 @@ EXAMPLES
253
253
  $ autify mobile api run-test-plan
254
254
  ```
255
255
 
256
- _See code: [src/commands/mobile/api/run-test-plan.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/mobile/api/run-test-plan.ts)_
256
+ _See code: [src/commands/mobile/api/run-test-plan.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/mobile/api/run-test-plan.ts)_
257
257
 
258
258
  ## `autify mobile api upload-build`
259
259
 
@@ -274,7 +274,7 @@ EXAMPLES
274
274
  $ autify mobile api upload-build
275
275
  ```
276
276
 
277
- _See code: [src/commands/mobile/api/upload-build.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/mobile/api/upload-build.ts)_
277
+ _See code: [src/commands/mobile/api/upload-build.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/mobile/api/upload-build.ts)_
278
278
 
279
279
  ## `autify mobile auth login`
280
280
 
@@ -297,7 +297,7 @@ EXAMPLES
297
297
  $ autify mobile auth login < token.txt
298
298
  ```
299
299
 
300
- _See code: [src/commands/mobile/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/mobile/auth/login.ts)_
300
+ _See code: [src/commands/mobile/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/mobile/auth/login.ts)_
301
301
 
302
302
  ## `autify mobile build upload BUILD-PATH`
303
303
 
@@ -308,7 +308,7 @@ USAGE
308
308
  $ autify mobile build upload BUILD-PATH -w <value> [--json]
309
309
 
310
310
  ARGUMENTS
311
- BUILD-PATH File path to the iOS app (*.app) or Android app (*.apk).
311
+ BUILD-PATH File path to the iOS app (*.app, *.ipa) or Android app (*.apk).
312
312
 
313
313
  FLAGS
314
314
  -w, --workspace-id=<value> (required) Workspace ID to upload the build file
@@ -331,7 +331,7 @@ EXAMPLES
331
331
  $ autify mobile build upload --workspace-id AAA ./my.app --json
332
332
  ```
333
333
 
334
- _See code: [src/commands/mobile/build/upload.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/mobile/build/upload.ts)_
334
+ _See code: [src/commands/mobile/build/upload.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/mobile/build/upload.ts)_
335
335
 
336
336
  ## `autify mobile test run TEST-PLAN-URL`
337
337
 
@@ -350,7 +350,7 @@ FLAGS
350
350
  -v, --verbose Verbose output
351
351
  -w, --wait Wait until the test finishes.
352
352
  --build-id=<value> ID of the already uploaded build.
353
- --build-path=<value> File path to the iOS app (*.app) or Android app (*.apk).
353
+ --build-path=<value> File path to the iOS app (*.app, *.ipa) or Android app (*.apk).
354
354
  --max-retry-count=<value> Maximum retry count. The command can take up to timeout * (max-retry-count + 1).
355
355
 
356
356
  DESCRIPTION
@@ -371,7 +371,7 @@ EXAMPLES
371
371
  --timeout 600
372
372
  ```
373
373
 
374
- _See code: [src/commands/mobile/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/mobile/test/run.ts)_
374
+ _See code: [src/commands/mobile/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/mobile/test/run.ts)_
375
375
 
376
376
  ## `autify mobile test wait TEST-RESULT-URL`
377
377
 
@@ -395,7 +395,7 @@ EXAMPLES
395
395
  $ autify mobile test wait https://mobile-app.autify.com/projects/AAA/results/BBB
396
396
  ```
397
397
 
398
- _See code: [src/commands/mobile/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/mobile/test/wait.ts)_
398
+ _See code: [src/commands/mobile/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/mobile/test/wait.ts)_
399
399
 
400
400
  ## `autify update [CHANNEL]`
401
401
 
@@ -403,10 +403,11 @@ update the autify CLI
403
403
 
404
404
  ```
405
405
  USAGE
406
- $ autify update [CHANNEL] [--force | | [-a | -v <value> | -i]]
406
+ $ autify update [CHANNEL] [--force | | [-a | -v <value> | -i]] [-b ]
407
407
 
408
408
  FLAGS
409
409
  -a, --available See available versions.
410
+ -b, --verbose Show more details about the available versions.
410
411
  -i, --interactive Interactively select version to install. This is ignored if a channel is provided.
411
412
  -v, --version=<value> Install a specific version.
412
413
  --force Force a re-download of the requested version.
@@ -432,7 +433,7 @@ EXAMPLES
432
433
  $ autify update --available
433
434
  ```
434
435
 
435
- _See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v4.4.16/src/commands/update.ts)_
436
+ _See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v4.6.6/src/commands/update.ts)_
436
437
 
437
438
  ## `autify web api create-access-point`
438
439
 
@@ -455,7 +456,7 @@ EXAMPLES
455
456
  $ autify web api create-access-point
456
457
  ```
457
458
 
458
- _See code: [src/commands/web/api/create-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/create-access-point.ts)_
459
+ _See code: [src/commands/web/api/create-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/create-access-point.ts)_
459
460
 
460
461
  ## `autify web api create-test-plan-variable`
461
462
 
@@ -478,7 +479,7 @@ EXAMPLES
478
479
  $ autify web api create-test-plan-variable
479
480
  ```
480
481
 
481
- _See code: [src/commands/web/api/create-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/create-test-plan-variable.ts)_
482
+ _See code: [src/commands/web/api/create-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/create-test-plan-variable.ts)_
482
483
 
483
484
  ## `autify web api create-url-replacement`
484
485
 
@@ -501,7 +502,7 @@ EXAMPLES
501
502
  $ autify web api create-url-replacement
502
503
  ```
503
504
 
504
- _See code: [src/commands/web/api/create-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/create-url-replacement.ts)_
505
+ _See code: [src/commands/web/api/create-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/create-url-replacement.ts)_
505
506
 
506
507
  ## `autify web api delete-access-point`
507
508
 
@@ -524,7 +525,7 @@ EXAMPLES
524
525
  $ autify web api delete-access-point
525
526
  ```
526
527
 
527
- _See code: [src/commands/web/api/delete-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/delete-access-point.ts)_
528
+ _See code: [src/commands/web/api/delete-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/delete-access-point.ts)_
528
529
 
529
530
  ## `autify web api delete-test-plan-variable`
530
531
 
@@ -546,7 +547,7 @@ EXAMPLES
546
547
  $ autify web api delete-test-plan-variable
547
548
  ```
548
549
 
549
- _See code: [src/commands/web/api/delete-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/delete-test-plan-variable.ts)_
550
+ _See code: [src/commands/web/api/delete-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/delete-test-plan-variable.ts)_
550
551
 
551
552
  ## `autify web api delete-url-replacement`
552
553
 
@@ -568,7 +569,7 @@ EXAMPLES
568
569
  $ autify web api delete-url-replacement
569
570
  ```
570
571
 
571
- _See code: [src/commands/web/api/delete-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/delete-url-replacement.ts)_
572
+ _See code: [src/commands/web/api/delete-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/delete-url-replacement.ts)_
572
573
 
573
574
  ## `autify web api describe-result`
574
575
 
@@ -590,7 +591,7 @@ EXAMPLES
590
591
  $ autify web api describe-result
591
592
  ```
592
593
 
593
- _See code: [src/commands/web/api/describe-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/describe-result.ts)_
594
+ _See code: [src/commands/web/api/describe-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/describe-result.ts)_
594
595
 
595
596
  ## `autify web api describe-scenario`
596
597
 
@@ -611,7 +612,7 @@ EXAMPLES
611
612
  $ autify web api describe-scenario
612
613
  ```
613
614
 
614
- _See code: [src/commands/web/api/describe-scenario.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/describe-scenario.ts)_
615
+ _See code: [src/commands/web/api/describe-scenario.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/describe-scenario.ts)_
615
616
 
616
617
  ## `autify web api execute-scenarios`
617
618
 
@@ -639,7 +640,7 @@ EXAMPLES
639
640
  $ autify web api execute-scenarios
640
641
  ```
641
642
 
642
- _See code: [src/commands/web/api/execute-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/execute-scenarios.ts)_
643
+ _See code: [src/commands/web/api/execute-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/execute-scenarios.ts)_
643
644
 
644
645
  ## `autify web api execute-schedule`
645
646
 
@@ -662,7 +663,7 @@ EXAMPLES
662
663
  $ autify web api execute-schedule
663
664
  ```
664
665
 
665
- _See code: [src/commands/web/api/execute-schedule.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/execute-schedule.ts)_
666
+ _See code: [src/commands/web/api/execute-schedule.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/execute-schedule.ts)_
666
667
 
667
668
  ## `autify web api get-credit-usage`
668
669
 
@@ -694,7 +695,7 @@ EXAMPLES
694
695
  $ autify web api get-credit-usage
695
696
  ```
696
697
 
697
- _See code: [src/commands/web/api/get-credit-usage.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/get-credit-usage.ts)_
698
+ _See code: [src/commands/web/api/get-credit-usage.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/get-credit-usage.ts)_
698
699
 
699
700
  ## `autify web api get-project-info`
700
701
 
@@ -714,7 +715,7 @@ EXAMPLES
714
715
  $ autify web api get-project-info
715
716
  ```
716
717
 
717
- _See code: [src/commands/web/api/get-project-info.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/get-project-info.ts)_
718
+ _See code: [src/commands/web/api/get-project-info.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/get-project-info.ts)_
718
719
 
719
720
  ## `autify web api list-access-points`
720
721
 
@@ -735,7 +736,7 @@ EXAMPLES
735
736
  $ autify web api list-access-points
736
737
  ```
737
738
 
738
- _See code: [src/commands/web/api/list-access-points.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/list-access-points.ts)_
739
+ _See code: [src/commands/web/api/list-access-points.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/list-access-points.ts)_
739
740
 
740
741
  ## `autify web api list-capabilities`
741
742
 
@@ -762,7 +763,7 @@ EXAMPLES
762
763
  $ autify web api list-capabilities
763
764
  ```
764
765
 
765
- _See code: [src/commands/web/api/list-capabilities.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/list-capabilities.ts)_
766
+ _See code: [src/commands/web/api/list-capabilities.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/list-capabilities.ts)_
766
767
 
767
768
  ## `autify web api list-results`
768
769
 
@@ -785,7 +786,7 @@ EXAMPLES
785
786
  $ autify web api list-results
786
787
  ```
787
788
 
788
- _See code: [src/commands/web/api/list-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/list-results.ts)_
789
+ _See code: [src/commands/web/api/list-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/list-results.ts)_
789
790
 
790
791
  ## `autify web api list-scenarios`
791
792
 
@@ -806,7 +807,7 @@ EXAMPLES
806
807
  $ autify web api list-scenarios
807
808
  ```
808
809
 
809
- _See code: [src/commands/web/api/list-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/list-scenarios.ts)_
810
+ _See code: [src/commands/web/api/list-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/list-scenarios.ts)_
810
811
 
811
812
  ## `autify web api list-test-plan-variable`
812
813
 
@@ -827,7 +828,7 @@ EXAMPLES
827
828
  $ autify web api list-test-plan-variable
828
829
  ```
829
830
 
830
- _See code: [src/commands/web/api/list-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/list-test-plan-variable.ts)_
831
+ _See code: [src/commands/web/api/list-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/list-test-plan-variable.ts)_
831
832
 
832
833
  ## `autify web api list-url-replacements`
833
834
 
@@ -848,7 +849,7 @@ EXAMPLES
848
849
  $ autify web api list-url-replacements
849
850
  ```
850
851
 
851
- _See code: [src/commands/web/api/list-url-replacements.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/list-url-replacements.ts)_
852
+ _See code: [src/commands/web/api/list-url-replacements.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/list-url-replacements.ts)_
852
853
 
853
854
  ## `autify web api update-test-plan-variable`
854
855
 
@@ -874,7 +875,7 @@ EXAMPLES
874
875
  $ autify web api update-test-plan-variable
875
876
  ```
876
877
 
877
- _See code: [src/commands/web/api/update-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/update-test-plan-variable.ts)_
878
+ _See code: [src/commands/web/api/update-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/update-test-plan-variable.ts)_
878
879
 
879
880
  ## `autify web api update-url-replacement`
880
881
 
@@ -900,7 +901,7 @@ EXAMPLES
900
901
  $ autify web api update-url-replacement
901
902
  ```
902
903
 
903
- _See code: [src/commands/web/api/update-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/api/update-url-replacement.ts)_
904
+ _See code: [src/commands/web/api/update-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/api/update-url-replacement.ts)_
904
905
 
905
906
  ## `autify web auth login`
906
907
 
@@ -923,7 +924,7 @@ EXAMPLES
923
924
  $ autify web auth login < token.txt
924
925
  ```
925
926
 
926
- _See code: [src/commands/web/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/auth/login.ts)_
927
+ _See code: [src/commands/web/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/auth/login.ts)_
927
928
 
928
929
  ## `autify web test run SCENARIO-OR-TEST-PLAN-URL`
929
930
 
@@ -1004,7 +1005,7 @@ EXAMPLES
1004
1005
  $ autify web test run https://app.autify.com/projects/0000/scenarios/0000 --wait --autify-connect-client
1005
1006
  ```
1006
1007
 
1007
- _See code: [src/commands/web/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/test/run.ts)_
1008
+ _See code: [src/commands/web/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/test/run.ts)_
1008
1009
 
1009
1010
  ## `autify web test wait TEST-RESULT-URL`
1010
1011
 
@@ -1028,5 +1029,5 @@ EXAMPLES
1028
1029
  $ autify web test wait https://app.autify.com/projects/0000/results/0000
1029
1030
  ```
1030
1031
 
1031
- _See code: [src/commands/web/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.47.0/src/commands/web/test/wait.ts)_
1032
+ _See code: [src/commands/web/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.49.0/src/commands/web/test/wait.ts)_
1032
1033
  <!-- commandsstop -->
@@ -140,7 +140,7 @@ const installClient = async (configDir, cacheDir, url, version) => {
140
140
  // Clean up workspace in case something is left by previous command.
141
141
  if ((0, node_fs_1.existsSync)(workspaceDir))
142
142
  (0, node_fs_1.rmSync)(workspaceDir, { recursive: true, force: true });
143
- (0, node_fs_1.mkdirSync)(workspaceDir);
143
+ (0, node_fs_1.mkdirSync)(workspaceDir, { recursive: true });
144
144
  const downloadPath = await download(workspaceDir, url);
145
145
  const extractPath = await extract(downloadPath);
146
146
  // Pre-install validation
@@ -6,8 +6,9 @@ const errors_1 = require("@oclif/errors");
6
6
  const node_fs_1 = require("node:fs");
7
7
  const createZip_1 = require("./createZip");
8
8
  const isIosApp = (buildPath) => {
9
- return ((0, node_fs_1.lstatSync)(buildPath).isDirectory() &&
10
- buildPath.replace(/\/$/, "").endsWith(".app"));
9
+ return (((0, node_fs_1.lstatSync)(buildPath).isDirectory() &&
10
+ buildPath.replace(/\/$/, "").endsWith(".app")) ||
11
+ ((0, node_fs_1.lstatSync)(buildPath).isFile() && buildPath.endsWith(".ipa")));
11
12
  };
12
13
  const isAndroidApp = (buildPath) => {
13
14
  return (0, node_fs_1.lstatSync)(buildPath).isFile() && buildPath.endsWith(".apk");
@@ -20,8 +21,11 @@ const getOs = (buildPath) => {
20
21
  throw new errors_1.CLIError(`${buildPath} doesn't look like iOS app nor Android apk.`);
21
22
  };
22
23
  const getUploadPath = async (buildPath, os) => {
23
- if (os === "ios")
24
+ if (os === "ios") {
25
+ if (buildPath.endsWith(".ipa"))
26
+ return buildPath;
24
27
  return (0, createZip_1.createZip)(buildPath);
28
+ }
25
29
  if (os === "android")
26
30
  return buildPath;
27
31
  throw new errors_1.CLIError(`Invalid os: ${os}`);
@@ -35,7 +35,7 @@ MobileBuildUpload.flags = {
35
35
  };
36
36
  MobileBuildUpload.args = {
37
37
  "build-path": core_1.Args.string({
38
- description: "File path to the iOS app (*.app) or Android app (*.apk).",
38
+ description: "File path to the iOS app (*.app, *.ipa) or Android app (*.apk).",
39
39
  required: true,
40
40
  }),
41
41
  };
@@ -84,7 +84,7 @@ MobileTestRun.flags = {
84
84
  exclusive: ["build-path"],
85
85
  }),
86
86
  "build-path": core_1.Flags.file({
87
- description: "File path to the iOS app (*.app) or Android app (*.apk).",
87
+ description: "File path to the iOS app (*.app, *.ipa) or Android app (*.apk).",
88
88
  exclusive: ["build-id"],
89
89
  }),
90
90
  wait: core_1.Flags.boolean({
@@ -383,7 +383,7 @@
383
383
  "aliases": [],
384
384
  "args": {
385
385
  "build-path": {
386
- "description": "File path to the iOS app (*.app) or Android app (*.apk).",
386
+ "description": "File path to the iOS app (*.app, *.ipa) or Android app (*.apk).",
387
387
  "name": "build-path",
388
388
  "required": true
389
389
  }
@@ -456,7 +456,7 @@
456
456
  "type": "option"
457
457
  },
458
458
  "build-path": {
459
- "description": "File path to the iOS app (*.app) or Android app (*.apk).",
459
+ "description": "File path to the iOS app (*.app, *.ipa) or Android app (*.apk).",
460
460
  "exclusive": [
461
461
  "build-id"
462
462
  ],
@@ -1738,5 +1738,5 @@
1738
1738
  ]
1739
1739
  }
1740
1740
  },
1741
- "version": "0.47.0"
1741
+ "version": "0.49.0"
1742
1742
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autifyhq/autify-cli",
3
- "version": "0.47.0",
3
+ "version": "0.49.0",
4
4
  "description": "Autify Command Line Interface (CLI)",
5
5
  "author": "Autify",
6
6
  "bin": {
@@ -20,9 +20,9 @@
20
20
  "@autifyhq/autify-sdk": "^0.23.0",
21
21
  "@oclif/core": "^3.27.0",
22
22
  "@oclif/errors": "^1.3.6",
23
- "@oclif/plugin-help": "^6.2.7",
24
- "@oclif/plugin-not-found": "^3.2.14",
25
- "@oclif/plugin-update": "^4.4.16",
23
+ "@oclif/plugin-help": "^6.2.16",
24
+ "@oclif/plugin-not-found": "^3.2.22",
25
+ "@oclif/plugin-update": "^4.6.6",
26
26
  "@oclif/plugin-warn-if-update-available": "^2.1.1",
27
27
  "abort-controller": "^3.0.0",
28
28
  "archiver": "^6.0.2",
@@ -38,16 +38,16 @@
38
38
  "unzip-stream": "^0.3.4",
39
39
  "uuid": "^9.0.1",
40
40
  "which": "^4.0.0",
41
- "winston": "^3.13.1",
41
+ "winston": "^3.15.0",
42
42
  "xstate": "^4.38.3"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@autifyhq/autify-cli-integration-test": "*",
46
- "@types/archiver": "^6.0.2",
47
- "@types/chai": "^4.3.16",
46
+ "@types/archiver": "^6.0.3",
47
+ "@types/chai": "^4.3.20",
48
48
  "@types/inquirer": "^8.2.10",
49
49
  "@types/listr": "^0.14.9",
50
- "@types/node": "^20.14.13",
50
+ "@types/node": "^20.16.15",
51
51
  "@types/node-emoji": "^1.8.2",
52
52
  "@types/shell-quote": "^1.7.5",
53
53
  "@types/tar": "^6.1.13",
@@ -55,20 +55,20 @@
55
55
  "@types/uuid": "^9.0.8",
56
56
  "chai": "^5.1.1",
57
57
  "cross-env": "^7.0.3",
58
- "eslint": "^8.57.0",
59
- "eslint-config-oclif": "^5.2.0",
60
- "eslint-config-oclif-typescript": "^3.1.8",
58
+ "eslint": "^8.57.1",
59
+ "eslint-config-oclif": "^5.2.1",
60
+ "eslint-config-oclif-typescript": "^3.1.12",
61
61
  "eslint-config-prettier": "^9.1.0",
62
- "husky": "^9.1.4",
63
- "lint-staged": "^15.2.7",
64
- "oclif": "^4.14.12",
62
+ "husky": "^9.1.6",
63
+ "lint-staged": "^15.2.10",
64
+ "oclif": "^4.15.12",
65
65
  "prettier": "^3.3.3",
66
66
  "shx": "^0.3.4",
67
67
  "ts-morph": "^21.0.1",
68
68
  "ts-node": "^10.9.2",
69
- "tslib": "^2.6.3",
69
+ "tslib": "^2.8.0",
70
70
  "typed-emitter": "^2.1.0",
71
- "typescript": "^5.5.4"
71
+ "typescript": "^5.6.3"
72
72
  },
73
73
  "oclif": {
74
74
  "bin": "autify",