@expo/eas-build-job 18.4.0 → 18.6.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 +59 -0
- package/dist/common.js +61 -0
- package/dist/generic.d.ts +118 -0
- package/package.json +6 -5
package/dist/common.d.ts
CHANGED
|
@@ -203,6 +203,65 @@ export declare const StaticWorkflowInterpolationContextZ: z.ZodObject<{
|
|
|
203
203
|
id: z.ZodString;
|
|
204
204
|
name: z.ZodString;
|
|
205
205
|
}, z.core.$loose>;
|
|
206
|
+
app_store_connect: z.ZodOptional<z.ZodObject<{
|
|
207
|
+
app: z.ZodObject<{
|
|
208
|
+
id: z.ZodString;
|
|
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>>;
|
|
230
|
+
build_upload: z.ZodOptional<z.ZodObject<{
|
|
231
|
+
id: z.ZodString;
|
|
232
|
+
state: z.ZodEnum<{
|
|
233
|
+
failed: "failed";
|
|
234
|
+
awaiting_upload: "awaiting_upload";
|
|
235
|
+
processing: "processing";
|
|
236
|
+
complete: "complete";
|
|
237
|
+
}>;
|
|
238
|
+
}, z.core.$loose>>;
|
|
239
|
+
external_beta: z.ZodOptional<z.ZodObject<{
|
|
240
|
+
id: z.ZodString;
|
|
241
|
+
state: z.ZodEnum<{
|
|
242
|
+
processing: "processing";
|
|
243
|
+
processing_exception: "processing_exception";
|
|
244
|
+
missing_export_compliance: "missing_export_compliance";
|
|
245
|
+
ready_for_beta_testing: "ready_for_beta_testing";
|
|
246
|
+
in_beta_testing: "in_beta_testing";
|
|
247
|
+
expired: "expired";
|
|
248
|
+
ready_for_beta_submission: "ready_for_beta_submission";
|
|
249
|
+
in_export_compliance_review: "in_export_compliance_review";
|
|
250
|
+
waiting_for_beta_review: "waiting_for_beta_review";
|
|
251
|
+
in_beta_review: "in_beta_review";
|
|
252
|
+
beta_rejected: "beta_rejected";
|
|
253
|
+
beta_approved: "beta_approved";
|
|
254
|
+
}>;
|
|
255
|
+
}, z.core.$loose>>;
|
|
256
|
+
beta_feedback: z.ZodOptional<z.ZodObject<{
|
|
257
|
+
id: z.ZodString;
|
|
258
|
+
type: z.ZodEnum<{
|
|
259
|
+
crash: "crash";
|
|
260
|
+
screenshot: "screenshot";
|
|
261
|
+
}>;
|
|
262
|
+
url: z.ZodString;
|
|
263
|
+
}, z.core.$loose>>;
|
|
264
|
+
}, z.core.$loose>>;
|
|
206
265
|
}, z.core.$strip>;
|
|
207
266
|
export type StaticWorkflowInterpolationContext = z.infer<typeof StaticWorkflowInterpolationContextZ>;
|
|
208
267
|
export type DynamicInterpolationContext = {
|
package/dist/common.js
CHANGED
|
@@ -167,6 +167,65 @@ 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
|
+
})
|
|
201
|
+
.optional(),
|
|
202
|
+
external_beta: zod_1.z
|
|
203
|
+
.looseObject({
|
|
204
|
+
id: zod_1.z.string(),
|
|
205
|
+
state: zod_1.z.enum([
|
|
206
|
+
'processing',
|
|
207
|
+
'processing_exception',
|
|
208
|
+
'missing_export_compliance',
|
|
209
|
+
'ready_for_beta_testing',
|
|
210
|
+
'in_beta_testing',
|
|
211
|
+
'expired',
|
|
212
|
+
'ready_for_beta_submission',
|
|
213
|
+
'in_export_compliance_review',
|
|
214
|
+
'waiting_for_beta_review',
|
|
215
|
+
'in_beta_review',
|
|
216
|
+
'beta_rejected',
|
|
217
|
+
'beta_approved',
|
|
218
|
+
]),
|
|
219
|
+
})
|
|
220
|
+
.optional(),
|
|
221
|
+
beta_feedback: zod_1.z
|
|
222
|
+
.looseObject({
|
|
223
|
+
id: zod_1.z.string(),
|
|
224
|
+
type: zod_1.z.enum(['crash', 'screenshot']),
|
|
225
|
+
url: zod_1.z.string(),
|
|
226
|
+
})
|
|
227
|
+
.optional(),
|
|
228
|
+
});
|
|
170
229
|
exports.StaticWorkflowInterpolationContextZ = zod_1.z.object({
|
|
171
230
|
after: zod_1.z.record(zod_1.z.string(), zod_1.z.object({
|
|
172
231
|
status: zod_1.z.string(),
|
|
@@ -194,6 +253,8 @@ exports.StaticWorkflowInterpolationContextZ = zod_1.z.object({
|
|
|
194
253
|
id: zod_1.z.string(),
|
|
195
254
|
name: zod_1.z.string(),
|
|
196
255
|
}),
|
|
256
|
+
// We need to .optional() to support jobs that are not triggered by an App Store Connect event.
|
|
257
|
+
app_store_connect: AppStoreConnectContextZ.optional(),
|
|
197
258
|
});
|
|
198
259
|
exports.CustomBuildConfigSchema = joi_1.default.object().when('.mode', {
|
|
199
260
|
is: [BuildMode.CUSTOM, BuildMode.REPACK],
|
package/dist/generic.d.ts
CHANGED
|
@@ -104,6 +104,65 @@ export declare namespace Generic {
|
|
|
104
104
|
id: z.ZodString;
|
|
105
105
|
name: z.ZodString;
|
|
106
106
|
}, z.core.$loose>;
|
|
107
|
+
app_store_connect: z.ZodOptional<z.ZodObject<{
|
|
108
|
+
app: z.ZodObject<{
|
|
109
|
+
id: z.ZodString;
|
|
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>>;
|
|
131
|
+
build_upload: z.ZodOptional<z.ZodObject<{
|
|
132
|
+
id: z.ZodString;
|
|
133
|
+
state: z.ZodEnum<{
|
|
134
|
+
failed: "failed";
|
|
135
|
+
awaiting_upload: "awaiting_upload";
|
|
136
|
+
processing: "processing";
|
|
137
|
+
complete: "complete";
|
|
138
|
+
}>;
|
|
139
|
+
}, z.core.$loose>>;
|
|
140
|
+
external_beta: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
id: z.ZodString;
|
|
142
|
+
state: z.ZodEnum<{
|
|
143
|
+
processing: "processing";
|
|
144
|
+
processing_exception: "processing_exception";
|
|
145
|
+
missing_export_compliance: "missing_export_compliance";
|
|
146
|
+
ready_for_beta_testing: "ready_for_beta_testing";
|
|
147
|
+
in_beta_testing: "in_beta_testing";
|
|
148
|
+
expired: "expired";
|
|
149
|
+
ready_for_beta_submission: "ready_for_beta_submission";
|
|
150
|
+
in_export_compliance_review: "in_export_compliance_review";
|
|
151
|
+
waiting_for_beta_review: "waiting_for_beta_review";
|
|
152
|
+
in_beta_review: "in_beta_review";
|
|
153
|
+
beta_rejected: "beta_rejected";
|
|
154
|
+
beta_approved: "beta_approved";
|
|
155
|
+
}>;
|
|
156
|
+
}, z.core.$loose>>;
|
|
157
|
+
beta_feedback: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
type: z.ZodEnum<{
|
|
160
|
+
crash: "crash";
|
|
161
|
+
screenshot: "screenshot";
|
|
162
|
+
}>;
|
|
163
|
+
url: z.ZodString;
|
|
164
|
+
}, z.core.$loose>>;
|
|
165
|
+
}, z.core.$loose>>;
|
|
107
166
|
}, z.core.$strip>>;
|
|
108
167
|
initiatingUserId: z.ZodString;
|
|
109
168
|
appId: z.ZodString;
|
|
@@ -273,6 +332,65 @@ export declare namespace Generic {
|
|
|
273
332
|
id: z.ZodString;
|
|
274
333
|
name: z.ZodString;
|
|
275
334
|
}, z.core.$loose>;
|
|
335
|
+
app_store_connect: z.ZodOptional<z.ZodObject<{
|
|
336
|
+
app: z.ZodObject<{
|
|
337
|
+
id: z.ZodString;
|
|
338
|
+
}, z.core.$loose>;
|
|
339
|
+
app_version: z.ZodOptional<z.ZodObject<{
|
|
340
|
+
id: z.ZodString;
|
|
341
|
+
state: z.ZodEnum<{
|
|
342
|
+
accepted: "accepted";
|
|
343
|
+
developer_rejected: "developer_rejected";
|
|
344
|
+
in_review: "in_review";
|
|
345
|
+
invalid_binary: "invalid_binary";
|
|
346
|
+
metadata_rejected: "metadata_rejected";
|
|
347
|
+
pending_apple_release: "pending_apple_release";
|
|
348
|
+
pending_developer_release: "pending_developer_release";
|
|
349
|
+
prepare_for_submission: "prepare_for_submission";
|
|
350
|
+
processing_for_distribution: "processing_for_distribution";
|
|
351
|
+
ready_for_distribution: "ready_for_distribution";
|
|
352
|
+
ready_for_review: "ready_for_review";
|
|
353
|
+
rejected: "rejected";
|
|
354
|
+
replaced_with_new_version: "replaced_with_new_version";
|
|
355
|
+
waiting_for_export_compliance: "waiting_for_export_compliance";
|
|
356
|
+
waiting_for_review: "waiting_for_review";
|
|
357
|
+
}>;
|
|
358
|
+
}, z.core.$loose>>;
|
|
359
|
+
build_upload: z.ZodOptional<z.ZodObject<{
|
|
360
|
+
id: z.ZodString;
|
|
361
|
+
state: z.ZodEnum<{
|
|
362
|
+
failed: "failed";
|
|
363
|
+
awaiting_upload: "awaiting_upload";
|
|
364
|
+
processing: "processing";
|
|
365
|
+
complete: "complete";
|
|
366
|
+
}>;
|
|
367
|
+
}, z.core.$loose>>;
|
|
368
|
+
external_beta: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
id: z.ZodString;
|
|
370
|
+
state: z.ZodEnum<{
|
|
371
|
+
processing: "processing";
|
|
372
|
+
processing_exception: "processing_exception";
|
|
373
|
+
missing_export_compliance: "missing_export_compliance";
|
|
374
|
+
ready_for_beta_testing: "ready_for_beta_testing";
|
|
375
|
+
in_beta_testing: "in_beta_testing";
|
|
376
|
+
expired: "expired";
|
|
377
|
+
ready_for_beta_submission: "ready_for_beta_submission";
|
|
378
|
+
in_export_compliance_review: "in_export_compliance_review";
|
|
379
|
+
waiting_for_beta_review: "waiting_for_beta_review";
|
|
380
|
+
in_beta_review: "in_beta_review";
|
|
381
|
+
beta_rejected: "beta_rejected";
|
|
382
|
+
beta_approved: "beta_approved";
|
|
383
|
+
}>;
|
|
384
|
+
}, z.core.$loose>>;
|
|
385
|
+
beta_feedback: z.ZodOptional<z.ZodObject<{
|
|
386
|
+
id: z.ZodString;
|
|
387
|
+
type: z.ZodEnum<{
|
|
388
|
+
crash: "crash";
|
|
389
|
+
screenshot: "screenshot";
|
|
390
|
+
}>;
|
|
391
|
+
url: z.ZodString;
|
|
392
|
+
}, z.core.$loose>>;
|
|
393
|
+
}, z.core.$loose>>;
|
|
276
394
|
}, z.core.$strip>>>;
|
|
277
395
|
initiatingUserId: z.ZodOptional<z.ZodString>;
|
|
278
396
|
appId: z.ZodOptional<z.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/eas-build-job",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.6.0",
|
|
4
4
|
"bugs": "https://github.com/expo/eas-cli/issues",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Expo <support@expo.io>",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"watch": "tsc --watch --preserveWatchOutput",
|
|
20
20
|
"build": "tsc",
|
|
21
21
|
"typecheck": "tsc",
|
|
22
|
-
"prepack": "
|
|
22
|
+
"prepack": "rimraf dist \"*.tsbuildinfo\" && tsc -p tsconfig.build.json",
|
|
23
23
|
"test": "jest --config jest.config.ts",
|
|
24
24
|
"test:watch": "jest --config jest.config.ts --watch",
|
|
25
|
-
"clean": "
|
|
25
|
+
"clean": "rimraf node_modules dist coverage \"*.tsbuildinfo\""
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@expo/logger": "18.0
|
|
28
|
+
"@expo/logger": "18.5.0",
|
|
29
29
|
"joi": "^17.13.1",
|
|
30
30
|
"semver": "^7.6.2",
|
|
31
31
|
"zod": "^4.3.5"
|
|
@@ -34,8 +34,9 @@
|
|
|
34
34
|
"@types/jest": "^29.5.12",
|
|
35
35
|
"@types/node": "20.14.2",
|
|
36
36
|
"jest": "^29.7.0",
|
|
37
|
+
"rimraf": "3.0.2",
|
|
37
38
|
"ts-jest": "^29.1.4",
|
|
38
39
|
"typescript": "^5.5.4"
|
|
39
40
|
},
|
|
40
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "0fb6dfc334f0e496d701ff2afad0d15da9a83478"
|
|
41
42
|
}
|