@expo/eas-json 0.60.0 → 1.2.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 +1 -0
- package/build/build/types.d.ts +3 -2
- package/build/schema.js +1 -0
- package/build/types.d.ts +1 -0
- package/package.json +5 -4
package/build/build/schema.js
CHANGED
|
@@ -23,6 +23,7 @@ const CommonBuildProfileSchema = joi_1.default.object({
|
|
|
23
23
|
yarn: joi_1.default.string().empty(null).custom(semverCheck),
|
|
24
24
|
expoCli: joi_1.default.string().empty(null).custom(semverCheck),
|
|
25
25
|
env: joi_1.default.object().pattern(joi_1.default.string(), joi_1.default.string().empty(null)),
|
|
26
|
+
autoIncrement: joi_1.default.alternatives().try(joi_1.default.boolean()),
|
|
26
27
|
});
|
|
27
28
|
const AndroidBuildProfileSchema = CommonBuildProfileSchema.concat(joi_1.default.object({
|
|
28
29
|
credentialsSource: joi_1.default.string().valid('local', 'remote'),
|
package/build/build/types.d.ts
CHANGED
|
@@ -16,12 +16,13 @@ export interface CommonBuildProfile {
|
|
|
16
16
|
channel?: string;
|
|
17
17
|
developmentClient?: boolean;
|
|
18
18
|
prebuildCommand?: string;
|
|
19
|
+
autoIncrement?: boolean;
|
|
19
20
|
node?: string;
|
|
20
21
|
yarn?: string;
|
|
21
22
|
expoCli?: string;
|
|
22
23
|
env?: Record<string, string>;
|
|
23
24
|
}
|
|
24
|
-
export interface AndroidBuildProfile extends CommonBuildProfile {
|
|
25
|
+
export interface AndroidBuildProfile extends Omit<CommonBuildProfile, 'autoIncrement'> {
|
|
25
26
|
withoutCredentials?: boolean;
|
|
26
27
|
image?: Android.BuilderEnvironment['image'];
|
|
27
28
|
ndk?: string;
|
|
@@ -30,7 +31,7 @@ export interface AndroidBuildProfile extends CommonBuildProfile {
|
|
|
30
31
|
gradleCommand?: string;
|
|
31
32
|
artifactPath?: string;
|
|
32
33
|
}
|
|
33
|
-
export interface IosBuildProfile extends CommonBuildProfile {
|
|
34
|
+
export interface IosBuildProfile extends Omit<CommonBuildProfile, 'autoIncrement'> {
|
|
34
35
|
enterpriseProvisioning?: IosEnterpriseProvisioning;
|
|
35
36
|
autoIncrement?: IosVersionAutoIncrement;
|
|
36
37
|
simulator?: boolean;
|
package/build/schema.js
CHANGED
|
@@ -11,6 +11,7 @@ exports.EasJsonSchema = joi_1.default.object({
|
|
|
11
11
|
version: joi_1.default.string(),
|
|
12
12
|
requireCommit: joi_1.default.boolean(),
|
|
13
13
|
appVersionSource: joi_1.default.string().valid(...Object.values(types_1.AppVersionSource)),
|
|
14
|
+
promptToConfigurePushNotfications: joi_1.default.boolean(),
|
|
14
15
|
}),
|
|
15
16
|
build: joi_1.default.object().pattern(joi_1.default.string(), schema_1.BuildProfileSchema),
|
|
16
17
|
submit: joi_1.default.object().pattern(joi_1.default.string(), schema_2.SubmitProfileSchema),
|
package/build/types.d.ts
CHANGED
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": "1.2.0",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bugs": "https://github.com/expo/eas-cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/fs-extra": "9.0.13",
|
|
20
20
|
"memfs": "3.4.7",
|
|
21
|
+
"rimraf": "3.0.2",
|
|
21
22
|
"typescript": "4.7.4"
|
|
22
23
|
},
|
|
23
24
|
"engines": {
|
|
@@ -32,9 +33,9 @@
|
|
|
32
33
|
"build": "tsc --project tsconfig.build.json",
|
|
33
34
|
"watch": "yarn build --watch --preserveWatchOutput",
|
|
34
35
|
"typecheck": "tsc",
|
|
35
|
-
"prepack": "
|
|
36
|
+
"prepack": "rimraf build && yarn build",
|
|
36
37
|
"test": "jest",
|
|
37
|
-
"clean": "
|
|
38
|
+
"clean": "rimraf build node_modules yarn-error.log"
|
|
38
39
|
},
|
|
39
40
|
"files": [
|
|
40
41
|
"/build"
|
|
@@ -46,5 +47,5 @@
|
|
|
46
47
|
"node": "18.6.0",
|
|
47
48
|
"yarn": "1.22.19"
|
|
48
49
|
},
|
|
49
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "d4ffb074021577cd9aeeb5d88b6b06a740a99f69"
|
|
50
51
|
}
|