eas-cli 0.39.0 → 0.42.3

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.
Files changed (117) hide show
  1. package/README.md +457 -104
  2. package/bin/run +3 -4
  3. package/build/api.d.ts +1 -0
  4. package/build/api.js +13 -1
  5. package/build/build/build.js +3 -3
  6. package/build/build/configure.js +3 -3
  7. package/build/build/context.d.ts +2 -1
  8. package/build/build/createContext.d.ts +3 -2
  9. package/build/build/createContext.js +3 -3
  10. package/build/build/local.d.ts +9 -1
  11. package/build/build/local.js +35 -5
  12. package/build/build/runBuildAndSubmit.d.ts +15 -0
  13. package/build/build/runBuildAndSubmit.js +173 -0
  14. package/build/build/utils/devClient.js +3 -3
  15. package/build/commandUtils/EasCommand.d.ts +2 -1
  16. package/build/commandUtils/EasCommand.js +7 -4
  17. package/build/commands/account/login.d.ts +1 -0
  18. package/build/commands/account/login.js +1 -0
  19. package/build/commands/account/logout.d.ts +1 -0
  20. package/build/commands/account/logout.js +1 -0
  21. package/build/commands/account/view.d.ts +1 -0
  22. package/build/commands/account/view.js +1 -0
  23. package/build/commands/analytics.js +1 -1
  24. package/build/commands/branch/create.d.ts +1 -2
  25. package/build/commands/branch/create.js +3 -4
  26. package/build/commands/branch/delete.d.ts +1 -2
  27. package/build/commands/branch/delete.js +4 -5
  28. package/build/commands/branch/list.d.ts +1 -2
  29. package/build/commands/branch/list.js +4 -5
  30. package/build/commands/branch/publish.d.ts +1 -18
  31. package/build/commands/branch/publish.js +2 -354
  32. package/build/commands/branch/rename.d.ts +3 -5
  33. package/build/commands/branch/rename.js +5 -6
  34. package/build/commands/branch/view.d.ts +1 -2
  35. package/build/commands/branch/view.js +3 -4
  36. package/build/commands/build/cancel.js +1 -1
  37. package/build/commands/build/configure.d.ts +1 -2
  38. package/build/commands/build/configure.js +3 -3
  39. package/build/commands/build/index.d.ts +11 -17
  40. package/build/commands/build/index.js +28 -178
  41. package/build/commands/build/inspect.d.ts +21 -0
  42. package/build/commands/build/inspect.js +129 -0
  43. package/build/commands/build/list.d.ts +13 -14
  44. package/build/commands/build/list.js +15 -15
  45. package/build/commands/build/view.d.ts +1 -1
  46. package/build/commands/build/view.js +3 -3
  47. package/build/commands/channel/create.d.ts +1 -2
  48. package/build/commands/channel/create.js +3 -4
  49. package/build/commands/channel/edit.d.ts +2 -4
  50. package/build/commands/channel/edit.js +4 -5
  51. package/build/commands/channel/list.d.ts +1 -2
  52. package/build/commands/channel/list.js +3 -4
  53. package/build/commands/channel/rollout.d.ts +4 -5
  54. package/build/commands/channel/rollout.js +6 -7
  55. package/build/commands/channel/view.d.ts +1 -2
  56. package/build/commands/channel/view.js +3 -4
  57. package/build/commands/config.d.ts +2 -3
  58. package/build/commands/config.js +4 -4
  59. package/build/commands/credentials.js +1 -7
  60. package/build/commands/device/list.d.ts +1 -2
  61. package/build/commands/device/list.js +3 -3
  62. package/build/commands/device/view.js +1 -1
  63. package/build/commands/diagnostics.js +1 -0
  64. package/build/commands/secret/create.d.ts +4 -5
  65. package/build/commands/secret/create.js +6 -6
  66. package/build/commands/secret/delete.d.ts +1 -2
  67. package/build/commands/secret/delete.js +3 -3
  68. package/build/commands/submit.d.ts +9 -10
  69. package/build/commands/submit.js +14 -15
  70. package/build/commands/update/configure.d.ts +0 -2
  71. package/build/commands/update/configure.js +14 -14
  72. package/build/commands/update/delete.d.ts +1 -2
  73. package/build/commands/update/delete.js +3 -4
  74. package/build/commands/update/index.d.ts +18 -0
  75. package/build/commands/update/index.js +392 -0
  76. package/build/commands/update/view.d.ts +1 -2
  77. package/build/commands/update/view.js +3 -4
  78. package/build/commands/webhook/create.d.ts +3 -4
  79. package/build/commands/webhook/create.js +5 -5
  80. package/build/commands/webhook/delete.js +1 -1
  81. package/build/commands/webhook/list.d.ts +1 -2
  82. package/build/commands/webhook/list.js +3 -3
  83. package/build/commands/webhook/update.d.ts +4 -5
  84. package/build/commands/webhook/update.js +6 -6
  85. package/build/commands/webhook/view.js +1 -1
  86. package/build/credentials/context.d.ts +5 -0
  87. package/build/credentials/context.js +12 -7
  88. package/build/credentials/manager/ManageAndroid.d.ts +3 -3
  89. package/build/credentials/manager/ManageAndroid.js +21 -13
  90. package/build/credentials/manager/ManageIos.d.ts +3 -3
  91. package/build/credentials/manager/ManageIos.js +23 -13
  92. package/build/credentials/manager/SelectBuildProfileFromEasJson.d.ts +2 -3
  93. package/build/credentials/manager/SelectBuildProfileFromEasJson.js +3 -6
  94. package/build/credentials/manager/SelectPlatform.d.ts +1 -2
  95. package/build/credentials/manager/SelectPlatform.js +3 -3
  96. package/build/graphql/generated.d.ts +31 -11
  97. package/build/graphql/generated.js +6 -1
  98. package/build/graphql/types/Submission.js +1 -0
  99. package/build/index.d.ts +1 -1
  100. package/build/index.js +2 -2
  101. package/build/project/expoSdk.d.ts +3 -0
  102. package/build/project/expoSdk.js +30 -0
  103. package/build/project/metroConfig.js +2 -2
  104. package/build/project/publish.js +1 -3
  105. package/build/prompts.d.ts +3 -3
  106. package/build/submit/context.js +0 -1
  107. package/build/submit/ios/IosSubmitCommand.js +6 -1
  108. package/build/submit/utils/urls.js +1 -1
  109. package/build/update/utils.js +4 -4
  110. package/build/user/actions.js +2 -2
  111. package/build/utils/expoCli.d.ts +3 -1
  112. package/build/utils/expoCli.js +13 -11
  113. package/build/utils/profiles.d.ts +1 -1
  114. package/build/utils/profiles.js +80 -30
  115. package/build/vcs/clients/git.js +2 -2
  116. package/oclif.manifest.json +1 -1
  117. package/package.json +16 -12
@@ -138,7 +138,12 @@ class IosSubmitCommand {
138
138
  }
139
139
  // interpret this to mean the user had some intention of passing in ASC Api key
140
140
  if (ascApiKeyPath || ascApiKeyIssuerId || ascApiKeyId) {
141
- log_1.default.warn(`ascApiKeyPath, ascApiKeyIssuerId and ascApiKeyId must all be defined in eas.json`);
141
+ const message = `ascApiKeyPath, ascApiKeyIssuerId and ascApiKeyId must all be defined in eas.json`;
142
+ // in non-interactive mode, we should fail
143
+ if (this.ctx.nonInteractive) {
144
+ throw new Error(message);
145
+ }
146
+ log_1.default.warn(message);
142
147
  return (0, results_1.result)({
143
148
  sourceType: AscApiKeySource_1.AscApiKeySourceType.prompt,
144
149
  });
@@ -21,6 +21,6 @@ function printSubmissionDetailsUrls(submissions) {
21
21
  exports.printSubmissionDetailsUrls = printSubmissionDetailsUrls;
22
22
  function getSubmissionDetailsUrl(submission) {
23
23
  const { id, app } = submission;
24
- return new url_1.URL(`/accounts/${app.ownerAccount.name}/projects/${app.name}/submissions/${id}`, (0, api_1.getExpoWebsiteBaseUrl)()).toString();
24
+ return new url_1.URL(`/accounts/${app.ownerAccount.name}/projects/${app.slug}/submissions/${id}`, (0, api_1.getExpoWebsiteBaseUrl)()).toString();
25
25
  }
26
26
  exports.getSubmissionDetailsUrl = getSubmissionDetailsUrl;
@@ -6,10 +6,10 @@ const timeago_js_1 = require("@expo/timeago.js");
6
6
  const User_1 = require("../user/User");
7
7
  const groupBy_1 = (0, tslib_1.__importDefault)(require("../utils/expodash/groupBy"));
8
8
  exports.UPDATE_COLUMNS = [
9
- 'update description',
10
- 'update runtime version',
11
- 'update group ID',
12
- 'platforms',
9
+ 'Update message',
10
+ 'Update runtime version',
11
+ 'Update group ID',
12
+ 'Update platforms',
13
13
  ];
14
14
  function getPlatformsForGroup({ group, updates, }) {
15
15
  const groupedUpdates = (0, groupBy_1.default)(updates, update => update.group);
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ensureActorHasUsername = exports.ensureLoggedInAsync = exports.showLoginPromptAsync = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const errors_1 = require("@oclif/errors");
5
+ const core_1 = require("@oclif/core");
6
6
  const chalk_1 = (0, tslib_1.__importDefault)(require("chalk"));
7
7
  const nullthrows_1 = (0, tslib_1.__importDefault)(require("nullthrows"));
8
8
  const ApiV2Error_1 = (0, tslib_1.__importDefault)(require("../ApiV2Error"));
@@ -12,7 +12,7 @@ const User_1 = require("./User");
12
12
  const otp_1 = require("./otp");
13
13
  async function showLoginPromptAsync({ nonInteractive = false, printNewLine = false, } = {}) {
14
14
  if (nonInteractive) {
15
- (0, errors_1.error)(`Either log in with ${chalk_1.default.bold('eas login')} or set the ${chalk_1.default.bold('EXPO_TOKEN')} environment variable if you're using EAS CLI on CI (${(0, log_1.learnMore)('https://docs.expo.dev/accounts/programmatic-access/', { dim: false })})`);
15
+ core_1.Errors.error(`Either log in with ${chalk_1.default.bold('eas login')} or set the ${chalk_1.default.bold('EXPO_TOKEN')} environment variable if you're using EAS CLI on CI (${(0, log_1.learnMore)('https://docs.expo.dev/accounts/programmatic-access/', { dim: false })})`);
16
16
  }
17
17
  if (printNewLine) {
18
18
  log_1.default.newLine();
@@ -1 +1,3 @@
1
- export declare function expoCommandAsync(projectDir: string, args: string[]): Promise<void>;
1
+ export declare function expoCommandAsync(projectDir: string, args: string[], { silent }?: {
2
+ silent?: boolean;
3
+ }): Promise<void>;
@@ -6,7 +6,7 @@ const spawn_async_1 = (0, tslib_1.__importDefault)(require("@expo/spawn-async"))
6
6
  const chalk_1 = (0, tslib_1.__importDefault)(require("chalk"));
7
7
  const resolve_from_1 = (0, tslib_1.__importDefault)(require("resolve-from"));
8
8
  const log_1 = (0, tslib_1.__importDefault)(require("../log"));
9
- async function expoCommandAsync(projectDir, args) {
9
+ async function expoCommandAsync(projectDir, args, { silent = false } = {}) {
10
10
  const expoCliPath = (0, resolve_from_1.default)(projectDir, 'expo/bin/cli.js');
11
11
  const spawnPromise = (0, spawn_async_1.default)(expoCliPath, args, {
12
12
  stdio: ['inherit', 'pipe', 'pipe'], // inherit stdin so user can install a missing expo-cli from inside this command
@@ -15,16 +15,18 @@ async function expoCommandAsync(projectDir, args) {
15
15
  if (!(stdout && stderr)) {
16
16
  throw new Error('Failed to spawn expo-cli');
17
17
  }
18
- stdout.on('data', data => {
19
- for (const line of data.toString().trim().split('\n')) {
20
- log_1.default.log(`${chalk_1.default.gray('[expo-cli]')} ${line}`);
21
- }
22
- });
23
- stderr.on('data', data => {
24
- for (const line of data.toString().trim().split('\n')) {
25
- log_1.default.warn(`${chalk_1.default.gray('[expo-cli]')} ${line}`);
26
- }
27
- });
18
+ if (!silent) {
19
+ stdout.on('data', data => {
20
+ for (const line of data.toString().trim().split('\n')) {
21
+ log_1.default.log(`${chalk_1.default.gray('[expo-cli]')} ${line}`);
22
+ }
23
+ });
24
+ stderr.on('data', data => {
25
+ for (const line of data.toString().trim().split('\n')) {
26
+ log_1.default.warn(`${chalk_1.default.gray('[expo-cli]')} ${line}`);
27
+ }
28
+ });
29
+ }
28
30
  await spawnPromise;
29
31
  }
30
32
  exports.expoCommandAsync = expoCommandAsync;
@@ -6,7 +6,7 @@ export declare type ProfileData<T extends ProfileType> = {
6
6
  platform: Platform;
7
7
  profileName: string;
8
8
  };
9
- export declare function getProfilesAsync<T extends ProfileType>({ projectDir, platforms, profileName: profileNameArg, type, }: {
9
+ export declare function getProfilesAsync<T extends ProfileType>({ projectDir, platforms, profileName, type, }: {
10
10
  projectDir: string;
11
11
  platforms: Platform[];
12
12
  profileName?: string;
@@ -3,44 +3,85 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getProfilesAsync = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const eas_json_1 = require("@expo/eas-json");
6
+ const chalk_1 = (0, tslib_1.__importDefault)(require("chalk"));
6
7
  const log_1 = (0, tslib_1.__importDefault)(require("../log"));
7
- async function getProfilesAsync({ projectDir, platforms, profileName: profileNameArg, type, }) {
8
+ const prompts_1 = require("../prompts");
9
+ async function getProfilesAsync({ projectDir, platforms, profileName, type, }) {
8
10
  const results = platforms.map(async function (platform) {
9
- let profile;
10
- let profileName = profileNameArg;
11
- if (!profileName) {
12
- try {
13
- profileName = 'production';
14
- profile = await readProfileAsync({ projectDir, platform, type, profileName });
11
+ if (profileName) {
12
+ const profile = await readProfileAsync({ projectDir, platform, type, profileName });
13
+ return {
14
+ profile,
15
+ profileName,
16
+ platform,
17
+ };
18
+ }
19
+ try {
20
+ const profile = await readProfileAsync({
21
+ projectDir,
22
+ platform,
23
+ type,
24
+ profileName: 'production',
25
+ });
26
+ return {
27
+ profile,
28
+ profileName: 'production',
29
+ platform,
30
+ };
31
+ }
32
+ catch (error) {
33
+ if (!(error instanceof eas_json_1.errors.MissingProfileError)) {
34
+ throw error;
15
35
  }
16
- catch (errorOuter) {
17
- if (!(errorOuter instanceof eas_json_1.errors.MissingProfileError)) {
18
- throw errorOuter;
19
- }
20
- try {
21
- profileName = 'release';
22
- profile = await readProfileAsync({ projectDir, platform, type, profileName });
23
- log_1.default.warn('The default profile changed from "release" to "production". We detected that you still have a "release" build profile, so we are using it. Update eas.json to have a profile named "production" under the `build` key, or specify which profile you\'d like to use with the --profile flag. This fallback behavior will be removed in the next major version of EAS CLI.');
24
- }
25
- catch (errorInner) {
26
- if (!(errorInner instanceof eas_json_1.errors.MissingProfileError)) {
27
- throw errorInner;
28
- }
29
- const defaultProfile = getDefaultProfile({ platform, type });
30
- if (!defaultProfile) {
31
- throw errorInner;
32
- }
33
- profileName = '__default__';
34
- profile = defaultProfile;
35
- }
36
+ }
37
+ try {
38
+ const profile = await readProfileAsync({
39
+ projectDir,
40
+ platform,
41
+ type,
42
+ profileName: 'release',
43
+ });
44
+ log_1.default.warn(`The default profile changed from ${chalk_1.default.bold('release')} to ${chalk_1.default.bold('production')}. We detected that you still have a ${chalk_1.default.bold('release')} build profile, so we are using it. Update eas.json to have a profile named ${chalk_1.default.bold('production')} under the ${chalk_1.default.bold('build')} key, or specify which profile you'd like to use with the ${chalk_1.default.bold('--profile')} flag. This fallback behavior will be removed in the next major version of EAS CLI.`);
45
+ return {
46
+ profile,
47
+ profileName: 'release',
48
+ platform,
49
+ };
50
+ }
51
+ catch (error) {
52
+ if (!(error instanceof eas_json_1.errors.MissingProfileError)) {
53
+ throw error;
36
54
  }
37
55
  }
38
- else {
39
- profile = await readProfileAsync({ projectDir, platform, type, profileName });
56
+ const defaultProfile = getDefaultProfile({ platform, type });
57
+ if (defaultProfile) {
58
+ return {
59
+ profile: defaultProfile,
60
+ profileName: '__default__',
61
+ platform,
62
+ };
63
+ }
64
+ const profileNames = await readProfileNamesAsync({
65
+ projectDir,
66
+ type,
67
+ });
68
+ if (profileNames.length === 0) {
69
+ throw new eas_json_1.errors.MissingProfileError(`Missing profile in eas.json: ${profileName !== null && profileName !== void 0 ? profileName : 'production'}`);
40
70
  }
71
+ const choices = profileNames.map(profileName => ({
72
+ title: profileName,
73
+ value: profileName,
74
+ }));
75
+ const chosenProfileName = await (0, prompts_1.selectAsync)('The "production" profile is missing in eas.json. Pick another profile:', choices);
76
+ const profile = await readProfileAsync({
77
+ projectDir,
78
+ platform,
79
+ type,
80
+ profileName: chosenProfileName,
81
+ });
41
82
  return {
42
83
  profile,
43
- profileName,
84
+ profileName: chosenProfileName,
44
85
  platform,
45
86
  };
46
87
  });
@@ -64,3 +105,12 @@ function getDefaultProfile({ platform, type, }) {
64
105
  return (0, eas_json_1.getDefaultSubmitProfile)(platform);
65
106
  }
66
107
  }
108
+ async function readProfileNamesAsync({ projectDir, type, }) {
109
+ const easJsonReader = new eas_json_1.EasJsonReader(projectDir);
110
+ if (type === 'build') {
111
+ return await easJsonReader.getBuildProfileNamesAsync();
112
+ }
113
+ else {
114
+ return await easJsonReader.getSubmitProfileNamesAsync();
115
+ }
116
+ }
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isGitCaseSensitiveAsync = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const spawn_async_1 = (0, tslib_1.__importDefault)(require("@expo/spawn-async"));
6
- const errors_1 = require("@oclif/errors");
6
+ const core_1 = require("@oclif/core");
7
7
  const chalk_1 = (0, tslib_1.__importDefault)(require("chalk"));
8
8
  const log_1 = (0, tslib_1.__importStar)(require("../../log"));
9
9
  const ora_1 = require("../../ora");
@@ -15,7 +15,7 @@ class GitClient extends vcs_1.Client {
15
15
  if (!(await (0, git_1.isGitInstalledAsync)())) {
16
16
  log_1.default.error(`${chalk_1.default.bold('git')} command not found. Install it before proceeding or set ${chalk_1.default.bold('EAS_NO_VCS=1')} to use EAS CLI without Git (or any other version control system).`);
17
17
  log_1.default.error((0, log_1.learnMore)('https://expo.fyi/eas-vcs-workflow'));
18
- (0, errors_1.exit)(1);
18
+ core_1.Errors.exit(1);
19
19
  }
20
20
  if (await (0, git_1.doesGitRepoExistAsync)()) {
21
21
  return;
@@ -1 +1 @@
1
- {"version":"0.39.0","commands":{"analytics":{"id":"analytics","description":"view or change analytics settings","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"STATUS","options":["on","off"]}]},"config":{"id":"config","description":"show the eas.json config","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios)","options":["android","ios"]},"profile":{"name":"profile","type":"option"}},"args":[]},"credentials":{"id":"credentials","description":"manage your credentials","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"diagnostics":{"id":"diagnostics","description":"log environment info to the console","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"submit":{"id":"submit","description":"submit build archive to App Store Connect\nSee how to configure submits with eas.json: https://docs.expo.dev/submit/eas-json/","pluginName":"eas-cli","pluginType":"core","aliases":["build:submit"],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","options":["android","ios","all"]},"profile":{"name":"profile","type":"option","description":"Name of the submit profile from eas.json. Defaults to \"production\" if defined in eas.json."},"latest":{"name":"latest","type":"boolean","description":"Submit the latest build for specified platform","allowNo":false},"id":{"name":"id","type":"option","description":"ID of the build to submit"},"path":{"name":"path","type":"option","description":"Path to the .apk/.aab/.ipa file"},"url":{"name":"url","type":"option","description":"App archive url"},"verbose":{"name":"verbose","type":"boolean","description":"Always print logs from Submission Service","allowNo":false},"wait":{"name":"wait","type":"boolean","description":"Wait for submission to complete","allowNo":true},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false}},"args":[]},"account:login":{"id":"account:login","description":"log in with your Expo account","pluginName":"eas-cli","pluginType":"core","aliases":["login"],"flags":{},"args":[]},"account:logout":{"id":"account:logout","description":"log out","pluginName":"eas-cli","pluginType":"core","aliases":["logout"],"flags":{},"args":[]},"account:view":{"id":"account:view","description":"show the username you are logged in as","pluginName":"eas-cli","pluginType":"core","aliases":["whoami"],"flags":{},"args":[]},"branch:create":{"id":"branch:create","description":"Create a branch on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the new branch ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to create","required":false}]},"branch:delete":{"id":"branch:delete","description":"Republish an update group","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return JSON with the edited branch's ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to delete","required":false}]},"branch:list":{"id":"branch:list","description":"List all branches on this project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return output as JSON","allowNo":false}},"args":[]},"branch:publish":{"id":"branch:publish","description":"Publish an update group to a branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"message":{"name":"message","type":"option","description":"short message describing the updates.","required":false},"republish":{"name":"republish","type":"boolean","description":"republish an update group","allowNo":false},"group":{"name":"group","type":"option","description":"update group to republish"},"input-dir":{"name":"input-dir","type":"option","description":"location of the bundle","required":false,"default":"dist"},"skip-bundler":{"name":"skip-bundler","type":"boolean","description":"skip running Expo CLI to bundle the app before publishing","allowNo":false},"platform":{"name":"platform","type":"option","char":"p","description":"only publish to a single platform","required":false,"helpValue":"(android|ios|all)","options":["android","ios","all"],"default":"all"},"json":{"name":"json","type":"boolean","description":"return a json with the new update group.","allowNo":false},"auto":{"name":"auto","type":"boolean","description":"use the current git branch and commit message for the EAS branch and update message","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to publish on"}]},"branch:rename":{"id":"branch:rename","description":"Rename a branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"from":{"name":"from","type":"option","description":"current name of the branch.","required":false},"to":{"name":"to","type":"option","description":"new name of the branch.","required":false},"json":{"name":"json","type":"boolean","description":"return a json with the edited branch's ID and name.","allowNo":false}},"args":[]},"branch:view":{"id":"branch:view","description":"View a branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the branch's ID name and recent update groups.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to view","required":false}]},"build:cancel":{"id":"build:cancel","description":"Cancel a build.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"BUILD_ID"}]},"build:configure":{"id":"build:configure","description":"Configure the project to support EAS Build.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","description":"Platform to configure","helpValue":"(android|ios|all)","options":["android","ios","all"]}},"args":[]},"build":{"id":"build","description":"start a build","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","options":["android","ios","all"]},"skip-credentials-check":{"name":"skip-credentials-check","type":"boolean","hidden":true,"allowNo":false},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"skip-project-configuration":{"name":"skip-project-configuration","type":"boolean","description":"Skip project configuration","allowNo":false},"profile":{"name":"profile","type":"option","description":"Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.","helpValue":"PROFILE_NAME"},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false},"local":{"name":"local","type":"boolean","description":"Run build locally [experimental]","allowNo":false},"wait":{"name":"wait","type":"boolean","description":"Wait for build(s) to complete","allowNo":true},"clear-cache":{"name":"clear-cache","type":"boolean","description":"Clear cache before the build","allowNo":false},"auto-submit":{"name":"auto-submit","type":"boolean","description":"Submit on build complete using the submit profile with the same name as the build profile","allowNo":false},"auto-submit-with-profile":{"name":"auto-submit-with-profile","type":"option","description":"Submit on build complete using the submit profile with provided name","helpValue":"PROFILE_NAME"}},"args":[]},"build:list":{"id":"build:list","description":"list all builds for your project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","helpValue":"(all|android|ios)","options":["all","android","ios"]},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"status":{"name":"status","type":"option","helpValue":"(new|in-queue|in-progress|errored|finished|canceled)","options":["new","in-queue","in-progress","errored","finished","canceled"]},"distribution":{"name":"distribution","type":"option","helpValue":"(store|internal|simulator)","options":["store","internal","simulator"]},"channel":{"name":"channel","type":"option"},"appVersion":{"name":"appVersion","type":"option"},"appBuildVersion":{"name":"appBuildVersion","type":"option"},"sdkVersion":{"name":"sdkVersion","type":"option"},"runtimeVersion":{"name":"runtimeVersion","type":"option"},"appIdentifier":{"name":"appIdentifier","type":"option"},"buildProfile":{"name":"buildProfile","type":"option"},"gitCommitHash":{"name":"gitCommitHash","type":"option"},"limit":{"name":"limit","type":"option"}},"args":[]},"build:view":{"id":"build:view","description":"view a build for your project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false}},"args":[{"name":"BUILD_ID"}]},"channel:create":{"id":"channel:create","description":"Create a channel on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to create","required":false}]},"channel:edit":{"id":"channel:edit","description":"Point a channel at a new branch.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"Name of the branch to point to"},"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to edit","required":false}]},"channel:list":{"id":"channel:list","description":"List all channels on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[]},"channel:rollout":{"id":"channel:rollout","description":"Rollout a new branch out to a channel incrementally.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"branch to rollout","required":false},"percent":{"name":"percent","type":"option","description":"percent of traffic to redirect to the new branch","required":false},"end":{"name":"end","type":"boolean","description":"end the rollout","allowNo":false},"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping","allowNo":false}},"args":[{"name":"channel","description":"rollout that the channel is on","required":true}]},"channel:view":{"id":"channel:view","description":"View a channel on the current project.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to view","required":false}]},"device:create":{"id":"device:create","description":"register new Apple Devices to use for internal distribution","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"device:list":{"id":"device:list","description":"list all registered devices for your account","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"apple-team-id":{"name":"apple-team-id","type":"option"}},"args":[]},"device:view":{"id":"device:view","description":"view a device for your project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"UDID"}]},"project:info":{"id":"project:info","description":"information about the current project","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"project:init":{"id":"project:init","description":"create or link an EAS project","pluginName":"eas-cli","pluginType":"core","aliases":["init"],"flags":{},"args":[]},"secret:create":{"id":"secret:create","description":"Create an environment secret on the current project or owner account.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"scope":{"name":"scope","type":"option","description":"Scope for the secret","helpValue":"(account|project)","options":["account","project"],"default":"project"},"name":{"name":"name","type":"option","description":"Name of the secret"},"value":{"name":"value","type":"option","description":"Value of the secret"},"force":{"name":"force","type":"boolean","description":"Delete and recreate existing secrets","allowNo":false}},"args":[]},"secret:delete":{"id":"secret:delete","description":"Delete an environment secret by ID.\nUnsure where to find the secret's ID? Run eas secret:list","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"ID of the secret to delete"}},"args":[]},"secret:list":{"id":"secret:list","description":"Lists environment secrets available for your current app","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"update:configure":{"id":"update:configure","description":"Configure the project to support EAS Update.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"update:delete":{"id":"update:delete","description":"Delete all the updates in an update Group.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the group ID of the deleted updates.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group to delete.","required":true}]},"update:view":{"id":"update:view","description":"Update group details.","pluginName":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the updates belonging to the group.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group.","required":true}]},"webhook:create":{"id":"webhook:create","description":"Create a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL"},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header."}},"args":[]},"webhook:delete":{"id":"webhook:delete","description":"Delete a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to delete","required":false}]},"webhook:list":{"id":"webhook:list","description":"List webhooks on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","options":["BUILD","SUBMIT"]}},"args":[]},"webhook:update":{"id":"webhook:update","description":"Create a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"Webhook ID","required":true},"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL"},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header."}},"args":[]},"webhook:view":{"id":"webhook:view","description":"View a webhook on the current project.","pluginName":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to view","required":true}]}}}
1
+ {"version":"0.42.3","commands":{"analytics":{"id":"analytics","description":"view or change analytics settings","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"STATUS","options":["on","off"]}]},"config":{"id":"config","description":"show the eas.json config","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios)","multiple":false,"options":["android","ios"]},"profile":{"name":"profile","type":"option","multiple":false}},"args":[]},"credentials":{"id":"credentials","description":"manage your credentials","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"diagnostics":{"id":"diagnostics","description":"log environment info to the console","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"submit":{"id":"submit","description":"Submit build archive to App Store Connect\nSee how to configure submits with eas.json: https://docs.expo.dev/submit/eas-json/","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["build:submit"],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"]},"profile":{"name":"profile","type":"option","description":"Name of the submit profile from eas.json. Defaults to \"production\" if defined in eas.json.","multiple":false},"latest":{"name":"latest","type":"boolean","description":"Submit the latest build for specified platform","allowNo":false,"exclusive":["id","path","url"]},"id":{"name":"id","type":"option","description":"ID of the build to submit","multiple":false,"exclusive":["latest, path, url"]},"path":{"name":"path","type":"option","description":"Path to the .apk/.aab/.ipa file","multiple":false,"exclusive":["latest","id","url"]},"url":{"name":"url","type":"option","description":"App archive url","multiple":false,"exclusive":["latest","id","path"]},"verbose":{"name":"verbose","type":"boolean","description":"Always print logs from Submission Service","allowNo":false},"wait":{"name":"wait","type":"boolean","description":"Wait for submission to complete","allowNo":true},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false}},"args":[]},"account:login":{"id":"account:login","description":"log in with your Expo account","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["login"],"flags":{},"args":[]},"account:logout":{"id":"account:logout","description":"log out","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["logout"],"flags":{},"args":[]},"account:view":{"id":"account:view","description":"show the username you are logged in as","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["whoami"],"flags":{},"args":[]},"branch:create":{"id":"branch:create","description":"Create a branch on the current project.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the new branch ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to create","required":false}]},"branch:delete":{"id":"branch:delete","description":"Delete a branch on the current project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return JSON with the edited branch's ID and name.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to delete","required":false}]},"branch:list":{"id":"branch:list","description":"List all branches on this project.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return output as JSON","allowNo":false}},"args":[]},"branch:publish":{"id":"branch:publish","description":"deprecated, use \"eas update\"","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[]},"branch:rename":{"id":"branch:rename","description":"Rename a branch.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"from":{"name":"from","type":"option","description":"current name of the branch.","required":false,"multiple":false},"to":{"name":"to","type":"option","description":"new name of the branch.","required":false,"multiple":false},"json":{"name":"json","type":"boolean","description":"return a json with the edited branch's ID and name.","allowNo":false}},"args":[]},"branch:view":{"id":"branch:view","description":"View a branch.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"return a json with the branch's ID name and recent update groups.","allowNo":false}},"args":[{"name":"name","description":"Name of the branch to view","required":false}]},"build:cancel":{"id":"build:cancel","description":"Cancel a build.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"BUILD_ID"}]},"build:configure":{"id":"build:configure","description":"Configure the project to support EAS Build.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","description":"Platform to configure","helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"]}},"args":[]},"build":{"id":"build","description":"Start a build","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"]},"skip-credentials-check":{"name":"skip-credentials-check","type":"boolean","hidden":true,"allowNo":false},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"skip-project-configuration":{"name":"skip-project-configuration","type":"boolean","description":"Skip project configuration","allowNo":false},"profile":{"name":"profile","type":"option","description":"Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.","helpValue":"PROFILE_NAME","multiple":false},"non-interactive":{"name":"non-interactive","type":"boolean","description":"Run command in non-interactive mode","allowNo":false},"local":{"name":"local","type":"boolean","description":"Run build locally [experimental]","allowNo":false},"wait":{"name":"wait","type":"boolean","description":"Wait for build(s) to complete","allowNo":true},"clear-cache":{"name":"clear-cache","type":"boolean","description":"Clear cache before the build","allowNo":false},"auto-submit":{"name":"auto-submit","type":"boolean","description":"Submit on build complete using the submit profile with the same name as the build profile","allowNo":false,"exclusive":["auto-submit-with-profile"]},"auto-submit-with-profile":{"name":"auto-submit-with-profile","type":"option","description":"Submit on build complete using the submit profile with provided name","helpValue":"PROFILE_NAME","multiple":false,"exclusive":["auto-submit"]}},"args":[]},"build:inspect":{"id":"build:inspect","description":"Inspect the state of the project at specific build stages. Useful for troubleshooting.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","char":"p","required":true,"helpValue":"(android|ios)","multiple":false,"options":["android","ios"]},"profile":{"name":"profile","type":"option","description":"Name of the build profile from eas.json. Defaults to \"production\" if defined in eas.json.","helpValue":"PROFILE_NAME","multiple":false},"stage":{"name":"stage","type":"option","char":"s","description":"Stage of the build you want to inspect.\n archive - builds the project archive that would be uploaded to EAS when building\n pre-build - prepares the project to be built with Gradle/Xcode. Does not run the native build.\n post-build - builds the native project and leaves the output directory for inspection","required":true,"helpValue":"(archive|pre-build|post-build)","multiple":false,"options":["archive","pre-build","post-build"]},"output":{"name":"output","type":"option","description":"Output directory.","required":true,"helpValue":"OUTPUT_DIRECTORY","multiple":false},"force":{"name":"force","type":"boolean","description":"Delete OUTPUT_DIRECTORY if it already exists.","allowNo":false},"verbose":{"name":"verbose","type":"boolean","allowNo":false}},"args":[]},"build:list":{"id":"build:list","description":"list all builds for your project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"platform":{"name":"platform","type":"option","helpValue":"(all|android|ios)","multiple":false,"options":["all","android","ios"]},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"status":{"name":"status","type":"option","helpValue":"(new|in-queue|in-progress|errored|finished|canceled)","multiple":false,"options":["new","in-queue","in-progress","errored","finished","canceled"]},"distribution":{"name":"distribution","type":"option","helpValue":"(store|internal|simulator)","multiple":false,"options":["store","internal","simulator"]},"channel":{"name":"channel","type":"option","multiple":false},"appVersion":{"name":"appVersion","type":"option","multiple":false},"appBuildVersion":{"name":"appBuildVersion","type":"option","multiple":false},"sdkVersion":{"name":"sdkVersion","type":"option","multiple":false},"runtimeVersion":{"name":"runtimeVersion","type":"option","multiple":false},"appIdentifier":{"name":"appIdentifier","type":"option","multiple":false},"buildProfile":{"name":"buildProfile","type":"option","multiple":false},"gitCommitHash":{"name":"gitCommitHash","type":"option","multiple":false},"limit":{"name":"limit","type":"option","multiple":false}},"args":[]},"build:view":{"id":"build:view","description":"view a build for your project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false}},"args":[{"name":"BUILD_ID"}]},"channel:create":{"id":"channel:create","description":"Create a channel on the current project.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to create","required":false}]},"channel:edit":{"id":"channel:edit","description":"Point a channel at a new branch.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"Name of the branch to point to","multiple":false},"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to edit","required":false}]},"channel:list":{"id":"channel:list","description":"List all channels on the current project.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[]},"channel:rollout":{"id":"channel:rollout","description":"Rollout a new branch out to a channel incrementally.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","hidden":true,"aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"branch to rollout","required":false,"multiple":false},"percent":{"name":"percent","type":"option","description":"percent of traffic to redirect to the new branch","required":false,"multiple":false},"end":{"name":"end","type":"boolean","description":"end the rollout","allowNo":false},"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the new channel ID, name and branch mapping","allowNo":false}},"args":[{"name":"channel","description":"rollout that the channel is on","required":true}]},"channel:view":{"id":"channel:view","description":"View a channel on the current project.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"print output as a JSON object with the channel ID, name and branch mapping.","allowNo":false}},"args":[{"name":"name","description":"Name of the channel to view","required":false}]},"device:create":{"id":"device:create","description":"register new Apple Devices to use for internal distribution","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"device:list":{"id":"device:list","description":"list all registered devices for your account","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"apple-team-id":{"name":"apple-team-id","type":"option","multiple":false}},"args":[]},"device:view":{"id":"device:view","description":"view a device for your project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"UDID"}]},"project:info":{"id":"project:info","description":"information about the current project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"project:init":{"id":"project:init","description":"create or link an EAS project","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":["init"],"flags":{},"args":[]},"secret:create":{"id":"secret:create","description":"Create an environment secret on the current project or owner account.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"scope":{"name":"scope","type":"option","description":"Scope for the secret","helpValue":"(account|project)","multiple":false,"options":["account","project"],"default":"project"},"name":{"name":"name","type":"option","description":"Name of the secret","multiple":false},"value":{"name":"value","type":"option","description":"Value of the secret","multiple":false},"force":{"name":"force","type":"boolean","description":"Delete and recreate existing secrets","allowNo":false}},"args":[]},"secret:delete":{"id":"secret:delete","description":"Delete an environment secret by ID.\nUnsure where to find the secret's ID? Run eas secret:list","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"ID of the secret to delete","multiple":false}},"args":[]},"secret:list":{"id":"secret:list","description":"Lists environment secrets available for your current app","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"update:configure":{"id":"update:configure","description":"Configure the project to support EAS Update.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"update:delete":{"id":"update:delete","description":"Delete all the updates in an update Group.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the group ID of the deleted updates.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group to delete.","required":true}]},"update":{"id":"update","description":"Publish an update group.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"branch":{"name":"branch","type":"option","description":"Branch to publish the update group on","required":false,"multiple":false},"message":{"name":"message","type":"option","description":"A short message describing the update","required":false,"multiple":false},"republish":{"name":"republish","type":"boolean","description":"Republish an update group","allowNo":false,"exclusive":["input-dir","skip-bundler"]},"group":{"name":"group","type":"option","description":"Update group to republish","multiple":false,"exclusive":["input-dir","skip-bundler"]},"input-dir":{"name":"input-dir","type":"option","description":"Location of the bundle","required":false,"multiple":false,"default":"dist"},"skip-bundler":{"name":"skip-bundler","type":"boolean","description":"Skip running Expo CLI to bundle the app before publishing","allowNo":false},"platform":{"name":"platform","type":"option","char":"p","required":false,"helpValue":"(android|ios|all)","multiple":false,"options":["android","ios","all"],"default":"all"},"json":{"name":"json","type":"boolean","description":"Enable JSON output, non-JSON messages will be printed to stderr","allowNo":false},"auto":{"name":"auto","type":"boolean","description":"Use the current git branch and commit message for the EAS branch and update message","allowNo":false}},"args":[]},"update:view":{"id":"update:view","description":"Update group details.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"Return a json with the updates belonging to the group.","allowNo":false}},"args":[{"name":"groupId","description":"The ID of an update group.","required":true}]},"webhook:create":{"id":"webhook:create","description":"Create a webhook on the current project.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","multiple":false,"options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL","multiple":false},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header.","multiple":false}},"args":[]},"webhook:delete":{"id":"webhook:delete","description":"Delete a webhook on the current project.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to delete","required":false}]},"webhook:list":{"id":"webhook:list","description":"List webhooks on the current project.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","multiple":false,"options":["BUILD","SUBMIT"]}},"args":[]},"webhook:update":{"id":"webhook:update","description":"Create a webhook on the current project.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{"id":{"name":"id","type":"option","description":"Webhook ID","required":true,"multiple":false},"event":{"name":"event","type":"option","description":"Event type that triggers the webhook","helpValue":"(BUILD|SUBMIT)","multiple":false,"options":["BUILD","SUBMIT"]},"url":{"name":"url","type":"option","description":"Webhook URL","multiple":false},"secret":{"name":"secret","type":"option","description":"Secret used to create a hash signature of the request payload, provided in the 'Expo-Signature' header.","multiple":false}},"args":[]},"webhook:view":{"id":"webhook:view","description":"View a webhook on the current project.","strict":true,"pluginName":"eas-cli","pluginAlias":"eas-cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"ID","description":"ID of the webhook to view","required":true}]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eas-cli",
3
3
  "description": "EAS command line tool",
4
- "version": "0.39.0",
4
+ "version": "0.42.3",
5
5
  "author": "Expo <support@expo.dev>",
6
6
  "bin": {
7
7
  "eas": "./bin/run"
@@ -12,20 +12,17 @@
12
12
  "@expo/config": "6.0.11",
13
13
  "@expo/config-plugins": "4.0.11",
14
14
  "@expo/eas-build-job": "0.2.61",
15
- "@expo/eas-json": "^0.39.0",
15
+ "@expo/eas-json": "0.42.3",
16
16
  "@expo/json-file": "8.2.34",
17
17
  "@expo/pkcs12": "0.0.6",
18
18
  "@expo/plist": "0.0.16",
19
- "@expo/plugin-warn-if-update-available": "1.7.1",
19
+ "@expo/plugin-warn-if-update-available": "2.0.1",
20
20
  "@expo/prebuild-config": "3.0.11",
21
21
  "@expo/results": "1.0.0",
22
22
  "@expo/rudder-sdk-node": "1.1.1",
23
23
  "@expo/spawn-async": "1.5.0",
24
24
  "@expo/timeago.js": "1.0.0",
25
- "@oclif/command": "1.8.3",
26
- "@oclif/config": "1.17.1",
27
- "@oclif/errors": "1.3.5",
28
- "@oclif/plugin-help": "3.2.5",
25
+ "@oclif/core": "1.0.10",
29
26
  "@urql/core": "2.3.1",
30
27
  "@urql/exchange-retry": "0.3.0",
31
28
  "chalk": "4.1.2",
@@ -165,19 +162,26 @@
165
162
  }
166
163
  }
167
164
  }
168
- }
165
+ },
166
+ "additionalHelpFlags": [
167
+ "-h"
168
+ ],
169
+ "additionalVersionFlags": [
170
+ "-v"
171
+ ]
169
172
  },
170
173
  "repository": "expo/eas-cli",
171
174
  "scripts": {
172
175
  "postpack": "rm -f oclif.manifest.json",
173
- "prepack": "rm -rf build && yarn build && yarn oclif-dev manifest && yarn oclif-dev readme && node patch-readme",
176
+ "prepack": "./scripts/prepack.sh",
177
+ "pretarball-ci": "./scripts/pretarball-ci.sh",
174
178
  "build": "tsc --project tsconfig.build.json",
175
179
  "watch": "yarn build --watch --preserveWatchOutput",
176
180
  "typecheck": "tsc",
177
181
  "test": "jest",
178
- "version": "yarn oclif-dev readme && node patch-readme && git add README.md",
182
+ "version": "yarn oclif readme && node scripts/patch-readme && git add README.md",
179
183
  "generate-graphql-code": "graphql-codegen --config graphql-codegen.yml",
180
- "clean": "rm -rf dist build node_modules yarn-error.log"
184
+ "clean": "rm -rf dist build tmp node_modules yarn-error.log"
181
185
  },
182
- "gitHead": "a344c11ba143819d4e3ac0b0ebcea1d69d7de2b5"
186
+ "gitHead": "2c6d92745f8f8fbb8f7e455b567e54390d6be743"
183
187
  }