From ba389b03df08ed35f77f8c6c1286818f5a10ed72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ali=20Emir=20=C5=9Een?= Date: Mon, 13 Nov 2023 15:14:51 +0300 Subject: [PATCH] chore: update post install message --- package.json | 2 +- src/Helper/tips/index.ts | 30 +++++++----------------------- 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index 9574fd7a..cf4e16d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "superplate-cli", - "version": "1.17.9", + "version": "1.18.0", "description": "The frontend boilerplate with superpowers", "license": "MIT", "repository": { diff --git a/src/Helper/tips/index.ts b/src/Helper/tips/index.ts index 9bf98445..135ce5da 100644 --- a/src/Helper/tips/index.ts +++ b/src/Helper/tips/index.ts @@ -18,38 +18,22 @@ const postInstall: PostInstallFn = ({ name, dir, pm }) => { console.log( `${chalk.green.bold("Success!")} Created ${chalk.greenBright.bold( name, - )} at ${chalk.bold(dir)}`, + )} at ${chalk.bold(dir)} 🚀`, ); console.log(""); - console.log("You can run several commands:"); - console.log(""); + console.log("Start developing by:\n"); + console.log(`${indent()}\u203a ${chalk.greenBright("cd")} ${dir}`); console.log( - `${indent()}${chalk.blueBright( + `${indent()}\u203a ${chalk.greenBright( pm === "yarn" || pm === "pnpm" ? `${pm} dev` : "npm run dev", )}`, ); - console.log(`${indent(2)}Starts the development server.`); - console.log(""); - console.log( - `${indent()}${chalk.blueBright( - pm === "yarn" || pm === "pnpm" ? `${pm} build` : "npm run build", - )}`, - ); - console.log(`${indent(2)}Bundles the app for production.`); console.log(""); + console.log( - `${indent()}${chalk.blueBright( - pm === "yarn" || pm === "pnpm" ? `${pm} start` : "npm run start", - )}`, - ); - console.log(`${indent(2)}Starts the production server.`); - console.log(""); - console.log("Start developing by typing:\n"); - console.log(`${indent()}${chalk.blueBright("cd")} ${name}`); - console.log( - `${indent()}${chalk.blueBright( - pm === "yarn" || pm === "pnpm" ? `${pm} dev` : "npm run dev", + `${indent()}\u203a Join us at ${chalk.cyanBright( + "https://discord.gg/refine", )}`, ); console.log("");