From ed5073ae90ae7a394f0059b18a1b880365657578 Mon Sep 17 00:00:00 2001 From: Pavel Jacko Date: Tue, 13 Feb 2024 21:50:09 +0100 Subject: [PATCH] update task descriptions --- packages/engine-core/src/index.ts | 2 ++ packages/engine-core/src/tasks/task.rnv.platform.setup.ts | 2 +- packages/engine-core/src/tasks/task.rnv.switch.ts | 4 +++- .../engine-core/src/tasks/task.rnv.workspace.configure.ts | 2 +- packages/engine-core/src/tasks/task.rnv.workspace.update.ts | 3 ++- .../engine-rn-tvos/src/tasks/task.rnv.crypto.installCerts.ts | 2 +- .../src/tasks/task.rnv.crypto.installProfiles.ts | 2 +- .../engine-rn-tvos/src/tasks/task.rnv.crypto.updateProfile.ts | 2 +- .../src/tasks/task.rnv.crypto.updateProfiles.ts | 2 +- packages/engine-rn/src/tasks/task.rnv.crypto.installCerts.ts | 2 +- .../engine-rn/src/tasks/task.rnv.crypto.installProfiles.ts | 2 +- packages/engine-rn/src/tasks/task.rnv.crypto.updateProfile.ts | 2 +- .../engine-rn/src/tasks/task.rnv.crypto.updateProfiles.ts | 2 +- 13 files changed, 17 insertions(+), 12 deletions(-) diff --git a/packages/engine-core/src/index.ts b/packages/engine-core/src/index.ts index e859a3b915..2567767491 100644 --- a/packages/engine-core/src/index.ts +++ b/packages/engine-core/src/index.ts @@ -41,6 +41,7 @@ import taskRnvUnlink from './tasks/task.rnv.unlink'; import taskRnvTelemetryStatus from './tasks/task.rnv.telemetry.status'; import taskRnvTelemetryEnable from './tasks/task.rnv.telemetry.enable'; import taskRnvTelemetryDisable from './tasks/task.rnv.telemetry.disable'; +import taskRnvSwitch from './tasks/task.rnv.switch'; const Engine: RnvEngine = { // initializeRuntimeConfig: () => { @@ -90,6 +91,7 @@ const Engine: RnvEngine = { taskRnvTelemetryStatus, taskRnvTelemetryEnable, taskRnvTelemetryDisable, + taskRnvSwitch, ]), config: { // title: 'Engine Core', diff --git a/packages/engine-core/src/tasks/task.rnv.platform.setup.ts b/packages/engine-core/src/tasks/task.rnv.platform.setup.ts index 217d8f9ea9..732200d2d6 100644 --- a/packages/engine-core/src/tasks/task.rnv.platform.setup.ts +++ b/packages/engine-core/src/tasks/task.rnv.platform.setup.ts @@ -31,7 +31,7 @@ export const taskRnvPlatformSetup: RnvTaskFn = async (c, _parentTask, originTask }; const Task: RnvTask = { - description: '', + description: 'Allows you to change supportedPlatforms for your project', fn: taskRnvPlatformSetup, task: TASK_PLATFORM_SETUP, params: PARAMS.withBase(), diff --git a/packages/engine-core/src/tasks/task.rnv.switch.ts b/packages/engine-core/src/tasks/task.rnv.switch.ts index f7b7ea8a82..d0eef1266b 100644 --- a/packages/engine-core/src/tasks/task.rnv.switch.ts +++ b/packages/engine-core/src/tasks/task.rnv.switch.ts @@ -14,6 +14,8 @@ import { export const taskRnvSwitch: RnvTaskFn = async (c, _parentTask, originTask) => { logTask('taskRnvSwitch'); + c.program.appConfigID = true; + await executeTask(c, TASK_PROJECT_CONFIGURE, TASK_SWITCH, originTask); await copyRuntimeAssets(c); @@ -24,7 +26,7 @@ export const taskRnvSwitch: RnvTaskFn = async (c, _parentTask, originTask) => { }; const Task: RnvTask = { - description: '', + description: 'Switch between different app configs in current project', fn: taskRnvSwitch, task: TASK_SWITCH, params: PARAMS.withBase(), diff --git a/packages/engine-core/src/tasks/task.rnv.workspace.configure.ts b/packages/engine-core/src/tasks/task.rnv.workspace.configure.ts index 6803901c52..68fdf884f1 100644 --- a/packages/engine-core/src/tasks/task.rnv.workspace.configure.ts +++ b/packages/engine-core/src/tasks/task.rnv.workspace.configure.ts @@ -89,7 +89,7 @@ export const taskRnvWorkspaceConfigure: RnvTaskFn = async (c) => { }; const Task: RnvTask = { - description: '', + description: 'Preconfigures your current workspace defined via "workspaceID" prop in renative config file', fn: taskRnvWorkspaceConfigure, task: TASK_WORKSPACE_CONFIGURE, params: PARAMS.withBase(), diff --git a/packages/engine-core/src/tasks/task.rnv.workspace.update.ts b/packages/engine-core/src/tasks/task.rnv.workspace.update.ts index c28828cf21..485fac873d 100644 --- a/packages/engine-core/src/tasks/task.rnv.workspace.update.ts +++ b/packages/engine-core/src/tasks/task.rnv.workspace.update.ts @@ -18,12 +18,13 @@ export const taskRnvWorkspaceUpdate: RnvTaskFn = async (c, _parentTask, originTa }; const Task: RnvTask = { - description: '', + description: 'TODO: unused task', fn: taskRnvWorkspaceUpdate, task: TASK_WORKSPACE_UPDATE, params: PARAMS.withBase(), platforms: [], isGlobalScope: true, + isPrivate: true, }; export default Task; diff --git a/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.installCerts.ts b/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.installCerts.ts index a32c57b00b..022a7cf27e 100644 --- a/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.installCerts.ts +++ b/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.installCerts.ts @@ -38,7 +38,7 @@ export const taskRnvCryptoInstallCerts: RnvTaskFn = async (c, _parentTask, origi }; const Task: RnvTask = { - description: '', + description: 'Installs certificates into keychain (mac only)', fn: taskRnvCryptoInstallCerts, task: TASK_CRYPTO_INSTALL_CERTS, params: PARAMS.withBase(), diff --git a/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.installProfiles.ts b/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.installProfiles.ts index 18ac74c4fb..2ad216789c 100644 --- a/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.installProfiles.ts +++ b/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.installProfiles.ts @@ -52,7 +52,7 @@ export const taskRnvCryptoInstallProfiles: RnvTaskFn = async (c, _parentTask, or }; const Task: RnvTask = { - description: '', + description: 'Installs provisioning certificates found in your workspace (mac only)', fn: taskRnvCryptoInstallProfiles, task: TASK_CRYPTO_INSTALL_PROFILES, params: PARAMS.withBase(), diff --git a/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.updateProfile.ts b/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.updateProfile.ts index 5db110d58c..37f8877bf7 100644 --- a/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.updateProfile.ts +++ b/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.updateProfile.ts @@ -22,7 +22,7 @@ export const taskRnvCryptoUpdateProfile: RnvTaskFn = async (c, _parentTask, orig }; const Task: RnvTask = { - description: 'Update provisioning profile', + description: 'Update provisioning profile (mac only)', fn: taskRnvCryptoUpdateProfile, task: TASK_CRYPTO_UPDATE_PROFILE, params: PARAMS.withBase(), diff --git a/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.updateProfiles.ts b/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.updateProfiles.ts index d5acc5f94f..aa6cc37cee 100644 --- a/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.updateProfiles.ts +++ b/packages/engine-rn-tvos/src/tasks/task.rnv.crypto.updateProfiles.ts @@ -47,7 +47,7 @@ export const taskRnvCryptoUpdateProfiles: RnvTaskFn = async (c, _parentTask, ori }; const Task: RnvTask = { - description: '', + description: 'Will attempt to update all provisioning profiles (mac only)', fn: taskRnvCryptoUpdateProfiles, task: TASK_CRYPTO_UPDATE_PROFILES, params: PARAMS.withBase(), diff --git a/packages/engine-rn/src/tasks/task.rnv.crypto.installCerts.ts b/packages/engine-rn/src/tasks/task.rnv.crypto.installCerts.ts index 7e6d80da06..2c6fb44d4f 100644 --- a/packages/engine-rn/src/tasks/task.rnv.crypto.installCerts.ts +++ b/packages/engine-rn/src/tasks/task.rnv.crypto.installCerts.ts @@ -38,7 +38,7 @@ export const taskRnvCryptoInstallCerts: RnvTaskFn = async (c, _parentTask, origi }; const Task: RnvTask = { - description: '', + description: 'Installs certificates into keychain (mac only)', fn: taskRnvCryptoInstallCerts, task: TASK_CRYPTO_INSTALL_CERTS, params: PARAMS.withBase(), diff --git a/packages/engine-rn/src/tasks/task.rnv.crypto.installProfiles.ts b/packages/engine-rn/src/tasks/task.rnv.crypto.installProfiles.ts index 1e8a4cdfc0..2a7c451b02 100644 --- a/packages/engine-rn/src/tasks/task.rnv.crypto.installProfiles.ts +++ b/packages/engine-rn/src/tasks/task.rnv.crypto.installProfiles.ts @@ -51,7 +51,7 @@ export const taskRnvCryptoInstallProfiles: RnvTaskFn = async (c, _parentTask, or }; const Task: RnvTask = { - description: '', + description: 'Installs provisioning certificates found in your workspace (mac only)', fn: taskRnvCryptoInstallProfiles, task: TASK_CRYPTO_INSTALL_PROFILES, params: PARAMS.withBase(), diff --git a/packages/engine-rn/src/tasks/task.rnv.crypto.updateProfile.ts b/packages/engine-rn/src/tasks/task.rnv.crypto.updateProfile.ts index c85481cc6e..1cb3aedb9e 100644 --- a/packages/engine-rn/src/tasks/task.rnv.crypto.updateProfile.ts +++ b/packages/engine-rn/src/tasks/task.rnv.crypto.updateProfile.ts @@ -22,7 +22,7 @@ export const taskRnvCryptoUpdateProfile: RnvTaskFn = async (c, _parentTask, orig }; const Task: RnvTask = { - description: 'Update provisioning profile', + description: 'Update provisioning profile (mac only)', fn: taskRnvCryptoUpdateProfile, task: TASK_CRYPTO_UPDATE_PROFILE, params: PARAMS.withBase(), diff --git a/packages/engine-rn/src/tasks/task.rnv.crypto.updateProfiles.ts b/packages/engine-rn/src/tasks/task.rnv.crypto.updateProfiles.ts index d0f67a35ff..c6e3ded6e1 100644 --- a/packages/engine-rn/src/tasks/task.rnv.crypto.updateProfiles.ts +++ b/packages/engine-rn/src/tasks/task.rnv.crypto.updateProfiles.ts @@ -47,7 +47,7 @@ export const taskRnvCryptoUpdateProfiles: RnvTaskFn = async (c, _parentTask, ori }; const Task: RnvTask = { - description: '', + description: 'Will attempt to update all provisioning profiles (mac only)', fn: taskRnvCryptoUpdateProfiles, task: TASK_CRYPTO_UPDATE_PROFILES, params: PARAMS.withBase(),