@expo/eas-build-job 18.5.0 → 18.8.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/dist/common.d.ts CHANGED
@@ -207,6 +207,26 @@ export declare const StaticWorkflowInterpolationContextZ: z.ZodObject<{
207
207
  app: z.ZodObject<{
208
208
  id: z.ZodString;
209
209
  }, z.core.$loose>;
210
+ app_version: z.ZodOptional<z.ZodObject<{
211
+ id: z.ZodString;
212
+ state: z.ZodEnum<{
213
+ accepted: "accepted";
214
+ developer_rejected: "developer_rejected";
215
+ in_review: "in_review";
216
+ invalid_binary: "invalid_binary";
217
+ metadata_rejected: "metadata_rejected";
218
+ pending_apple_release: "pending_apple_release";
219
+ pending_developer_release: "pending_developer_release";
220
+ prepare_for_submission: "prepare_for_submission";
221
+ processing_for_distribution: "processing_for_distribution";
222
+ ready_for_distribution: "ready_for_distribution";
223
+ ready_for_review: "ready_for_review";
224
+ rejected: "rejected";
225
+ replaced_with_new_version: "replaced_with_new_version";
226
+ waiting_for_export_compliance: "waiting_for_export_compliance";
227
+ waiting_for_review: "waiting_for_review";
228
+ }>;
229
+ }, z.core.$loose>>;
210
230
  build_upload: z.ZodOptional<z.ZodObject<{
211
231
  id: z.ZodString;
212
232
  state: z.ZodEnum<{
@@ -215,6 +235,35 @@ export declare const StaticWorkflowInterpolationContextZ: z.ZodObject<{
215
235
  processing: "processing";
216
236
  complete: "complete";
217
237
  }>;
238
+ cf_bundle_version: z.ZodOptional<z.ZodString>;
239
+ build: z.ZodOptional<z.ZodObject<{
240
+ id: z.ZodString;
241
+ }, z.core.$loose>>;
242
+ }, z.core.$loose>>;
243
+ external_beta: z.ZodOptional<z.ZodObject<{
244
+ id: z.ZodString;
245
+ state: z.ZodEnum<{
246
+ processing: "processing";
247
+ processing_exception: "processing_exception";
248
+ missing_export_compliance: "missing_export_compliance";
249
+ ready_for_beta_testing: "ready_for_beta_testing";
250
+ in_beta_testing: "in_beta_testing";
251
+ expired: "expired";
252
+ ready_for_beta_submission: "ready_for_beta_submission";
253
+ in_export_compliance_review: "in_export_compliance_review";
254
+ waiting_for_beta_review: "waiting_for_beta_review";
255
+ in_beta_review: "in_beta_review";
256
+ beta_rejected: "beta_rejected";
257
+ beta_approved: "beta_approved";
258
+ }>;
259
+ }, z.core.$loose>>;
260
+ beta_feedback: z.ZodOptional<z.ZodObject<{
261
+ id: z.ZodString;
262
+ type: z.ZodEnum<{
263
+ crash: "crash";
264
+ screenshot: "screenshot";
265
+ }>;
266
+ url: z.ZodString;
218
267
  }, z.core.$loose>>;
219
268
  }, z.core.$loose>>;
220
269
  }, z.core.$strip>;
package/dist/common.js CHANGED
@@ -167,6 +167,71 @@ const GitHubContextZ = zod_1.z.object({
167
167
  }))
168
168
  .optional(),
169
169
  });
170
+ const AppStoreConnectContextZ = zod_1.z.looseObject({
171
+ app: zod_1.z.looseObject({
172
+ id: zod_1.z.string(),
173
+ }),
174
+ app_version: zod_1.z
175
+ .looseObject({
176
+ id: zod_1.z.string(),
177
+ state: zod_1.z.enum([
178
+ 'accepted',
179
+ 'developer_rejected',
180
+ 'in_review',
181
+ 'invalid_binary',
182
+ 'metadata_rejected',
183
+ 'pending_apple_release',
184
+ 'pending_developer_release',
185
+ 'prepare_for_submission',
186
+ 'processing_for_distribution',
187
+ 'ready_for_distribution',
188
+ 'ready_for_review',
189
+ 'rejected',
190
+ 'replaced_with_new_version',
191
+ 'waiting_for_export_compliance',
192
+ 'waiting_for_review',
193
+ ]),
194
+ })
195
+ .optional(),
196
+ build_upload: zod_1.z
197
+ .looseObject({
198
+ id: zod_1.z.string(),
199
+ state: zod_1.z.enum(['awaiting_upload', 'processing', 'failed', 'complete']),
200
+ cf_bundle_version: zod_1.z.string().optional(),
201
+ build: zod_1.z
202
+ .looseObject({
203
+ id: zod_1.z.string(),
204
+ })
205
+ .optional(),
206
+ })
207
+ .optional(),
208
+ external_beta: zod_1.z
209
+ .looseObject({
210
+ id: zod_1.z.string(),
211
+ state: zod_1.z.enum([
212
+ 'processing',
213
+ 'processing_exception',
214
+ 'missing_export_compliance',
215
+ 'ready_for_beta_testing',
216
+ 'in_beta_testing',
217
+ 'expired',
218
+ 'ready_for_beta_submission',
219
+ 'in_export_compliance_review',
220
+ 'waiting_for_beta_review',
221
+ 'in_beta_review',
222
+ 'beta_rejected',
223
+ 'beta_approved',
224
+ ]),
225
+ })
226
+ .optional(),
227
+ beta_feedback: zod_1.z
228
+ .looseObject({
229
+ id: zod_1.z.string(),
230
+ type: zod_1.z.enum(['crash', 'screenshot']),
231
+ url: zod_1.z.string(),
232
+ })
233
+ .optional(),
234
+ });
170
235
  exports.StaticWorkflowInterpolationContextZ = zod_1.z.object({
171
236
  after: zod_1.z.record(zod_1.z.string(), zod_1.z.object({
172
237
  status: zod_1.z.string(),
@@ -194,19 +259,8 @@ exports.StaticWorkflowInterpolationContextZ = zod_1.z.object({
194
259
  id: zod_1.z.string(),
195
260
  name: zod_1.z.string(),
196
261
  }),
197
- app_store_connect: zod_1.z
198
- .looseObject({
199
- app: zod_1.z.looseObject({
200
- id: zod_1.z.string(),
201
- }),
202
- build_upload: zod_1.z
203
- .looseObject({
204
- id: zod_1.z.string(),
205
- state: zod_1.z.enum(['awaiting_upload', 'processing', 'failed', 'complete']),
206
- })
207
- .optional(),
208
- })
209
- .optional(),
262
+ // We need to .optional() to support jobs that are not triggered by an App Store Connect event.
263
+ app_store_connect: AppStoreConnectContextZ.optional(),
210
264
  });
211
265
  exports.CustomBuildConfigSchema = joi_1.default.object().when('.mode', {
212
266
  is: [BuildMode.CUSTOM, BuildMode.REPACK],
package/dist/generic.d.ts CHANGED
@@ -108,6 +108,26 @@ export declare namespace Generic {
108
108
  app: z.ZodObject<{
109
109
  id: z.ZodString;
110
110
  }, z.core.$loose>;
111
+ app_version: z.ZodOptional<z.ZodObject<{
112
+ id: z.ZodString;
113
+ state: z.ZodEnum<{
114
+ accepted: "accepted";
115
+ developer_rejected: "developer_rejected";
116
+ in_review: "in_review";
117
+ invalid_binary: "invalid_binary";
118
+ metadata_rejected: "metadata_rejected";
119
+ pending_apple_release: "pending_apple_release";
120
+ pending_developer_release: "pending_developer_release";
121
+ prepare_for_submission: "prepare_for_submission";
122
+ processing_for_distribution: "processing_for_distribution";
123
+ ready_for_distribution: "ready_for_distribution";
124
+ ready_for_review: "ready_for_review";
125
+ rejected: "rejected";
126
+ replaced_with_new_version: "replaced_with_new_version";
127
+ waiting_for_export_compliance: "waiting_for_export_compliance";
128
+ waiting_for_review: "waiting_for_review";
129
+ }>;
130
+ }, z.core.$loose>>;
111
131
  build_upload: z.ZodOptional<z.ZodObject<{
112
132
  id: z.ZodString;
113
133
  state: z.ZodEnum<{
@@ -116,6 +136,35 @@ export declare namespace Generic {
116
136
  processing: "processing";
117
137
  complete: "complete";
118
138
  }>;
139
+ cf_bundle_version: z.ZodOptional<z.ZodString>;
140
+ build: z.ZodOptional<z.ZodObject<{
141
+ id: z.ZodString;
142
+ }, z.core.$loose>>;
143
+ }, z.core.$loose>>;
144
+ external_beta: z.ZodOptional<z.ZodObject<{
145
+ id: z.ZodString;
146
+ state: z.ZodEnum<{
147
+ processing: "processing";
148
+ processing_exception: "processing_exception";
149
+ missing_export_compliance: "missing_export_compliance";
150
+ ready_for_beta_testing: "ready_for_beta_testing";
151
+ in_beta_testing: "in_beta_testing";
152
+ expired: "expired";
153
+ ready_for_beta_submission: "ready_for_beta_submission";
154
+ in_export_compliance_review: "in_export_compliance_review";
155
+ waiting_for_beta_review: "waiting_for_beta_review";
156
+ in_beta_review: "in_beta_review";
157
+ beta_rejected: "beta_rejected";
158
+ beta_approved: "beta_approved";
159
+ }>;
160
+ }, z.core.$loose>>;
161
+ beta_feedback: z.ZodOptional<z.ZodObject<{
162
+ id: z.ZodString;
163
+ type: z.ZodEnum<{
164
+ crash: "crash";
165
+ screenshot: "screenshot";
166
+ }>;
167
+ url: z.ZodString;
119
168
  }, z.core.$loose>>;
120
169
  }, z.core.$loose>>;
121
170
  }, z.core.$strip>>;
@@ -291,6 +340,26 @@ export declare namespace Generic {
291
340
  app: z.ZodObject<{
292
341
  id: z.ZodString;
293
342
  }, z.core.$loose>;
343
+ app_version: z.ZodOptional<z.ZodObject<{
344
+ id: z.ZodString;
345
+ state: z.ZodEnum<{
346
+ accepted: "accepted";
347
+ developer_rejected: "developer_rejected";
348
+ in_review: "in_review";
349
+ invalid_binary: "invalid_binary";
350
+ metadata_rejected: "metadata_rejected";
351
+ pending_apple_release: "pending_apple_release";
352
+ pending_developer_release: "pending_developer_release";
353
+ prepare_for_submission: "prepare_for_submission";
354
+ processing_for_distribution: "processing_for_distribution";
355
+ ready_for_distribution: "ready_for_distribution";
356
+ ready_for_review: "ready_for_review";
357
+ rejected: "rejected";
358
+ replaced_with_new_version: "replaced_with_new_version";
359
+ waiting_for_export_compliance: "waiting_for_export_compliance";
360
+ waiting_for_review: "waiting_for_review";
361
+ }>;
362
+ }, z.core.$loose>>;
294
363
  build_upload: z.ZodOptional<z.ZodObject<{
295
364
  id: z.ZodString;
296
365
  state: z.ZodEnum<{
@@ -299,6 +368,35 @@ export declare namespace Generic {
299
368
  processing: "processing";
300
369
  complete: "complete";
301
370
  }>;
371
+ cf_bundle_version: z.ZodOptional<z.ZodString>;
372
+ build: z.ZodOptional<z.ZodObject<{
373
+ id: z.ZodString;
374
+ }, z.core.$loose>>;
375
+ }, z.core.$loose>>;
376
+ external_beta: z.ZodOptional<z.ZodObject<{
377
+ id: z.ZodString;
378
+ state: z.ZodEnum<{
379
+ processing: "processing";
380
+ processing_exception: "processing_exception";
381
+ missing_export_compliance: "missing_export_compliance";
382
+ ready_for_beta_testing: "ready_for_beta_testing";
383
+ in_beta_testing: "in_beta_testing";
384
+ expired: "expired";
385
+ ready_for_beta_submission: "ready_for_beta_submission";
386
+ in_export_compliance_review: "in_export_compliance_review";
387
+ waiting_for_beta_review: "waiting_for_beta_review";
388
+ in_beta_review: "in_beta_review";
389
+ beta_rejected: "beta_rejected";
390
+ beta_approved: "beta_approved";
391
+ }>;
392
+ }, z.core.$loose>>;
393
+ beta_feedback: z.ZodOptional<z.ZodObject<{
394
+ id: z.ZodString;
395
+ type: z.ZodEnum<{
396
+ crash: "crash";
397
+ screenshot: "screenshot";
398
+ }>;
399
+ url: z.ZodString;
302
400
  }, z.core.$loose>>;
303
401
  }, z.core.$loose>>;
304
402
  }, z.core.$strip>>>;
package/dist/logs.d.ts CHANGED
@@ -37,6 +37,7 @@ export declare enum BuildPhase {
37
37
  INSTALL_PODS = "INSTALL_PODS",
38
38
  CONFIGURE_XCODE_PROJECT = "CONFIGURE_XCODE_PROJECT",
39
39
  RUN_FASTLANE = "RUN_FASTLANE",
40
+ PARSE_XCACTIVITYLOG = "PARSE_XCACTIVITYLOG",
40
41
  PRE_INSTALL_HOOK = "PRE_INSTALL_HOOK",
41
42
  POST_INSTALL_HOOK = "POST_INSTALL_HOOK",
42
43
  PRE_UPLOAD_ARTIFACTS_HOOK = "PRE_UPLOAD_ARTIFACTS_HOOK",
package/dist/logs.js CHANGED
@@ -43,6 +43,7 @@ var BuildPhase;
43
43
  BuildPhase["INSTALL_PODS"] = "INSTALL_PODS";
44
44
  BuildPhase["CONFIGURE_XCODE_PROJECT"] = "CONFIGURE_XCODE_PROJECT";
45
45
  BuildPhase["RUN_FASTLANE"] = "RUN_FASTLANE";
46
+ BuildPhase["PARSE_XCACTIVITYLOG"] = "PARSE_XCACTIVITYLOG";
46
47
  // HOOKS
47
48
  BuildPhase["PRE_INSTALL_HOOK"] = "PRE_INSTALL_HOOK";
48
49
  BuildPhase["POST_INSTALL_HOOK"] = "POST_INSTALL_HOOK";
@@ -104,6 +105,7 @@ exports.buildPhaseDisplayName = {
104
105
  [BuildPhase.INSTALL_PODS]: 'Install pods',
105
106
  [BuildPhase.CONFIGURE_XCODE_PROJECT]: 'Configure Xcode project',
106
107
  [BuildPhase.RUN_FASTLANE]: 'Run fastlane',
108
+ [BuildPhase.PARSE_XCACTIVITYLOG]: 'Analyze build performance',
107
109
  // HOOKS
108
110
  [BuildPhase.PRE_INSTALL_HOOK]: 'Pre-install hook',
109
111
  [BuildPhase.POST_INSTALL_HOOK]: 'Post-install hook',
@@ -162,6 +164,7 @@ exports.buildPhaseWebsiteId = {
162
164
  [BuildPhase.INSTALL_PODS]: 'install-pods',
163
165
  [BuildPhase.CONFIGURE_XCODE_PROJECT]: 'configure-xcode-project',
164
166
  [BuildPhase.RUN_FASTLANE]: 'run-fastlane',
167
+ [BuildPhase.PARSE_XCACTIVITYLOG]: 'parse-xcactivitylog',
165
168
  // HOOKS
166
169
  [BuildPhase.PRE_INSTALL_HOOK]: 'pre-install-hook',
167
170
  [BuildPhase.POST_INSTALL_HOOK]: 'post-install-hook',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/eas-build-job",
3
- "version": "18.5.0",
3
+ "version": "18.8.0",
4
4
  "bugs": "https://github.com/expo/eas-cli/issues",
5
5
  "license": "MIT",
6
6
  "author": "Expo <support@expo.io>",
@@ -38,5 +38,5 @@
38
38
  "ts-jest": "^29.1.4",
39
39
  "typescript": "^5.5.4"
40
40
  },
41
- "gitHead": "2e2dddb59ae9df5ad2395c74f77701341103b62e"
41
+ "gitHead": "7c7fad4a13a8a45bdca698fc0fd4c08b17bb189c"
42
42
  }