shabti 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/repl/index.js +1 -1
- package/src/utils/style.js +4 -4
package/package.json
CHANGED
package/src/repl/index.js
CHANGED
package/src/utils/style.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import chalk from "chalk";
|
|
2
2
|
|
|
3
|
-
export const success = (msg) => console.log(chalk.green("
|
|
4
|
-
export const error = (msg) => console.log(chalk.red("
|
|
5
|
-
export const info = (msg) => console.log(chalk.cyan("
|
|
6
|
-
export const warn = (msg) => console.log(chalk.yellow("
|
|
3
|
+
export const success = (msg) => console.log(chalk.green("[ok] ") + msg);
|
|
4
|
+
export const error = (msg) => console.log(chalk.red("[error] ") + msg);
|
|
5
|
+
export const info = (msg) => console.log(chalk.cyan("[info] ") + msg);
|
|
6
|
+
export const warn = (msg) => console.log(chalk.yellow("[warn] ") + msg);
|
|
7
7
|
export const heading = (msg) => console.log(chalk.bold.underline(msg));
|