@reliverse/rse
Version:
@reliverse/rse is your all-in-one companion for bootstrapping and improving any kind of projects (especially web apps built with frameworks like Next.js) — whether you're kicking off something new or upgrading an existing app. It is also a little AI-power
13 lines (12 loc) • 486 B
JavaScript
import { re } from "@reliverse/relico";
export function getPromptContent(depsMissing, updateAvailable) {
if (depsMissing) {
return re.yellow(
`Dependencies are missing in your project. Would you like to install them?
${re.bold(
"\u{1F6A8} Note: Certain addons will be disabled until the dependencies are installed."
)}`
);
}
return updateAvailable ? re.yellow("Select an action to perform\n(An update is available)") : "Select an action to perform";
}