@expo/eas-json 2.0.0 → 2.1.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/build/build/schema.js +7 -2
- package/build/build/types.d.ts +9 -0
- package/package.json +3 -3
package/build/build/schema.js
CHANGED
|
@@ -19,6 +19,7 @@ const CommonBuildProfileSchema = joi_1.default.object({
|
|
|
19
19
|
channel: joi_1.default.string().regex(/^[a-z\d][a-z\d._-]*$/),
|
|
20
20
|
developmentClient: joi_1.default.boolean(),
|
|
21
21
|
prebuildCommand: joi_1.default.string(),
|
|
22
|
+
buildArtifactPaths: joi_1.default.array().items(joi_1.default.string()),
|
|
22
23
|
node: joi_1.default.string().empty(null).custom(semverCheck),
|
|
23
24
|
yarn: joi_1.default.string().empty(null).custom(semverCheck),
|
|
24
25
|
expoCli: joi_1.default.string().empty(null).custom(semverCheck),
|
|
@@ -33,9 +34,11 @@ const AndroidBuildProfileSchema = CommonBuildProfileSchema.concat(joi_1.default.
|
|
|
33
34
|
ndk: joi_1.default.string().empty(null).custom(semverCheck),
|
|
34
35
|
autoIncrement: joi_1.default.alternatives().try(joi_1.default.boolean(), joi_1.default.string().valid('version', 'versionCode')),
|
|
35
36
|
artifactPath: joi_1.default.string(),
|
|
37
|
+
applicationArchivePath: joi_1.default.string(),
|
|
38
|
+
buildArtifactPaths: joi_1.default.array().items(joi_1.default.string()),
|
|
36
39
|
gradleCommand: joi_1.default.string(),
|
|
37
40
|
buildType: joi_1.default.string().valid('apk', 'app-bundle'),
|
|
38
|
-
}));
|
|
41
|
+
}).oxor('artifactPath', 'applicationArchivePath'));
|
|
39
42
|
const IosBuildProfileSchema = CommonBuildProfileSchema.concat(joi_1.default.object({
|
|
40
43
|
credentialsSource: joi_1.default.string().valid('local', 'remote'),
|
|
41
44
|
distribution: joi_1.default.string().valid('store', 'internal'),
|
|
@@ -47,9 +50,11 @@ const IosBuildProfileSchema = CommonBuildProfileSchema.concat(joi_1.default.obje
|
|
|
47
50
|
fastlane: joi_1.default.string().empty(null).custom(semverCheck),
|
|
48
51
|
cocoapods: joi_1.default.string().empty(null).custom(semverCheck),
|
|
49
52
|
artifactPath: joi_1.default.string(),
|
|
53
|
+
applicationArchivePath: joi_1.default.string(),
|
|
54
|
+
buildArtifactPaths: joi_1.default.array().items(joi_1.default.string()),
|
|
50
55
|
scheme: joi_1.default.string(),
|
|
51
56
|
buildConfiguration: joi_1.default.string(),
|
|
52
|
-
}));
|
|
57
|
+
}).oxor('artifactPath', 'applicationArchivePath'));
|
|
53
58
|
exports.BuildProfileSchema = CommonBuildProfileSchema.concat(joi_1.default.object({
|
|
54
59
|
extends: joi_1.default.string(),
|
|
55
60
|
android: AndroidBuildProfileSchema,
|
package/build/build/types.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export interface CommonBuildProfile {
|
|
|
17
17
|
developmentClient?: boolean;
|
|
18
18
|
prebuildCommand?: string;
|
|
19
19
|
autoIncrement?: boolean;
|
|
20
|
+
buildArtifactPaths?: string[];
|
|
20
21
|
node?: string;
|
|
21
22
|
yarn?: string;
|
|
22
23
|
expoCli?: string;
|
|
@@ -29,7 +30,11 @@ export interface AndroidBuildProfile extends Omit<CommonBuildProfile, 'autoIncre
|
|
|
29
30
|
autoIncrement?: AndroidVersionAutoIncrement;
|
|
30
31
|
buildType?: Android.BuildType.APK | Android.BuildType.APP_BUNDLE;
|
|
31
32
|
gradleCommand?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated use applicationArchivePath
|
|
35
|
+
*/
|
|
32
36
|
artifactPath?: string;
|
|
37
|
+
applicationArchivePath?: string;
|
|
33
38
|
}
|
|
34
39
|
export interface IosBuildProfile extends Omit<CommonBuildProfile, 'autoIncrement'> {
|
|
35
40
|
enterpriseProvisioning?: IosEnterpriseProvisioning;
|
|
@@ -39,7 +44,11 @@ export interface IosBuildProfile extends Omit<CommonBuildProfile, 'autoIncrement
|
|
|
39
44
|
bundler?: string;
|
|
40
45
|
fastlane?: string;
|
|
41
46
|
cocoapods?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated use applicationArchivePath
|
|
49
|
+
*/
|
|
42
50
|
artifactPath?: string;
|
|
51
|
+
applicationArchivePath?: string;
|
|
43
52
|
scheme?: string;
|
|
44
53
|
buildConfiguration?: string;
|
|
45
54
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/eas-json",
|
|
3
3
|
"description": "A library for interacting with eas.json",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bugs": "https://github.com/expo/eas-cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@expo/eas-build-job": "0.2.
|
|
8
|
+
"@expo/eas-build-job": "0.2.90",
|
|
9
9
|
"@expo/json-file": "8.2.36",
|
|
10
10
|
"chalk": "4.1.2",
|
|
11
11
|
"env-string": "1.0.1",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"node": "18.6.0",
|
|
48
48
|
"yarn": "1.22.19"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "0cc5b74081452735e74c39667de5f8a774f34555"
|
|
51
51
|
}
|