@hypernym/colors 1.0.2 → 1.0.4
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/LICENSE.txt +1 -1
- package/README.md +1 -1
- package/dist/{types/index.d.mts → index.d.mts} +3 -3
- package/package.json +21 -22
package/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2025 Ivo Dolenc, Hypernym Studio
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
type Color = (v: string | number) => string;
|
|
1
2
|
declare const reset: Color;
|
|
2
3
|
declare const bold: Color;
|
|
3
4
|
declare const dim: Color;
|
|
@@ -25,6 +26,5 @@ declare const bgWhite: Color;
|
|
|
25
26
|
declare const gray: Color;
|
|
26
27
|
declare const bgGray: Color;
|
|
27
28
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export { type Color, bgBlack, bgBlue, bgCyan, bgGray, bgGreen, bgMagenta, bgRed, bgWhite, bgYellow, black, blue, bold, crossout, cyan, dim, gray, green, hidden, inverse, italic, magenta, red, reset, underline, white, yellow };
|
|
29
|
+
export { bgBlack, bgBlue, bgCyan, bgGray, bgGreen, bgMagenta, bgRed, bgWhite, bgYellow, black, blue, bold, crossout, cyan, dim, gray, green, hidden, inverse, italic, magenta, red, reset, underline, white, yellow };
|
|
30
|
+
export type { Color };
|
package/package.json
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hypernym/colors",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"author": "Hypernym Studio",
|
|
5
5
|
"description": "Ultra lightweight color utilities for console.",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/hypernym-studio/colors.git"
|
|
10
|
+
},
|
|
8
11
|
"homepage": "https://github.com/hypernym-studio/colors",
|
|
9
12
|
"funding": "https://github.com/sponsors/ivodolenc",
|
|
10
13
|
"type": "module",
|
|
11
14
|
"exports": {
|
|
12
15
|
".": {
|
|
13
|
-
"types": "./dist/
|
|
16
|
+
"types": "./dist/index.d.mts",
|
|
14
17
|
"import": "./dist/index.mjs"
|
|
15
18
|
}
|
|
16
19
|
},
|
|
@@ -28,10 +31,12 @@
|
|
|
28
31
|
"log",
|
|
29
32
|
"esm"
|
|
30
33
|
],
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "hyperbundler",
|
|
36
|
+
"lint": "eslint .",
|
|
37
|
+
"lint:fix": "eslint --fix .",
|
|
38
|
+
"format": "prettier --write .",
|
|
39
|
+
"prepublishOnly": "pnpm build"
|
|
35
40
|
},
|
|
36
41
|
"peerDependencies": {
|
|
37
42
|
"@types/node": ">=20.0.0",
|
|
@@ -46,19 +51,13 @@
|
|
|
46
51
|
}
|
|
47
52
|
},
|
|
48
53
|
"devDependencies": {
|
|
49
|
-
"@hypernym/bundler": "^0.14.
|
|
50
|
-
"@hypernym/eslint-config": "^3.
|
|
51
|
-
"@hypernym/prettier-config": "^3.2.
|
|
52
|
-
"@hypernym/tsconfig": "^2.
|
|
53
|
-
"@types/node": "^22.
|
|
54
|
-
"eslint": "^9.
|
|
55
|
-
"prettier": "^3.
|
|
56
|
-
"typescript": "^5.
|
|
57
|
-
},
|
|
58
|
-
"scripts": {
|
|
59
|
-
"build": "hyperbundler",
|
|
60
|
-
"lint": "eslint .",
|
|
61
|
-
"lint:fix": "eslint --fix .",
|
|
62
|
-
"format": "prettier --write ."
|
|
54
|
+
"@hypernym/bundler": "^0.14.3",
|
|
55
|
+
"@hypernym/eslint-config": "^3.6.1",
|
|
56
|
+
"@hypernym/prettier-config": "^3.2.4",
|
|
57
|
+
"@hypernym/tsconfig": "^2.6.1",
|
|
58
|
+
"@types/node": "^22.15.17",
|
|
59
|
+
"eslint": "^9.26.0",
|
|
60
|
+
"prettier": "^3.5.3",
|
|
61
|
+
"typescript": "^5.8.3"
|
|
63
62
|
}
|
|
64
|
-
}
|
|
63
|
+
}
|