diff --git a/CHANGELOG.md b/CHANGELOG.md index dddf7c0b4d..cf409eb064 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,8 @@ This is the log of notable changes to EAS CLI and related packages. ### ๐Ÿงน Chores +- Update log output for `worker` deploy and alias commands. ([#2780](https://github.com/expo/eas-cli/pull/2780) by [@kitten](https://github.com/kitten)) + ## [14.2.0](https://github.com/expo/eas-cli/releases/tag/v14.2.0) - 2024-12-13 ### ๐ŸŽ‰ New features diff --git a/packages/eas-cli/src/commands/worker/alias.ts b/packages/eas-cli/src/commands/worker/alias.ts index d97a47d184..f19dddc775 100644 --- a/packages/eas-cli/src/commands/worker/alias.ts +++ b/packages/eas-cli/src/commands/worker/alias.ts @@ -73,7 +73,7 @@ export default class WorkerAlias extends EasCommand { enableJsonOutput(); } - Log.warn('EAS Worker Deployments are in beta and subject to breaking changes.'); + Log.warn('EAS Hosting is still in beta and subject to changes.'); const { getDynamicPrivateProjectConfigAsync, diff --git a/packages/eas-cli/src/commands/worker/deploy.ts b/packages/eas-cli/src/commands/worker/deploy.ts index 5c487b83d8..2f905845f6 100644 --- a/packages/eas-cli/src/commands/worker/deploy.ts +++ b/packages/eas-cli/src/commands/worker/deploy.ts @@ -114,7 +114,7 @@ export default class WorkerDeploy extends EasCommand { enableJsonOutput(); } - Log.warn('EAS Worker Deployments are in beta and subject to breaking changes.'); + Log.warn('EAS Hosting is still in beta and subject to changes.'); const { getDynamicPrivateProjectConfigAsync, @@ -426,7 +426,7 @@ async function resolveExportedProjectAsync( if (!exportDirStat?.isDirectory()) { throw new Error( - `No "${flags.exportDir}/" folder found. Prepare your project for deployment with "npx expo export --platform web"` + `No "${flags.exportDir}/" folder found. Export your app with "npx expo export --platform web"` ); } @@ -451,7 +451,8 @@ function logExportedProjectInfo( // Only show the timestamp for exports older than 1 minute if (project.modifiedAt && Date.now() - project.modifiedAt.getTime() > 60_000) { modifiedAgo = ` - exported ${formatTimeAgo(project.modifiedAt)}`; + Log.warn(`> Project export: ${project.type}${modifiedAgo}}`); + } else { + Log.log(chalk`{dim > Project export: ${project.type}}`); } - - Log.log(chalk`{dim > Project export: ${project.type}${modifiedAgo}}`); }