Comparing version 0.0.4 to 0.0.5
@@ -6,2 +6,3 @@ #!/usr/bin/env node | ||
const path = require("path"); | ||
const chalk = require('chalk'); | ||
const upload = require('./youzanyun-upload'); | ||
@@ -35,6 +36,6 @@ const save = require('./youzanyun-save'); | ||
logger.warn('version update:'); | ||
console.warn(' ┌---------------------------------------------┐') | ||
console.warn(` ├ Update aviailable ${currentVersion} -> ${leatestVersion} ┤`) | ||
console.warn(` ├ Run npm i -g youzanyun to update ┤`) | ||
console.warn(' └---------------------------------------------┘') | ||
console.log(' ┌---------------------------------------------┐') | ||
console.log(` ├ Update aviailable ${currentVersion} -> ` + chalk.blue(leatestVersion) + ' ┤') | ||
console.log(' ├ Run ' + chalk.yellow('npm i -g youzanyun') + ' to update ┤') | ||
console.log(' └---------------------------------------------┘') | ||
} | ||
@@ -41,0 +42,0 @@ |
{ | ||
"name": "youzanyun", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "有赞云工具", | ||
@@ -13,2 +13,3 @@ "main": "./lib/index.js", | ||
"axios": "^0.18.0", | ||
"chalk": "^2.4.2", | ||
"commander": "^2.19.0", | ||
@@ -15,0 +16,0 @@ "fs-extra": "^7.0.1", |
16097
512
9
+ Addedchalk@^2.4.2