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
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.doUDIDsMatch = exports.SetUpAdhocProvisioningProfile = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const assert_1 =
|
|
6
|
-
const chalk_1 =
|
|
7
|
-
const nullthrows_1 =
|
|
8
|
-
const action_1 =
|
|
5
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
8
|
+
const action_1 = tslib_1.__importStar(require("../../../devices/actions/create/action"));
|
|
9
9
|
const generated_1 = require("../../../graphql/generated");
|
|
10
|
-
const log_1 =
|
|
10
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
11
11
|
const prompts_1 = require("../../../prompts");
|
|
12
|
-
const differenceBy_1 =
|
|
12
|
+
const differenceBy_1 = tslib_1.__importDefault(require("../../../utils/expodash/differenceBy"));
|
|
13
13
|
const errors_1 = require("../../errors");
|
|
14
14
|
const validateProvisioningProfile_1 = require("../validators/validateProvisioningProfile");
|
|
15
15
|
const AppleTeamUtils_1 = require("./AppleTeamUtils");
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SetUpAscApiKey = exports.SetupAscApiKeyChoice = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const assert_1 =
|
|
6
|
-
const nullthrows_1 =
|
|
7
|
-
const log_1 =
|
|
5
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
7
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
8
8
|
const prompts_1 = require("../../../prompts");
|
|
9
9
|
const errors_1 = require("../../errors");
|
|
10
10
|
const validateAscApiKey_1 = require("../validators/validateAscApiKey");
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SetUpBuildCredentials = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const chalk_1 =
|
|
6
|
-
const nullthrows_1 =
|
|
7
|
-
const log_1 =
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
7
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
8
8
|
const printCredentials_1 = require("../utils/printCredentials");
|
|
9
9
|
const SetUpTargetBuildCredentials_1 = require("./SetUpTargetBuildCredentials");
|
|
10
10
|
class SetUpBuildCredentials {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SetUpBuildCredentialsFromCredentialsJson = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const chalk_1 =
|
|
6
|
-
const log_1 =
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
7
7
|
const target_1 = require("../../../project/ios/target");
|
|
8
8
|
const read_1 = require("../../credentialsJson/read");
|
|
9
9
|
const utils_1 = require("../../credentialsJson/utils");
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SetUpDistributionCertificate = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const assert_1 =
|
|
6
|
-
const log_1 =
|
|
5
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
7
7
|
const prompts_1 = require("../../../prompts");
|
|
8
|
-
const sortBy_1 =
|
|
8
|
+
const sortBy_1 = tslib_1.__importDefault(require("../../../utils/expodash/sortBy"));
|
|
9
9
|
const errors_1 = require("../../errors");
|
|
10
10
|
const CredentialsUtils_1 = require("../appstore/CredentialsUtils");
|
|
11
11
|
const errors_2 = require("../errors");
|
|
@@ -35,7 +35,7 @@ class SetUpDistributionCertificate {
|
|
|
35
35
|
throw err;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
async runNonInteractiveAsync(
|
|
38
|
+
async runNonInteractiveAsync(_ctx, currentCertificate) {
|
|
39
39
|
// TODO: implement validation
|
|
40
40
|
log_1.default.addNewLineIfNone();
|
|
41
41
|
log_1.default.warn('Distribution Certificate is not validated for non-interactive builds.');
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SetUpInternalProvisioningProfile = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const generated_1 = require("../../../graphql/generated");
|
|
6
|
-
const log_1 =
|
|
6
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
7
7
|
const prompts_1 = require("../../../prompts");
|
|
8
8
|
const BuildCredentialsUtils_1 = require("./BuildCredentialsUtils");
|
|
9
9
|
const SetUpAdhocProvisioningProfile_1 = require("./SetUpAdhocProvisioningProfile");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SetUpProvisioningProfile = 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 prompts_1 = require("../../../prompts");
|
|
7
7
|
const errors_1 = require("../../errors");
|
|
8
8
|
const validateProvisioningProfile_1 = require("../validators/validateProvisioningProfile");
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SetUpPushKey = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const assert_1 =
|
|
6
|
-
const nullthrows_1 =
|
|
7
|
-
const log_1 =
|
|
5
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
6
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
7
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
8
8
|
const prompts_1 = require("../../../prompts");
|
|
9
9
|
const AssignPushKey_1 = require("./AssignPushKey");
|
|
10
10
|
const CreatePushKey_1 = require("./CreatePushKey");
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SetUpSubmissionCredentials = exports.PROMPT_FOR_APP_SPECIFIC_PASSWORD = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const chalk_1 =
|
|
6
|
-
const nullthrows_1 =
|
|
7
|
-
const wrap_ansi_1 =
|
|
8
|
-
const log_1 =
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
7
|
+
const wrap_ansi_1 = tslib_1.__importDefault(require("wrap-ansi"));
|
|
8
|
+
const log_1 = tslib_1.__importStar(require("../../../log"));
|
|
9
9
|
const prompts_1 = require("../../../prompts");
|
|
10
10
|
const errors_1 = require("../../errors");
|
|
11
11
|
const AscApiKeyUtils_1 = require("./AscApiKeyUtils");
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SetUpTargetBuildCredentials = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const generated_1 = require("../../../graphql/generated");
|
|
6
|
-
const log_1 =
|
|
6
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
7
7
|
const SetUpAdhocProvisioningProfile_1 = require("./SetUpAdhocProvisioningProfile");
|
|
8
8
|
const SetUpInternalProvisioningProfile_1 = require("./SetUpInternalProvisioningProfile");
|
|
9
9
|
const SetUpProvisioningProfile_1 = require("./SetUpProvisioningProfile");
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SetUpTargetBuildCredentialsFromCredentialsJson = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const chalk_1 =
|
|
6
|
-
const nullthrows_1 =
|
|
7
|
-
const log_1 =
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
7
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
8
8
|
const prompts_1 = require("../../../prompts");
|
|
9
9
|
const printCredentials_1 = require("../utils/printCredentials");
|
|
10
10
|
const provisioningProfile_1 = require("../utils/provisioningProfile");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateCredentialsJson = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const log_1 =
|
|
5
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
6
6
|
const update_1 = require("../../credentialsJson/update");
|
|
7
7
|
class UpdateCredentialsJson {
|
|
8
8
|
constructor(app, targets, distributionType) {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.deleteAscApiKeyAsync = exports.getAscApiKeyForAppSubmissionsAsync = exports.getAscApiKeysForAccountAsync = exports.createAscApiKeyAsync = exports.deletePushKeyAsync = exports.getPushKeyForAppAsync = exports.getPushKeysForAccountAsync = exports.createPushKeyAsync = exports.deleteDistributionCertificateAsync = exports.createDistributionCertificateAsync = exports.getDistributionCertificatesForAccountAsync = exports.getDistributionCertificateForAppAsync = exports.deleteProvisioningProfilesAsync = exports.updateProvisioningProfileAsync = exports.getProvisioningProfileAsync = exports.createProvisioningProfileAsync = exports.getDevicesForAppleTeamAsync = exports.createOrGetExistingAppleAppIdentifierAsync = exports.createOrGetExistingAppleTeamAsync = exports.updateIosAppCredentialsAsync = exports.createOrGetIosAppCredentialsWithCommonFieldsAsync = exports.getIosAppCredentialsWithCommonFieldsAsync = exports.getIosAppCredentialsWithBuildCredentialsAsync = exports.createOrUpdateIosAppBuildCredentialsAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const apple_utils_1 = require("@expo/apple-utils");
|
|
6
|
-
const nullthrows_1 =
|
|
6
|
+
const nullthrows_1 = tslib_1.__importDefault(require("nullthrows"));
|
|
7
7
|
const generated_1 = require("../../../graphql/generated");
|
|
8
8
|
const bundleIdentifier_1 = require("../../../project/ios/bundleIdentifier");
|
|
9
9
|
const errors_1 = require("../errors");
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AppStoreConnectApiKeyMutation = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const AppStoreConnectApiKey_1 = require("../../../../../graphql/types/credentials/AppStoreConnectApiKey");
|
|
10
10
|
exports.AppStoreConnectApiKeyMutation = {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AppleAppIdentifierMutation = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const AppleAppIdentifier_1 = require("../../../../../graphql/types/credentials/AppleAppIdentifier");
|
|
10
10
|
exports.AppleAppIdentifierMutation = {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AppleDeviceMutation = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_1 = require("graphql");
|
|
6
|
-
const graphql_tag_1 =
|
|
6
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
7
7
|
const client_1 = require("../../../../../graphql/client");
|
|
8
8
|
const AppleDevice_1 = require("../../../../../graphql/types/credentials/AppleDevice");
|
|
9
9
|
exports.AppleDeviceMutation = {
|
package/build/credentials/ios/api/graphql/mutations/AppleDeviceRegistrationRequestMutation.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AppleDeviceRegistrationRequestMutation = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_1 = require("graphql");
|
|
6
|
-
const graphql_tag_1 =
|
|
6
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
7
7
|
const client_1 = require("../../../../../graphql/client");
|
|
8
8
|
const AppleDeviceRegistrationRequest_1 = require("../../../../../graphql/types/credentials/AppleDeviceRegistrationRequest");
|
|
9
9
|
exports.AppleDeviceRegistrationRequestMutation = {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AppleDistributionCertificateMutation = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const AppleDistributionCertificate_1 = require("../../../../../graphql/types/credentials/AppleDistributionCertificate");
|
|
10
10
|
const AppleTeam_1 = require("../../../../../graphql/types/credentials/AppleTeam");
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AppleProvisioningProfileMutation = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_1 = require("graphql");
|
|
6
|
-
const graphql_tag_1 =
|
|
6
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
7
7
|
const client_1 = require("../../../../../graphql/client");
|
|
8
8
|
const AppleProvisioningProfile_1 = require("../../../../../graphql/types/credentials/AppleProvisioningProfile");
|
|
9
9
|
const AppleTeam_1 = require("../../../../../graphql/types/credentials/AppleTeam");
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ApplePushKeyMutation = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const ApplePushKey_1 = require("../../../../../graphql/types/credentials/ApplePushKey");
|
|
10
10
|
exports.ApplePushKeyMutation = {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AppleTeamMutation = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_1 = require("graphql");
|
|
6
|
-
const graphql_tag_1 =
|
|
6
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
7
7
|
const client_1 = require("../../../../../graphql/client");
|
|
8
8
|
const AppleTeam_1 = require("../../../../../graphql/types/credentials/AppleTeam");
|
|
9
9
|
exports.AppleTeamMutation = {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IosAppBuildCredentialsMutation = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const IosAppBuildCredentials_1 = require("../../../../../graphql/types/credentials/IosAppBuildCredentials");
|
|
10
10
|
exports.IosAppBuildCredentialsMutation = {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IosAppCredentialsMutation = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const IosAppCredentials_1 = require("../../../../../graphql/types/credentials/IosAppCredentials");
|
|
10
10
|
exports.IosAppCredentialsMutation = {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AppQuery = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const App_1 = require("../../../../../graphql/types/App");
|
|
10
10
|
exports.AppQuery = {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AppStoreConnectApiKeyQuery = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_1 = require("graphql");
|
|
6
|
-
const graphql_tag_1 =
|
|
6
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
7
7
|
const client_1 = require("../../../../../graphql/client");
|
|
8
8
|
const AppStoreConnectApiKey_1 = require("../../../../../graphql/types/credentials/AppStoreConnectApiKey");
|
|
9
9
|
exports.AppStoreConnectApiKeyQuery = {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AppleAppIdentifierQuery = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_1 = require("graphql");
|
|
6
|
-
const graphql_tag_1 =
|
|
6
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
7
7
|
const client_1 = require("../../../../../graphql/client");
|
|
8
8
|
const AppleAppIdentifier_1 = require("../../../../../graphql/types/credentials/AppleAppIdentifier");
|
|
9
9
|
exports.AppleAppIdentifierQuery = {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AppleDeviceQuery = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const AppleDevice_1 = require("../../../../../graphql/types/credentials/AppleDevice");
|
|
10
10
|
const AppleTeam_1 = require("../../../../../graphql/types/credentials/AppleTeam");
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AppleDistributionCertificateQuery = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const AppleDistributionCertificate_1 = require("../../../../../graphql/types/credentials/AppleDistributionCertificate");
|
|
10
10
|
const AppleTeam_1 = require("../../../../../graphql/types/credentials/AppleTeam");
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AppleProvisioningProfileQuery = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const AppleAppIdentifier_1 = require("../../../../../graphql/types/credentials/AppleAppIdentifier");
|
|
10
10
|
const AppleDevice_1 = require("../../../../../graphql/types/credentials/AppleDevice");
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ApplePushKeyQuery = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_1 = require("graphql");
|
|
6
|
-
const graphql_tag_1 =
|
|
6
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
7
7
|
const client_1 = require("../../../../../graphql/client");
|
|
8
8
|
const ApplePushKey_1 = require("../../../../../graphql/types/credentials/ApplePushKey");
|
|
9
9
|
exports.ApplePushKeyQuery = {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AppleTeamQuery = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const graphql_1 = require("graphql");
|
|
6
|
-
const graphql_tag_1 =
|
|
6
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
7
7
|
const client_1 = require("../../../../../graphql/client");
|
|
8
8
|
const AppleTeam_1 = require("../../../../../graphql/types/credentials/AppleTeam");
|
|
9
9
|
exports.AppleTeamQuery = {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IosAppBuildCredentialsQuery = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const IosAppBuildCredentials_1 = require("../../../../../graphql/types/credentials/IosAppBuildCredentials");
|
|
10
10
|
exports.IosAppBuildCredentialsQuery = {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IosAppCredentialsQuery = 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 graphql_1 = require("graphql");
|
|
7
|
-
const graphql_tag_1 =
|
|
7
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
8
8
|
const client_1 = require("../../../../../graphql/client");
|
|
9
9
|
const IosAppBuildCredentials_1 = require("../../../../../graphql/types/credentials/IosAppBuildCredentials");
|
|
10
10
|
const IosAppCredentials_1 = require("../../../../../graphql/types/credentials/IosAppCredentials");
|
|
@@ -12,7 +12,7 @@ export default class AppStoreApi {
|
|
|
12
12
|
listPushKeysAsync(): Promise<PushKeyStoreInfo[]>;
|
|
13
13
|
createPushKeyAsync(name?: string): Promise<PushKey>;
|
|
14
14
|
revokePushKeyAsync(ids: string[]): Promise<void>;
|
|
15
|
-
useExistingProvisioningProfileAsync(bundleIdentifier: string, provisioningProfile: ProvisioningProfile, distCert: DistributionCertificate
|
|
15
|
+
useExistingProvisioningProfileAsync(bundleIdentifier: string, provisioningProfile: ProvisioningProfile, distCert: DistributionCertificate): Promise<ProvisioningProfile>;
|
|
16
16
|
listProvisioningProfilesAsync(bundleIdentifier: string, profileClass?: ProfileClass): Promise<ProvisioningProfileStoreInfo[]>;
|
|
17
17
|
createProvisioningProfileAsync(bundleIdentifier: string, distCert: DistributionCertificate, profileName: string, profileClass?: ProfileClass): Promise<ProvisioningProfile>;
|
|
18
18
|
revokeProvisioningProfileAsync(bundleIdentifier: string, profileClass?: ProfileClass): Promise<void>;
|
|
@@ -42,9 +42,9 @@ class AppStoreApi {
|
|
|
42
42
|
const ctx = await this.ensureAuthenticatedAsync();
|
|
43
43
|
return await (0, pushKey_1.revokePushKeyAsync)(ctx, ids);
|
|
44
44
|
}
|
|
45
|
-
async useExistingProvisioningProfileAsync(bundleIdentifier, provisioningProfile, distCert
|
|
45
|
+
async useExistingProvisioningProfileAsync(bundleIdentifier, provisioningProfile, distCert) {
|
|
46
46
|
const ctx = await this.ensureAuthenticatedAsync();
|
|
47
|
-
return await (0, provisioningProfile_1.useExistingProvisioningProfileAsync)(ctx, bundleIdentifier, provisioningProfile, distCert
|
|
47
|
+
return await (0, provisioningProfile_1.useExistingProvisioningProfileAsync)(ctx, bundleIdentifier, provisioningProfile, distCert);
|
|
48
48
|
}
|
|
49
49
|
async listProvisioningProfilesAsync(bundleIdentifier, profileClass) {
|
|
50
50
|
const ctx = await this.ensureAuthenticatedAsync();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isPushKey = exports.formatPushKey = exports.isDistributionCertificate = exports.formatDistributionCertificate = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const dateformat_1 =
|
|
5
|
+
const dateformat_1 = tslib_1.__importDefault(require("dateformat"));
|
|
6
6
|
function formatDistributionCertificate({ name, id, status, expires, created, ownerName, }) {
|
|
7
7
|
const expiresDate = formatTimestamp(expires);
|
|
8
8
|
const createdDate = formatTimestamp(created);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getAscApiKeyInfo = exports.revokeAscApiKeyAsync = exports.createAscApiKeyAsync = exports.getAscApiKeyAsync = exports.listAscApiKeysAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const apple_utils_1 = require("@expo/apple-utils");
|
|
6
|
-
const log_1 =
|
|
6
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
7
7
|
const ora_1 = require("../../../ora");
|
|
8
8
|
const authenticate_1 = require("./authenticate");
|
|
9
9
|
async function listAscApiKeysAsync(authCtx) {
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.authenticateAsync = exports.getRequestContext = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const apple_utils_1 = require("@expo/apple-utils");
|
|
6
|
-
const assert_1 =
|
|
7
|
-
const chalk_1 =
|
|
8
|
-
const log_1 =
|
|
6
|
+
const assert_1 = tslib_1.__importDefault(require("assert"));
|
|
7
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
8
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
9
9
|
const prompts_1 = require("../../../prompts");
|
|
10
10
|
const resolveCredentials_1 = require("./resolveCredentials");
|
|
11
11
|
const APPLE_IN_HOUSE_TEAM_TYPE = 'in-house';
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CapabilityMapping = exports.assertValidOptions = exports.syncCapabilitiesForEntitlementsAsync = exports.EXPO_NO_CAPABILITY_SYNC = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const apple_utils_1 = require("@expo/apple-utils");
|
|
6
|
-
const getenv_1 =
|
|
6
|
+
const getenv_1 = tslib_1.__importDefault(require("getenv"));
|
|
7
7
|
const util_1 = require("util");
|
|
8
|
-
const log_1 =
|
|
8
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
9
9
|
exports.EXPO_NO_CAPABILITY_SYNC = getenv_1.default.boolish('EXPO_NO_CAPABILITY_SYNC', false);
|
|
10
10
|
const validateBooleanOptions = (options) => {
|
|
11
11
|
return typeof options === 'boolean';
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.syncCapabilityIdentifiersForEntitlementsAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const apple_utils_1 = require("@expo/apple-utils");
|
|
6
|
-
const log_1 =
|
|
6
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
7
7
|
const bundleIdCapabilities_1 = require("./bundleIdCapabilities");
|
|
8
8
|
/**
|
|
9
9
|
* Sync the capability identifiers with the bundle identifier capabilities.
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.assertContractMessagesAsync = exports.formatContractMessage = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const apple_utils_1 = require("@expo/apple-utils");
|
|
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 convertHTMLToASCII_1 = require("../utils/convertHTMLToASCII");
|
|
9
9
|
async function getContractStatusAsync(context) {
|
|
10
10
|
var _a;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ensureAppExistsAsync = exports.syncCapabilityIdentifiersAsync = exports.syncCapabilitiesAsync = exports.ensureBundleIdExistsWithNameAsync = exports.ensureBundleIdExistsAsync = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const apple_utils_1 = require("@expo/apple-utils");
|
|
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 ora_1 = require("../../../ora");
|
|
9
9
|
const authenticate_1 = require("./authenticate");
|
|
10
10
|
const bundleIdCapabilities_1 = require("./bundleIdCapabilities");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.setPasswordAsync = exports.getPasswordAsync = exports.deletePasswordAsync = exports.EXPO_NO_KEYCHAIN = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const keychain_1 =
|
|
5
|
+
const keychain_1 = tslib_1.__importDefault(require("keychain"));
|
|
6
6
|
const KEYCHAIN_TYPE = 'internet';
|
|
7
7
|
const NO_PASSWORD_REGEX = /Could not find password/;
|
|
8
8
|
const IS_MAC = process.platform === 'darwin';
|
|
@@ -4,7 +4,7 @@ export declare enum ProfileClass {
|
|
|
4
4
|
Adhoc = "ad_hoc",
|
|
5
5
|
General = "general"
|
|
6
6
|
}
|
|
7
|
-
export declare function useExistingProvisioningProfileAsync(authCtx: AuthCtx, bundleIdentifier: string, provisioningProfile: ProvisioningProfile, distCert: DistributionCertificate
|
|
7
|
+
export declare function useExistingProvisioningProfileAsync(authCtx: AuthCtx, bundleIdentifier: string, provisioningProfile: ProvisioningProfile, distCert: DistributionCertificate): Promise<ProvisioningProfile>;
|
|
8
8
|
export declare function listProvisioningProfilesAsync(authCtx: AuthCtx, bundleIdentifier: string, profileClass?: ProfileClass): Promise<ProvisioningProfileStoreInfo[]>;
|
|
9
9
|
export declare function createProvisioningProfileAsync(authCtx: AuthCtx, bundleIdentifier: string, distCert: DistributionCertificate, profileName: string, profileClass?: ProfileClass): Promise<ProvisioningProfile>;
|
|
10
10
|
export declare function revokeProvisioningProfileAsync(authCtx: AuthCtx, bundleIdentifier: string, profileClass?: ProfileClass): Promise<void>;
|
|
@@ -49,7 +49,7 @@ async function addCertificateToProfileAsync(context, { serialNumber, profileId,
|
|
|
49
49
|
profile.attributes.certificates = [cert];
|
|
50
50
|
return await profile.regenerateAsync();
|
|
51
51
|
}
|
|
52
|
-
async function useExistingProvisioningProfileAsync(authCtx, bundleIdentifier, provisioningProfile, distCert
|
|
52
|
+
async function useExistingProvisioningProfileAsync(authCtx, bundleIdentifier, provisioningProfile, distCert) {
|
|
53
53
|
if (!provisioningProfile.provisioningProfileId) {
|
|
54
54
|
throw new Error('Provisioning profile: cannot use existing profile, insufficient id');
|
|
55
55
|
}
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.revokePushKeyAsync = exports.createPushKeyAsync = exports.listPushKeysAsync = exports.APPLE_KEYS_TOO_MANY_GENERATED_ERROR = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const apple_utils_1 = require("@expo/apple-utils");
|
|
6
|
-
const chalk_1 =
|
|
7
|
-
const dateformat_1 =
|
|
8
|
-
const log_1 =
|
|
6
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
7
|
+
const dateformat_1 = tslib_1.__importDefault(require("dateformat"));
|
|
8
|
+
const log_1 = tslib_1.__importDefault(require("../../../log"));
|
|
9
9
|
const ora_1 = require("../../../ora");
|
|
10
10
|
const authenticate_1 = require("./authenticate");
|
|
11
11
|
const { MaxKeysCreatedError } = apple_utils_1.Keys;
|