eas-cli 26.0.0 → 27.2.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 +293 -148
- package/build/analytics/AnalyticsManager.d.ts +2 -0
- package/build/analytics/AnalyticsManager.js +2 -0
- package/build/build/build.d.ts +1 -2
- package/build/build/build.js +9 -4
- package/build/build/errors.d.ts +2 -0
- package/build/build/errors.js +4 -1
- package/build/build/evaluateConfigWithEnvVarsAsync.js +1 -3
- package/build/build/freeTierNearLimitAgentUpdatesTip.d.ts +98 -0
- package/build/build/freeTierNearLimitAgentUpdatesTip.js +205 -0
- package/build/build/runBuildAndSubmit.d.ts +2 -0
- package/build/build/runBuildAndSubmit.js +3 -0
- package/build/build/simulatorsLaunchHint.d.ts +7 -0
- package/build/build/simulatorsLaunchHint.js +40 -0
- package/build/build/utils/expoTokenRole.d.ts +4 -0
- package/build/build/utils/expoTokenRole.js +14 -0
- package/build/commandUtils/EasCommand.js +3 -3
- package/build/commandUtils/context/contextUtils/findProjectDirAndVerifyProjectSetupAsync.js +2 -1
- package/build/commandUtils/workflow/referencedFiles.d.ts +6 -0
- package/build/commandUtils/workflow/referencedFiles.js +63 -0
- package/build/commandUtils/workflow/types.d.ts +1 -1
- package/build/commandUtils/workflow/utils.js +34 -5
- package/build/commands/account/login.js +6 -0
- package/build/commands/account/view.d.ts +0 -7
- package/build/commands/account/view.js +4 -74
- package/build/commands/build/index.js +8 -1
- package/build/commands/observe/session.js +4 -3
- package/build/commands/observe/trace.d.ts +17 -0
- package/build/commands/observe/trace.js +58 -0
- package/build/commands/observe/traces.d.ts +33 -0
- package/build/commands/observe/traces.js +159 -0
- package/build/commands/simulator/control.js +41 -6
- package/build/commands/simulator/logs.d.ts +22 -0
- package/build/commands/simulator/logs.js +188 -0
- package/build/commands/workflow/cancel.js +9 -20
- package/build/commands/workflow/run.js +9 -0
- package/build/commands/workflow/runs.js +1 -1
- package/build/graphql/generated.d.ts +698 -5
- package/build/graphql/generated.js +25 -4
- package/build/graphql/mutations/UserPreferenceMutation.d.ts +5 -0
- package/build/graphql/mutations/UserPreferenceMutation.js +24 -0
- package/build/graphql/mutations/WorkflowRevisionMutation.d.ts +3 -2
- package/build/graphql/mutations/WorkflowRevisionMutation.js +12 -3
- package/build/graphql/queries/AccountQuery.d.ts +3 -1
- package/build/graphql/queries/AccountQuery.js +54 -0
- package/build/graphql/queries/ObserveQuery.d.ts +24 -1
- package/build/graphql/queries/ObserveQuery.js +114 -1
- package/build/graphql/queries/UserPreferenceQuery.d.ts +8 -0
- package/build/graphql/queries/UserPreferenceQuery.js +28 -0
- package/build/graphql/queries/WorkflowRunQuery.js +6 -0
- package/build/graphql/types/Observe.d.ts +1 -0
- package/build/graphql/types/Observe.js +53 -1
- package/build/graphql/types/WorkflowRun.js +1 -0
- package/build/help.js +13 -6
- package/build/log.d.ts +2 -0
- package/build/log.js +10 -0
- package/build/observe/fetchSessions.d.ts +12 -1
- package/build/observe/fetchSessions.js +39 -2
- package/build/observe/fetchSpans.d.ts +27 -0
- package/build/observe/fetchSpans.js +36 -0
- package/build/observe/formatSessions.d.ts +3 -1
- package/build/observe/formatSessions.js +40 -3
- package/build/observe/formatSpans.d.ts +110 -0
- package/build/observe/formatSpans.js +250 -0
- package/build/observe/spanFilters.d.ts +5 -0
- package/build/observe/spanFilters.js +32 -0
- package/build/project/projectStatus.js +1 -0
- package/build/simulator/artifacts.d.ts +9 -0
- package/build/simulator/artifacts.js +97 -0
- package/build/simulator/download.d.ts +2 -0
- package/build/simulator/download.js +57 -0
- package/build/simulator/events.js +2 -10
- package/build/simulator/preview.d.ts +26 -0
- package/build/simulator/preview.js +156 -0
- package/build/simulator/utils.d.ts +5 -0
- package/build/simulator/utils.js +42 -0
- package/build/user/accountPermissions.d.ts +11 -0
- package/build/user/accountPermissions.js +89 -0
- package/oclif.manifest.json +920 -422
- package/package.json +6 -6
- package/build/build/freeTierLimitGuidance.d.ts +0 -19
- package/build/build/freeTierLimitGuidance.js +0 -39
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eas-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "27.2.0",
|
|
4
4
|
"description": "EAS command line tool",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"@expo/code-signing-certificates": "0.0.5",
|
|
49
49
|
"@expo/config": "55.0.10",
|
|
50
50
|
"@expo/config-plugins": "55.0.7",
|
|
51
|
-
"@expo/eas-build-job": "
|
|
52
|
-
"@expo/eas-json": "
|
|
51
|
+
"@expo/eas-build-job": "27.2.0",
|
|
52
|
+
"@expo/eas-json": "27.2.0",
|
|
53
53
|
"@expo/env": "^1.0.0",
|
|
54
54
|
"@expo/experimentation": "0.0.5",
|
|
55
55
|
"@expo/json-file": "8.3.3",
|
|
56
|
-
"@expo/logger": "
|
|
56
|
+
"@expo/logger": "27.2.0",
|
|
57
57
|
"@expo/multipart-body-parser": "2.0.0",
|
|
58
58
|
"@expo/osascript": "2.1.4",
|
|
59
59
|
"@expo/package-manager": "1.9.10",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@expo/results": "1.0.0",
|
|
66
66
|
"@expo/rudder-sdk-node": "1.1.1",
|
|
67
67
|
"@expo/spawn-async": "1.7.2",
|
|
68
|
-
"@expo/steps": "
|
|
68
|
+
"@expo/steps": "27.2.0",
|
|
69
69
|
"@expo/timeago.js": "1.0.0",
|
|
70
70
|
"@oclif/core": "^4.8.3",
|
|
71
71
|
"@oclif/plugin-autocomplete": "^3.2.40",
|
|
@@ -271,5 +271,5 @@
|
|
|
271
271
|
"engines": {
|
|
272
272
|
"node": "^20.18.3 || >=22.0.0"
|
|
273
273
|
},
|
|
274
|
-
"gitHead": "
|
|
274
|
+
"gitHead": "92e1b01bd703c124ceda5e4ebfb149257d19f6e3"
|
|
275
275
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Platform } from '@expo/eas-build-job';
|
|
2
|
-
import { LazyExperimentationClient } from '../experimentation/LazyExperimentationClient';
|
|
3
|
-
export declare const FREE_TIER_LIMIT_AGENT_GUIDANCE_EXPERIMENT_NAMESPACE = "cli-build-free-tier-limit-agent-guidance";
|
|
4
|
-
export type FreeTierLimitAgentGuidanceVariant = 'control' | 'treatment';
|
|
5
|
-
export type FreeTierLimitAgentGuidanceExperiment = {
|
|
6
|
-
experimentation: LazyExperimentationClient;
|
|
7
|
-
accountId: string;
|
|
8
|
-
};
|
|
9
|
-
export declare function getFreeTierLimitAgentGuidanceExperiment(ctx: {
|
|
10
|
-
experimentation?: LazyExperimentationClient;
|
|
11
|
-
accountId: string;
|
|
12
|
-
}): FreeTierLimitAgentGuidanceExperiment | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* Resolves the account's variant. Only runs driven by a coding agent are eligible. Other runs get
|
|
15
|
-
* control before the client loads, so they make no config request and log no exposure.
|
|
16
|
-
*/
|
|
17
|
-
export declare function resolveFreeTierLimitAgentGuidanceVariantAsync({ experimentation, accountId, }: FreeTierLimitAgentGuidanceExperiment): Promise<FreeTierLimitAgentGuidanceVariant>;
|
|
18
|
-
export declare function formatFreeTierLimitAgentGuidance(platform: Platform): string;
|
|
19
|
-
export declare function maybeAppendFreeTierLimitAgentGuidanceAsync(message: string, platform: Platform, experiment: FreeTierLimitAgentGuidanceExperiment | undefined): Promise<string>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FREE_TIER_LIMIT_AGENT_GUIDANCE_EXPERIMENT_NAMESPACE = void 0;
|
|
4
|
-
exports.getFreeTierLimitAgentGuidanceExperiment = getFreeTierLimitAgentGuidanceExperiment;
|
|
5
|
-
exports.resolveFreeTierLimitAgentGuidanceVariantAsync = resolveFreeTierLimitAgentGuidanceVariantAsync;
|
|
6
|
-
exports.formatFreeTierLimitAgentGuidance = formatFreeTierLimitAgentGuidance;
|
|
7
|
-
exports.maybeAppendFreeTierLimitAgentGuidanceAsync = maybeAppendFreeTierLimitAgentGuidanceAsync;
|
|
8
|
-
const agent_1 = require("../analytics/agent");
|
|
9
|
-
const platform_1 = require("../platform");
|
|
10
|
-
exports.FREE_TIER_LIMIT_AGENT_GUIDANCE_EXPERIMENT_NAMESPACE = 'cli-build-free-tier-limit-agent-guidance';
|
|
11
|
-
function getFreeTierLimitAgentGuidanceExperiment(ctx) {
|
|
12
|
-
return ctx.experimentation
|
|
13
|
-
? { experimentation: ctx.experimentation, accountId: ctx.accountId }
|
|
14
|
-
: undefined;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Resolves the account's variant. Only runs driven by a coding agent are eligible. Other runs get
|
|
18
|
-
* control before the client loads, so they make no config request and log no exposure.
|
|
19
|
-
*/
|
|
20
|
-
async function resolveFreeTierLimitAgentGuidanceVariantAsync({ experimentation, accountId, }) {
|
|
21
|
-
if (!(0, agent_1.getAgentTelemetryContext)()) {
|
|
22
|
-
return 'control';
|
|
23
|
-
}
|
|
24
|
-
const client = await experimentation.getClientAsync();
|
|
25
|
-
return client
|
|
26
|
-
.getAccountNamespace(exports.FREE_TIER_LIMIT_AGENT_GUIDANCE_EXPERIMENT_NAMESPACE, { accountId })
|
|
27
|
-
.getParam('variant', 'control');
|
|
28
|
-
}
|
|
29
|
-
function formatFreeTierLimitAgentGuidance(platform) {
|
|
30
|
-
const platformName = platform_1.requestedPlatformDisplayNames[platform];
|
|
31
|
-
return `Fix: Human required: ${platformName} builds for this account are blocked until the Free plan resets. Upgrading costs money, so an account owner or admin decides.`;
|
|
32
|
-
}
|
|
33
|
-
async function maybeAppendFreeTierLimitAgentGuidanceAsync(message, platform, experiment) {
|
|
34
|
-
if (!experiment ||
|
|
35
|
-
(await resolveFreeTierLimitAgentGuidanceVariantAsync(experiment)) !== 'treatment') {
|
|
36
|
-
return message;
|
|
37
|
-
}
|
|
38
|
-
return `${message}\n${formatFreeTierLimitAgentGuidance(platform)}`;
|
|
39
|
-
}
|