From 8b42a008abe52b3d57042dab36d99683532cdc8b Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Fri, 30 May 2025 08:29:19 +0200 Subject: [PATCH] feat: rename dapp to app --- src/constants/help.constants.ts | 4 ++-- src/help/clear.help.ts | 2 +- src/help/deploy.help.ts | 2 +- src/services/clear.services.ts | 2 +- src/services/init.services.ts | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/constants/help.constants.ts b/src/constants/help.constants.ts index 41e19912..688dfee7 100644 --- a/src/constants/help.constants.ts +++ b/src/constants/help.constants.ts @@ -1,9 +1,9 @@ import {magenta} from 'kleur'; export const CLEAR_DESCRIPTION = - 'Clear existing dapp code by removing JavaScript, HTML, CSS, and other files from your satellite.'; + 'Clear existing app code by removing JavaScript, HTML, CSS, and other files from your satellite.'; export const CONFIG_DESCRIPTION = 'Apply configuration to satellite.'; -export const DEPLOY_DESCRIPTION = 'Deploy your dapp to your satellite.'; +export const DEPLOY_DESCRIPTION = 'Deploy your app to your satellite.'; export const DEV_DESCRIPTION = 'Handle development tasks like building serverless functions or running a local Internet Computer instance.'; export const INIT_DESCRIPTION = 'Set up your project.'; diff --git a/src/help/clear.help.ts b/src/help/clear.help.ts index 2556fbb6..08748679 100644 --- a/src/help/clear.help.ts +++ b/src/help/clear.help.ts @@ -6,7 +6,7 @@ import {TITLE} from './help'; const usage = `Usage: ${green('juno')} ${cyan('clear')} ${yellow('[options]')} Options: - ${yellow('-f, --fullPath')} Clear a particular file of your dapp. + ${yellow('-f, --fullPath')} Clear a particular file of your app. ${helpMode} ${yellow('-h, --help')} Output usage information.`; diff --git a/src/help/deploy.help.ts b/src/help/deploy.help.ts index 22d9ff47..1be071d3 100644 --- a/src/help/deploy.help.ts +++ b/src/help/deploy.help.ts @@ -6,7 +6,7 @@ import {TITLE} from './help'; const usage = `Usage: ${green('juno')} ${cyan('deploy')} ${yellow('[options]')} Options: - ${yellow('-c, --clear')} Clear existing dapp files before proceeding with deployment. + ${yellow('-c, --clear')} Clear existing app files before proceeding with deployment. ${helpMode} ${yellow('-h, --help')} Output usage information.`; diff --git a/src/services/clear.services.ts b/src/services/clear.services.ts index fbafc9c4..53da0e88 100644 --- a/src/services/clear.services.ts +++ b/src/services/clear.services.ts @@ -12,7 +12,7 @@ export const clear = async (args?: string[]) => { const satellite = await satelliteParameters({satellite: satelliteConfig, env}); - const spinner = ora('Clearing dapp assets...').start(); + const spinner = ora('Clearing app assets...').start(); try { // TODO: to be removed. Workaround as temporary solution of https://github.com/junobuild/juno/issues/484. diff --git a/src/services/init.services.ts b/src/services/init.services.ts index f4f3b550..86bf398d 100644 --- a/src/services/init.services.ts +++ b/src/services/init.services.ts @@ -196,7 +196,7 @@ const promptSatellites = async (satellites: CliSatelliteConfig[]): Promise ({title: n, value: p})), {title: '', value: '_manual_'} @@ -228,7 +228,7 @@ const promptOrbiters = async (orbiters: CliOrbiterConfig[]): Promise => const {orbiter}: {orbiter: string} = await prompts({ type: 'select', name: 'orbiter', - message: 'Which orbiter do you use for the analytics in this dapp?', + message: 'Which orbiter do you use for the analytics in this app?', choices: [ ...orbiters.map(({p, n}) => ({title: n ?? p, value: p})), {title: '', value: '_none_'}