@hypernym/colors 1.0.5 → 1.0.7

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,7 +1,7 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025, Ivo Dolenc <https://github.com/ivodolenc>
4
- Copyright (c) 2025, Hypernym Studio <https://github.com/hypernym-studio>
3
+ Copyright (c) 2026, Ivo Dolenc <https://github.com/ivodolenc>
4
+ Copyright (c) 2026, Hypernym Studio <https://github.com/hypernym-studio>
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
7
7
  of this software and associated documentation files (the "Software"), to deal
@@ -1,3 +1,4 @@
1
+ //#region src/index.d.ts
1
2
  type Color = (v: string | number) => string;
2
3
  declare const reset: Color;
3
4
  declare const bold: Color;
@@ -25,6 +26,5 @@ declare const white: Color;
25
26
  declare const bgWhite: Color;
26
27
  declare const gray: Color;
27
28
  declare const bgGray: Color;
28
-
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 };
29
+ //#endregion
30
+ export { 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 };
@@ -1,3 +1,4 @@
1
+ //#region src/index.ts
1
2
  const _ = `\x1B[`;
2
3
  const reset = (v) => `${_}0m${v}${_}0m`;
3
4
  const bold = (v) => `${_}1m${v}${_}22m`;
@@ -26,4 +27,5 @@ const bgWhite = (v) => `${_}47m${v}${_}49m`;
26
27
  const gray = (v) => `${_}90m${v}${_}39m`;
27
28
  const bgGray = (v) => `${_}100m${v}${_}49m`;
28
29
 
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
+ //#endregion
31
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypernym/colors",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "author": "Hypernym Studio",
5
5
  "description": "Ultra lightweight color utilities for console.",
6
6
  "license": "MIT",
@@ -13,14 +13,16 @@
13
13
  "type": "module",
14
14
  "exports": {
15
15
  ".": {
16
- "types": "./dist/index.d.mts",
17
- "import": "./dist/index.mjs"
16
+ "types": "./dist/index.d.ts",
17
+ "import": "./dist/index.js"
18
18
  }
19
19
  },
20
20
  "files": [
21
21
  "dist"
22
22
  ],
23
23
  "keywords": [
24
+ "hyper",
25
+ "hypernym",
24
26
  "cli",
25
27
  "node",
26
28
  "ansi",
@@ -44,19 +46,17 @@
44
46
  }
45
47
  },
46
48
  "devDependencies": {
47
- "@hypernym/bundler": "^0.14.4",
48
- "@hypernym/eslint-config": "^3.6.3",
49
- "@hypernym/prettier-config": "^3.2.6",
50
- "@hypernym/tsconfig": "^2.6.1",
51
- "@types/node": "^22.17.2",
52
- "eslint": "^9.33.0",
53
- "prettier": "^3.6.2",
54
- "typescript": "^5.9.2"
49
+ "@hypernym/bundler": "^0.32.0",
50
+ "@hypernym/oxlint-config": "^0.1.0",
51
+ "@hypernym/tsconfig": "^2.7.0",
52
+ "@types/node": "^25.3.3",
53
+ "oxfmt": "^0.36.0",
54
+ "oxlint": "^1.51.0",
55
+ "typescript": "^5.9.3"
55
56
  },
56
57
  "scripts": {
57
58
  "build": "hyperbundler",
58
- "lint": "eslint .",
59
- "lint:fix": "eslint --fix .",
60
- "format": "prettier --write ."
59
+ "lint": "oxlint",
60
+ "format": "oxfmt"
61
61
  }
62
62
  }