eas-cli 16.0.0 → 16.1.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.
@@ -8,7 +8,7 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.Feature = exports.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentVariableEnvironment = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppPrivacy = exports.AppPlatform = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountAppsSortByField = void 0;
10
10
  exports.UploadSessionType = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidTrack = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = exports.RequestsOrderByDirection = exports.RequestMethod = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.NotificationType = exports.NotificationEvent = exports.MailchimpTag = exports.MailchimpAudience = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = void 0;
11
- exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserEntityTypeName = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = void 0;
11
+ exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = void 0;
12
12
  var AccountAppsSortByField;
13
13
  (function (AccountAppsSortByField) {
14
14
  AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
@@ -171,6 +171,7 @@ var BuildMode;
171
171
  (function (BuildMode) {
172
172
  BuildMode["Build"] = "BUILD";
173
173
  BuildMode["Custom"] = "CUSTOM";
174
+ BuildMode["Local"] = "LOCAL";
174
175
  BuildMode["Repack"] = "REPACK";
175
176
  BuildMode["Resign"] = "RESIGN";
176
177
  })(BuildMode || (exports.BuildMode = BuildMode = {}));
@@ -367,6 +368,8 @@ var EntityTypeName;
367
368
  EntityTypeName["CustomerEntity"] = "CustomerEntity";
368
369
  EntityTypeName["GoogleServiceAccountKeyEntity"] = "GoogleServiceAccountKeyEntity";
369
370
  EntityTypeName["IosAppCredentialsEntity"] = "IosAppCredentialsEntity";
371
+ EntityTypeName["LogRocketOrganizationEntity"] = "LogRocketOrganizationEntity";
372
+ EntityTypeName["LogRocketProjectEntity"] = "LogRocketProjectEntity";
370
373
  EntityTypeName["UserInvitationEntity"] = "UserInvitationEntity";
371
374
  EntityTypeName["UserPermissionEntity"] = "UserPermissionEntity";
372
375
  EntityTypeName["WorkerCustomDomainEntity"] = "WorkerCustomDomainEntity";
@@ -748,6 +751,7 @@ var UploadSessionType;
748
751
  UploadSessionType["EasBuildGcsProjectSources"] = "EAS_BUILD_GCS_PROJECT_SOURCES";
749
752
  /** @deprecated Use EAS_BUILD_GCS_PROJECT_SOURCES instead. */
750
753
  UploadSessionType["EasBuildProjectSources"] = "EAS_BUILD_PROJECT_SOURCES";
754
+ UploadSessionType["EasShareGcsAppArchive"] = "EAS_SHARE_GCS_APP_ARCHIVE";
751
755
  /** @deprecated Use EAS_SUBMIT_GCS_APP_ARCHIVE instead. */
752
756
  UploadSessionType["EasSubmitAppArchive"] = "EAS_SUBMIT_APP_ARCHIVE";
753
757
  UploadSessionType["EasSubmitGcsAppArchive"] = "EAS_SUBMIT_GCS_APP_ARCHIVE";
@@ -797,6 +801,13 @@ var UserAgentOs;
797
801
  UserAgentOs["MacOs"] = "MAC_OS";
798
802
  UserAgentOs["Windows"] = "WINDOWS";
799
803
  })(UserAgentOs || (exports.UserAgentOs = UserAgentOs = {}));
804
+ var UserAgentPlatform;
805
+ (function (UserAgentPlatform) {
806
+ UserAgentPlatform["Android"] = "ANDROID";
807
+ UserAgentPlatform["Apple"] = "APPLE";
808
+ UserAgentPlatform["Unknown"] = "UNKNOWN";
809
+ UserAgentPlatform["Web"] = "WEB";
810
+ })(UserAgentPlatform || (exports.UserAgentPlatform = UserAgentPlatform = {}));
800
811
  var UserEntityTypeName;
801
812
  (function (UserEntityTypeName) {
802
813
  UserEntityTypeName["AccessTokenEntity"] = "AccessTokenEntity";
@@ -858,6 +869,7 @@ var WorkflowJobType;
858
869
  WorkflowJobType["Build"] = "BUILD";
859
870
  WorkflowJobType["Custom"] = "CUSTOM";
860
871
  WorkflowJobType["Deploy"] = "DEPLOY";
872
+ WorkflowJobType["Fingerprint"] = "FINGERPRINT";
861
873
  WorkflowJobType["GetBuild"] = "GET_BUILD";
862
874
  WorkflowJobType["MaestroTest"] = "MAESTRO_TEST";
863
875
  WorkflowJobType["RequireApproval"] = "REQUIRE_APPROVAL";
@@ -880,9 +892,11 @@ var WorkflowRunStatus;
880
892
  })(WorkflowRunStatus || (exports.WorkflowRunStatus = WorkflowRunStatus = {}));
881
893
  var WorkflowRunTriggerEventType;
882
894
  (function (WorkflowRunTriggerEventType) {
895
+ WorkflowRunTriggerEventType["GithubPullRequestLabeled"] = "GITHUB_PULL_REQUEST_LABELED";
883
896
  WorkflowRunTriggerEventType["GithubPullRequestOpened"] = "GITHUB_PULL_REQUEST_OPENED";
884
897
  WorkflowRunTriggerEventType["GithubPullRequestReopened"] = "GITHUB_PULL_REQUEST_REOPENED";
885
898
  WorkflowRunTriggerEventType["GithubPullRequestSynchronize"] = "GITHUB_PULL_REQUEST_SYNCHRONIZE";
886
899
  WorkflowRunTriggerEventType["GithubPush"] = "GITHUB_PUSH";
887
900
  WorkflowRunTriggerEventType["Manual"] = "MANUAL";
901
+ WorkflowRunTriggerEventType["Schedule"] = "SCHEDULE";
888
902
  })(WorkflowRunTriggerEventType || (exports.WorkflowRunTriggerEventType = WorkflowRunTriggerEventType = {}));
@@ -24,11 +24,12 @@ export declare function ensureEASUpdateIsConfiguredInEasJsonAsync(projectDir: st
24
24
  * - Sets `updates.url` if not set
25
25
  * - Ensure latest changes are reflected in the native config, if any
26
26
  */
27
- export declare function ensureEASUpdateIsConfiguredAsync({ exp: expMaybeWithoutUpdates, projectId, projectDir, vcsClient, platform, env, }: {
27
+ export declare function ensureEASUpdateIsConfiguredAsync({ exp: expMaybeWithoutUpdates, projectId, projectDir, vcsClient, platform, env, forceNativeConfigSync, }: {
28
28
  exp: ExpoConfig;
29
29
  projectId: string;
30
30
  projectDir: string;
31
31
  vcsClient: Client;
32
32
  platform: RequestedPlatform | null;
33
33
  env: Env | undefined;
34
+ forceNativeConfigSync?: boolean;
34
35
  }): Promise<void>;
@@ -245,7 +245,7 @@ exports.ensureEASUpdateIsConfiguredInEasJsonAsync = ensureEASUpdateIsConfiguredI
245
245
  * - Sets `updates.url` if not set
246
246
  * - Ensure latest changes are reflected in the native config, if any
247
247
  */
248
- async function ensureEASUpdateIsConfiguredAsync({ exp: expMaybeWithoutUpdates, projectId, projectDir, vcsClient, platform, env, }) {
248
+ async function ensureEASUpdateIsConfiguredAsync({ exp: expMaybeWithoutUpdates, projectId, projectDir, vcsClient, platform, env, forceNativeConfigSync, }) {
249
249
  const hasExpoUpdates = (0, projectUtils_1.isExpoUpdatesInstalledOrAvailable)(projectDir, expMaybeWithoutUpdates.sdkVersion);
250
250
  const hasExpoUpdatesInDevDependencies = (0, projectUtils_1.isExpoUpdatesInstalledAsDevDependency)(projectDir);
251
251
  if (!hasExpoUpdates && !hasExpoUpdatesInDevDependencies) {
@@ -268,7 +268,7 @@ async function ensureEASUpdateIsConfiguredAsync({ exp: expMaybeWithoutUpdates, p
268
268
  platform,
269
269
  workflows,
270
270
  });
271
- if (projectChanged || !hasExpoUpdates) {
271
+ if (forceNativeConfigSync || projectChanged || !hasExpoUpdates) {
272
272
  await ensureEASUpdateIsConfiguredNativelyAsync(vcsClient, {
273
273
  exp: expWithUpdates,
274
274
  projectDir,
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.0.0",
2
+ "version": "16.1.0",
3
3
  "commands": {
4
4
  "analytics": {
5
5
  "id": "analytics",
@@ -2855,8 +2855,9 @@
2855
2855
  "hidden": true,
2856
2856
  "aliases": [],
2857
2857
  "examples": [
2858
- "$ eas fingerprint:generate",
2859
- "$ eas fingerprint:generate --json --non-interactive -p android"
2858
+ "$ eas fingerprint:generate \t # Generate fingerprint in interactive mode",
2859
+ "$ eas fingerprint:generate --profile preview \t # Generate a fingerprint using the \"preview\" build profile",
2860
+ "$ eas fingerprint:generate --json --non-interactive --platform android \t # Output fingerprint json to stdout"
2860
2861
  ],
2861
2862
  "flags": {
2862
2863
  "platform": {
@@ -2870,6 +2871,18 @@
2870
2871
  "ios"
2871
2872
  ]
2872
2873
  },
2874
+ "environment": {
2875
+ "name": "environment",
2876
+ "type": "option",
2877
+ "description": "Environment variable's environment",
2878
+ "helpValue": "(development|preview|production)",
2879
+ "multiple": false,
2880
+ "options": [
2881
+ "development",
2882
+ "preview",
2883
+ "production"
2884
+ ]
2885
+ },
2873
2886
  "json": {
2874
2887
  "name": "json",
2875
2888
  "type": "boolean",
@@ -2891,7 +2904,8 @@
2891
2904
  "projectId": {},
2892
2905
  "loggedIn": {},
2893
2906
  "privateProjectConfig": {},
2894
- "vcsClient": {}
2907
+ "vcsClient": {},
2908
+ "getServerSideEnvironmentVariablesAsync": {}
2895
2909
  }
2896
2910
  },
2897
2911
  "metadata:lint": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eas-cli",
3
3
  "description": "EAS command line tool",
4
- "version": "16.0.0",
4
+ "version": "16.1.0",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bin": {
7
7
  "eas": "./bin/run"
@@ -12,8 +12,8 @@
12
12
  "@expo/code-signing-certificates": "0.0.5",
13
13
  "@expo/config": "10.0.6",
14
14
  "@expo/config-plugins": "9.0.12",
15
- "@expo/eas-build-job": "1.0.170",
16
- "@expo/eas-json": "16.0.0",
15
+ "@expo/eas-build-job": "1.0.173",
16
+ "@expo/eas-json": "16.1.0",
17
17
  "@expo/env": "^1.0.0",
18
18
  "@expo/json-file": "8.3.3",
19
19
  "@expo/logger": "1.0.117",
@@ -28,7 +28,7 @@
28
28
  "@expo/results": "1.0.0",
29
29
  "@expo/rudder-sdk-node": "1.1.1",
30
30
  "@expo/spawn-async": "1.7.2",
31
- "@expo/steps": "1.0.170",
31
+ "@expo/steps": "1.0.173",
32
32
  "@expo/timeago.js": "1.0.0",
33
33
  "@oclif/core": "^1.26.2",
34
34
  "@oclif/plugin-autocomplete": "^2.3.10",
@@ -237,5 +237,5 @@
237
237
  "node": "20.11.0",
238
238
  "yarn": "1.22.21"
239
239
  },
240
- "gitHead": "924f51ecb600d942115c97153d4f221823f4af5e"
240
+ "gitHead": "66c6c8ab0b5da8e514cf244a6bbf2f27472fafb5"
241
241
  }