@expo/eas-build-job
Advanced tools
Comparing version 0.2.19 to 0.2.20-alpha.0
@@ -7,2 +7,3 @@ export declare enum ErrorCode { | ||
UNSUPPORTED_COCOAPODS_VERSION_ERROR = "EAS_BUILD_UNSUPPORTED_COCOAPODS_VERSION_ERROR", | ||
UNSUPPORTED_BUNDLER_VERSION_ERROR = "EAS_BUILD_UNSUPPORTED_BUNDLER_VERSION_ERROR", | ||
INVALID_KEYSTORE_FORMAT_ERROR = "EAS_BUILD_INVALID_KEYSTORE_FORMAT_ERROR", | ||
@@ -14,7 +15,7 @@ INVALID_KEYSTORE_ALIAS_ERROR = "EAS_BUILD_INVALID_KEYSTORE_ALIAS_ERROR" | ||
message: string; | ||
docsURL?: string; | ||
docsUrl?: string; | ||
} | ||
export declare abstract class UserError extends Error { | ||
abstract errorCode: ErrorCode; | ||
docsURL?: string; | ||
docsUrl?: string; | ||
innerError?: Error; | ||
@@ -50,3 +51,8 @@ format(): ExternalUserError; | ||
message: string; | ||
docsURL: string; | ||
docsUrl: string; | ||
} | ||
export declare class UnsupportedBundlerVersion extends UserError { | ||
errorCode: ErrorCode; | ||
message: string; | ||
docsUrl: string; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UnsupportedCocoaPodsVersion = exports.InvalidKeystoreAliasError = exports.InvalidKeystoreFormatError = exports.SystemDepsInstallError = exports.CredentialsDistCertMismatchError = exports.ServerError = exports.UnknownError = exports.UserError = exports.ErrorCode = void 0; | ||
exports.UnsupportedBundlerVersion = exports.UnsupportedCocoaPodsVersion = exports.InvalidKeystoreAliasError = exports.InvalidKeystoreFormatError = exports.SystemDepsInstallError = exports.CredentialsDistCertMismatchError = exports.ServerError = exports.UnknownError = exports.UserError = exports.ErrorCode = void 0; | ||
var ErrorCode; | ||
@@ -11,2 +11,3 @@ (function (ErrorCode) { | ||
ErrorCode["UNSUPPORTED_COCOAPODS_VERSION_ERROR"] = "EAS_BUILD_UNSUPPORTED_COCOAPODS_VERSION_ERROR"; | ||
ErrorCode["UNSUPPORTED_BUNDLER_VERSION_ERROR"] = "EAS_BUILD_UNSUPPORTED_BUNDLER_VERSION_ERROR"; | ||
ErrorCode["INVALID_KEYSTORE_FORMAT_ERROR"] = "EAS_BUILD_INVALID_KEYSTORE_FORMAT_ERROR"; | ||
@@ -20,3 +21,3 @@ ErrorCode["INVALID_KEYSTORE_ALIAS_ERROR"] = "EAS_BUILD_INVALID_KEYSTORE_ALIAS_ERROR"; | ||
message: this.message, | ||
docsURL: this.docsURL, | ||
docsUrl: this.docsUrl, | ||
}; | ||
@@ -79,8 +80,17 @@ } | ||
this.message = `Your project requires a newer version of CocoaPods, you can update it in the build profile in eas.json by either: | ||
- changing the current version under "cocoapods" key | ||
- switching to an image that supports that version under "image" key`; | ||
this.docsURL = 'https://docs.expo.io/build/eas-json'; | ||
- changing the current version under key "cocoapods" | ||
- switching to an image that supports that version under key "image"`; | ||
this.docsUrl = 'https://docs.expo.io/build/eas-json'; | ||
} | ||
} | ||
exports.UnsupportedCocoaPodsVersion = UnsupportedCocoaPodsVersion; | ||
class UnsupportedBundlerVersion extends UserError { | ||
constructor() { | ||
super(...arguments); | ||
this.errorCode = ErrorCode.UNSUPPORTED_BUNDLER_VERSION_ERROR; | ||
this.message = `Your project requires another version of bundler, you can change it in the build profile in eas.json by specifying the version under key "bundler"`; | ||
this.docsUrl = 'https://docs.expo.io/build/eas-json'; | ||
} | ||
} | ||
exports.UnsupportedBundlerVersion = UnsupportedBundlerVersion; | ||
//# sourceMappingURL=errors.js.map |
@@ -24,2 +24,3 @@ /// <reference types="hapi__joi" /> | ||
yarn?: string; | ||
bundler?: string; | ||
fastlane?: string; | ||
@@ -26,0 +27,0 @@ cocoapods?: string; |
@@ -34,2 +34,3 @@ "use strict"; | ||
yarn: joi_1.default.string(), | ||
bundler: joi_1.default.string(), | ||
fastlane: joi_1.default.string(), | ||
@@ -36,0 +37,0 @@ cocoapods: joi_1.default.string(), |
{ | ||
"name": "@expo/eas-build-job", | ||
"version": "0.2.19", | ||
"version": "0.2.20-alpha.0", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
60529
746