From bc6be0764e999e694275620fc5308eebf4393cda Mon Sep 17 00:00:00 2001 From: yutent Date: Thu, 5 Jan 2023 17:05:34 +0800 Subject: [PATCH] fixed color --- index.js | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 10ff3d3..2ffbc27 100755 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ * @date 2022/10/10 15:17:36 */ -import { red, cyan, blue, grey } from 'kolorist' +import { red, cyan, blue, gray } from 'kolorist' import prompts from 'prompts' import fs from 'iofs' import { resolve, join, dirname } from 'path' @@ -143,8 +143,8 @@ function printHelp() { console.log('[oooooooooo]', '100%') console.log(cyan('初始化完成, 可依次执行以下命令启动项目: ')) console.log(blue('npm i')) - console.log(blue('pm2 start app.dev.yaml'), grey('# 开发模式')) - console.log(blue('pm2 start app.yaml'), grey('# 生产模式')) + console.log(blue('pm2 start app.dev.yaml'), gray('# 开发模式')) + console.log(blue('pm2 start app.yaml'), gray('# 生产模式')) break } diff --git a/package.json b/package.json index f307d0d..1898884 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "create-five", "description": "一个快速创建Five.js项目的小工具", "type": "module", - "version": "1.0.0", + "version": "1.0.1", "author": "yutent ", "bin": { "create-five": "index.js"