@expo/eas-json
Advanced tools
Comparing version
@@ -17,3 +17,2 @@ "use strict"; | ||
(err) => { | ||
var _a; | ||
for (const detail of err.details) { | ||
@@ -26,3 +25,3 @@ // image should be only placed under 'build.profilename.platform.image' key | ||
detail.path[3] === 'image') { | ||
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.`)); | ||
throw new errors_1.InvalidEasJsonError(chalk_1.default.red(`Specified build image '${detail === null || detail === void 0 ? void 0 : detail.context}' 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.`)); | ||
} | ||
@@ -73,3 +72,3 @@ } | ||
} | ||
if (!this.easJsonPatched) { | ||
if (!this.easJsonPatched || !this.easJsonRawContents) { | ||
return; | ||
@@ -76,0 +75,0 @@ } |
@@ -9,3 +9,3 @@ "use strict"; | ||
CredentialsSource["REMOTE"] = "remote"; | ||
})(CredentialsSource = exports.CredentialsSource || (exports.CredentialsSource = {})); | ||
})(CredentialsSource || (exports.CredentialsSource = CredentialsSource = {})); | ||
var ResourceClass; | ||
@@ -25,2 +25,2 @@ (function (ResourceClass) { | ||
ResourceClass["M_LARGE"] = "m-large"; | ||
})(ResourceClass = exports.ResourceClass || (exports.ResourceClass = {})); | ||
})(ResourceClass || (exports.ResourceClass = ResourceClass = {})); |
import { Platform } from '@expo/eas-build-job'; | ||
import { SubmitProfile } from './types'; | ||
import { EasJson } from '../types'; | ||
import { SubmitProfile } from './types'; | ||
export declare function resolveSubmitProfile<T extends Platform>({ easJson, platform, profileName, }: { | ||
@@ -5,0 +5,0 @@ easJson: EasJson; |
@@ -7,5 +7,5 @@ "use strict"; | ||
const env_string_1 = tslib_1.__importDefault(require("env-string")); | ||
const errors_1 = require("../errors"); | ||
const schema_1 = require("./schema"); | ||
const types_1 = require("./types"); | ||
const errors_1 = require("../errors"); | ||
function resolveSubmitProfile({ easJson, platform, profileName, }) { | ||
@@ -12,0 +12,0 @@ try { |
@@ -11,3 +11,3 @@ "use strict"; | ||
AndroidReleaseStatus["inProgress"] = "inProgress"; | ||
})(AndroidReleaseStatus = exports.AndroidReleaseStatus || (exports.AndroidReleaseStatus = {})); | ||
})(AndroidReleaseStatus || (exports.AndroidReleaseStatus = AndroidReleaseStatus = {})); | ||
var AndroidReleaseTrack; | ||
@@ -19,3 +19,3 @@ (function (AndroidReleaseTrack) { | ||
AndroidReleaseTrack["internal"] = "internal"; | ||
})(AndroidReleaseTrack = exports.AndroidReleaseTrack || (exports.AndroidReleaseTrack = {})); | ||
})(AndroidReleaseTrack || (exports.AndroidReleaseTrack = AndroidReleaseTrack = {})); | ||
exports.AndroidSubmitProfileFieldsToEvaluate = [ | ||
@@ -22,0 +22,0 @@ 'serviceAccountKeyPath', |
@@ -8,3 +8,3 @@ "use strict"; | ||
CredentialsSource["REMOTE"] = "remote"; | ||
})(CredentialsSource = exports.CredentialsSource || (exports.CredentialsSource = {})); | ||
})(CredentialsSource || (exports.CredentialsSource = CredentialsSource = {})); | ||
var AppVersionSource; | ||
@@ -14,2 +14,2 @@ (function (AppVersionSource) { | ||
AppVersionSource["REMOTE"] = "remote"; | ||
})(AppVersionSource = exports.AppVersionSource || (exports.AppVersionSource = {})); | ||
})(AppVersionSource || (exports.AppVersionSource = AppVersionSource = {})); |
{ | ||
"name": "@expo/eas-json", | ||
"description": "A library for interacting with eas.json", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"author": "Expo <support@expo.dev>", | ||
"bugs": "https://github.com/expo/eas-cli/issues", | ||
"dependencies": { | ||
"@babel/code-frame": "7.18.6", | ||
"@babel/code-frame": "7.23.5", | ||
"@expo/eas-build-job": "1.0.56", | ||
"chalk": "4.1.2", | ||
"env-string": "1.0.1", | ||
"fs-extra": "10.1.0", | ||
"fs-extra": "11.2.0", | ||
"golden-fleece": "1.0.9", | ||
"joi": "17.7.0", | ||
"joi": "17.11.0", | ||
"log-symbols": "4.1.0", | ||
@@ -22,6 +22,6 @@ "semver": "7.5.2", | ||
"@types/babel__code-frame": "7.0.3", | ||
"@types/fs-extra": "9.0.13", | ||
"@types/fs-extra": "11.0.4", | ||
"memfs": "3.4.13", | ||
"rimraf": "3.0.2", | ||
"typescript": "4.9.4" | ||
"typescript": "5.3.3" | ||
}, | ||
@@ -57,3 +57,3 @@ "engines": { | ||
}, | ||
"gitHead": "51a01d10e9edef86737d54aea2b4bcd14ffe4a7d" | ||
"gitHead": "bbebe90876a7106a53f3d7d0dfecf9818cc74812" | ||
} |
40141
-0.22%884
-0.11%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated
Updated