chore: 包内依赖改成workspace:*,更新release脚本
This commit is contained in:
@@ -25,10 +25,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"cac": "^6.7.12",
|
||||
"chalk": "^4.1.0",
|
||||
"chokidar": "^3.5.3",
|
||||
"esbuild": "^0.17.19",
|
||||
"fs-extra": "^10.1.0",
|
||||
"picocolors": "^1.0.0",
|
||||
"recast": "^0.21.1",
|
||||
"tslib": "^2.4.0"
|
||||
},
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
import chalk from 'chalk';
|
||||
import pico from 'picocolors';
|
||||
|
||||
export const info = (msg: string) => {
|
||||
console.log(chalk.white(msg));
|
||||
console.log(pico.white(msg));
|
||||
};
|
||||
|
||||
export const error = (msg: string) => {
|
||||
console.log(chalk.red(msg));
|
||||
console.log(pico.red(msg));
|
||||
};
|
||||
|
||||
export const success = (msg: string) => {
|
||||
console.log(chalk.green(msg));
|
||||
console.log(pico.green(msg));
|
||||
};
|
||||
|
||||
export const execInfo = (msg: string) => {
|
||||
console.log(chalk.blue(msg));
|
||||
console.log(pico.blue(msg));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user