@expo/eas-json 3.3.0 → 3.5.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 +2 -3
- package/build/build/types.d.ts +6 -6
- package/build/submit/types.d.ts +1 -1
- package/build/types.d.ts +2 -2
- package/package.json +7 -7
package/build/build/schema.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BuildProfileSchema = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
5
|
const joi_1 = tslib_1.__importDefault(require("joi"));
|
|
7
6
|
const semver_1 = tslib_1.__importDefault(require("semver"));
|
|
8
7
|
const types_1 = require("./types");
|
|
@@ -42,7 +41,7 @@ const AndroidBuildProfileSchema = CommonBuildProfileSchema.concat(joi_1.default.
|
|
|
42
41
|
credentialsSource: joi_1.default.string().valid('local', 'remote'),
|
|
43
42
|
distribution: joi_1.default.string().valid('store', 'internal'),
|
|
44
43
|
withoutCredentials: joi_1.default.boolean(),
|
|
45
|
-
image: joi_1.default.string()
|
|
44
|
+
image: joi_1.default.string(),
|
|
46
45
|
ndk: joi_1.default.string().empty(null).custom(semverCheck),
|
|
47
46
|
autoIncrement: joi_1.default.alternatives().try(joi_1.default.boolean(), joi_1.default.string().valid('version', 'versionCode')),
|
|
48
47
|
resourceClass: joi_1.default.string().valid(...AllowedAndroidResourceClasses),
|
|
@@ -59,7 +58,7 @@ const IosBuildProfileSchema = CommonBuildProfileSchema.concat(joi_1.default.obje
|
|
|
59
58
|
autoIncrement: joi_1.default.alternatives().try(joi_1.default.boolean(), joi_1.default.string().valid('version', 'buildNumber')),
|
|
60
59
|
simulator: joi_1.default.boolean(),
|
|
61
60
|
resourceClass: joi_1.default.string().valid(...AllowedIosResourceClasses),
|
|
62
|
-
image: joi_1.default.string()
|
|
61
|
+
image: joi_1.default.string(),
|
|
63
62
|
bundler: joi_1.default.string().empty(null).custom(semverCheck),
|
|
64
63
|
fastlane: joi_1.default.string().empty(null).custom(semverCheck),
|
|
65
64
|
cocoapods: joi_1.default.string().empty(null).custom(semverCheck),
|
package/build/build/types.d.ts
CHANGED
|
@@ -17,11 +17,11 @@ export declare enum ResourceClass {
|
|
|
17
17
|
INTEL_MEDIUM = "intel-medium",
|
|
18
18
|
MEDIUM = "medium"
|
|
19
19
|
}
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
20
|
+
export type DistributionType = 'store' | 'internal';
|
|
21
|
+
export type IosEnterpriseProvisioning = 'adhoc' | 'universal';
|
|
22
|
+
export type VersionAutoIncrement = boolean | 'version';
|
|
23
|
+
export type IosVersionAutoIncrement = VersionAutoIncrement | 'buildNumber';
|
|
24
|
+
export type AndroidVersionAutoIncrement = VersionAutoIncrement | 'versionCode';
|
|
25
25
|
export interface CommonBuildProfile {
|
|
26
26
|
credentialsSource: CredentialsSource;
|
|
27
27
|
distribution: DistributionType;
|
|
@@ -67,7 +67,7 @@ export interface IosBuildProfile extends Omit<CommonBuildProfile, 'autoIncrement
|
|
|
67
67
|
scheme?: string;
|
|
68
68
|
buildConfiguration?: string;
|
|
69
69
|
}
|
|
70
|
-
export
|
|
70
|
+
export type BuildProfile<TPlatform extends Platform = Platform> = TPlatform extends Platform.ANDROID ? AndroidBuildProfile : IosBuildProfile;
|
|
71
71
|
export interface EasJsonBuildProfile extends Partial<CommonBuildProfile> {
|
|
72
72
|
extends?: string;
|
|
73
73
|
[Platform.ANDROID]?: Partial<AndroidBuildProfile>;
|
package/build/submit/types.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface IosSubmitProfile {
|
|
|
34
34
|
metadataPath?: string;
|
|
35
35
|
}
|
|
36
36
|
export declare const IosSubmitProfileFieldsToEvaluate: (keyof IosSubmitProfile)[];
|
|
37
|
-
export
|
|
37
|
+
export type SubmitProfile<TPlatform extends Platform = Platform> = TPlatform extends Platform.ANDROID ? AndroidSubmitProfile : IosSubmitProfile;
|
|
38
38
|
export interface EasJsonSubmitProfile {
|
|
39
39
|
extends?: string;
|
|
40
40
|
[Platform.ANDROID]?: AndroidSubmitProfile;
|
package/build/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EasJsonBuildProfile } from './build/types';
|
|
2
2
|
import { EasJsonSubmitProfile } from './submit/types';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type ProfileType = 'build' | 'submit';
|
|
4
|
+
export type EasJsonProfile<T extends ProfileType> = T extends 'build' ? EasJsonBuildProfile : EasJsonSubmitProfile;
|
|
5
5
|
export declare enum CredentialsSource {
|
|
6
6
|
LOCAL = "local",
|
|
7
7
|
REMOTE = "remote"
|
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/eas-json",
|
|
3
3
|
"description": "A library for interacting with eas.json",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.5.0",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bugs": "https://github.com/expo/eas-cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/code-frame": "7.18.6",
|
|
9
|
-
"@expo/eas-build-job": "0.2.
|
|
9
|
+
"@expo/eas-build-job": "0.2.102",
|
|
10
10
|
"chalk": "4.1.2",
|
|
11
11
|
"env-string": "1.0.1",
|
|
12
12
|
"fs-extra": "10.1.0",
|
|
13
13
|
"golden-fleece": "1.0.9",
|
|
14
|
-
"joi": "17.
|
|
14
|
+
"joi": "17.7.0",
|
|
15
15
|
"log-symbols": "4.1.0",
|
|
16
16
|
"semver": "7.3.8",
|
|
17
17
|
"terminal-link": "2.1.1",
|
|
18
|
-
"tslib": "2.4.
|
|
18
|
+
"tslib": "2.4.1"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/babel__code-frame": "7.0.3",
|
|
22
22
|
"@types/fs-extra": "9.0.13",
|
|
23
|
-
"memfs": "3.4.
|
|
23
|
+
"memfs": "3.4.13",
|
|
24
24
|
"rimraf": "3.0.2",
|
|
25
|
-
"typescript": "4.
|
|
25
|
+
"typescript": "4.9.4"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
28
|
"node": ">=14.0.0"
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"node": "18.6.0",
|
|
51
51
|
"yarn": "1.22.19"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "346d136b8bd8ba0e61cea52ace7c45a3e56ceed3"
|
|
54
54
|
}
|