@dephub/colors 1.0.0 → 1.0.2
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.ts +44 -44
- package/dist/utils/run.d.ts +1 -1
- package/package.json +11 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
export * from './core/background/black.
|
|
2
|
-
export * from './core/background/blue.
|
|
3
|
-
export * from './core/background/cyan.
|
|
4
|
-
export * from './core/background/green.
|
|
5
|
-
export * from './core/background/magenta.
|
|
6
|
-
export * from './core/background/red.
|
|
7
|
-
export * from './core/background/white.
|
|
8
|
-
export * from './core/background/yellow.
|
|
9
|
-
export * from './core/background/bright/black.
|
|
10
|
-
export * from './core/background/bright/blue.
|
|
11
|
-
export * from './core/background/bright/cyan.
|
|
12
|
-
export * from './core/background/bright/green.
|
|
13
|
-
export * from './core/background/bright/magenta.
|
|
14
|
-
export * from './core/background/bright/red.
|
|
15
|
-
export * from './core/background/bright/white.
|
|
16
|
-
export * from './core/background/bright/yellow.
|
|
17
|
-
export * from './core/text/black.
|
|
18
|
-
export * from './core/text/blue.
|
|
19
|
-
export * from './core/text/cyan.
|
|
20
|
-
export * from './core/text/gray.
|
|
21
|
-
export * from './core/text/green.
|
|
22
|
-
export * from './core/text/magenta.
|
|
23
|
-
export * from './core/text/red.
|
|
24
|
-
export * from './core/text/white.
|
|
25
|
-
export * from './core/text/yellow.
|
|
26
|
-
export * from './core/text/bright/black.
|
|
27
|
-
export * from './core/text/bright/blue.
|
|
28
|
-
export * from './core/text/bright/cyan.
|
|
29
|
-
export * from './core/text/bright/green.
|
|
30
|
-
export * from './core/text/bright/magenta.
|
|
31
|
-
export * from './core/text/bright/red.
|
|
32
|
-
export * from './core/text/bright/white.
|
|
33
|
-
export * from './core/text/bright/yellow.
|
|
34
|
-
export * from './core/styles/bold.
|
|
35
|
-
export * from './core/styles/dim.
|
|
36
|
-
export * from './core/styles/hidden.
|
|
37
|
-
export * from './core/styles/inverse.
|
|
38
|
-
export * from './core/styles/italic.
|
|
39
|
-
export * from './core/styles/reset.
|
|
40
|
-
export * from './core/styles/strikethrough.
|
|
41
|
-
export * from './core/styles/underline.
|
|
42
|
-
export * from './core/rgb/bg-rgb8.
|
|
43
|
-
export * from './core/rgb/rgb8.
|
|
44
|
-
export * from './core/rgb/rgb24.
|
|
1
|
+
export * from './core/background/black.ts';
|
|
2
|
+
export * from './core/background/blue.ts';
|
|
3
|
+
export * from './core/background/cyan.ts';
|
|
4
|
+
export * from './core/background/green.ts';
|
|
5
|
+
export * from './core/background/magenta.ts';
|
|
6
|
+
export * from './core/background/red.ts';
|
|
7
|
+
export * from './core/background/white.ts';
|
|
8
|
+
export * from './core/background/yellow.ts';
|
|
9
|
+
export * from './core/background/bright/black.ts';
|
|
10
|
+
export * from './core/background/bright/blue.ts';
|
|
11
|
+
export * from './core/background/bright/cyan.ts';
|
|
12
|
+
export * from './core/background/bright/green.ts';
|
|
13
|
+
export * from './core/background/bright/magenta.ts';
|
|
14
|
+
export * from './core/background/bright/red.ts';
|
|
15
|
+
export * from './core/background/bright/white.ts';
|
|
16
|
+
export * from './core/background/bright/yellow.ts';
|
|
17
|
+
export * from './core/text/black.ts';
|
|
18
|
+
export * from './core/text/blue.ts';
|
|
19
|
+
export * from './core/text/cyan.ts';
|
|
20
|
+
export * from './core/text/gray.ts';
|
|
21
|
+
export * from './core/text/green.ts';
|
|
22
|
+
export * from './core/text/magenta.ts';
|
|
23
|
+
export * from './core/text/red.ts';
|
|
24
|
+
export * from './core/text/white.ts';
|
|
25
|
+
export * from './core/text/yellow.ts';
|
|
26
|
+
export * from './core/text/bright/black.ts';
|
|
27
|
+
export * from './core/text/bright/blue.ts';
|
|
28
|
+
export * from './core/text/bright/cyan.ts';
|
|
29
|
+
export * from './core/text/bright/green.ts';
|
|
30
|
+
export * from './core/text/bright/magenta.ts';
|
|
31
|
+
export * from './core/text/bright/red.ts';
|
|
32
|
+
export * from './core/text/bright/white.ts';
|
|
33
|
+
export * from './core/text/bright/yellow.ts';
|
|
34
|
+
export * from './core/styles/bold.ts';
|
|
35
|
+
export * from './core/styles/dim.ts';
|
|
36
|
+
export * from './core/styles/hidden.ts';
|
|
37
|
+
export * from './core/styles/inverse.ts';
|
|
38
|
+
export * from './core/styles/italic.ts';
|
|
39
|
+
export * from './core/styles/reset.ts';
|
|
40
|
+
export * from './core/styles/strikethrough.ts';
|
|
41
|
+
export * from './core/styles/underline.ts';
|
|
42
|
+
export * from './core/rgb/bg-rgb8.ts';
|
|
43
|
+
export * from './core/rgb/rgb8.ts';
|
|
44
|
+
export * from './core/rgb/rgb24.ts';
|
package/dist/utils/run.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dephub/colors",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"description": "A tiny, zero-dependency, ESM-only library for styling terminal text with ANSI colors and text styles.",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -37,9 +37,6 @@
|
|
|
37
37
|
"email": "dev@estarlincito.com",
|
|
38
38
|
"url": "https://estarlincito.com"
|
|
39
39
|
},
|
|
40
|
-
"engines": {
|
|
41
|
-
"node": ">=22.5.0"
|
|
42
|
-
},
|
|
43
40
|
"files": [
|
|
44
41
|
"LICENSE",
|
|
45
42
|
"README.md",
|
|
@@ -68,13 +65,22 @@
|
|
|
68
65
|
"vite": "^8.3.6",
|
|
69
66
|
"vite-plugin-dts": "^5.1.2"
|
|
70
67
|
},
|
|
68
|
+
"imports": {
|
|
69
|
+
"#/*": "./src/*"
|
|
70
|
+
},
|
|
71
|
+
"engines": {
|
|
72
|
+
"node": ">=24.0.0"
|
|
73
|
+
},
|
|
71
74
|
"scripts": {
|
|
72
75
|
"release": "pnpm publish",
|
|
73
76
|
"docs": "lineo md 'src/**/*.ts' --outFile code.md --outDir temp",
|
|
74
|
-
"
|
|
77
|
+
"test": "node --test",
|
|
78
|
+
"check": "pnpm fmt && pnpm lint && pnpm check-types",
|
|
79
|
+
"check-types": "tsc --noEmit --skipLibCheck",
|
|
75
80
|
"lint": "eslint . --fix --max-warnings 0",
|
|
76
81
|
"fmt": "prettier --write .",
|
|
77
82
|
"clean": "rm -rf dist",
|
|
83
|
+
"pack": "pnpm pack",
|
|
78
84
|
"build": "vite build",
|
|
79
85
|
"dev": "vite build -w --mode development"
|
|
80
86
|
}
|