@expo/eas-json 16.7.0 → 16.9.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/schema.js CHANGED
@@ -13,11 +13,9 @@ exports.EasJsonSchema = joi_1.default.object({
13
13
  requireCommit: joi_1.default.boolean(),
14
14
  appVersionSource: joi_1.default.string().valid(...Object.values(types_1.AppVersionSource)),
15
15
  promptToConfigurePushNotifications: joi_1.default.boolean(),
16
- }),
17
- build: joi_1.default.object().pattern(joi_1.default.string(), schema_1.BuildProfileSchema),
18
- submit: joi_1.default.object().pattern(joi_1.default.string(), schema_2.UnresolvedSubmitProfileSchema),
19
- update: joi_1.default.object({
20
16
  assetHostOverride: joi_1.default.string(),
21
17
  manifestHostOverride: joi_1.default.string(),
22
18
  }),
19
+ build: joi_1.default.object().pattern(joi_1.default.string(), schema_1.BuildProfileSchema),
20
+ submit: joi_1.default.object().pattern(joi_1.default.string(), schema_2.UnresolvedSubmitProfileSchema),
23
21
  });
@@ -35,6 +35,7 @@ exports.UnresolvedIosSubmitProfileSchema = joi_1.default.object({
35
35
  appName: joi_1.default.string(),
36
36
  bundleIdentifier: joi_1.default.string(),
37
37
  metadataPath: joi_1.default.string(),
38
+ groups: joi_1.default.array().items(joi_1.default.string()),
38
39
  });
39
40
  // more strict version after resolving all of the values
40
41
  exports.ResolvedIosSubmitProfileSchema = joi_1.default.object({
@@ -62,6 +63,7 @@ exports.ResolvedIosSubmitProfileSchema = joi_1.default.object({
62
63
  appName: joi_1.default.string(),
63
64
  bundleIdentifier: joi_1.default.string(),
64
65
  metadataPath: joi_1.default.string(),
66
+ groups: joi_1.default.array().items(joi_1.default.string()),
65
67
  });
66
68
  exports.UnresolvedSubmitProfileSchema = joi_1.default.object({
67
69
  extends: joi_1.default.string(),
@@ -33,6 +33,7 @@ export interface IosSubmitProfile {
33
33
  appName?: string;
34
34
  bundleIdentifier?: string;
35
35
  metadataPath?: string;
36
+ groups?: string[];
36
37
  }
37
38
  export declare const IosSubmitProfileFieldsToEvaluate: (keyof IosSubmitProfile)[];
38
39
  export type SubmitProfile<TPlatform extends Platform = Platform> = TPlatform extends Platform.ANDROID ? AndroidSubmitProfile : IosSubmitProfile;
package/build/types.d.ts CHANGED
@@ -16,6 +16,8 @@ export interface EasJson {
16
16
  requireCommit?: boolean;
17
17
  appVersionSource?: AppVersionSource;
18
18
  promptToConfigurePushNotifications?: boolean;
19
+ updateAssetHostOverride?: string;
20
+ updateManifestHostOverride?: string;
19
21
  };
20
22
  build?: {
21
23
  [profileName: string]: EasJsonBuildProfile;
@@ -23,8 +25,4 @@ export interface EasJson {
23
25
  submit?: {
24
26
  [profileName: string]: EasJsonSubmitProfile;
25
27
  };
26
- update?: {
27
- assetHostOverride?: string;
28
- manifestHostOverride?: string;
29
- };
30
28
  }
package/build/utils.d.ts CHANGED
@@ -13,7 +13,6 @@ export declare class EasJsonUtils {
13
13
  static getBuildProfileDeprecationWarningsAsync(easJsonAccessor: EasJsonAccessor, platform: Platform, profileName: string): Promise<EasJsonDeprecationWarning[]>;
14
14
  private static getCustomPathsDeprecationWarnings;
15
15
  static getCliConfigAsync(accessor: EasJsonAccessor): Promise<EasJson['cli'] | null>;
16
- static getUpdateConfigAsync(accessor: EasJsonAccessor): Promise<EasJson['update'] | null>;
17
16
  static getSubmitProfileNamesAsync(accessor: EasJsonAccessor): Promise<string[]>;
18
17
  static getSubmitProfileAsync<T extends Platform>(accessor: EasJsonAccessor, platform: T, profileName?: string): Promise<SubmitProfile<T>>;
19
18
  }
package/build/utils.js CHANGED
@@ -66,18 +66,6 @@ class EasJsonUtils {
66
66
  throw err;
67
67
  }
68
68
  }
69
- static async getUpdateConfigAsync(accessor) {
70
- try {
71
- const easJson = await accessor.readAsync();
72
- return easJson.update ?? null;
73
- }
74
- catch (err) {
75
- if (err instanceof errors_1.MissingEasJsonError) {
76
- return null;
77
- }
78
- throw err;
79
- }
80
- }
81
69
  static async getSubmitProfileNamesAsync(accessor) {
82
70
  const easJson = await accessor.readAsync();
83
71
  return Object.keys(easJson?.submit ?? {});
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": "16.7.0",
4
+ "version": "16.9.0",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bugs": "https://github.com/expo/eas-cli/issues",
7
7
  "dependencies": {
@@ -54,5 +54,5 @@
54
54
  "node": "20.11.0",
55
55
  "yarn": "1.22.21"
56
56
  },
57
- "gitHead": "24b725438ec22989f902a668c76d11ef457695b0"
57
+ "gitHead": "67d85c202584bc701236a02f805a1abda0816311"
58
58
  }