eas-cli 0.47.0 → 0.48.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/README.md +55 -51
- package/build/analytics/rudderstackClient.js +3 -3
- package/build/api.d.ts +25 -1
- package/build/api.js +70 -38
- package/build/build/android/build.js +4 -4
- package/build/build/android/prepareJob.js +2 -2
- package/build/build/android/syncProjectConfiguration.js +5 -5
- package/build/build/android/version.js +3 -3
- package/build/build/build.js +4 -4
- package/build/build/configure.js +3 -3
- package/build/build/createContext.js +2 -2
- package/build/build/ios/credentials.js +1 -1
- package/build/build/ios/graphql.js +1 -1
- package/build/build/ios/prepareJob.js +2 -2
- package/build/build/ios/syncProjectConfiguration.js +1 -1
- package/build/build/ios/version.js +3 -3
- package/build/build/local.js +3 -3
- package/build/build/metadata.js +6 -16
- package/build/build/runBuildAndSubmit.js +3 -3
- package/build/build/utils/appJson.js +3 -3
- package/build/build/utils/credentials.js +2 -2
- package/build/build/utils/devClient.js +3 -3
- package/build/build/utils/formatBuild.js +2 -2
- package/build/build/utils/printBuildInfo.js +5 -5
- package/build/build/utils/repository.js +5 -5
- package/build/build/utils/url.js +1 -1
- package/build/build/utils/version.js +4 -4
- package/build/build/validate.js +3 -3
- package/build/commandUtils/EasCommand.js +2 -2
- package/build/commands/account/login.js +2 -2
- package/build/commands/account/logout.js +2 -2
- package/build/commands/account/view.js +3 -3
- package/build/commands/analytics.js +3 -3
- package/build/commands/branch/create.js +4 -4
- package/build/commands/branch/delete.js +4 -4
- package/build/commands/branch/list.js +5 -5
- package/build/commands/branch/publish.js +1 -1
- package/build/commands/branch/rename.js +4 -4
- package/build/commands/branch/view.js +6 -6
- package/build/commands/build/cancel.js +4 -4
- package/build/commands/build/configure.js +5 -5
- package/build/commands/build/index.js +12 -8
- package/build/commands/build/inspect.js +5 -5
- package/build/commands/build/list.js +3 -3
- package/build/commands/build/view.js +2 -2
- package/build/commands/channel/create.js +5 -5
- package/build/commands/channel/delete.js +3 -3
- package/build/commands/channel/edit.js +4 -4
- package/build/commands/channel/list.js +4 -4
- package/build/commands/channel/rollout.js +3 -3
- package/build/commands/channel/view.js +6 -6
- package/build/commands/config.js +3 -3
- package/build/commands/credentials.js +1 -1
- package/build/commands/device/create.js +3 -3
- package/build/commands/device/delete.js +4 -4
- package/build/commands/device/list.js +5 -5
- package/build/commands/device/view.js +3 -3
- package/build/commands/diagnostics.js +3 -3
- package/build/commands/project/info.js +4 -4
- package/build/commands/project/init.js +3 -3
- package/build/commands/secret/create.js +3 -3
- package/build/commands/secret/delete.js +2 -2
- package/build/commands/secret/list.js +5 -5
- package/build/commands/submit.js +4 -4
- package/build/commands/update/configure.d.ts +3 -0
- package/build/commands/update/configure.js +151 -36
- package/build/commands/update/delete.js +4 -4
- package/build/commands/update/index.d.ts +1 -0
- package/build/commands/update/index.js +52 -13
- package/build/commands/update/list.js +6 -6
- package/build/commands/update/view.js +4 -4
- package/build/commands/webhook/create.js +1 -1
- package/build/commands/webhook/delete.js +5 -5
- package/build/commands/webhook/list.js +3 -3
- package/build/commands/webhook/update.js +2 -2
- package/build/commands/webhook/view.js +2 -2
- package/build/credentials/android/AndroidCredentialsProvider.js +2 -2
- package/build/credentials/android/actions/AssignFcm.js +1 -1
- package/build/credentials/android/actions/AssignGoogleServiceAccountKey.js +1 -1
- package/build/credentials/android/actions/BuildCredentialsUtils.js +1 -1
- package/build/credentials/android/actions/CreateFcm.js +1 -1
- package/build/credentials/android/actions/CreateGoogleServiceAccountKey.js +1 -1
- package/build/credentials/android/actions/CreateKeystore.js +1 -1
- package/build/credentials/android/actions/DownloadKeystore.js +3 -3
- package/build/credentials/android/actions/RemoveFcm.js +1 -1
- package/build/credentials/android/actions/RemoveGoogleServiceAccountKey.js +1 -1
- package/build/credentials/android/actions/RemoveKeystore.js +2 -2
- package/build/credentials/android/actions/SetUpBuildCredentials.js +2 -2
- package/build/credentials/android/actions/SetUpBuildCredentialsFromCredentialsJson.js +1 -1
- package/build/credentials/android/actions/SetUpGoogleServiceAccountKey.js +2 -2
- package/build/credentials/android/actions/UpdateCredentialsJson.js +1 -1
- package/build/credentials/android/actions/UseExistingGoogleServiceAccountKey.js +1 -1
- package/build/credentials/android/api/graphql/mutations/AndroidAppBuildCredentialsMutation.js +2 -2
- package/build/credentials/android/api/graphql/mutations/AndroidAppCredentialsMutation.js +2 -2
- package/build/credentials/android/api/graphql/mutations/AndroidFcmMutation.js +2 -2
- package/build/credentials/android/api/graphql/mutations/AndroidKeystoreMutation.js +2 -2
- package/build/credentials/android/api/graphql/mutations/GoogleServiceAccountKeyMutation.js +2 -2
- package/build/credentials/android/api/graphql/queries/AndroidAppCredentialsQuery.js +2 -2
- package/build/credentials/android/api/graphql/queries/GoogleServiceAccountKeyQuery.js +1 -1
- package/build/credentials/android/utils/googleServiceAccountKey.js +6 -6
- package/build/credentials/android/utils/keystore.js +9 -12
- package/build/credentials/android/utils/keystoreNew.js +2 -2
- package/build/credentials/android/utils/printCredentials.js +3 -3
- package/build/credentials/context.js +5 -5
- package/build/credentials/credentialsJson/read.js +2 -2
- package/build/credentials/credentialsJson/types.js +1 -1
- package/build/credentials/credentialsJson/update.js +6 -6
- package/build/credentials/credentialsJson/utils.js +1 -1
- package/build/credentials/ios/IosCredentialsProvider.js +2 -2
- package/build/credentials/ios/actions/AscApiKeyUtils.js +4 -4
- package/build/credentials/ios/actions/AssignAscApiKey.js +1 -1
- package/build/credentials/ios/actions/AssignPushKey.js +1 -1
- package/build/credentials/ios/actions/BuildCredentialsUtils.js +1 -1
- package/build/credentials/ios/actions/ConfigureProvisioningProfile.js +3 -3
- package/build/credentials/ios/actions/CreateAscApiKey.js +1 -1
- package/build/credentials/ios/actions/CreateDistributionCertificate.js +1 -1
- package/build/credentials/ios/actions/CreateProvisioningProfile.js +3 -3
- package/build/credentials/ios/actions/CreatePushKey.js +1 -1
- package/build/credentials/ios/actions/DistributionCertificateUtils.js +4 -4
- package/build/credentials/ios/actions/ProvisioningProfileUtils.js +1 -1
- package/build/credentials/ios/actions/PushKeyUtils.js +2 -2
- package/build/credentials/ios/actions/RemoveAscApiKey.d.ts +1 -2
- package/build/credentials/ios/actions/RemoveAscApiKey.js +3 -4
- package/build/credentials/ios/actions/RemoveDistributionCertificate.js +1 -1
- package/build/credentials/ios/actions/RemoveProvisioningProfile.js +2 -2
- package/build/credentials/ios/actions/RemovePushKey.d.ts +1 -2
- package/build/credentials/ios/actions/RemovePushKey.js +3 -4
- package/build/credentials/ios/actions/SetUpAdhocProvisioningProfile.js +6 -6
- package/build/credentials/ios/actions/SetUpAscApiKey.js +3 -3
- package/build/credentials/ios/actions/SetUpBuildCredentials.js +3 -3
- package/build/credentials/ios/actions/SetUpBuildCredentialsFromCredentialsJson.js +2 -2
- package/build/credentials/ios/actions/SetUpDistributionCertificate.js +4 -4
- package/build/credentials/ios/actions/SetUpInternalProvisioningProfile.js +1 -1
- package/build/credentials/ios/actions/SetUpProvisioningProfile.js +1 -1
- package/build/credentials/ios/actions/SetUpPushKey.js +3 -3
- package/build/credentials/ios/actions/SetUpSubmissionCredentials.js +4 -4
- package/build/credentials/ios/actions/SetUpTargetBuildCredentials.js +1 -1
- package/build/credentials/ios/actions/SetUpTargetBuildCredentialsFromCredentialsJson.js +3 -3
- package/build/credentials/ios/actions/UpdateCredentialsJson.js +1 -1
- package/build/credentials/ios/api/GraphqlClient.js +1 -1
- package/build/credentials/ios/api/graphql/mutations/AppStoreConnectApiKeyMutation.js +2 -2
- package/build/credentials/ios/api/graphql/mutations/AppleAppIdentifierMutation.js +2 -2
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceMutation.js +1 -1
- package/build/credentials/ios/api/graphql/mutations/AppleDeviceRegistrationRequestMutation.js +1 -1
- package/build/credentials/ios/api/graphql/mutations/AppleDistributionCertificateMutation.js +2 -2
- package/build/credentials/ios/api/graphql/mutations/AppleProvisioningProfileMutation.js +1 -1
- package/build/credentials/ios/api/graphql/mutations/ApplePushKeyMutation.js +2 -2
- package/build/credentials/ios/api/graphql/mutations/AppleTeamMutation.js +1 -1
- package/build/credentials/ios/api/graphql/mutations/IosAppBuildCredentialsMutation.js +2 -2
- package/build/credentials/ios/api/graphql/mutations/IosAppCredentialsMutation.js +2 -2
- package/build/credentials/ios/api/graphql/queries/AppQuery.js +2 -2
- package/build/credentials/ios/api/graphql/queries/AppStoreConnectApiKeyQuery.js +1 -1
- package/build/credentials/ios/api/graphql/queries/AppleAppIdentifierQuery.js +1 -1
- package/build/credentials/ios/api/graphql/queries/AppleDeviceQuery.js +2 -2
- package/build/credentials/ios/api/graphql/queries/AppleDistributionCertificateQuery.js +2 -2
- package/build/credentials/ios/api/graphql/queries/AppleProvisioningProfileQuery.js +2 -2
- package/build/credentials/ios/api/graphql/queries/ApplePushKeyQuery.js +1 -1
- package/build/credentials/ios/api/graphql/queries/AppleTeamQuery.js +1 -1
- package/build/credentials/ios/api/graphql/queries/IosAppBuildCredentialsQuery.js +2 -2
- package/build/credentials/ios/api/graphql/queries/IosAppCredentialsQuery.js +2 -2
- package/build/credentials/ios/appstore/AppStoreApi.d.ts +1 -1
- package/build/credentials/ios/appstore/AppStoreApi.js +2 -2
- package/build/credentials/ios/appstore/Credentials.js +1 -1
- package/build/credentials/ios/appstore/ascApiKey.js +1 -1
- package/build/credentials/ios/appstore/authenticate.js +3 -3
- package/build/credentials/ios/appstore/bundleIdCapabilities.js +2 -2
- package/build/credentials/ios/appstore/capabilityIdentifiers.js +1 -1
- package/build/credentials/ios/appstore/contractMessages.js +2 -2
- package/build/credentials/ios/appstore/ensureAppExists.js +2 -2
- package/build/credentials/ios/appstore/keychain.js +1 -1
- package/build/credentials/ios/appstore/provisioningProfile.d.ts +1 -1
- package/build/credentials/ios/appstore/provisioningProfile.js +1 -1
- package/build/credentials/ios/appstore/pushKey.js +3 -3
- package/build/credentials/ios/appstore/resolveCredentials.js +5 -5
- package/build/credentials/ios/credentials.js +1 -1
- package/build/credentials/ios/utils/convertHTMLToASCII.js +4 -4
- package/build/credentials/ios/utils/p12Certificate.js +1 -1
- package/build/credentials/ios/utils/printCredentials.js +4 -4
- package/build/credentials/ios/utils/provisioningProfile.js +1 -1
- package/build/credentials/ios/validators/validateProvisioningProfile.js +5 -5
- package/build/credentials/manager/HelperActions.js +1 -1
- package/build/credentials/manager/ManageAndroid.js +2 -2
- package/build/credentials/manager/ManageIos.js +3 -3
- package/build/credentials/manager/SelectAndroidBuildCredentials.js +1 -1
- package/build/credentials/manager/SelectBuildProfileFromEasJson.js +1 -1
- package/build/credentials/utils/promptForCredentials.js +5 -6
- package/build/devices/actions/create/action.js +2 -2
- package/build/devices/actions/create/inputMethod.js +3 -3
- package/build/devices/actions/create/registrationUrlMethod.js +4 -4
- package/build/devices/manager.js +4 -4
- package/build/devices/utils/formatDevice.js +1 -1
- package/build/fetch.d.ts +7 -0
- package/build/fetch.js +21 -0
- package/build/graphql/client.js +2 -5
- package/build/graphql/generated.d.ts +752 -704
- package/build/graphql/generated.js +6 -1
- package/build/graphql/mutations/AppMutation.js +2 -2
- package/build/graphql/mutations/BuildMutation.js +2 -2
- package/build/graphql/mutations/EnvironmentSecretMutation.js +1 -1
- package/build/graphql/mutations/KeystoreGenerationUrlMutation.js +1 -1
- package/build/graphql/mutations/PublishMutation.d.ts +2 -1
- package/build/graphql/mutations/PublishMutation.js +26 -1
- package/build/graphql/mutations/SubmissionMutation.js +2 -2
- package/build/graphql/mutations/UploadSessionMutation.js +1 -1
- package/build/graphql/mutations/WebhookMutation.js +1 -1
- package/build/graphql/queries/BranchQuery.js +1 -1
- package/build/graphql/queries/BuildQuery.js +1 -1
- package/build/graphql/queries/ChannelQuery.js +1 -1
- package/build/graphql/queries/EnvironmentSecretsQuery.js +1 -1
- package/build/graphql/queries/ProjectQuery.js +1 -1
- package/build/graphql/queries/PublishQuery.js +1 -1
- package/build/graphql/queries/SubmissionQuery.js +1 -1
- package/build/graphql/queries/UpdateQuery.js +1 -1
- package/build/graphql/queries/UserQuery.js +1 -1
- package/build/graphql/queries/WebhookQuery.js +1 -1
- package/build/graphql/types/App.js +1 -1
- package/build/graphql/types/Build.js +1 -1
- package/build/graphql/types/EnvironmentSecret.js +1 -1
- package/build/graphql/types/Submission.js +1 -1
- package/build/graphql/types/UpdateBranch.js +1 -1
- package/build/graphql/types/Webhook.js +1 -1
- package/build/graphql/types/credentials/AndroidAppBuildCredentials.js +1 -1
- package/build/graphql/types/credentials/AndroidAppCredentials.js +1 -1
- package/build/graphql/types/credentials/AndroidFcm.js +1 -1
- package/build/graphql/types/credentials/AndroidKeystore.js +1 -1
- package/build/graphql/types/credentials/AppStoreConnectApiKey.js +1 -1
- package/build/graphql/types/credentials/AppleAppIdentifier.js +1 -1
- package/build/graphql/types/credentials/AppleDevice.js +1 -1
- package/build/graphql/types/credentials/AppleDeviceRegistrationRequest.js +1 -1
- package/build/graphql/types/credentials/AppleDistributionCertificate.js +1 -1
- package/build/graphql/types/credentials/AppleProvisioningProfile.js +1 -1
- package/build/graphql/types/credentials/ApplePushKey.js +1 -1
- package/build/graphql/types/credentials/AppleTeam.js +1 -1
- package/build/graphql/types/credentials/GoogleServiceAccountKey.js +1 -1
- package/build/graphql/types/credentials/IosAppBuildCredentials.js +1 -1
- package/build/graphql/types/credentials/IosAppCredentials.js +1 -1
- package/build/log.js +4 -4
- package/build/ora.js +2 -2
- package/build/platform.js +1 -1
- package/build/project/android/applicationId.js +6 -6
- package/build/project/android/gradle.js +2 -2
- package/build/project/android/gradleUtils.js +2 -2
- package/build/project/ensureProjectExists.js +3 -3
- package/build/project/expoSdk.js +3 -3
- package/build/project/ios/bundleIdentifier.js +4 -4
- package/build/project/ios/scheme.js +3 -3
- package/build/project/metroConfig.js +3 -3
- package/build/project/projectUtils.d.ts +1 -3
- package/build/project/projectUtils.js +15 -15
- package/build/project/publish.js +8 -8
- package/build/project/workflow.js +2 -2
- package/build/prompts.js +1 -1
- package/build/submit/ArchiveSource.js +3 -3
- package/build/submit/BaseSubmitter.js +1 -1
- package/build/submit/android/AndroidSubmitCommand.js +3 -3
- package/build/submit/android/AndroidSubmitter.js +3 -3
- package/build/submit/android/ServiceAccountSource.js +4 -4
- package/build/submit/ios/AppProduce.js +2 -2
- package/build/submit/ios/AppSpecificPasswordSource.js +3 -4
- package/build/submit/ios/AscApiKeySource.js +2 -2
- package/build/submit/ios/CredentialsServiceSource.js +2 -2
- package/build/submit/ios/IosSubmitCommand.js +5 -5
- package/build/submit/ios/IosSubmitter.js +3 -3
- package/build/submit/ios/utils/language.js +1 -1
- package/build/submit/submit.js +4 -4
- package/build/submit/utils/errors.js +1 -1
- package/build/submit/utils/files.js +1 -1
- package/build/submit/utils/logs.js +5 -5
- package/build/submit/utils/summary.js +3 -3
- package/build/submit/utils/urls.js +2 -2
- package/build/submit/utils/wait.js +2 -2
- package/build/{build → update}/android/UpdatesModule.d.ts +0 -0
- package/build/{build → update}/android/UpdatesModule.js +4 -3
- package/build/{build → update}/ios/UpdatesModule.d.ts +0 -0
- package/build/{build → update}/ios/UpdatesModule.js +7 -8
- package/build/update/utils.d.ts +3 -0
- package/build/update/utils.js +20 -2
- package/build/uploads.d.ts +2 -10
- package/build/uploads.js +32 -12
- package/build/user/User.js +3 -5
- package/build/user/UserSettings.js +2 -2
- package/build/user/actions.js +5 -5
- package/build/user/otp.js +6 -8
- package/build/user/sessionStorage.js +1 -1
- package/build/utils/code-signing.d.ts +29 -0
- package/build/utils/code-signing.js +162 -0
- package/build/utils/expoCli.js +4 -4
- package/build/utils/files.js +3 -3
- package/build/utils/formatFields.js +1 -1
- package/build/utils/json.js +2 -2
- package/build/utils/paths.js +2 -2
- package/build/utils/plist.js +3 -3
- package/build/utils/profiles.js +2 -2
- package/build/utils/progress.d.ts +6 -3
- package/build/utils/progress.js +1 -1
- package/build/vcs/clients/git.js +3 -3
- package/build/vcs/clients/gitNoCommit.js +3 -3
- package/build/vcs/git.js +1 -1
- package/build/vcs/index.js +3 -3
- package/build/vcs/local.js +4 -4
- package/build/webhooks/formatWebhook.js +1 -1
- package/build/webhooks/input.js +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +26 -20
- package/build/ApiV2Error.d.ts +0 -16
- package/build/ApiV2Error.js +0 -14
- package/build/build/utils/updates.d.ts +0 -2
- package/build/build/utils/updates.js +0 -9
package/build/build/build.js
CHANGED
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.waitForBuildEndAsync = exports.prepareBuildRequestForPlatformAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
|
-
const chalk_1 =
|
|
7
|
-
const fs_extra_1 =
|
|
6
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
8
8
|
const common_1 = require("../analytics/common");
|
|
9
9
|
const events_1 = require("../analytics/events");
|
|
10
10
|
const generated_1 = require("../graphql/generated");
|
|
11
11
|
const BuildQuery_1 = require("../graphql/queries/BuildQuery");
|
|
12
|
-
const log_1 =
|
|
12
|
+
const log_1 = tslib_1.__importStar(require("../log"));
|
|
13
13
|
const ora_1 = require("../ora");
|
|
14
14
|
const platform_1 = require("../platform");
|
|
15
15
|
const uploads_1 = require("../uploads");
|
|
@@ -202,7 +202,7 @@ async function waitForBuildEndAsync(buildIds, { timeoutSec = 3600, intervalSec =
|
|
|
202
202
|
const errored = builds.filter(build => (build === null || build === void 0 ? void 0 : build.status) === generated_1.BuildStatus.Errored).length;
|
|
203
203
|
const finished = builds.filter(build => (build === null || build === void 0 ? void 0 : build.status) === generated_1.BuildStatus.Finished).length;
|
|
204
204
|
const canceled = builds.filter(build => (build === null || build === void 0 ? void 0 : build.status) === generated_1.BuildStatus.Canceled).length;
|
|
205
|
-
const unknown = builds.length - newBuilds - inQueue - inProgress - errored - finished;
|
|
205
|
+
const unknown = builds.length - newBuilds - inQueue - inProgress - errored - finished - canceled;
|
|
206
206
|
spinner.text = [
|
|
207
207
|
newBuilds && `Builds created: ${newBuilds}`,
|
|
208
208
|
inQueue && `Builds in queue: ${inQueue}`,
|
package/build/build/configure.js
CHANGED
|
@@ -4,9 +4,9 @@ exports.ensureProjectConfiguredAsync = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
6
|
const eas_json_1 = require("@expo/eas-json");
|
|
7
|
-
const chalk_1 =
|
|
8
|
-
const fs_extra_1 =
|
|
9
|
-
const log_1 =
|
|
7
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
8
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
9
|
+
const log_1 = tslib_1.__importDefault(require("../log"));
|
|
10
10
|
const workflow_1 = require("../project/workflow");
|
|
11
11
|
const easCli_1 = require("../utils/easCli");
|
|
12
12
|
const vcs_1 = require("../vcs");
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.createBuildContextAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
|
-
const json_file_1 =
|
|
7
|
-
const resolve_from_1 =
|
|
6
|
+
const json_file_1 = tslib_1.__importDefault(require("@expo/json-file"));
|
|
7
|
+
const resolve_from_1 = tslib_1.__importDefault(require("resolve-from"));
|
|
8
8
|
const uuid_1 = require("uuid");
|
|
9
9
|
const events_1 = require("../analytics/events");
|
|
10
10
|
const context_1 = require("../credentials/context");
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ensureIosCredentialsAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
|
-
const IosCredentialsProvider_1 =
|
|
6
|
+
const IosCredentialsProvider_1 = tslib_1.__importDefault(require("../../credentials/ios/IosCredentialsProvider"));
|
|
7
7
|
const BuildCredentialsUtils_1 = require("../../credentials/ios/actions/BuildCredentialsUtils");
|
|
8
8
|
const entitlements_1 = require("../../credentials/ios/appstore/entitlements");
|
|
9
9
|
const credentials_1 = require("../utils/credentials");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.transformJob = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const nullthrows_1 =
|
|
5
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
6
6
|
const graphql_1 = require("../graphql");
|
|
7
7
|
function transformJob(job) {
|
|
8
8
|
return {
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.prepareJobAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
|
-
const path_1 =
|
|
7
|
-
const slash_1 =
|
|
6
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
7
|
+
const slash_1 = tslib_1.__importDefault(require("slash"));
|
|
8
8
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
9
9
|
const actions_1 = require("../../user/actions");
|
|
10
10
|
const vcs_1 = require("../../vcs");
|
|
@@ -4,7 +4,7 @@ exports.syncProjectConfigurationAsync = void 0;
|
|
|
4
4
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
5
5
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
6
6
|
const workflow_1 = require("../../project/workflow");
|
|
7
|
-
const UpdatesModule_1 = require("
|
|
7
|
+
const UpdatesModule_1 = require("../../update/ios/UpdatesModule");
|
|
8
8
|
const version_1 = require("./version");
|
|
9
9
|
async function syncProjectConfigurationAsync({ projectDir, exp, buildProfile, buildSettings, }) {
|
|
10
10
|
const workflow = await (0, workflow_1.resolveWorkflowAsync)(projectDir, eas_build_job_1.Platform.IOS);
|
|
@@ -5,9 +5,9 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const config_1 = require("@expo/config");
|
|
6
6
|
const config_plugins_1 = require("@expo/config-plugins");
|
|
7
7
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
8
|
-
const chalk_1 =
|
|
9
|
-
const path_1 =
|
|
10
|
-
const log_1 =
|
|
8
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
9
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
10
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
11
11
|
const workflow_1 = require("../../project/workflow");
|
|
12
12
|
const prompts_1 = require("../../prompts");
|
|
13
13
|
const plist_1 = require("../../utils/plist");
|
package/build/build/local.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.runLocalBuildAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const spawn_async_1 =
|
|
6
|
-
const semver_1 =
|
|
5
|
+
const spawn_async_1 = tslib_1.__importDefault(require("@expo/spawn-async"));
|
|
6
|
+
const semver_1 = tslib_1.__importDefault(require("semver"));
|
|
7
7
|
const ora_1 = require("../ora");
|
|
8
8
|
const PLUGIN_PACKAGE_NAME = 'eas-cli-local-build-plugin';
|
|
9
|
-
const PLUGIN_PACKAGE_VERSION = '0.0.
|
|
9
|
+
const PLUGIN_PACKAGE_VERSION = '0.0.66';
|
|
10
10
|
async function runLocalBuildAsync(job, options) {
|
|
11
11
|
var _a;
|
|
12
12
|
const { command, args } = await getCommandAndArgsAsync(job);
|
package/build/build/metadata.js
CHANGED
|
@@ -4,27 +4,17 @@ exports.collectMetadataAsync = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const config_plugins_1 = require("@expo/config-plugins");
|
|
6
6
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
7
|
-
const fs_extra_1 =
|
|
8
|
-
const resolve_from_1 =
|
|
9
|
-
const log_1 =
|
|
7
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
8
|
+
const resolve_from_1 = tslib_1.__importDefault(require("resolve-from"));
|
|
9
|
+
const log_1 = tslib_1.__importDefault(require("../log"));
|
|
10
10
|
const projectUtils_1 = require("../project/projectUtils");
|
|
11
|
+
const UpdatesModule_1 = require("../update/android/UpdatesModule");
|
|
12
|
+
const UpdatesModule_2 = require("../update/ios/UpdatesModule");
|
|
11
13
|
const actions_1 = require("../user/actions");
|
|
12
14
|
const easCli_1 = require("../utils/easCli");
|
|
13
15
|
const vcs_1 = require("../vcs");
|
|
14
|
-
const UpdatesModule_1 = require("./android/UpdatesModule");
|
|
15
16
|
const version_1 = require("./android/version");
|
|
16
|
-
const UpdatesModule_2 = require("./ios/UpdatesModule");
|
|
17
17
|
const version_2 = require("./ios/version");
|
|
18
|
-
// TODO(JJ): Replace this with the getRuntimeVersionNullable function in @expo/config-plugins
|
|
19
|
-
function getRuntimeVersionNullable(...[config, platform]) {
|
|
20
|
-
try {
|
|
21
|
-
return config_plugins_1.Updates.getRuntimeVersion(config, platform);
|
|
22
|
-
}
|
|
23
|
-
catch (e) {
|
|
24
|
-
log_1.default.debug(e);
|
|
25
|
-
return null;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
18
|
async function collectMetadataAsync(ctx) {
|
|
29
19
|
var _a, _b;
|
|
30
20
|
const channelOrReleaseChannel = await resolveChannelOrReleaseChannelAsync(ctx);
|
|
@@ -38,7 +28,7 @@ async function collectMetadataAsync(ctx) {
|
|
|
38
28
|
workflow: ctx.workflow,
|
|
39
29
|
credentialsSource: ctx.buildProfile.credentialsSource,
|
|
40
30
|
sdkVersion: ctx.exp.sdkVersion,
|
|
41
|
-
runtimeVersion: (_b = getRuntimeVersionNullable(ctx.exp, ctx.platform)) !== null && _b !== void 0 ? _b : undefined,
|
|
31
|
+
runtimeVersion: (_b = config_plugins_1.Updates.getRuntimeVersionNullable(ctx.exp, ctx.platform)) !== null && _b !== void 0 ? _b : undefined,
|
|
42
32
|
reactNativeVersion: await getReactNativeVersionAsync(ctx),
|
|
43
33
|
...channelOrReleaseChannel,
|
|
44
34
|
distribution,
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.runBuildAndSubmitAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
|
-
const chalk_1 =
|
|
7
|
-
const nullthrows_1 =
|
|
6
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
8
8
|
const generated_1 = require("../graphql/generated");
|
|
9
9
|
const AppPlatform_1 = require("../graphql/types/AppPlatform");
|
|
10
|
-
const log_1 =
|
|
10
|
+
const log_1 = tslib_1.__importDefault(require("../log"));
|
|
11
11
|
const platform_1 = require("../platform");
|
|
12
12
|
const expoSdk_1 = require("../project/expoSdk");
|
|
13
13
|
const metroConfig_1 = require("../project/metroConfig");
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.readAppJson = exports.updateAppJsonConfigAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const ExpoConfig =
|
|
6
|
-
const json_file_1 =
|
|
7
|
-
const assert_1 =
|
|
5
|
+
const ExpoConfig = tslib_1.__importStar(require("@expo/config"));
|
|
6
|
+
const json_file_1 = tslib_1.__importDefault(require("@expo/json-file"));
|
|
7
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
8
8
|
async function updateAppJsonConfigAsync({ projectDir, exp, }, modifyConfig) {
|
|
9
9
|
var _a;
|
|
10
10
|
const paths = ExpoConfig.getConfigFilePaths(projectDir);
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.logCredentialsSource = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_json_1 = require("@expo/eas-json");
|
|
6
|
-
const chalk_1 =
|
|
7
|
-
const log_1 =
|
|
6
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
8
8
|
const platform_1 = require("../../platform");
|
|
9
9
|
function logCredentialsSource(credentialsSource, platform) {
|
|
10
10
|
let message = `Using ${credentialsSource} ${platform_1.requestedPlatformDisplayNames[platform]} credentials`;
|
|
@@ -4,10 +4,10 @@ exports.ensureExpoDevClientInstalledForDevClientBuildsAsync = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
6
|
const core_1 = require("@oclif/core");
|
|
7
|
-
const chalk_1 =
|
|
8
|
-
const resolve_from_1 =
|
|
7
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
8
|
+
const resolve_from_1 = tslib_1.__importDefault(require("resolve-from"));
|
|
9
9
|
const AppPlatform_1 = require("../../graphql/types/AppPlatform");
|
|
10
|
-
const log_1 =
|
|
10
|
+
const log_1 = tslib_1.__importStar(require("../../log"));
|
|
11
11
|
const platform_1 = require("../../platform");
|
|
12
12
|
const workflow_1 = require("../../project/workflow");
|
|
13
13
|
const prompts_1 = require("../../prompts");
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.formatGraphQLBuild = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const chalk_1 =
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
6
|
const generated_1 = require("../../graphql/generated");
|
|
7
7
|
const platform_1 = require("../../platform");
|
|
8
|
-
const formatFields_1 =
|
|
8
|
+
const formatFields_1 = tslib_1.__importDefault(require("../../utils/formatFields"));
|
|
9
9
|
const url_1 = require("./url");
|
|
10
10
|
function formatGraphQLBuild(build) {
|
|
11
11
|
var _a, _b;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.printUserError = exports.printDeprecationWarnings = exports.printBuildResults = exports.printLogsUrls = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const assert_1 =
|
|
6
|
-
const chalk_1 =
|
|
7
|
-
const indent_string_1 =
|
|
8
|
-
const qrcode_terminal_1 =
|
|
5
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
|
+
const indent_string_1 = tslib_1.__importDefault(require("indent-string"));
|
|
8
|
+
const qrcode_terminal_1 = tslib_1.__importDefault(require("qrcode-terminal"));
|
|
9
9
|
const generated_1 = require("../../graphql/generated");
|
|
10
|
-
const log_1 =
|
|
10
|
+
const log_1 = tslib_1.__importStar(require("../../log"));
|
|
11
11
|
const platform_1 = require("../../platform");
|
|
12
12
|
const json_1 = require("../../utils/json");
|
|
13
13
|
const url_1 = require("./url");
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.reviewAndCommitChangesAsync = exports.makeProjectTarballAsync = exports.commitPromptAsync = exports.ensureRepoIsCleanAsync = exports.maybeBailOnRepoStatusAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const chalk_1 =
|
|
6
|
-
const fs_extra_1 =
|
|
7
|
-
const path_1 =
|
|
8
|
-
const tar_1 =
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
7
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
8
|
+
const tar_1 = tslib_1.__importDefault(require("tar"));
|
|
9
9
|
const uuid_1 = require("uuid");
|
|
10
|
-
const log_1 =
|
|
10
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
11
11
|
const ora_1 = require("../../ora");
|
|
12
12
|
const prompts_1 = require("../../prompts");
|
|
13
13
|
const files_1 = require("../../utils/files");
|
package/build/build/utils/url.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getInternalDistributionInstallUrl = exports.getArtifactUrl = exports.getBuildLogsUrl = exports.getProjectDashboardUrl = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const assert_1 =
|
|
5
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
6
|
const api_1 = require("../../api");
|
|
7
7
|
const generated_1 = require("../../graphql/generated");
|
|
8
8
|
function getProjectDashboardUrl(accountName, projectName) {
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.bumpAppVersionAsync = exports.ensureStaticConfigExists = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const config_1 = require("@expo/config");
|
|
6
|
-
const chalk_1 =
|
|
7
|
-
const nullthrows_1 =
|
|
8
|
-
const semver_1 =
|
|
9
|
-
const log_1 =
|
|
6
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
8
|
+
const semver_1 = tslib_1.__importDefault(require("semver"));
|
|
9
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
10
10
|
const prompts_1 = require("../../prompts");
|
|
11
11
|
const appJson_1 = require("./appJson");
|
|
12
12
|
function ensureStaticConfigExists(projectDir) {
|
package/build/build/validate.js
CHANGED
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.checkGoogleServicesFileAsync = exports.checkNodeEnvVariable = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
|
-
const fs_extra_1 =
|
|
7
|
-
const path_1 =
|
|
8
|
-
const log_1 =
|
|
6
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
7
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
8
|
+
const log_1 = tslib_1.__importStar(require("../log"));
|
|
9
9
|
const vcs_1 = require("../vcs");
|
|
10
10
|
function checkNodeEnvVariable(ctx) {
|
|
11
11
|
var _a;
|
|
@@ -3,14 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const eas_json_1 = require("@expo/eas-json");
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
|
-
const semver_1 =
|
|
6
|
+
const semver_1 = tslib_1.__importDefault(require("semver"));
|
|
7
7
|
const rudderstackClient_1 = require("../analytics/rudderstackClient");
|
|
8
8
|
const projectUtils_1 = require("../project/projectUtils");
|
|
9
9
|
const User_1 = require("../user/User");
|
|
10
10
|
const actions_1 = require("../user/actions");
|
|
11
11
|
const easCli_1 = require("../utils/easCli");
|
|
12
12
|
const vcs_1 = require("../vcs");
|
|
13
|
-
const git_1 =
|
|
13
|
+
const git_1 = tslib_1.__importDefault(require("../vcs/clients/git"));
|
|
14
14
|
class EasCommand extends core_1.Command {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const EasCommand_1 =
|
|
5
|
-
const log_1 =
|
|
4
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
5
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
6
6
|
const actions_1 = require("../../user/actions");
|
|
7
7
|
class AccountLogin extends EasCommand_1.default {
|
|
8
8
|
constructor() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const EasCommand_1 =
|
|
5
|
-
const log_1 =
|
|
4
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
5
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
6
6
|
const User_1 = require("../../user/User");
|
|
7
7
|
class AccountLogout extends EasCommand_1.default {
|
|
8
8
|
constructor() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const chalk_1 =
|
|
5
|
-
const EasCommand_1 =
|
|
6
|
-
const log_1 =
|
|
4
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
5
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
6
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
7
7
|
const User_1 = require("../../user/User");
|
|
8
8
|
class AccountView extends EasCommand_1.default {
|
|
9
9
|
constructor() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const EasCommand_1 =
|
|
5
|
-
const log_1 =
|
|
6
|
-
const UserSettings_1 =
|
|
4
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../commandUtils/EasCommand"));
|
|
5
|
+
const log_1 = tslib_1.__importDefault(require("../log"));
|
|
6
|
+
const UserSettings_1 = tslib_1.__importDefault(require("../user/UserSettings"));
|
|
7
7
|
class AnalyticsView extends EasCommand_1.default {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments);
|
|
@@ -4,11 +4,11 @@ exports.createUpdateBranchOnAppAsync = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const config_1 = require("@expo/config");
|
|
6
6
|
const core_1 = require("@oclif/core");
|
|
7
|
-
const chalk_1 =
|
|
8
|
-
const graphql_tag_1 =
|
|
9
|
-
const EasCommand_1 =
|
|
7
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
8
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
9
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
10
10
|
const client_1 = require("../../graphql/client");
|
|
11
|
-
const log_1 =
|
|
11
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
12
12
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
13
13
|
const prompts_1 = require("../../prompts");
|
|
14
14
|
const json_1 = require("../../utils/json");
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const config_1 = require("@expo/config");
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
|
-
const chalk_1 =
|
|
7
|
-
const graphql_tag_1 =
|
|
8
|
-
const EasCommand_1 =
|
|
6
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
9
9
|
const client_1 = require("../../graphql/client");
|
|
10
|
-
const log_1 =
|
|
10
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
11
11
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
12
12
|
const prompts_1 = require("../../prompts");
|
|
13
13
|
const json_1 = require("../../utils/json");
|
|
@@ -4,14 +4,14 @@ exports.listBranchesAsync = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const config_1 = require("@expo/config");
|
|
6
6
|
const core_1 = require("@oclif/core");
|
|
7
|
-
const chalk_1 =
|
|
8
|
-
const cli_table3_1 =
|
|
7
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
8
|
+
const cli_table3_1 = tslib_1.__importDefault(require("cli-table3"));
|
|
9
9
|
const graphql_1 = require("graphql");
|
|
10
|
-
const graphql_tag_1 =
|
|
11
|
-
const EasCommand_1 =
|
|
10
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
11
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
12
12
|
const client_1 = require("../../graphql/client");
|
|
13
13
|
const UpdateBranch_1 = require("../../graphql/types/UpdateBranch");
|
|
14
|
-
const log_1 =
|
|
14
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
15
15
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
16
16
|
const utils_1 = require("../../update/utils");
|
|
17
17
|
const json_1 = require("../../utils/json");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const EasCommand_1 =
|
|
4
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
5
5
|
class BranchPublish extends EasCommand_1.default {
|
|
6
6
|
async runAsync() {
|
|
7
7
|
throw new Error(BranchPublish.description);
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const config_1 = require("@expo/config");
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
|
-
const chalk_1 =
|
|
7
|
-
const graphql_tag_1 =
|
|
8
|
-
const EasCommand_1 =
|
|
6
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
9
9
|
const client_1 = require("../../graphql/client");
|
|
10
|
-
const log_1 =
|
|
10
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
11
11
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
12
12
|
const prompts_1 = require("../../prompts");
|
|
13
13
|
const json_1 = require("../../utils/json");
|
|
@@ -3,16 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const config_1 = require("@expo/config");
|
|
5
5
|
const core_1 = require("@oclif/core");
|
|
6
|
-
const chalk_1 =
|
|
7
|
-
const cli_table3_1 =
|
|
8
|
-
const EasCommand_1 =
|
|
6
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
|
+
const cli_table3_1 = tslib_1.__importDefault(require("cli-table3"));
|
|
8
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
9
9
|
const UpdateQuery_1 = require("../../graphql/queries/UpdateQuery");
|
|
10
|
-
const log_1 =
|
|
10
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
11
11
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
12
12
|
const prompts_1 = require("../../prompts");
|
|
13
13
|
const utils_1 = require("../../update/utils");
|
|
14
|
-
const groupBy_1 =
|
|
15
|
-
const formatFields_1 =
|
|
14
|
+
const groupBy_1 = tslib_1.__importDefault(require("../../utils/expodash/groupBy"));
|
|
15
|
+
const formatFields_1 = tslib_1.__importDefault(require("../../utils/formatFields"));
|
|
16
16
|
const json_1 = require("../../utils/json");
|
|
17
17
|
class BranchView extends EasCommand_1.default {
|
|
18
18
|
async runAsync() {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const config_1 = require("@expo/config");
|
|
5
|
-
const chalk_1 =
|
|
6
|
-
const graphql_tag_1 =
|
|
7
|
-
const EasCommand_1 =
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
7
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
8
8
|
const client_1 = require("../../graphql/client");
|
|
9
9
|
const generated_1 = require("../../graphql/generated");
|
|
10
10
|
const BuildQuery_1 = require("../../graphql/queries/BuildQuery");
|
|
11
|
-
const log_1 =
|
|
11
|
+
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
12
12
|
const ora_1 = require("../../ora");
|
|
13
13
|
const platform_1 = require("../../platform");
|
|
14
14
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
@@ -4,17 +4,17 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const config_1 = require("@expo/config");
|
|
5
5
|
const eas_build_job_1 = require("@expo/eas-build-job");
|
|
6
6
|
const core_1 = require("@oclif/core");
|
|
7
|
-
const chalk_1 =
|
|
8
|
-
const UpdatesModule_1 = require("../../build/android/UpdatesModule");
|
|
7
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
9
8
|
const syncProjectConfiguration_1 = require("../../build/android/syncProjectConfiguration");
|
|
10
9
|
const configure_1 = require("../../build/configure");
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const log_1 = (0, tslib_1.__importStar)(require("../../log"));
|
|
10
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
11
|
+
const log_1 = tslib_1.__importStar(require("../../log"));
|
|
14
12
|
const platform_1 = require("../../platform");
|
|
15
13
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
16
14
|
const workflow_1 = require("../../project/workflow");
|
|
17
15
|
const prompts_1 = require("../../prompts");
|
|
16
|
+
const UpdatesModule_1 = require("../../update/android/UpdatesModule");
|
|
17
|
+
const UpdatesModule_2 = require("../../update/ios/UpdatesModule");
|
|
18
18
|
const vcs_1 = require("../../vcs");
|
|
19
19
|
class BuildConfigure extends EasCommand_1.default {
|
|
20
20
|
async runAsync() {
|
|
@@ -4,21 +4,21 @@ exports.handleDeprecatedEasJsonAsync = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const eas_json_1 = require("@expo/eas-json");
|
|
6
6
|
const core_1 = require("@oclif/core");
|
|
7
|
-
const chalk_1 =
|
|
8
|
-
const figures_1 =
|
|
9
|
-
const fs_extra_1 =
|
|
10
|
-
const path_1 =
|
|
7
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
8
|
+
const figures_1 = tslib_1.__importDefault(require("figures"));
|
|
9
|
+
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
10
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
11
11
|
const runBuildAndSubmit_1 = require("../../build/runBuildAndSubmit");
|
|
12
12
|
const repository_1 = require("../../build/utils/repository");
|
|
13
|
-
const EasCommand_1 =
|
|
14
|
-
const log_1 =
|
|
13
|
+
const EasCommand_1 = tslib_1.__importDefault(require("../../commandUtils/EasCommand"));
|
|
14
|
+
const log_1 = tslib_1.__importStar(require("../../log"));
|
|
15
15
|
const platform_1 = require("../../platform");
|
|
16
16
|
const projectUtils_1 = require("../../project/projectUtils");
|
|
17
17
|
const prompts_1 = require("../../prompts");
|
|
18
18
|
const easCli_1 = require("../../utils/easCli");
|
|
19
19
|
const json_1 = require("../../utils/json");
|
|
20
20
|
const vcs_1 = require("../../vcs");
|
|
21
|
-
const git_1 =
|
|
21
|
+
const git_1 = tslib_1.__importDefault(require("../../vcs/clients/git"));
|
|
22
22
|
class Build extends EasCommand_1.default {
|
|
23
23
|
async runAsync() {
|
|
24
24
|
const { flags: rawFlags } = await this.parse(Build);
|
|
@@ -61,6 +61,10 @@ class Build extends EasCommand_1.default {
|
|
|
61
61
|
log_1.default.warnDeprecatedFlag('skip-credentials-check', 'Build credentials validation is always skipped with the --non-interactive flag. You can also skip interactively.');
|
|
62
62
|
log_1.default.newLine();
|
|
63
63
|
}
|
|
64
|
+
if (flags['skip-project-configuration']) {
|
|
65
|
+
log_1.default.warnDeprecatedFlag('skip-project-configuration', 'Automatic configuration of native code is no longer optional.');
|
|
66
|
+
log_1.default.newLine();
|
|
67
|
+
}
|
|
64
68
|
const profile = flags['profile'];
|
|
65
69
|
return {
|
|
66
70
|
requestedPlatform,
|
|
@@ -100,7 +104,7 @@ Build.flags = {
|
|
|
100
104
|
}),
|
|
101
105
|
'skip-project-configuration': core_1.Flags.boolean({
|
|
102
106
|
default: false,
|
|
103
|
-
|
|
107
|
+
hidden: true,
|
|
104
108
|
}),
|
|
105
109
|
profile: core_1.Flags.string({
|
|
106
110
|
description: 'Name of the build profile from eas.json. Defaults to "production" if defined in eas.json.',
|