@vlandoss/clibuddy 0.7.0 → 0.7.1-git-4903a88.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/dist/index.d.mts CHANGED
@@ -9,7 +9,6 @@ declare const palette: {
9
9
  bold: import("ansis").Ansis;
10
10
  italic: import("ansis").Ansis;
11
11
  link: import("ansis").Ansis;
12
- muted: import("ansis").Ansis;
13
12
  primary: import("ansis").Ansis;
14
13
  dim: import("ansis").Ansis;
15
14
  highlight: import("ansis").Ansis;
package/dist/index.mjs CHANGED
@@ -16,7 +16,6 @@ const palette = {
16
16
  bold,
17
17
  italic,
18
18
  link: underline,
19
- muted: ansis.hex("#a8afb5"),
20
19
  primary: ansis.hex("#36d399"),
21
20
  dim,
22
21
  highlight: cyan,
@@ -193,7 +192,7 @@ var ShellService = class ShellService {
193
192
  };
194
193
  function printCmdLine(cmd, args) {
195
194
  const tail = args.length === 0 ? "" : ` ${args.join(" ")}`;
196
- process.stderr.write(`${palette.muted("$")} ${palette.highlight(cmd)}${tail}\n`);
195
+ process.stderr.write(`${palette.dim("$")} ${palette.highlight(cmd)}${tail}\n`);
197
196
  }
198
197
  //#endregion
199
198
  //#region src/shell/create.ts
@@ -423,7 +422,7 @@ function delay(ms) {
423
422
  //#region src/text.ts
424
423
  const text = {
425
424
  vland: palette.link(palette.primary("https://variable.land")),
426
- version: (version) => palette.muted(`v${version}`)
425
+ version: (version) => palette.dim(`v${version}`)
427
426
  };
428
427
  //#endregion
429
428
  export { NonZeroExitError, Pkg, ShellService, colorize, createPkg, createShellService, cwd, dirnameOf, filenameOf, hasTTY, isCI, isNonZeroExitError, palette, resolvePackageBin, run, runTaskBoard, text };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vlandoss/clibuddy",
3
- "version": "0.7.0",
3
+ "version": "0.7.1-git-4903a88.0",
4
4
  "description": "A helper library to create CLIs in Variable Land",
5
5
  "homepage": "https://github.com/variableland/dx/tree/main/shared/clibuddy#readme",
6
6
  "bugs": {
package/src/colors.ts CHANGED
@@ -10,7 +10,6 @@ export const palette = {
10
10
  italic,
11
11
  link: underline,
12
12
  // tones
13
- muted: ansis.hex("#a8afb5"),
14
13
  primary: ansis.hex("#36d399"),
15
14
  dim,
16
15
  // semantic
@@ -72,5 +72,5 @@ export class ShellService {
72
72
 
73
73
  function printCmdLine(cmd: string, args: string[]): void {
74
74
  const tail = args.length === 0 ? "" : ` ${args.join(" ")}`;
75
- process.stderr.write(`${palette.muted("$")} ${palette.highlight(cmd)}${tail}\n`);
75
+ process.stderr.write(`${palette.dim("$")} ${palette.highlight(cmd)}${tail}\n`);
76
76
  }
package/src/text.ts CHANGED
@@ -2,5 +2,5 @@ import { palette } from "./colors.ts";
2
2
 
3
3
  export const text = {
4
4
  vland: palette.link(palette.primary("https://variable.land")),
5
- version: (version: string) => palette.muted(`v${version}`),
5
+ version: (version: string) => palette.dim(`v${version}`),
6
6
  };