@expo/eas-json 4.0.0 → 5.0.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.
@@ -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
- }).rename('customPaths', 'paths')
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'),
@@ -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,12 +1,12 @@
1
1
  {
2
2
  "name": "@expo/eas-json",
3
3
  "description": "A library for interacting with eas.json",
4
- "version": "4.0.0",
4
+ "version": "5.0.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": "1.0.30",
9
+ "@expo/eas-build-job": "1.0.39",
10
10
  "chalk": "4.1.2",
11
11
  "env-string": "1.0.1",
12
12
  "fs-extra": "10.1.0",
@@ -52,5 +52,5 @@
52
52
  "node": "18.6.0",
53
53
  "yarn": "1.22.19"
54
54
  },
55
- "gitHead": "7f7f1c6a9afe1857bf00566f0ae83aff531f924a"
55
+ "gitHead": "137f9d4ac7d695dd1e1748c27e7a4c6de67a1b79"
56
56
  }