@expo/eas-json 16.13.2 → 16.18.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.
@@ -20,10 +20,12 @@ function resolveProfile({ easJson, profileName, depth = 0, }) {
20
20
  const profile = easJson.build?.[profileName];
21
21
  if (!profile) {
22
22
  if (depth === 0) {
23
- throw new errors_1.MissingProfileError(`Missing build profile in eas.json: ${profileName}`);
23
+ throw new errors_1.MissingProfileError(`Missing build profile in eas.json: "${profileName}". Available profiles: [${Object.keys(easJson.build ?? {})
24
+ .map(profile => `"${profile}"`)
25
+ .join(', ')}]`);
24
26
  }
25
27
  else {
26
- throw new errors_1.MissingParentProfileError(`Extending non-existent build profile in eas.json: ${profileName}`);
28
+ throw new errors_1.MissingParentProfileError(`Extending non-existent build profile in eas.json: "${profileName}"`);
27
29
  }
28
30
  }
29
31
  const { extends: baseProfileName, ...rest } = profile;
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.13.2",
4
+ "version": "16.18.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": "f1f189b3f43c25ba11f186426c11d2f4685d8d8c"
57
+ "gitHead": "74dcb40caada6386b60a8edd262dfdab3cf5670b"
58
58
  }