@expo/eas-json 2.8.0 → 3.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.
- package/build/accessor.js +6 -1
- package/package.json +2 -2
package/build/accessor.js
CHANGED
|
@@ -16,7 +16,12 @@ const customErrorMessageHandlers = [
|
|
|
16
16
|
(err) => {
|
|
17
17
|
var _a;
|
|
18
18
|
for (const detail of err.details) {
|
|
19
|
-
|
|
19
|
+
// image should be only placed under 'build.profilename.platform.image' key
|
|
20
|
+
// if it's not the case show standard Joi error
|
|
21
|
+
if (detail.path.length === 4 &&
|
|
22
|
+
detail.path[0] === 'build' &&
|
|
23
|
+
['ios', 'android'].includes(detail.path[2].toString()) &&
|
|
24
|
+
detail.path[3] === 'image') {
|
|
20
25
|
throw new errors_1.InvalidEasJsonError(chalk_1.default.red(`Specified build image '${(_a = detail === null || detail === void 0 ? void 0 : detail.context) === null || _a === void 0 ? void 0 : _a.value}' is not recognized. Please update your EAS CLI and see ${(0, log_1.link)('https://docs.expo.dev/build-reference/infrastructure/')} for supported build images.`));
|
|
21
26
|
}
|
|
22
27
|
}
|
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": "3.0.0",
|
|
5
5
|
"author": "Expo <support@expo.dev>",
|
|
6
6
|
"bugs": "https://github.com/expo/eas-cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"node": "18.6.0",
|
|
51
51
|
"yarn": "1.22.19"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "09a4b3d3870c941c72573a3502f4e155ca862e0a"
|
|
54
54
|
}
|