From 6f5371a8a8e3bdcb028a4f3fcc6ed300adaeac9a Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Thu, 19 Dec 2024 03:02:33 +0000 Subject: [PATCH 1/5] Update product name --- packages/eas-cli/src/commands/worker/deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eas-cli/src/commands/worker/deploy.ts b/packages/eas-cli/src/commands/worker/deploy.ts index 5c487b83d8..689744e85d 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, From 231d6e9c5a8b765e3b21cbc8d2dda91406d425e0 Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Thu, 19 Dec 2024 03:03:31 +0000 Subject: [PATCH 2/5] Highlight `Project export` text --- packages/eas-cli/src/commands/worker/deploy.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/eas-cli/src/commands/worker/deploy.ts b/packages/eas-cli/src/commands/worker/deploy.ts index 689744e85d..61e819099e 100644 --- a/packages/eas-cli/src/commands/worker/deploy.ts +++ b/packages/eas-cli/src/commands/worker/deploy.ts @@ -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}}`); } From 49d099772a3b90f889beb3de7bc1c16d2cd7795a Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Thu, 19 Dec 2024 03:04:07 +0000 Subject: [PATCH 3/5] Update export copy --- packages/eas-cli/src/commands/worker/deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eas-cli/src/commands/worker/deploy.ts b/packages/eas-cli/src/commands/worker/deploy.ts index 61e819099e..2f905845f6 100644 --- a/packages/eas-cli/src/commands/worker/deploy.ts +++ b/packages/eas-cli/src/commands/worker/deploy.ts @@ -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"` ); } From 9ca95756d151ccd581f024f9cab1e5adb62f1f4b Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Thu, 19 Dec 2024 03:05:35 +0000 Subject: [PATCH 4/5] Update product name for alias --- packages/eas-cli/src/commands/worker/alias.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From a093059c22bcbebca442b838053e76c68b4135f4 Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Thu, 19 Dec 2024 03:06:26 +0000 Subject: [PATCH 5/5] Add changelog entry --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) 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