@expo/eas-json 3.18.0 → 4.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 +5 -4
- package/build/build/types.d.ts +1 -1
- package/package.json +2 -2
package/build/build/schema.js
CHANGED
|
@@ -24,9 +24,10 @@ const CacheSchema = joi_1.default.object({
|
|
|
24
24
|
cacheDefaultPaths: joi_1.default.boolean(),
|
|
25
25
|
customPaths: joi_1.default.array().items(joi_1.default.string()),
|
|
26
26
|
paths: joi_1.default.array().items(joi_1.default.string()),
|
|
27
|
-
})
|
|
27
|
+
})
|
|
28
|
+
.rename('customPaths', 'paths')
|
|
28
29
|
.messages({
|
|
29
|
-
'object.rename.override': 'Cannot provide both "cache.customPaths" and "cache.paths" - use "cache.paths"'
|
|
30
|
+
'object.rename.override': 'Cannot provide both "cache.customPaths" and "cache.paths" - use "cache.paths"',
|
|
30
31
|
});
|
|
31
32
|
const CommonBuildProfileSchema = joi_1.default.object({
|
|
32
33
|
// builder
|
|
@@ -53,6 +54,8 @@ const CommonBuildProfileSchema = joi_1.default.object({
|
|
|
53
54
|
cache: CacheSchema,
|
|
54
55
|
// custom build configuration
|
|
55
56
|
config: joi_1.default.string(),
|
|
57
|
+
// credentials
|
|
58
|
+
withoutCredentials: joi_1.default.boolean(),
|
|
56
59
|
});
|
|
57
60
|
const PlatformBuildProfileSchema = CommonBuildProfileSchema.concat(joi_1.default.object({
|
|
58
61
|
// build environment
|
|
@@ -66,8 +69,6 @@ const AndroidBuildProfileSchema = PlatformBuildProfileSchema.concat(joi_1.defaul
|
|
|
66
69
|
resourceClass: joi_1.default.string().valid(...AllowedAndroidResourceClasses),
|
|
67
70
|
// build environment
|
|
68
71
|
ndk: joi_1.default.string().empty(null).custom(semverCheck),
|
|
69
|
-
// credentials
|
|
70
|
-
withoutCredentials: joi_1.default.boolean(),
|
|
71
72
|
// build configuration
|
|
72
73
|
gradleCommand: joi_1.default.string(),
|
|
73
74
|
buildType: joi_1.default.string().valid('apk', 'app-bundle'),
|
package/build/build/types.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export interface CommonBuildProfile {
|
|
|
47
47
|
buildArtifactPaths?: string[];
|
|
48
48
|
cache?: Omit<Cache, 'clear'>;
|
|
49
49
|
config?: string;
|
|
50
|
+
withoutCredentials?: boolean;
|
|
50
51
|
}
|
|
51
52
|
interface PlatformBuildProfile extends Omit<CommonBuildProfile, 'autoIncrement'> {
|
|
52
53
|
/**
|
|
@@ -58,7 +59,6 @@ interface PlatformBuildProfile extends Omit<CommonBuildProfile, 'autoIncrement'>
|
|
|
58
59
|
export interface AndroidBuildProfile extends PlatformBuildProfile {
|
|
59
60
|
image?: Android.BuilderEnvironment['image'];
|
|
60
61
|
ndk?: string;
|
|
61
|
-
withoutCredentials?: boolean;
|
|
62
62
|
gradleCommand?: string;
|
|
63
63
|
buildType?: Android.BuildType.APK | Android.BuildType.APP_BUNDLE;
|
|
64
64
|
autoIncrement?: AndroidVersionAutoIncrement;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/eas-json",
|
|
3
3
|
"description": "A library for interacting with eas.json",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bugs": "https://github.com/expo/eas-cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"node": "18.6.0",
|
|
53
53
|
"yarn": "1.22.19"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "e369ec1e25d0aef771a3c15a2e60fd19231ec1e5"
|
|
56
56
|
}
|