@sorrell/cli-utilities 1.0.3 → 1.0.5

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.
@@ -1,2 +1,3 @@
1
+ export declare function Code(Message: string): string;
1
2
  export declare function Format(Message: string): string;
2
3
  //# sourceMappingURL=Print.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Print.d.ts","sourceRoot":"","sources":["../Source/Print.ts"],"names":[],"mappings":"AAQA,wBAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAG9C"}
1
+ {"version":3,"file":"Print.d.ts","sourceRoot":"","sources":["../Source/Print.ts"],"names":[],"mappings":"AAUA,wBAAgB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAG5C;AAED,wBAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAI9C"}
@@ -5,7 +5,12 @@
5
5
  * Comment: This module contains functions to output messages
6
6
  * to the user with consistent and aesthetic formatting.
7
7
  */
8
+ import Chalk from "chalk";
9
+ export function Code(Message) {
10
+ return Chalk.reset(Chalk.red.bgGray(Message));
11
+ }
8
12
  export function Format(Message) {
13
+ // @TODO
9
14
  return Message;
10
15
  }
11
16
  //# sourceMappingURL=Print.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Print.js","sourceRoot":"","sources":["../Source/Print.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,UAAU,MAAM,CAAC,OAAe;IAElC,OAAO,OAAO,CAAC;AACnB,CAAC"}
1
+ {"version":3,"file":"Print.js","sourceRoot":"","sources":["../Source/Print.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,UAAU,IAAI,CAAC,OAAe;IAEhC,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AAClD,CAAC;AAED,MAAM,UAAU,MAAM,CAAC,OAAe;IAElC,QAAQ;IACR,OAAO,OAAO,CAAC;AACnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sorrell/cli-utilities",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Utilities for CLI tools.",
5
5
  "keywords": [
6
6
  "cli",
@@ -37,6 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@inquirer/prompts": "^8.3.2",
40
+ "@sorrell/cli-utilities": "^1.0.3",
40
41
  "@sorrell/utilities": "^1.0.15",
41
42
  "chalk": "^5.6.2",
42
43
  "cli-table3": "^0.6.5",