UNPKG

@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

27 lines (26 loc) 860 B
import { endPrompt, startPrompt } from "@reliverse/rempts"; import { isBun, isBunPM, isBunRuntime } from "@reliverse/runtime"; import { cliVersion } from "../../../../../constants.js"; export async function showStartPrompt(isDev, showRuntimeInfo) { await startPrompt({ titleColor: "inverse", clearConsole: true, packageName: "@reliverse/rse", packageVersion: cliVersion, isDev }); if (showRuntimeInfo) { console.log("isBunRuntime:", isBunRuntime()); console.log("isBunPM:", await isBunPM()); console.log("isBun:", isBun); } } export async function showEndPrompt() { await endPrompt({ title: "\u2502 \u2764\uFE0F Please consider supporting rse development: https://github.com/sponsors/blefnk", titleAnimation: "glitch", titleColor: "dim", titleTypography: "bold", titleAnimationDelay: 800 }); }