Skip to content

Commit ba389b0

Browse files
committed
chore: update post install message
1 parent 00c5a8d commit ba389b0

File tree

2 files changed

+8
-24
lines changed

2 files changed

+8
-24
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superplate-cli",
3-
"version": "1.17.9",
3+
"version": "1.18.0",
44
"description": "The frontend boilerplate with superpowers",
55
"license": "MIT",
66
"repository": {

src/Helper/tips/index.ts

+7-23
Original file line numberDiff line numberDiff line change
@@ -18,38 +18,22 @@ const postInstall: PostInstallFn = ({ name, dir, pm }) => {
1818
console.log(
1919
`${chalk.green.bold("Success!")} Created ${chalk.greenBright.bold(
2020
name,
21-
)} at ${chalk.bold(dir)}`,
21+
)} at ${chalk.bold(dir)} 🚀`,
2222
);
2323
console.log("");
24-
console.log("You can run several commands:");
25-
console.log("");
2624

25+
console.log("Start developing by:\n");
26+
console.log(`${indent()}\u203a ${chalk.greenBright("cd")} ${dir}`);
2727
console.log(
28-
`${indent()}${chalk.blueBright(
28+
`${indent()}\u203a ${chalk.greenBright(
2929
pm === "yarn" || pm === "pnpm" ? `${pm} dev` : "npm run dev",
3030
)}`,
3131
);
32-
console.log(`${indent(2)}Starts the development server.`);
33-
console.log("");
34-
console.log(
35-
`${indent()}${chalk.blueBright(
36-
pm === "yarn" || pm === "pnpm" ? `${pm} build` : "npm run build",
37-
)}`,
38-
);
39-
console.log(`${indent(2)}Bundles the app for production.`);
4032
console.log("");
33+
4134
console.log(
42-
`${indent()}${chalk.blueBright(
43-
pm === "yarn" || pm === "pnpm" ? `${pm} start` : "npm run start",
44-
)}`,
45-
);
46-
console.log(`${indent(2)}Starts the production server.`);
47-
console.log("");
48-
console.log("Start developing by typing:\n");
49-
console.log(`${indent()}${chalk.blueBright("cd")} ${name}`);
50-
console.log(
51-
`${indent()}${chalk.blueBright(
52-
pm === "yarn" || pm === "pnpm" ? `${pm} dev` : "npm run dev",
35+
`${indent()}\u203a Join us at ${chalk.cyanBright(
36+
"https://discord.gg/refine",
5337
)}`,
5438
);
5539
console.log("");

0 commit comments

Comments
 (0)