@expo/eas-build-job 1.0.136 → 1.0.137
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 +12 -0
- package/dist/generic.js +2 -0
- package/dist/generic.js.map +1 -1
- package/package.json +2 -2
package/dist/generic.d.ts
CHANGED
|
@@ -128,6 +128,7 @@ export declare namespace Generic {
|
|
|
128
128
|
path: string;
|
|
129
129
|
}>;
|
|
130
130
|
steps: z.ZodOptional<z.ZodNever>;
|
|
131
|
+
outputs: z.ZodOptional<z.ZodNever>;
|
|
131
132
|
}>, "strip", z.ZodTypeAny, {
|
|
132
133
|
builderEnvironment: {
|
|
133
134
|
env: Record<string, string>;
|
|
@@ -173,6 +174,7 @@ export declare namespace Generic {
|
|
|
173
174
|
type?: undefined;
|
|
174
175
|
platform?: undefined;
|
|
175
176
|
loggerLevel?: LoggerLevel | undefined;
|
|
177
|
+
outputs?: undefined;
|
|
176
178
|
steps?: undefined;
|
|
177
179
|
}, {
|
|
178
180
|
builderEnvironment: {
|
|
@@ -219,6 +221,7 @@ export declare namespace Generic {
|
|
|
219
221
|
type?: undefined;
|
|
220
222
|
platform?: undefined;
|
|
221
223
|
loggerLevel?: LoggerLevel | undefined;
|
|
224
|
+
outputs?: undefined;
|
|
222
225
|
steps?: undefined;
|
|
223
226
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
224
227
|
projectArchive: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -422,6 +425,7 @@ export declare namespace Generic {
|
|
|
422
425
|
shell?: undefined;
|
|
423
426
|
outputs?: undefined;
|
|
424
427
|
}>]>, "many">;
|
|
428
|
+
outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
425
429
|
}>, "strip", z.ZodTypeAny, {
|
|
426
430
|
builderEnvironment: {
|
|
427
431
|
env: Record<string, string>;
|
|
@@ -491,6 +495,7 @@ export declare namespace Generic {
|
|
|
491
495
|
platform?: undefined;
|
|
492
496
|
customBuildConfig?: undefined;
|
|
493
497
|
loggerLevel?: LoggerLevel | undefined;
|
|
498
|
+
outputs?: Record<string, string> | undefined;
|
|
494
499
|
}, {
|
|
495
500
|
builderEnvironment: {
|
|
496
501
|
env: Record<string, string>;
|
|
@@ -560,6 +565,7 @@ export declare namespace Generic {
|
|
|
560
565
|
platform?: undefined;
|
|
561
566
|
customBuildConfig?: undefined;
|
|
562
567
|
loggerLevel?: LoggerLevel | undefined;
|
|
568
|
+
outputs?: Record<string, string> | undefined;
|
|
563
569
|
}>]>;
|
|
564
570
|
type PartialJob = z.infer<typeof PartialJobZ>;
|
|
565
571
|
const PartialJobZ: z.ZodUnion<[z.ZodObject<{
|
|
@@ -686,6 +692,7 @@ export declare namespace Generic {
|
|
|
686
692
|
path: string;
|
|
687
693
|
}>>;
|
|
688
694
|
steps: z.ZodOptional<z.ZodOptional<z.ZodNever>>;
|
|
695
|
+
outputs: z.ZodOptional<z.ZodOptional<z.ZodNever>>;
|
|
689
696
|
}, "strip", z.ZodTypeAny, {
|
|
690
697
|
type?: undefined;
|
|
691
698
|
builderEnvironment?: {
|
|
@@ -730,6 +737,7 @@ export declare namespace Generic {
|
|
|
730
737
|
path: string;
|
|
731
738
|
} | undefined;
|
|
732
739
|
loggerLevel?: LoggerLevel | undefined;
|
|
740
|
+
outputs?: undefined;
|
|
733
741
|
expoDevUrl?: string | undefined;
|
|
734
742
|
steps?: undefined;
|
|
735
743
|
}, {
|
|
@@ -776,6 +784,7 @@ export declare namespace Generic {
|
|
|
776
784
|
path: string;
|
|
777
785
|
} | undefined;
|
|
778
786
|
loggerLevel?: LoggerLevel | undefined;
|
|
787
|
+
outputs?: undefined;
|
|
779
788
|
expoDevUrl?: string | undefined;
|
|
780
789
|
steps?: undefined;
|
|
781
790
|
}>, z.ZodObject<{
|
|
@@ -979,6 +988,7 @@ export declare namespace Generic {
|
|
|
979
988
|
shell?: undefined;
|
|
980
989
|
outputs?: undefined;
|
|
981
990
|
}>]>, "many">>;
|
|
991
|
+
outputs: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
982
992
|
}, "strip", z.ZodTypeAny, {
|
|
983
993
|
type?: undefined;
|
|
984
994
|
builderEnvironment?: {
|
|
@@ -1021,6 +1031,7 @@ export declare namespace Generic {
|
|
|
1021
1031
|
} | undefined;
|
|
1022
1032
|
customBuildConfig?: undefined;
|
|
1023
1033
|
loggerLevel?: LoggerLevel | undefined;
|
|
1034
|
+
outputs?: Record<string, string> | undefined;
|
|
1024
1035
|
expoDevUrl?: string | undefined;
|
|
1025
1036
|
steps?: ({
|
|
1026
1037
|
uses: string;
|
|
@@ -1090,6 +1101,7 @@ export declare namespace Generic {
|
|
|
1090
1101
|
} | undefined;
|
|
1091
1102
|
customBuildConfig?: undefined;
|
|
1092
1103
|
loggerLevel?: LoggerLevel | undefined;
|
|
1104
|
+
outputs?: Record<string, string> | undefined;
|
|
1093
1105
|
expoDevUrl?: string | undefined;
|
|
1094
1106
|
steps?: ({
|
|
1095
1107
|
uses: string;
|
package/dist/generic.js
CHANGED
|
@@ -40,10 +40,12 @@ var Generic;
|
|
|
40
40
|
path: zod_1.z.string(),
|
|
41
41
|
}),
|
|
42
42
|
steps: zod_1.z.never().optional(),
|
|
43
|
+
outputs: zod_1.z.never().optional(),
|
|
43
44
|
});
|
|
44
45
|
const StepsJobZ = CommonJobZ.extend({
|
|
45
46
|
customBuildConfig: zod_1.z.never().optional(),
|
|
46
47
|
steps: zod_1.z.array(step_1.StepZ).min(1),
|
|
48
|
+
outputs: zod_1.z.record(zod_1.z.string()).optional(),
|
|
47
49
|
});
|
|
48
50
|
Generic.JobZ = zod_1.z.union([PathJobZ, StepsJobZ]);
|
|
49
51
|
Generic.PartialJobZ = zod_1.z.union([PathJobZ.partial(), StepsJobZ.partial()]);
|
package/dist/generic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generic.js","sourceRoot":"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O,uBAAP,OAAO,QAkDvB","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 outputs: z.never().optional(),\n });\n\n const StepsJobZ = CommonJobZ.extend({\n customBuildConfig: z.never().optional(),\n steps: z.array(StepZ).min(1),\n outputs: z.record(z.string()).optional(),\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.137",
|
|
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": "8f804d35f40bf8fbfc3be65fbe06f4ec22a5431f"
|
|
39
39
|
}
|