@vlandoss/clibuddy 0.7.0 → 0.7.1
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 +0 -1
- package/dist/index.mjs +2 -3
- package/package.json +1 -1
- package/src/colors.ts +0 -1
- package/src/shell/shell.ts +1 -1
- package/src/text.ts +1 -1
package/dist/index.d.mts
CHANGED
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.
|
|
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.
|
|
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
package/src/colors.ts
CHANGED
package/src/shell/shell.ts
CHANGED
|
@@ -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.
|
|
75
|
+
process.stderr.write(`${palette.dim("$")} ${palette.highlight(cmd)}${tail}\n`);
|
|
76
76
|
}
|
package/src/text.ts
CHANGED