@hypernym/colors 1.0.2 → 1.0.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Ivo Dolenc, Hypernym Studio
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,4 +1,4 @@
1
- <h1 align="center">Hypernym Colors</h1>
1
+ <h1 align="center">Colors</h1>
2
2
 
3
3
  <p align="center">Ultra lightweight color utilities for console.</p>
4
4
 
@@ -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,4 @@ declare const bgWhite: Color;
25
26
  declare const gray: Color;
26
27
  declare const bgGray: Color;
27
28
 
28
- type Color = (v: string | number) => string;
29
-
30
29
  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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypernym/colors",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "author": "Hypernym Studio",
5
5
  "description": "Ultra lightweight color utilities for console.",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "type": "module",
11
11
  "exports": {
12
12
  ".": {
13
- "types": "./dist/types/index.d.mts",
13
+ "types": "./dist/index.d.mts",
14
14
  "import": "./dist/index.mjs"
15
15
  }
16
16
  },
@@ -28,7 +28,14 @@
28
28
  "log",
29
29
  "esm"
30
30
  ],
31
- "sideEffects": false,
31
+ "scripts": {
32
+ "build": "hyperbundler",
33
+ "lint": "eslint .",
34
+ "lint:fix": "eslint --fix .",
35
+ "format": "prettier --write .",
36
+ "prepublishOnly": "pnpm build"
37
+ },
38
+ "packageManager": "pnpm@10.5.0",
32
39
  "engines": {
33
40
  "node": ">=20.0.0",
34
41
  "pnpm": ">=9.0.0"
@@ -46,19 +53,13 @@
46
53
  }
47
54
  },
48
55
  "devDependencies": {
49
- "@hypernym/bundler": "^0.14.0",
50
- "@hypernym/eslint-config": "^3.5.1",
51
- "@hypernym/prettier-config": "^3.2.0",
52
- "@hypernym/tsconfig": "^2.4.0",
53
- "@types/node": "^22.8.6",
54
- "eslint": "^9.14.0",
55
- "prettier": "^3.3.3",
56
- "typescript": "^5.6.3"
57
- },
58
- "scripts": {
59
- "build": "hyperbundler",
60
- "lint": "eslint .",
61
- "lint:fix": "eslint --fix .",
62
- "format": "prettier --write ."
56
+ "@hypernym/bundler": "^0.14.3",
57
+ "@hypernym/eslint-config": "^3.5.7",
58
+ "@hypernym/prettier-config": "^3.2.3",
59
+ "@hypernym/tsconfig": "^2.6.0",
60
+ "@types/node": "^22.13.5",
61
+ "eslint": "^9.21.0",
62
+ "prettier": "^3.5.2",
63
+ "typescript": "^5.7.3"
63
64
  }
64
- }
65
+ }