eas-cli 18.12.3 → 18.13.1
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 +100 -100
- package/build/build/metadata.js +10 -0
- package/build/commandUtils/new/commands.js +3 -10
- package/build/commands/observe/events.d.ts +7 -7
- package/build/commands/observe/events.js +7 -29
- package/build/commands/observe/logs.d.ts +8 -8
- package/build/commands/observe/logs.js +7 -29
- package/build/commands/observe/metrics.d.ts +4 -4
- package/build/commands/observe/metrics.js +4 -20
- package/build/commands/observe/routes.d.ts +27 -0
- package/build/commands/observe/routes.js +106 -0
- package/build/commands/observe/versions.d.ts +2 -2
- package/build/commands/observe/versions.js +4 -21
- package/build/commands/project/onboarding.js +7 -17
- package/build/graphql/generated.d.ts +56 -0
- package/build/graphql/queries/ObserveQuery.d.ts +12 -1
- package/build/graphql/queries/ObserveQuery.js +54 -0
- package/build/log.js +4 -3
- package/build/observe/fetchMetrics.js +2 -6
- package/build/observe/fetchNavigationRoutes.d.ts +22 -0
- package/build/observe/fetchNavigationRoutes.js +51 -0
- package/build/observe/flags.d.ts +20 -0
- package/build/observe/flags.js +46 -0
- package/build/observe/formatNavigationRoutes.d.ts +34 -0
- package/build/observe/formatNavigationRoutes.js +170 -0
- package/build/observe/metricNames.d.ts +2 -0
- package/build/observe/metricNames.js +22 -3
- package/build/observe/platforms.d.ts +1 -0
- package/build/observe/platforms.js +5 -1
- package/build/project/expoConfig.js +7 -26
- package/build/project/ios/entitlements.d.ts +1 -2
- package/build/project/ios/entitlements.js +7 -44
- package/build/project/ios/target.js +1 -1
- package/build/utils/expoCli.d.ts +3 -0
- package/build/utils/expoCli.js +15 -7
- package/oclif.manifest.json +281 -87
- package/package.json +7 -5
|
@@ -2,52 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getManagedApplicationTargetEntitlementsAsync = getManagedApplicationTargetEntitlementsAsync;
|
|
4
4
|
exports.getNativeTargetEntitlementsAsync = getNativeTargetEntitlementsAsync;
|
|
5
|
-
const tslib_1 = require("tslib");
|
|
6
5
|
const config_plugins_1 = require("@expo/config-plugins");
|
|
7
|
-
const
|
|
8
|
-
const spawn_async_1 = tslib_1.__importDefault(require("@expo/spawn-async"));
|
|
9
|
-
const log_1 = tslib_1.__importDefault(require("../../log"));
|
|
6
|
+
const expoCli_1 = require("../../utils/expoCli");
|
|
10
7
|
const plist_1 = require("../../utils/plist");
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
...process.env,
|
|
18
|
-
...env,
|
|
19
|
-
};
|
|
20
|
-
let expWithMods;
|
|
21
|
-
try {
|
|
22
|
-
const { stdout } = await (0, spawn_async_1.default)('npx', ['expo', 'config', '--json', '--type', 'introspect'], {
|
|
23
|
-
cwd: projectDir,
|
|
24
|
-
env: {
|
|
25
|
-
...process.env,
|
|
26
|
-
...env,
|
|
27
|
-
EXPO_NO_DOTENV: '1',
|
|
28
|
-
},
|
|
29
|
-
});
|
|
30
|
-
expWithMods = JSON.parse(stdout);
|
|
31
|
-
}
|
|
32
|
-
catch (err) {
|
|
33
|
-
if (!wasExpoConfigPluginsWarnPrinted) {
|
|
34
|
-
log_1.default.warn(`Failed to read the app config from the project using "npx expo config" command: ${err.message}.`);
|
|
35
|
-
log_1.default.warn('Falling back to the version of "@expo/config" shipped with the EAS CLI.');
|
|
36
|
-
wasExpoConfigPluginsWarnPrinted = true;
|
|
37
|
-
}
|
|
38
|
-
const { exp } = await (0, prebuild_config_1.getPrebuildConfigAsync)(projectDir, { platforms: ['ios'] });
|
|
39
|
-
expWithMods = await (0, config_plugins_1.compileModsAsync)(exp, {
|
|
40
|
-
projectRoot: projectDir,
|
|
41
|
-
platforms: ['ios'],
|
|
42
|
-
introspect: true,
|
|
43
|
-
ignoreExistingNativeFiles: await (0, workflow_1.hasIgnoredIosProjectAsync)(projectDir, vcsClient),
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
return expWithMods.ios?.entitlements ?? {};
|
|
47
|
-
}
|
|
48
|
-
finally {
|
|
49
|
-
process.env = originalProcessEnv;
|
|
50
|
-
}
|
|
8
|
+
async function getManagedApplicationTargetEntitlementsAsync(projectDir, env) {
|
|
9
|
+
const { stdout } = await (0, expoCli_1.spawnExpoCommand)(projectDir, ['config', '--json', '--type', 'introspect'], {
|
|
10
|
+
env,
|
|
11
|
+
});
|
|
12
|
+
const expWithMods = JSON.parse(stdout);
|
|
13
|
+
return expWithMods.ios?.entitlements ?? {};
|
|
51
14
|
}
|
|
52
15
|
async function getNativeTargetEntitlementsAsync(projectDir, target) {
|
|
53
16
|
const entitlementsPath = config_plugins_1.IOSConfig.Entitlements.getEntitlementsPath(projectDir, target);
|
|
@@ -29,7 +29,7 @@ async function resolveManagedProjectTargetsAsync({ exp, projectDir, xcodeBuildCo
|
|
|
29
29
|
targetName: applicationTargetName,
|
|
30
30
|
buildConfiguration,
|
|
31
31
|
});
|
|
32
|
-
const applicationTargetEntitlements = await (0, entitlements_1.getManagedApplicationTargetEntitlementsAsync)(projectDir, env ?? {}
|
|
32
|
+
const applicationTargetEntitlements = await (0, entitlements_1.getManagedApplicationTargetEntitlementsAsync)(projectDir, env ?? {});
|
|
33
33
|
const appExtensions = exp.extra?.eas?.build?.experimental?.ios?.appExtensions ?? [];
|
|
34
34
|
const { error } = AppExtensionsConfigSchema.validate(appExtensions, {
|
|
35
35
|
allowUnknown: false,
|
package/build/utils/expoCli.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ExpoConfig } from '@expo/config';
|
|
2
|
+
import spawnAsync from '@expo/spawn-async';
|
|
3
|
+
import type { CommonSpawnOptions } from 'node:child_process';
|
|
2
4
|
/**
|
|
3
5
|
* @returns `true` if the project is SDK +46, has `@expo/cli`, and `EXPO_USE_LOCAL_CLI` is not set to a _false_ value.
|
|
4
6
|
*/
|
|
@@ -11,6 +13,7 @@ export declare function shouldUseVersionedExpoCLIExpensive(projectDir: string, e
|
|
|
11
13
|
export declare function shouldUseVersionedExpoCLIWithExplicitPlatformsExpensive(projectDir: string): boolean;
|
|
12
14
|
export declare const shouldUseVersionedExpoCLI: typeof shouldUseVersionedExpoCLIExpensive;
|
|
13
15
|
export declare const shouldUseVersionedExpoCLIWithExplicitPlatforms: typeof shouldUseVersionedExpoCLIWithExplicitPlatformsExpensive;
|
|
16
|
+
export declare function spawnExpoCommand(projectDir: string, args: string[], opts?: CommonSpawnOptions): spawnAsync.SpawnPromise<spawnAsync.SpawnResult>;
|
|
14
17
|
export declare function expoCommandAsync(projectDir: string, args: string[], { silent, extraEnv, }?: {
|
|
15
18
|
silent?: boolean;
|
|
16
19
|
extraEnv?: Record<string, string | undefined>;
|
package/build/utils/expoCli.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.shouldUseVersionedExpoCLIWithExplicitPlatforms = exports.shouldUseVersionedExpoCLI = void 0;
|
|
4
4
|
exports.shouldUseVersionedExpoCLIExpensive = shouldUseVersionedExpoCLIExpensive;
|
|
5
5
|
exports.shouldUseVersionedExpoCLIWithExplicitPlatformsExpensive = shouldUseVersionedExpoCLIWithExplicitPlatformsExpensive;
|
|
6
|
+
exports.spawnExpoCommand = spawnExpoCommand;
|
|
6
7
|
exports.expoCommandAsync = expoCommandAsync;
|
|
7
8
|
const tslib_1 = require("tslib");
|
|
8
9
|
const spawn_async_1 = tslib_1.__importDefault(require("@expo/spawn-async"));
|
|
@@ -66,7 +67,7 @@ function shouldUseVersionedExpoCLIWithExplicitPlatformsExpensive(projectDir) {
|
|
|
66
67
|
}
|
|
67
68
|
exports.shouldUseVersionedExpoCLI = (0, memoize_1.memoize)(shouldUseVersionedExpoCLIExpensive);
|
|
68
69
|
exports.shouldUseVersionedExpoCLIWithExplicitPlatforms = (0, memoize_1.memoize)(shouldUseVersionedExpoCLIWithExplicitPlatformsExpensive);
|
|
69
|
-
|
|
70
|
+
function spawnExpoCommand(projectDir, args, opts) {
|
|
70
71
|
let expoCliPath;
|
|
71
72
|
try {
|
|
72
73
|
expoCliPath =
|
|
@@ -79,23 +80,30 @@ async function expoCommandAsync(projectDir, args, { silent = false, extraEnv = {
|
|
|
79
80
|
throw e;
|
|
80
81
|
}
|
|
81
82
|
const spawnPromise = (0, spawn_async_1.default)(expoCliPath, args, {
|
|
82
|
-
|
|
83
|
+
cwd: projectDir,
|
|
84
|
+
...opts,
|
|
83
85
|
env: {
|
|
84
86
|
...process.env,
|
|
85
|
-
...
|
|
87
|
+
...opts?.env,
|
|
86
88
|
},
|
|
87
89
|
});
|
|
88
|
-
|
|
89
|
-
if (!(stdout && stderr)) {
|
|
90
|
+
if (!spawnPromise.child.stdout && !spawnPromise.child.stderr) {
|
|
90
91
|
throw new Error('Failed to spawn expo-cli');
|
|
91
92
|
}
|
|
93
|
+
return spawnPromise;
|
|
94
|
+
}
|
|
95
|
+
async function expoCommandAsync(projectDir, args, { silent = false, extraEnv = {}, } = {}) {
|
|
96
|
+
const spawnPromise = spawnExpoCommand(projectDir, args, {
|
|
97
|
+
stdio: ['inherit', 'pipe', 'pipe'], // inherit stdin so user can install a missing expo-cli from inside this command
|
|
98
|
+
env: extraEnv,
|
|
99
|
+
});
|
|
92
100
|
if (!silent) {
|
|
93
|
-
stdout
|
|
101
|
+
spawnPromise.child.stdout?.on('data', data => {
|
|
94
102
|
for (const line of data.toString().trim().split('\n')) {
|
|
95
103
|
log_1.default.log(`${chalk_1.default.gray('[expo-cli]')} ${line}`);
|
|
96
104
|
}
|
|
97
105
|
});
|
|
98
|
-
stderr
|
|
106
|
+
spawnPromise.child.stderr?.on('data', data => {
|
|
99
107
|
for (const line of data.toString().trim().split('\n')) {
|
|
100
108
|
log_1.default.warn(`${chalk_1.default.gray('[expo-cli]')} ${line}`);
|
|
101
109
|
}
|
package/oclif.manifest.json
CHANGED
|
@@ -6311,7 +6311,7 @@
|
|
|
6311
6311
|
"type": "option"
|
|
6312
6312
|
},
|
|
6313
6313
|
"days": {
|
|
6314
|
-
"description": "Show
|
|
6314
|
+
"description": "Show results from the last N days (mutually exclusive with --start/--end)",
|
|
6315
6315
|
"exclusive": [
|
|
6316
6316
|
"start",
|
|
6317
6317
|
"end"
|
|
@@ -6477,7 +6477,7 @@
|
|
|
6477
6477
|
"type": "option"
|
|
6478
6478
|
},
|
|
6479
6479
|
"days": {
|
|
6480
|
-
"description": "Show
|
|
6480
|
+
"description": "Show results from the last N days (mutually exclusive with --start/--end)",
|
|
6481
6481
|
"exclusive": [
|
|
6482
6482
|
"start",
|
|
6483
6483
|
"end"
|
|
@@ -6647,7 +6647,7 @@
|
|
|
6647
6647
|
"type": "option"
|
|
6648
6648
|
},
|
|
6649
6649
|
"start": {
|
|
6650
|
-
"description": "Start of time range
|
|
6650
|
+
"description": "Start of time range (ISO date)",
|
|
6651
6651
|
"exclusive": [
|
|
6652
6652
|
"days"
|
|
6653
6653
|
],
|
|
@@ -6657,7 +6657,7 @@
|
|
|
6657
6657
|
"type": "option"
|
|
6658
6658
|
},
|
|
6659
6659
|
"end": {
|
|
6660
|
-
"description": "End of time range
|
|
6660
|
+
"description": "End of time range (ISO date)",
|
|
6661
6661
|
"exclusive": [
|
|
6662
6662
|
"days"
|
|
6663
6663
|
],
|
|
@@ -6667,7 +6667,7 @@
|
|
|
6667
6667
|
"type": "option"
|
|
6668
6668
|
},
|
|
6669
6669
|
"days": {
|
|
6670
|
-
"description": "Show
|
|
6670
|
+
"description": "Show results from the last N days (mutually exclusive with --start/--end)",
|
|
6671
6671
|
"exclusive": [
|
|
6672
6672
|
"start",
|
|
6673
6673
|
"end"
|
|
@@ -6762,6 +6762,200 @@
|
|
|
6762
6762
|
"metrics.js"
|
|
6763
6763
|
]
|
|
6764
6764
|
},
|
|
6765
|
+
"observe:routes": {
|
|
6766
|
+
"aliases": [],
|
|
6767
|
+
"args": {},
|
|
6768
|
+
"description": "display app navigation route metrics (Cold TTR, Warm TTR, TTI) grouped by route name",
|
|
6769
|
+
"flags": {
|
|
6770
|
+
"platform": {
|
|
6771
|
+
"description": "Filter by platform",
|
|
6772
|
+
"name": "platform",
|
|
6773
|
+
"hasDynamicHelp": false,
|
|
6774
|
+
"multiple": false,
|
|
6775
|
+
"options": [
|
|
6776
|
+
"android",
|
|
6777
|
+
"ios"
|
|
6778
|
+
],
|
|
6779
|
+
"type": "option"
|
|
6780
|
+
},
|
|
6781
|
+
"metric": {
|
|
6782
|
+
"description": "Navigation metric to display (can be specified multiple times). Defaults to all three.",
|
|
6783
|
+
"name": "metric",
|
|
6784
|
+
"hasDynamicHelp": false,
|
|
6785
|
+
"multiple": true,
|
|
6786
|
+
"options": [
|
|
6787
|
+
"cold_ttr",
|
|
6788
|
+
"warm_ttr",
|
|
6789
|
+
"nav_tti"
|
|
6790
|
+
],
|
|
6791
|
+
"type": "option"
|
|
6792
|
+
},
|
|
6793
|
+
"stat": {
|
|
6794
|
+
"description": "Statistic to display per metric (can be specified multiple times)",
|
|
6795
|
+
"name": "stat",
|
|
6796
|
+
"hasDynamicHelp": false,
|
|
6797
|
+
"multiple": true,
|
|
6798
|
+
"options": [
|
|
6799
|
+
"median",
|
|
6800
|
+
"med",
|
|
6801
|
+
"p90",
|
|
6802
|
+
"count",
|
|
6803
|
+
"event_count",
|
|
6804
|
+
"eventCount"
|
|
6805
|
+
],
|
|
6806
|
+
"type": "option"
|
|
6807
|
+
},
|
|
6808
|
+
"after": {
|
|
6809
|
+
"description": "Cursor for pagination. Use the endCursor from a previous query to fetch the next page.",
|
|
6810
|
+
"name": "after",
|
|
6811
|
+
"hasDynamicHelp": false,
|
|
6812
|
+
"multiple": false,
|
|
6813
|
+
"type": "option"
|
|
6814
|
+
},
|
|
6815
|
+
"limit": {
|
|
6816
|
+
"description": "The number of items to fetch each query. Defaults to 50 and is capped at 200.",
|
|
6817
|
+
"name": "limit",
|
|
6818
|
+
"hasDynamicHelp": false,
|
|
6819
|
+
"multiple": false,
|
|
6820
|
+
"type": "option"
|
|
6821
|
+
},
|
|
6822
|
+
"start": {
|
|
6823
|
+
"description": "Start of time range (ISO date)",
|
|
6824
|
+
"exclusive": [
|
|
6825
|
+
"days"
|
|
6826
|
+
],
|
|
6827
|
+
"name": "start",
|
|
6828
|
+
"hasDynamicHelp": false,
|
|
6829
|
+
"multiple": false,
|
|
6830
|
+
"type": "option"
|
|
6831
|
+
},
|
|
6832
|
+
"end": {
|
|
6833
|
+
"description": "End of time range (ISO date)",
|
|
6834
|
+
"exclusive": [
|
|
6835
|
+
"days"
|
|
6836
|
+
],
|
|
6837
|
+
"name": "end",
|
|
6838
|
+
"hasDynamicHelp": false,
|
|
6839
|
+
"multiple": false,
|
|
6840
|
+
"type": "option"
|
|
6841
|
+
},
|
|
6842
|
+
"days": {
|
|
6843
|
+
"description": "Show results from the last N days (mutually exclusive with --start/--end)",
|
|
6844
|
+
"exclusive": [
|
|
6845
|
+
"start",
|
|
6846
|
+
"end"
|
|
6847
|
+
],
|
|
6848
|
+
"name": "days",
|
|
6849
|
+
"hasDynamicHelp": false,
|
|
6850
|
+
"multiple": false,
|
|
6851
|
+
"type": "option"
|
|
6852
|
+
},
|
|
6853
|
+
"app-version": {
|
|
6854
|
+
"description": "Filter by app version",
|
|
6855
|
+
"name": "app-version",
|
|
6856
|
+
"hasDynamicHelp": false,
|
|
6857
|
+
"multiple": false,
|
|
6858
|
+
"type": "option"
|
|
6859
|
+
},
|
|
6860
|
+
"update-id": {
|
|
6861
|
+
"description": "Filter by EAS update ID",
|
|
6862
|
+
"name": "update-id",
|
|
6863
|
+
"hasDynamicHelp": false,
|
|
6864
|
+
"multiple": false,
|
|
6865
|
+
"type": "option"
|
|
6866
|
+
},
|
|
6867
|
+
"build-number": {
|
|
6868
|
+
"description": "Filter by app build number",
|
|
6869
|
+
"name": "build-number",
|
|
6870
|
+
"hasDynamicHelp": false,
|
|
6871
|
+
"multiple": false,
|
|
6872
|
+
"type": "option"
|
|
6873
|
+
},
|
|
6874
|
+
"project-id": {
|
|
6875
|
+
"description": "EAS project ID (defaults to the project ID of the current directory)",
|
|
6876
|
+
"name": "project-id",
|
|
6877
|
+
"hasDynamicHelp": false,
|
|
6878
|
+
"multiple": false,
|
|
6879
|
+
"type": "option"
|
|
6880
|
+
},
|
|
6881
|
+
"json": {
|
|
6882
|
+
"description": "Enable JSON output, non-JSON messages will be printed to stderr. Implies --non-interactive.",
|
|
6883
|
+
"name": "json",
|
|
6884
|
+
"allowNo": false,
|
|
6885
|
+
"type": "boolean"
|
|
6886
|
+
},
|
|
6887
|
+
"non-interactive": {
|
|
6888
|
+
"description": "Run the command in non-interactive mode.",
|
|
6889
|
+
"name": "non-interactive",
|
|
6890
|
+
"noCacheDefault": true,
|
|
6891
|
+
"allowNo": false,
|
|
6892
|
+
"type": "boolean"
|
|
6893
|
+
}
|
|
6894
|
+
},
|
|
6895
|
+
"hasDynamicHelp": false,
|
|
6896
|
+
"hidden": true,
|
|
6897
|
+
"hiddenAliases": [],
|
|
6898
|
+
"id": "observe:routes",
|
|
6899
|
+
"pluginAlias": "eas-cli",
|
|
6900
|
+
"pluginName": "eas-cli",
|
|
6901
|
+
"pluginType": "core",
|
|
6902
|
+
"strict": true,
|
|
6903
|
+
"enableJsonFlag": false,
|
|
6904
|
+
"ContextOptions": {
|
|
6905
|
+
"LoggedIn": {
|
|
6906
|
+
"loggedIn": {}
|
|
6907
|
+
},
|
|
6908
|
+
"MaybeLoggedIn": {
|
|
6909
|
+
"maybeLoggedIn": {}
|
|
6910
|
+
},
|
|
6911
|
+
"DynamicLoggedIn": {
|
|
6912
|
+
"getDynamicLoggedInAsync": {}
|
|
6913
|
+
},
|
|
6914
|
+
"SessionManagment": {
|
|
6915
|
+
"sessionManager": {}
|
|
6916
|
+
},
|
|
6917
|
+
"OptionalProjectConfig": {
|
|
6918
|
+
"optionalPrivateProjectConfig": {}
|
|
6919
|
+
},
|
|
6920
|
+
"ProjectDir": {
|
|
6921
|
+
"projectDir": {}
|
|
6922
|
+
},
|
|
6923
|
+
"DynamicProjectConfig": {
|
|
6924
|
+
"getDynamicPublicProjectConfigAsync": {},
|
|
6925
|
+
"getDynamicPrivateProjectConfigAsync": {}
|
|
6926
|
+
},
|
|
6927
|
+
"ProjectConfig": {
|
|
6928
|
+
"loggedIn": {},
|
|
6929
|
+
"privateProjectConfig": {}
|
|
6930
|
+
},
|
|
6931
|
+
"Analytics": {
|
|
6932
|
+
"analytics": {}
|
|
6933
|
+
},
|
|
6934
|
+
"Vcs": {
|
|
6935
|
+
"vcsClient": {}
|
|
6936
|
+
},
|
|
6937
|
+
"ServerSideEnvironmentVariables": {
|
|
6938
|
+
"getServerSideEnvironmentVariablesAsync": {}
|
|
6939
|
+
},
|
|
6940
|
+
"ProjectId": {
|
|
6941
|
+
"projectId": {}
|
|
6942
|
+
}
|
|
6943
|
+
},
|
|
6944
|
+
"contextDefinition": {
|
|
6945
|
+
"projectId": {},
|
|
6946
|
+
"loggedIn": {}
|
|
6947
|
+
},
|
|
6948
|
+
"loggedInOnlyContextDefinition": {
|
|
6949
|
+
"loggedIn": {}
|
|
6950
|
+
},
|
|
6951
|
+
"isESM": false,
|
|
6952
|
+
"relativePath": [
|
|
6953
|
+
"build",
|
|
6954
|
+
"commands",
|
|
6955
|
+
"observe",
|
|
6956
|
+
"routes.js"
|
|
6957
|
+
]
|
|
6958
|
+
},
|
|
6765
6959
|
"observe:versions": {
|
|
6766
6960
|
"aliases": [],
|
|
6767
6961
|
"args": {},
|
|
@@ -6799,7 +6993,7 @@
|
|
|
6799
6993
|
"type": "option"
|
|
6800
6994
|
},
|
|
6801
6995
|
"days": {
|
|
6802
|
-
"description": "Show
|
|
6996
|
+
"description": "Show results from the last N days (mutually exclusive with --start/--end)",
|
|
6803
6997
|
"exclusive": [
|
|
6804
6998
|
"start",
|
|
6805
6999
|
"end"
|
|
@@ -7570,31 +7764,41 @@
|
|
|
7570
7764
|
"push.js"
|
|
7571
7765
|
]
|
|
7572
7766
|
},
|
|
7573
|
-
"
|
|
7767
|
+
"submit:internal": {
|
|
7574
7768
|
"aliases": [],
|
|
7575
7769
|
"args": {},
|
|
7576
|
-
"description": "[EXPERIMENTAL] get info about a remote simulator session on EAS by its device run session ID",
|
|
7577
7770
|
"flags": {
|
|
7771
|
+
"platform": {
|
|
7772
|
+
"name": "platform",
|
|
7773
|
+
"required": true,
|
|
7774
|
+
"hasDynamicHelp": false,
|
|
7775
|
+
"multiple": false,
|
|
7776
|
+
"options": [
|
|
7777
|
+
"android",
|
|
7778
|
+
"ios"
|
|
7779
|
+
],
|
|
7780
|
+
"type": "option"
|
|
7781
|
+
},
|
|
7782
|
+
"profile": {
|
|
7783
|
+
"description": "Name of the submit profile from eas.json. Defaults to \"production\" if defined in eas.json.",
|
|
7784
|
+
"name": "profile",
|
|
7785
|
+
"hasDynamicHelp": false,
|
|
7786
|
+
"multiple": false,
|
|
7787
|
+
"type": "option"
|
|
7788
|
+
},
|
|
7578
7789
|
"id": {
|
|
7579
|
-
"description": "
|
|
7790
|
+
"description": "ID of the build to submit",
|
|
7580
7791
|
"name": "id",
|
|
7581
7792
|
"required": true,
|
|
7582
7793
|
"hasDynamicHelp": false,
|
|
7583
7794
|
"multiple": false,
|
|
7584
7795
|
"type": "option"
|
|
7585
|
-
},
|
|
7586
|
-
"non-interactive": {
|
|
7587
|
-
"description": "Run the command in non-interactive mode.",
|
|
7588
|
-
"name": "non-interactive",
|
|
7589
|
-
"noCacheDefault": true,
|
|
7590
|
-
"allowNo": false,
|
|
7591
|
-
"type": "boolean"
|
|
7592
7796
|
}
|
|
7593
7797
|
},
|
|
7594
7798
|
"hasDynamicHelp": false,
|
|
7595
7799
|
"hidden": true,
|
|
7596
7800
|
"hiddenAliases": [],
|
|
7597
|
-
"id": "
|
|
7801
|
+
"id": "submit:internal",
|
|
7598
7802
|
"pluginAlias": "eas-cli",
|
|
7599
7803
|
"pluginName": "eas-cli",
|
|
7600
7804
|
"pluginType": "core",
|
|
@@ -7641,50 +7845,31 @@
|
|
|
7641
7845
|
}
|
|
7642
7846
|
},
|
|
7643
7847
|
"contextDefinition": {
|
|
7644
|
-
"loggedIn": {}
|
|
7848
|
+
"loggedIn": {},
|
|
7849
|
+
"privateProjectConfig": {},
|
|
7850
|
+
"projectDir": {},
|
|
7851
|
+
"analytics": {},
|
|
7852
|
+
"vcsClient": {}
|
|
7645
7853
|
},
|
|
7646
7854
|
"isESM": false,
|
|
7647
7855
|
"relativePath": [
|
|
7648
7856
|
"build",
|
|
7649
7857
|
"commands",
|
|
7650
|
-
"
|
|
7651
|
-
"
|
|
7858
|
+
"submit",
|
|
7859
|
+
"internal.js"
|
|
7652
7860
|
]
|
|
7653
7861
|
},
|
|
7654
|
-
"simulator:
|
|
7862
|
+
"simulator:get": {
|
|
7655
7863
|
"aliases": [],
|
|
7656
7864
|
"args": {},
|
|
7657
|
-
"description": "[EXPERIMENTAL]
|
|
7865
|
+
"description": "[EXPERIMENTAL] get info about a remote simulator session on EAS by its device run session ID",
|
|
7658
7866
|
"flags": {
|
|
7659
|
-
"
|
|
7660
|
-
"description": "Device
|
|
7661
|
-
"name": "
|
|
7867
|
+
"id": {
|
|
7868
|
+
"description": "Device run session ID",
|
|
7869
|
+
"name": "id",
|
|
7662
7870
|
"required": true,
|
|
7663
7871
|
"hasDynamicHelp": false,
|
|
7664
7872
|
"multiple": false,
|
|
7665
|
-
"options": [
|
|
7666
|
-
"android",
|
|
7667
|
-
"ios"
|
|
7668
|
-
],
|
|
7669
|
-
"type": "option"
|
|
7670
|
-
},
|
|
7671
|
-
"type": {
|
|
7672
|
-
"description": "Type of device run session to create",
|
|
7673
|
-
"name": "type",
|
|
7674
|
-
"default": "agent-device",
|
|
7675
|
-
"hasDynamicHelp": false,
|
|
7676
|
-
"multiple": false,
|
|
7677
|
-
"options": [
|
|
7678
|
-
"agent-device",
|
|
7679
|
-
"serve-sim"
|
|
7680
|
-
],
|
|
7681
|
-
"type": "option"
|
|
7682
|
-
},
|
|
7683
|
-
"package-version": {
|
|
7684
|
-
"description": "Version of the package backing the device run session (e.g. \"0.1.3-alpha.3\"). Defaults to \"latest\" when omitted.",
|
|
7685
|
-
"name": "package-version",
|
|
7686
|
-
"hasDynamicHelp": false,
|
|
7687
|
-
"multiple": false,
|
|
7688
7873
|
"type": "option"
|
|
7689
7874
|
},
|
|
7690
7875
|
"non-interactive": {
|
|
@@ -7698,7 +7883,7 @@
|
|
|
7698
7883
|
"hasDynamicHelp": false,
|
|
7699
7884
|
"hidden": true,
|
|
7700
7885
|
"hiddenAliases": [],
|
|
7701
|
-
"id": "simulator:
|
|
7886
|
+
"id": "simulator:get",
|
|
7702
7887
|
"pluginAlias": "eas-cli",
|
|
7703
7888
|
"pluginName": "eas-cli",
|
|
7704
7889
|
"pluginType": "core",
|
|
@@ -7745,7 +7930,6 @@
|
|
|
7745
7930
|
}
|
|
7746
7931
|
},
|
|
7747
7932
|
"contextDefinition": {
|
|
7748
|
-
"projectId": {},
|
|
7749
7933
|
"loggedIn": {}
|
|
7750
7934
|
},
|
|
7751
7935
|
"isESM": false,
|
|
@@ -7753,20 +7937,43 @@
|
|
|
7753
7937
|
"build",
|
|
7754
7938
|
"commands",
|
|
7755
7939
|
"simulator",
|
|
7756
|
-
"
|
|
7940
|
+
"get.js"
|
|
7757
7941
|
]
|
|
7758
7942
|
},
|
|
7759
|
-
"simulator:
|
|
7943
|
+
"simulator:start": {
|
|
7760
7944
|
"aliases": [],
|
|
7761
7945
|
"args": {},
|
|
7762
|
-
"description": "[EXPERIMENTAL]
|
|
7946
|
+
"description": "[EXPERIMENTAL] start a remote simulator session on EAS and get instructions to connect to it",
|
|
7763
7947
|
"flags": {
|
|
7764
|
-
"
|
|
7765
|
-
"description": "Device
|
|
7766
|
-
"name": "
|
|
7948
|
+
"platform": {
|
|
7949
|
+
"description": "Device platform",
|
|
7950
|
+
"name": "platform",
|
|
7767
7951
|
"required": true,
|
|
7768
7952
|
"hasDynamicHelp": false,
|
|
7769
7953
|
"multiple": false,
|
|
7954
|
+
"options": [
|
|
7955
|
+
"android",
|
|
7956
|
+
"ios"
|
|
7957
|
+
],
|
|
7958
|
+
"type": "option"
|
|
7959
|
+
},
|
|
7960
|
+
"type": {
|
|
7961
|
+
"description": "Type of device run session to create",
|
|
7962
|
+
"name": "type",
|
|
7963
|
+
"default": "agent-device",
|
|
7964
|
+
"hasDynamicHelp": false,
|
|
7965
|
+
"multiple": false,
|
|
7966
|
+
"options": [
|
|
7967
|
+
"agent-device",
|
|
7968
|
+
"serve-sim"
|
|
7969
|
+
],
|
|
7970
|
+
"type": "option"
|
|
7971
|
+
},
|
|
7972
|
+
"package-version": {
|
|
7973
|
+
"description": "Version of the package backing the device run session (e.g. \"0.1.3-alpha.3\"). Defaults to \"latest\" when omitted.",
|
|
7974
|
+
"name": "package-version",
|
|
7975
|
+
"hasDynamicHelp": false,
|
|
7976
|
+
"multiple": false,
|
|
7770
7977
|
"type": "option"
|
|
7771
7978
|
},
|
|
7772
7979
|
"non-interactive": {
|
|
@@ -7780,7 +7987,7 @@
|
|
|
7780
7987
|
"hasDynamicHelp": false,
|
|
7781
7988
|
"hidden": true,
|
|
7782
7989
|
"hiddenAliases": [],
|
|
7783
|
-
"id": "simulator:
|
|
7990
|
+
"id": "simulator:start",
|
|
7784
7991
|
"pluginAlias": "eas-cli",
|
|
7785
7992
|
"pluginName": "eas-cli",
|
|
7786
7993
|
"pluginType": "core",
|
|
@@ -7827,6 +8034,7 @@
|
|
|
7827
8034
|
}
|
|
7828
8035
|
},
|
|
7829
8036
|
"contextDefinition": {
|
|
8037
|
+
"projectId": {},
|
|
7830
8038
|
"loggedIn": {}
|
|
7831
8039
|
},
|
|
7832
8040
|
"isESM": false,
|
|
@@ -7834,44 +8042,34 @@
|
|
|
7834
8042
|
"build",
|
|
7835
8043
|
"commands",
|
|
7836
8044
|
"simulator",
|
|
7837
|
-
"
|
|
8045
|
+
"start.js"
|
|
7838
8046
|
]
|
|
7839
8047
|
},
|
|
7840
|
-
"
|
|
8048
|
+
"simulator:stop": {
|
|
7841
8049
|
"aliases": [],
|
|
7842
8050
|
"args": {},
|
|
8051
|
+
"description": "[EXPERIMENTAL] stop a remote simulator session on EAS by its device run session ID",
|
|
7843
8052
|
"flags": {
|
|
7844
|
-
"platform": {
|
|
7845
|
-
"name": "platform",
|
|
7846
|
-
"required": true,
|
|
7847
|
-
"hasDynamicHelp": false,
|
|
7848
|
-
"multiple": false,
|
|
7849
|
-
"options": [
|
|
7850
|
-
"android",
|
|
7851
|
-
"ios"
|
|
7852
|
-
],
|
|
7853
|
-
"type": "option"
|
|
7854
|
-
},
|
|
7855
|
-
"profile": {
|
|
7856
|
-
"description": "Name of the submit profile from eas.json. Defaults to \"production\" if defined in eas.json.",
|
|
7857
|
-
"name": "profile",
|
|
7858
|
-
"hasDynamicHelp": false,
|
|
7859
|
-
"multiple": false,
|
|
7860
|
-
"type": "option"
|
|
7861
|
-
},
|
|
7862
8053
|
"id": {
|
|
7863
|
-
"description": "
|
|
8054
|
+
"description": "Device run session ID",
|
|
7864
8055
|
"name": "id",
|
|
7865
8056
|
"required": true,
|
|
7866
8057
|
"hasDynamicHelp": false,
|
|
7867
8058
|
"multiple": false,
|
|
7868
8059
|
"type": "option"
|
|
8060
|
+
},
|
|
8061
|
+
"non-interactive": {
|
|
8062
|
+
"description": "Run the command in non-interactive mode.",
|
|
8063
|
+
"name": "non-interactive",
|
|
8064
|
+
"noCacheDefault": true,
|
|
8065
|
+
"allowNo": false,
|
|
8066
|
+
"type": "boolean"
|
|
7869
8067
|
}
|
|
7870
8068
|
},
|
|
7871
8069
|
"hasDynamicHelp": false,
|
|
7872
8070
|
"hidden": true,
|
|
7873
8071
|
"hiddenAliases": [],
|
|
7874
|
-
"id": "
|
|
8072
|
+
"id": "simulator:stop",
|
|
7875
8073
|
"pluginAlias": "eas-cli",
|
|
7876
8074
|
"pluginName": "eas-cli",
|
|
7877
8075
|
"pluginType": "core",
|
|
@@ -7918,18 +8116,14 @@
|
|
|
7918
8116
|
}
|
|
7919
8117
|
},
|
|
7920
8118
|
"contextDefinition": {
|
|
7921
|
-
"loggedIn": {}
|
|
7922
|
-
"privateProjectConfig": {},
|
|
7923
|
-
"projectDir": {},
|
|
7924
|
-
"analytics": {},
|
|
7925
|
-
"vcsClient": {}
|
|
8119
|
+
"loggedIn": {}
|
|
7926
8120
|
},
|
|
7927
8121
|
"isESM": false,
|
|
7928
8122
|
"relativePath": [
|
|
7929
8123
|
"build",
|
|
7930
8124
|
"commands",
|
|
7931
|
-
"
|
|
7932
|
-
"
|
|
8125
|
+
"simulator",
|
|
8126
|
+
"stop.js"
|
|
7933
8127
|
]
|
|
7934
8128
|
},
|
|
7935
8129
|
"update:configure": {
|
|
@@ -11820,5 +12014,5 @@
|
|
|
11820
12014
|
]
|
|
11821
12015
|
}
|
|
11822
12016
|
},
|
|
11823
|
-
"version": "18.
|
|
12017
|
+
"version": "18.13.1"
|
|
11824
12018
|
}
|