@expo/eas-build-job 1.0.128 → 1.0.129
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/dist/generic.d.ts +557 -0
- package/dist/generic.js +11 -11
- package/dist/generic.js.map +1 -1
- package/package.json +2 -2
package/dist/generic.d.ts
CHANGED
|
@@ -561,4 +561,561 @@ export declare namespace Generic {
|
|
|
561
561
|
customBuildConfig?: undefined;
|
|
562
562
|
loggerLevel?: LoggerLevel | undefined;
|
|
563
563
|
}>]>;
|
|
564
|
+
type PartialJob = z.infer<typeof PartialJobZ>;
|
|
565
|
+
const PartialJobZ: z.ZodUnion<[z.ZodObject<{
|
|
566
|
+
projectArchive: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
567
|
+
type: z.ZodLiteral<import("./common").ArchiveSourceType.GIT>;
|
|
568
|
+
repositoryUrl: z.ZodString;
|
|
569
|
+
gitRef: z.ZodNullable<z.ZodString>;
|
|
570
|
+
gitCommitHash: z.ZodString;
|
|
571
|
+
}, "strip", z.ZodTypeAny, {
|
|
572
|
+
type: import("./common").ArchiveSourceType.GIT;
|
|
573
|
+
repositoryUrl: string;
|
|
574
|
+
gitRef: string | null;
|
|
575
|
+
gitCommitHash: string;
|
|
576
|
+
}, {
|
|
577
|
+
type: import("./common").ArchiveSourceType.GIT;
|
|
578
|
+
repositoryUrl: string;
|
|
579
|
+
gitRef: string | null;
|
|
580
|
+
gitCommitHash: string;
|
|
581
|
+
}>, z.ZodObject<{
|
|
582
|
+
type: z.ZodLiteral<import("./common").ArchiveSourceType.PATH>;
|
|
583
|
+
path: z.ZodString;
|
|
584
|
+
}, "strip", z.ZodTypeAny, {
|
|
585
|
+
type: import("./common").ArchiveSourceType.PATH;
|
|
586
|
+
path: string;
|
|
587
|
+
}, {
|
|
588
|
+
type: import("./common").ArchiveSourceType.PATH;
|
|
589
|
+
path: string;
|
|
590
|
+
}>, z.ZodObject<{
|
|
591
|
+
type: z.ZodLiteral<import("./common").ArchiveSourceType.URL>;
|
|
592
|
+
url: z.ZodString;
|
|
593
|
+
}, "strip", z.ZodTypeAny, {
|
|
594
|
+
type: import("./common").ArchiveSourceType.URL;
|
|
595
|
+
url: string;
|
|
596
|
+
}, {
|
|
597
|
+
type: import("./common").ArchiveSourceType.URL;
|
|
598
|
+
url: string;
|
|
599
|
+
}>, z.ZodObject<{
|
|
600
|
+
type: z.ZodLiteral<import("./common").ArchiveSourceType.GCS>;
|
|
601
|
+
bucketKey: z.ZodString;
|
|
602
|
+
metadataLocation: z.ZodOptional<z.ZodString>;
|
|
603
|
+
}, "strip", z.ZodTypeAny, {
|
|
604
|
+
type: import("./common").ArchiveSourceType.GCS;
|
|
605
|
+
bucketKey: string;
|
|
606
|
+
metadataLocation?: string | undefined;
|
|
607
|
+
}, {
|
|
608
|
+
type: import("./common").ArchiveSourceType.GCS;
|
|
609
|
+
bucketKey: string;
|
|
610
|
+
metadataLocation?: string | undefined;
|
|
611
|
+
}>]>>;
|
|
612
|
+
secrets: z.ZodOptional<z.ZodObject<{
|
|
613
|
+
robotAccessToken: z.ZodString;
|
|
614
|
+
environmentSecrets: z.ZodArray<z.ZodObject<{
|
|
615
|
+
name: z.ZodString;
|
|
616
|
+
value: z.ZodString;
|
|
617
|
+
type: z.ZodNativeEnum<typeof import("./common").EnvironmentSecretType>;
|
|
618
|
+
}, "strip", z.ZodTypeAny, {
|
|
619
|
+
type: import("./common").EnvironmentSecretType;
|
|
620
|
+
value: string;
|
|
621
|
+
name: string;
|
|
622
|
+
}, {
|
|
623
|
+
type: import("./common").EnvironmentSecretType;
|
|
624
|
+
value: string;
|
|
625
|
+
name: string;
|
|
626
|
+
}>, "many">;
|
|
627
|
+
}, "strip", z.ZodTypeAny, {
|
|
628
|
+
environmentSecrets: {
|
|
629
|
+
type: import("./common").EnvironmentSecretType;
|
|
630
|
+
value: string;
|
|
631
|
+
name: string;
|
|
632
|
+
}[];
|
|
633
|
+
robotAccessToken: string;
|
|
634
|
+
}, {
|
|
635
|
+
environmentSecrets: {
|
|
636
|
+
type: import("./common").EnvironmentSecretType;
|
|
637
|
+
value: string;
|
|
638
|
+
name: string;
|
|
639
|
+
}[];
|
|
640
|
+
robotAccessToken: string;
|
|
641
|
+
}>>;
|
|
642
|
+
expoDevUrl: z.ZodOptional<z.ZodString>;
|
|
643
|
+
builderEnvironment: z.ZodOptional<z.ZodObject<{
|
|
644
|
+
image: z.ZodString;
|
|
645
|
+
node: z.ZodOptional<z.ZodString>;
|
|
646
|
+
yarn: z.ZodOptional<z.ZodString>;
|
|
647
|
+
pnpm: z.ZodOptional<z.ZodString>;
|
|
648
|
+
bun: z.ZodOptional<z.ZodString>;
|
|
649
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
650
|
+
ndk: z.ZodOptional<z.ZodString>;
|
|
651
|
+
bundler: z.ZodOptional<z.ZodString>;
|
|
652
|
+
fastlane: z.ZodOptional<z.ZodString>;
|
|
653
|
+
cocoapods: z.ZodOptional<z.ZodString>;
|
|
654
|
+
}, "strip", z.ZodTypeAny, {
|
|
655
|
+
env: Record<string, string>;
|
|
656
|
+
image: string;
|
|
657
|
+
node?: string | undefined;
|
|
658
|
+
yarn?: string | undefined;
|
|
659
|
+
pnpm?: string | undefined;
|
|
660
|
+
bun?: string | undefined;
|
|
661
|
+
ndk?: string | undefined;
|
|
662
|
+
bundler?: string | undefined;
|
|
663
|
+
fastlane?: string | undefined;
|
|
664
|
+
cocoapods?: string | undefined;
|
|
665
|
+
}, {
|
|
666
|
+
env: Record<string, string>;
|
|
667
|
+
image: string;
|
|
668
|
+
node?: string | undefined;
|
|
669
|
+
yarn?: string | undefined;
|
|
670
|
+
pnpm?: string | undefined;
|
|
671
|
+
bun?: string | undefined;
|
|
672
|
+
ndk?: string | undefined;
|
|
673
|
+
bundler?: string | undefined;
|
|
674
|
+
fastlane?: string | undefined;
|
|
675
|
+
cocoapods?: string | undefined;
|
|
676
|
+
}>>;
|
|
677
|
+
platform: z.ZodOptional<z.ZodOptional<z.ZodNever>>;
|
|
678
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodNever>>;
|
|
679
|
+
triggeredBy: z.ZodOptional<z.ZodLiteral<BuildTrigger.GIT_BASED_INTEGRATION>>;
|
|
680
|
+
loggerLevel: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof LoggerLevel>>>;
|
|
681
|
+
customBuildConfig: z.ZodOptional<z.ZodObject<{
|
|
682
|
+
path: z.ZodString;
|
|
683
|
+
}, "strip", z.ZodTypeAny, {
|
|
684
|
+
path: string;
|
|
685
|
+
}, {
|
|
686
|
+
path: string;
|
|
687
|
+
}>>;
|
|
688
|
+
steps: z.ZodOptional<z.ZodOptional<z.ZodNever>>;
|
|
689
|
+
}, "strip", z.ZodTypeAny, {
|
|
690
|
+
type?: undefined;
|
|
691
|
+
builderEnvironment?: {
|
|
692
|
+
env: Record<string, string>;
|
|
693
|
+
image: string;
|
|
694
|
+
node?: string | undefined;
|
|
695
|
+
yarn?: string | undefined;
|
|
696
|
+
pnpm?: string | undefined;
|
|
697
|
+
bun?: string | undefined;
|
|
698
|
+
ndk?: string | undefined;
|
|
699
|
+
bundler?: string | undefined;
|
|
700
|
+
fastlane?: string | undefined;
|
|
701
|
+
cocoapods?: string | undefined;
|
|
702
|
+
} | undefined;
|
|
703
|
+
triggeredBy?: BuildTrigger.GIT_BASED_INTEGRATION | undefined;
|
|
704
|
+
projectArchive?: {
|
|
705
|
+
type: import("./common").ArchiveSourceType.GIT;
|
|
706
|
+
repositoryUrl: string;
|
|
707
|
+
gitRef: string | null;
|
|
708
|
+
gitCommitHash: string;
|
|
709
|
+
} | {
|
|
710
|
+
type: import("./common").ArchiveSourceType.PATH;
|
|
711
|
+
path: string;
|
|
712
|
+
} | {
|
|
713
|
+
type: import("./common").ArchiveSourceType.URL;
|
|
714
|
+
url: string;
|
|
715
|
+
} | {
|
|
716
|
+
type: import("./common").ArchiveSourceType.GCS;
|
|
717
|
+
bucketKey: string;
|
|
718
|
+
metadataLocation?: string | undefined;
|
|
719
|
+
} | undefined;
|
|
720
|
+
platform?: undefined;
|
|
721
|
+
secrets?: {
|
|
722
|
+
environmentSecrets: {
|
|
723
|
+
type: import("./common").EnvironmentSecretType;
|
|
724
|
+
value: string;
|
|
725
|
+
name: string;
|
|
726
|
+
}[];
|
|
727
|
+
robotAccessToken: string;
|
|
728
|
+
} | undefined;
|
|
729
|
+
customBuildConfig?: {
|
|
730
|
+
path: string;
|
|
731
|
+
} | undefined;
|
|
732
|
+
loggerLevel?: LoggerLevel | undefined;
|
|
733
|
+
expoDevUrl?: string | undefined;
|
|
734
|
+
steps?: undefined;
|
|
735
|
+
}, {
|
|
736
|
+
type?: undefined;
|
|
737
|
+
builderEnvironment?: {
|
|
738
|
+
env: Record<string, string>;
|
|
739
|
+
image: string;
|
|
740
|
+
node?: string | undefined;
|
|
741
|
+
yarn?: string | undefined;
|
|
742
|
+
pnpm?: string | undefined;
|
|
743
|
+
bun?: string | undefined;
|
|
744
|
+
ndk?: string | undefined;
|
|
745
|
+
bundler?: string | undefined;
|
|
746
|
+
fastlane?: string | undefined;
|
|
747
|
+
cocoapods?: string | undefined;
|
|
748
|
+
} | undefined;
|
|
749
|
+
triggeredBy?: BuildTrigger.GIT_BASED_INTEGRATION | undefined;
|
|
750
|
+
projectArchive?: {
|
|
751
|
+
type: import("./common").ArchiveSourceType.GIT;
|
|
752
|
+
repositoryUrl: string;
|
|
753
|
+
gitRef: string | null;
|
|
754
|
+
gitCommitHash: string;
|
|
755
|
+
} | {
|
|
756
|
+
type: import("./common").ArchiveSourceType.PATH;
|
|
757
|
+
path: string;
|
|
758
|
+
} | {
|
|
759
|
+
type: import("./common").ArchiveSourceType.URL;
|
|
760
|
+
url: string;
|
|
761
|
+
} | {
|
|
762
|
+
type: import("./common").ArchiveSourceType.GCS;
|
|
763
|
+
bucketKey: string;
|
|
764
|
+
metadataLocation?: string | undefined;
|
|
765
|
+
} | undefined;
|
|
766
|
+
platform?: undefined;
|
|
767
|
+
secrets?: {
|
|
768
|
+
environmentSecrets: {
|
|
769
|
+
type: import("./common").EnvironmentSecretType;
|
|
770
|
+
value: string;
|
|
771
|
+
name: string;
|
|
772
|
+
}[];
|
|
773
|
+
robotAccessToken: string;
|
|
774
|
+
} | undefined;
|
|
775
|
+
customBuildConfig?: {
|
|
776
|
+
path: string;
|
|
777
|
+
} | undefined;
|
|
778
|
+
loggerLevel?: LoggerLevel | undefined;
|
|
779
|
+
expoDevUrl?: string | undefined;
|
|
780
|
+
steps?: undefined;
|
|
781
|
+
}>, z.ZodObject<{
|
|
782
|
+
projectArchive: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
783
|
+
type: z.ZodLiteral<import("./common").ArchiveSourceType.GIT>;
|
|
784
|
+
repositoryUrl: z.ZodString;
|
|
785
|
+
gitRef: z.ZodNullable<z.ZodString>;
|
|
786
|
+
gitCommitHash: z.ZodString;
|
|
787
|
+
}, "strip", z.ZodTypeAny, {
|
|
788
|
+
type: import("./common").ArchiveSourceType.GIT;
|
|
789
|
+
repositoryUrl: string;
|
|
790
|
+
gitRef: string | null;
|
|
791
|
+
gitCommitHash: string;
|
|
792
|
+
}, {
|
|
793
|
+
type: import("./common").ArchiveSourceType.GIT;
|
|
794
|
+
repositoryUrl: string;
|
|
795
|
+
gitRef: string | null;
|
|
796
|
+
gitCommitHash: string;
|
|
797
|
+
}>, z.ZodObject<{
|
|
798
|
+
type: z.ZodLiteral<import("./common").ArchiveSourceType.PATH>;
|
|
799
|
+
path: z.ZodString;
|
|
800
|
+
}, "strip", z.ZodTypeAny, {
|
|
801
|
+
type: import("./common").ArchiveSourceType.PATH;
|
|
802
|
+
path: string;
|
|
803
|
+
}, {
|
|
804
|
+
type: import("./common").ArchiveSourceType.PATH;
|
|
805
|
+
path: string;
|
|
806
|
+
}>, z.ZodObject<{
|
|
807
|
+
type: z.ZodLiteral<import("./common").ArchiveSourceType.URL>;
|
|
808
|
+
url: z.ZodString;
|
|
809
|
+
}, "strip", z.ZodTypeAny, {
|
|
810
|
+
type: import("./common").ArchiveSourceType.URL;
|
|
811
|
+
url: string;
|
|
812
|
+
}, {
|
|
813
|
+
type: import("./common").ArchiveSourceType.URL;
|
|
814
|
+
url: string;
|
|
815
|
+
}>, z.ZodObject<{
|
|
816
|
+
type: z.ZodLiteral<import("./common").ArchiveSourceType.GCS>;
|
|
817
|
+
bucketKey: z.ZodString;
|
|
818
|
+
metadataLocation: z.ZodOptional<z.ZodString>;
|
|
819
|
+
}, "strip", z.ZodTypeAny, {
|
|
820
|
+
type: import("./common").ArchiveSourceType.GCS;
|
|
821
|
+
bucketKey: string;
|
|
822
|
+
metadataLocation?: string | undefined;
|
|
823
|
+
}, {
|
|
824
|
+
type: import("./common").ArchiveSourceType.GCS;
|
|
825
|
+
bucketKey: string;
|
|
826
|
+
metadataLocation?: string | undefined;
|
|
827
|
+
}>]>>;
|
|
828
|
+
secrets: z.ZodOptional<z.ZodObject<{
|
|
829
|
+
robotAccessToken: z.ZodString;
|
|
830
|
+
environmentSecrets: z.ZodArray<z.ZodObject<{
|
|
831
|
+
name: z.ZodString;
|
|
832
|
+
value: z.ZodString;
|
|
833
|
+
type: z.ZodNativeEnum<typeof import("./common").EnvironmentSecretType>;
|
|
834
|
+
}, "strip", z.ZodTypeAny, {
|
|
835
|
+
type: import("./common").EnvironmentSecretType;
|
|
836
|
+
value: string;
|
|
837
|
+
name: string;
|
|
838
|
+
}, {
|
|
839
|
+
type: import("./common").EnvironmentSecretType;
|
|
840
|
+
value: string;
|
|
841
|
+
name: string;
|
|
842
|
+
}>, "many">;
|
|
843
|
+
}, "strip", z.ZodTypeAny, {
|
|
844
|
+
environmentSecrets: {
|
|
845
|
+
type: import("./common").EnvironmentSecretType;
|
|
846
|
+
value: string;
|
|
847
|
+
name: string;
|
|
848
|
+
}[];
|
|
849
|
+
robotAccessToken: string;
|
|
850
|
+
}, {
|
|
851
|
+
environmentSecrets: {
|
|
852
|
+
type: import("./common").EnvironmentSecretType;
|
|
853
|
+
value: string;
|
|
854
|
+
name: string;
|
|
855
|
+
}[];
|
|
856
|
+
robotAccessToken: string;
|
|
857
|
+
}>>;
|
|
858
|
+
expoDevUrl: z.ZodOptional<z.ZodString>;
|
|
859
|
+
builderEnvironment: z.ZodOptional<z.ZodObject<{
|
|
860
|
+
image: z.ZodString;
|
|
861
|
+
node: z.ZodOptional<z.ZodString>;
|
|
862
|
+
yarn: z.ZodOptional<z.ZodString>;
|
|
863
|
+
pnpm: z.ZodOptional<z.ZodString>;
|
|
864
|
+
bun: z.ZodOptional<z.ZodString>;
|
|
865
|
+
env: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
866
|
+
ndk: z.ZodOptional<z.ZodString>;
|
|
867
|
+
bundler: z.ZodOptional<z.ZodString>;
|
|
868
|
+
fastlane: z.ZodOptional<z.ZodString>;
|
|
869
|
+
cocoapods: z.ZodOptional<z.ZodString>;
|
|
870
|
+
}, "strip", z.ZodTypeAny, {
|
|
871
|
+
env: Record<string, string>;
|
|
872
|
+
image: string;
|
|
873
|
+
node?: string | undefined;
|
|
874
|
+
yarn?: string | undefined;
|
|
875
|
+
pnpm?: string | undefined;
|
|
876
|
+
bun?: string | undefined;
|
|
877
|
+
ndk?: string | undefined;
|
|
878
|
+
bundler?: string | undefined;
|
|
879
|
+
fastlane?: string | undefined;
|
|
880
|
+
cocoapods?: string | undefined;
|
|
881
|
+
}, {
|
|
882
|
+
env: Record<string, string>;
|
|
883
|
+
image: string;
|
|
884
|
+
node?: string | undefined;
|
|
885
|
+
yarn?: string | undefined;
|
|
886
|
+
pnpm?: string | undefined;
|
|
887
|
+
bun?: string | undefined;
|
|
888
|
+
ndk?: string | undefined;
|
|
889
|
+
bundler?: string | undefined;
|
|
890
|
+
fastlane?: string | undefined;
|
|
891
|
+
cocoapods?: string | undefined;
|
|
892
|
+
}>>;
|
|
893
|
+
platform: z.ZodOptional<z.ZodOptional<z.ZodNever>>;
|
|
894
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodNever>>;
|
|
895
|
+
triggeredBy: z.ZodOptional<z.ZodLiteral<BuildTrigger.GIT_BASED_INTEGRATION>>;
|
|
896
|
+
loggerLevel: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof LoggerLevel>>>;
|
|
897
|
+
customBuildConfig: z.ZodOptional<z.ZodOptional<z.ZodNever>>;
|
|
898
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
899
|
+
id: z.ZodOptional<z.ZodString>;
|
|
900
|
+
if: z.ZodOptional<z.ZodString>;
|
|
901
|
+
name: z.ZodOptional<z.ZodString>;
|
|
902
|
+
working_directory: z.ZodOptional<z.ZodString>;
|
|
903
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
904
|
+
}, {
|
|
905
|
+
run: z.ZodString;
|
|
906
|
+
shell: z.ZodOptional<z.ZodString>;
|
|
907
|
+
outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
908
|
+
name: z.ZodString;
|
|
909
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
910
|
+
}, "strip", z.ZodTypeAny, {
|
|
911
|
+
name: string;
|
|
912
|
+
required?: boolean | undefined;
|
|
913
|
+
}, {
|
|
914
|
+
name: string;
|
|
915
|
+
required?: boolean | undefined;
|
|
916
|
+
}>, "many">>;
|
|
917
|
+
uses: z.ZodOptional<z.ZodNever>;
|
|
918
|
+
with: z.ZodOptional<z.ZodNever>;
|
|
919
|
+
}>, "strip", z.ZodTypeAny, {
|
|
920
|
+
run: string;
|
|
921
|
+
name?: string | undefined;
|
|
922
|
+
env?: Record<string, string> | undefined;
|
|
923
|
+
id?: string | undefined;
|
|
924
|
+
if?: string | undefined;
|
|
925
|
+
working_directory?: string | undefined;
|
|
926
|
+
uses?: undefined;
|
|
927
|
+
with?: undefined;
|
|
928
|
+
shell?: string | undefined;
|
|
929
|
+
outputs?: {
|
|
930
|
+
name: string;
|
|
931
|
+
required?: boolean | undefined;
|
|
932
|
+
}[] | undefined;
|
|
933
|
+
}, {
|
|
934
|
+
run: string;
|
|
935
|
+
name?: string | undefined;
|
|
936
|
+
env?: Record<string, string> | undefined;
|
|
937
|
+
id?: string | undefined;
|
|
938
|
+
if?: string | undefined;
|
|
939
|
+
working_directory?: string | undefined;
|
|
940
|
+
uses?: undefined;
|
|
941
|
+
with?: undefined;
|
|
942
|
+
shell?: string | undefined;
|
|
943
|
+
outputs?: {
|
|
944
|
+
name: string;
|
|
945
|
+
required?: boolean | undefined;
|
|
946
|
+
}[] | undefined;
|
|
947
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
948
|
+
id: z.ZodOptional<z.ZodString>;
|
|
949
|
+
if: z.ZodOptional<z.ZodString>;
|
|
950
|
+
name: z.ZodOptional<z.ZodString>;
|
|
951
|
+
working_directory: z.ZodOptional<z.ZodString>;
|
|
952
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
953
|
+
}, {
|
|
954
|
+
uses: z.ZodString;
|
|
955
|
+
with: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodAny>]>>>;
|
|
956
|
+
run: z.ZodOptional<z.ZodNever>;
|
|
957
|
+
shell: z.ZodOptional<z.ZodNever>;
|
|
958
|
+
outputs: z.ZodOptional<z.ZodNever>;
|
|
959
|
+
}>, "strip", z.ZodTypeAny, {
|
|
960
|
+
uses: string;
|
|
961
|
+
name?: string | undefined;
|
|
962
|
+
env?: Record<string, string> | undefined;
|
|
963
|
+
id?: string | undefined;
|
|
964
|
+
if?: string | undefined;
|
|
965
|
+
working_directory?: string | undefined;
|
|
966
|
+
with?: Record<string, string | number | Record<string, any>> | undefined;
|
|
967
|
+
run?: undefined;
|
|
968
|
+
shell?: undefined;
|
|
969
|
+
outputs?: undefined;
|
|
970
|
+
}, {
|
|
971
|
+
uses: string;
|
|
972
|
+
name?: string | undefined;
|
|
973
|
+
env?: Record<string, string> | undefined;
|
|
974
|
+
id?: string | undefined;
|
|
975
|
+
if?: string | undefined;
|
|
976
|
+
working_directory?: string | undefined;
|
|
977
|
+
with?: Record<string, string | number | Record<string, any>> | undefined;
|
|
978
|
+
run?: undefined;
|
|
979
|
+
shell?: undefined;
|
|
980
|
+
outputs?: undefined;
|
|
981
|
+
}>]>, "many">>;
|
|
982
|
+
}, "strip", z.ZodTypeAny, {
|
|
983
|
+
type?: undefined;
|
|
984
|
+
builderEnvironment?: {
|
|
985
|
+
env: Record<string, string>;
|
|
986
|
+
image: string;
|
|
987
|
+
node?: string | undefined;
|
|
988
|
+
yarn?: string | undefined;
|
|
989
|
+
pnpm?: string | undefined;
|
|
990
|
+
bun?: string | undefined;
|
|
991
|
+
ndk?: string | undefined;
|
|
992
|
+
bundler?: string | undefined;
|
|
993
|
+
fastlane?: string | undefined;
|
|
994
|
+
cocoapods?: string | undefined;
|
|
995
|
+
} | undefined;
|
|
996
|
+
triggeredBy?: BuildTrigger.GIT_BASED_INTEGRATION | undefined;
|
|
997
|
+
projectArchive?: {
|
|
998
|
+
type: import("./common").ArchiveSourceType.GIT;
|
|
999
|
+
repositoryUrl: string;
|
|
1000
|
+
gitRef: string | null;
|
|
1001
|
+
gitCommitHash: string;
|
|
1002
|
+
} | {
|
|
1003
|
+
type: import("./common").ArchiveSourceType.PATH;
|
|
1004
|
+
path: string;
|
|
1005
|
+
} | {
|
|
1006
|
+
type: import("./common").ArchiveSourceType.URL;
|
|
1007
|
+
url: string;
|
|
1008
|
+
} | {
|
|
1009
|
+
type: import("./common").ArchiveSourceType.GCS;
|
|
1010
|
+
bucketKey: string;
|
|
1011
|
+
metadataLocation?: string | undefined;
|
|
1012
|
+
} | undefined;
|
|
1013
|
+
platform?: undefined;
|
|
1014
|
+
secrets?: {
|
|
1015
|
+
environmentSecrets: {
|
|
1016
|
+
type: import("./common").EnvironmentSecretType;
|
|
1017
|
+
value: string;
|
|
1018
|
+
name: string;
|
|
1019
|
+
}[];
|
|
1020
|
+
robotAccessToken: string;
|
|
1021
|
+
} | undefined;
|
|
1022
|
+
customBuildConfig?: undefined;
|
|
1023
|
+
loggerLevel?: LoggerLevel | undefined;
|
|
1024
|
+
expoDevUrl?: string | undefined;
|
|
1025
|
+
steps?: ({
|
|
1026
|
+
uses: string;
|
|
1027
|
+
name?: string | undefined;
|
|
1028
|
+
env?: Record<string, string> | undefined;
|
|
1029
|
+
id?: string | undefined;
|
|
1030
|
+
if?: string | undefined;
|
|
1031
|
+
working_directory?: string | undefined;
|
|
1032
|
+
with?: Record<string, string | number | Record<string, any>> | undefined;
|
|
1033
|
+
run?: undefined;
|
|
1034
|
+
shell?: undefined;
|
|
1035
|
+
outputs?: undefined;
|
|
1036
|
+
} | {
|
|
1037
|
+
run: string;
|
|
1038
|
+
name?: string | undefined;
|
|
1039
|
+
env?: Record<string, string> | undefined;
|
|
1040
|
+
id?: string | undefined;
|
|
1041
|
+
if?: string | undefined;
|
|
1042
|
+
working_directory?: string | undefined;
|
|
1043
|
+
uses?: undefined;
|
|
1044
|
+
with?: undefined;
|
|
1045
|
+
shell?: string | undefined;
|
|
1046
|
+
outputs?: {
|
|
1047
|
+
name: string;
|
|
1048
|
+
required?: boolean | undefined;
|
|
1049
|
+
}[] | undefined;
|
|
1050
|
+
})[] | undefined;
|
|
1051
|
+
}, {
|
|
1052
|
+
type?: undefined;
|
|
1053
|
+
builderEnvironment?: {
|
|
1054
|
+
env: Record<string, string>;
|
|
1055
|
+
image: string;
|
|
1056
|
+
node?: string | undefined;
|
|
1057
|
+
yarn?: string | undefined;
|
|
1058
|
+
pnpm?: string | undefined;
|
|
1059
|
+
bun?: string | undefined;
|
|
1060
|
+
ndk?: string | undefined;
|
|
1061
|
+
bundler?: string | undefined;
|
|
1062
|
+
fastlane?: string | undefined;
|
|
1063
|
+
cocoapods?: string | undefined;
|
|
1064
|
+
} | undefined;
|
|
1065
|
+
triggeredBy?: BuildTrigger.GIT_BASED_INTEGRATION | undefined;
|
|
1066
|
+
projectArchive?: {
|
|
1067
|
+
type: import("./common").ArchiveSourceType.GIT;
|
|
1068
|
+
repositoryUrl: string;
|
|
1069
|
+
gitRef: string | null;
|
|
1070
|
+
gitCommitHash: string;
|
|
1071
|
+
} | {
|
|
1072
|
+
type: import("./common").ArchiveSourceType.PATH;
|
|
1073
|
+
path: string;
|
|
1074
|
+
} | {
|
|
1075
|
+
type: import("./common").ArchiveSourceType.URL;
|
|
1076
|
+
url: string;
|
|
1077
|
+
} | {
|
|
1078
|
+
type: import("./common").ArchiveSourceType.GCS;
|
|
1079
|
+
bucketKey: string;
|
|
1080
|
+
metadataLocation?: string | undefined;
|
|
1081
|
+
} | undefined;
|
|
1082
|
+
platform?: undefined;
|
|
1083
|
+
secrets?: {
|
|
1084
|
+
environmentSecrets: {
|
|
1085
|
+
type: import("./common").EnvironmentSecretType;
|
|
1086
|
+
value: string;
|
|
1087
|
+
name: string;
|
|
1088
|
+
}[];
|
|
1089
|
+
robotAccessToken: string;
|
|
1090
|
+
} | undefined;
|
|
1091
|
+
customBuildConfig?: undefined;
|
|
1092
|
+
loggerLevel?: LoggerLevel | undefined;
|
|
1093
|
+
expoDevUrl?: string | undefined;
|
|
1094
|
+
steps?: ({
|
|
1095
|
+
uses: string;
|
|
1096
|
+
name?: string | undefined;
|
|
1097
|
+
env?: Record<string, string> | undefined;
|
|
1098
|
+
id?: string | undefined;
|
|
1099
|
+
if?: string | undefined;
|
|
1100
|
+
working_directory?: string | undefined;
|
|
1101
|
+
with?: Record<string, string | number | Record<string, any>> | undefined;
|
|
1102
|
+
run?: undefined;
|
|
1103
|
+
shell?: undefined;
|
|
1104
|
+
outputs?: undefined;
|
|
1105
|
+
} | {
|
|
1106
|
+
run: string;
|
|
1107
|
+
name?: string | undefined;
|
|
1108
|
+
env?: Record<string, string> | undefined;
|
|
1109
|
+
id?: string | undefined;
|
|
1110
|
+
if?: string | undefined;
|
|
1111
|
+
working_directory?: string | undefined;
|
|
1112
|
+
uses?: undefined;
|
|
1113
|
+
with?: undefined;
|
|
1114
|
+
shell?: string | undefined;
|
|
1115
|
+
outputs?: {
|
|
1116
|
+
name: string;
|
|
1117
|
+
required?: boolean | undefined;
|
|
1118
|
+
}[] | undefined;
|
|
1119
|
+
})[] | undefined;
|
|
1120
|
+
}>]>;
|
|
564
1121
|
}
|
package/dist/generic.js
CHANGED
|
@@ -35,17 +35,17 @@ var Generic;
|
|
|
35
35
|
triggeredBy: zod_1.z.literal(common_1.BuildTrigger.GIT_BASED_INTEGRATION),
|
|
36
36
|
loggerLevel: zod_1.z.nativeEnum(logger_1.LoggerLevel).optional(),
|
|
37
37
|
});
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
path: zod_1.z.string(),
|
|
42
|
-
}),
|
|
43
|
-
steps: zod_1.z.never().optional(),
|
|
38
|
+
const PathJobZ = CommonJobZ.extend({
|
|
39
|
+
customBuildConfig: zod_1.z.object({
|
|
40
|
+
path: zod_1.z.string(),
|
|
44
41
|
}),
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
steps: zod_1.z.never().optional(),
|
|
43
|
+
});
|
|
44
|
+
const StepsJobZ = CommonJobZ.extend({
|
|
45
|
+
customBuildConfig: zod_1.z.never().optional(),
|
|
46
|
+
steps: zod_1.z.array(step_1.StepZ).min(1),
|
|
47
|
+
});
|
|
48
|
+
Generic.JobZ = zod_1.z.union([PathJobZ, StepsJobZ]);
|
|
49
|
+
Generic.PartialJobZ = zod_1.z.union([PathJobZ.partial(), StepsJobZ.partial()]);
|
|
50
50
|
})(Generic || (exports.Generic = Generic = {}));
|
|
51
51
|
//# sourceMappingURL=generic.js.map
|
package/dist/generic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generic.js","sourceRoot":"","sources":["../src/generic.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA2C;AAE3C,qCAAkF;AAClF,iCAA+B;AAE/B,IAAiB,OAAO,
|
|
1
|
+
{"version":3,"file":"generic.js","sourceRoot":"","sources":["../src/generic.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yCAA2C;AAE3C,qCAAkF;AAClF,iCAA+B;AAE/B,IAAiB,OAAO,CAgDvB;AAhDD,WAAiB,OAAO;IACtB,MAAM,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;QACzC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;QACjB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC3B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1B,GAAG,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;QACzB,QAAQ;QACR,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1B,QAAQ;QACR,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACjC,CAAC,CAAC;IAEH,MAAM,UAAU,GAAG,OAAC,CAAC,MAAM,CAAC;QAC1B,cAAc,EAAE,6BAAoB;QACpC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;YAChB,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE;YAC5B,kBAAkB,EAAE,OAAC,CAAC,KAAK,CAAC,2BAAkB,CAAC;SAChD,CAAC;QACF,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QAC5B,kBAAkB,EAAE,yBAAyB;QAC7C,uEAAuE;QACvE,QAAQ,EAAE,OAAC,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QAC9B,IAAI,EAAE,OAAC,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QAC1B,WAAW,EAAE,OAAC,CAAC,OAAO,CAAC,qBAAY,CAAC,qBAAqB,CAAC;QAC1D,WAAW,EAAE,OAAC,CAAC,UAAU,CAAC,oBAAW,CAAC,CAAC,QAAQ,EAAE;KAClD,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,UAAU,CAAC,MAAM,CAAC;QACjC,iBAAiB,EAAE,OAAC,CAAC,MAAM,CAAC;YAC1B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;SACjB,CAAC;QACF,KAAK,EAAE,OAAC,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;KAC5B,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC;QAClC,iBAAiB,EAAE,OAAC,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QACvC,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,YAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;KAC7B,CAAC,CAAC;IAGU,YAAI,GAAG,OAAC,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC;IAGtC,mBAAW,GAAG,OAAC,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,EAAE,EAAE,SAAS,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;AAChF,CAAC,EAhDgB,OAAO,uBAAP,OAAO,QAgDvB","sourcesContent":["import { z } from 'zod';\nimport { LoggerLevel } from '@expo/logger';\n\nimport { ArchiveSourceSchemaZ, BuildTrigger, EnvironmentSecretZ } from './common';\nimport { StepZ } from './step';\n\nexport namespace Generic {\n const BuilderEnvironmentSchemaZ = z.object({\n image: z.string(),\n node: z.string().optional(),\n yarn: z.string().optional(),\n pnpm: z.string().optional(),\n bun: z.string().optional(),\n env: z.record(z.string()),\n // Linux\n ndk: z.string().optional(),\n // macOS\n bundler: z.string().optional(),\n fastlane: z.string().optional(),\n cocoapods: z.string().optional(),\n });\n\n const CommonJobZ = z.object({\n projectArchive: ArchiveSourceSchemaZ,\n secrets: z.object({\n robotAccessToken: z.string(),\n environmentSecrets: z.array(EnvironmentSecretZ),\n }),\n expoDevUrl: z.string().url(),\n builderEnvironment: BuilderEnvironmentSchemaZ,\n // We use this to discern between Android.Job, Ios.Job and Generic.Job.\n platform: z.never().optional(),\n type: z.never().optional(),\n triggeredBy: z.literal(BuildTrigger.GIT_BASED_INTEGRATION),\n loggerLevel: z.nativeEnum(LoggerLevel).optional(),\n });\n\n const PathJobZ = CommonJobZ.extend({\n customBuildConfig: z.object({\n path: z.string(),\n }),\n steps: z.never().optional(),\n });\n\n const StepsJobZ = CommonJobZ.extend({\n customBuildConfig: z.never().optional(),\n steps: z.array(StepZ).min(1),\n });\n\n export type Job = z.infer<typeof JobZ>;\n export const JobZ = z.union([PathJobZ, StepsJobZ]);\n\n export type PartialJob = z.infer<typeof PartialJobZ>;\n export const PartialJobZ = z.union([PathJobZ.partial(), StepsJobZ.partial()]);\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/eas-build-job",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.129",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"node": "20.14.0",
|
|
36
36
|
"yarn": "1.22.21"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "102607955edb3c4959b806d213f1c1975d9bad52"
|
|
39
39
|
}
|