@vlandoss/clibuddy 0.6.1-git-a1181c2.0 → 0.6.1-git-87d22db.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 +9 -10
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/src/text.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import * as _$ansis from "ansis";
|
|
2
1
|
import { hasTTY, isCI } from "std-env";
|
|
3
2
|
import { PackageJson } from "pkg-types";
|
|
4
3
|
import { NonZeroExitError, Output } from "tinyexec";
|
|
5
4
|
import { Project } from "@pnpm/types";
|
|
6
5
|
|
|
7
6
|
//#region src/colors.d.ts
|
|
8
|
-
declare const colorize: (hex: string) =>
|
|
7
|
+
declare const colorize: (hex: string) => import("ansis").Ansis;
|
|
9
8
|
declare const palette: {
|
|
10
|
-
bold:
|
|
11
|
-
italic:
|
|
12
|
-
link:
|
|
13
|
-
muted:
|
|
14
|
-
primary:
|
|
15
|
-
dim:
|
|
16
|
-
highlight:
|
|
17
|
-
success:
|
|
9
|
+
bold: import("ansis").Ansis;
|
|
10
|
+
italic: import("ansis").Ansis;
|
|
11
|
+
link: import("ansis").Ansis;
|
|
12
|
+
muted: import("ansis").Ansis;
|
|
13
|
+
primary: import("ansis").Ansis;
|
|
14
|
+
dim: import("ansis").Ansis;
|
|
15
|
+
highlight: import("ansis").Ansis;
|
|
16
|
+
success: import("ansis").Ansis;
|
|
18
17
|
label: (s: string) => string;
|
|
19
18
|
};
|
|
20
19
|
//#endregion
|
package/dist/index.mjs
CHANGED
|
@@ -221,7 +221,7 @@ const resolvePackageBin = memoize(_resolvePackageBin, { cacheKey: ([pkg, opts])
|
|
|
221
221
|
//#endregion
|
|
222
222
|
//#region src/text.ts
|
|
223
223
|
const text = {
|
|
224
|
-
vland:
|
|
224
|
+
vland: palette.link(palette.primary("https://variable.land")),
|
|
225
225
|
version: (version) => palette.muted(`v${version}`)
|
|
226
226
|
};
|
|
227
227
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vlandoss/clibuddy",
|
|
3
|
-
"version": "0.6.1-git-
|
|
3
|
+
"version": "0.6.1-git-87d22db.0",
|
|
4
4
|
"description": "A helper library to create CLIs in Variable Land",
|
|
5
|
-
"homepage": "https://github.com/variableland/dx/tree/main/
|
|
5
|
+
"homepage": "https://github.com/variableland/dx/tree/main/shared/clibuddy#readme",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/variableland/dx/issues"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "git+https://github.com/variableland/dx.git",
|
|
12
|
-
"directory": "
|
|
12
|
+
"directory": "shared/clibuddy"
|
|
13
13
|
},
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"author": "rcrd <rcrd@variable.land>",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"node": ">=20.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@
|
|
46
|
+
"@rrlab/tsdown-config": "^0.0.1-git-87d22db.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsdown",
|
package/src/text.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { palette } from "./colors.ts";
|
|
2
2
|
|
|
3
3
|
export const text = {
|
|
4
|
-
vland:
|
|
4
|
+
vland: palette.link(palette.primary("https://variable.land")),
|
|
5
5
|
version: (version: string) => palette.muted(`v${version}`),
|
|
6
6
|
};
|