@reliverse/relinka 1.3.2 → 1.3.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.
Files changed (55) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +87 -134
  3. package/bin/deprecated/components/core/core.d.ts +2 -0
  4. package/bin/deprecated/components/core/core.js +2 -0
  5. package/{dist-npm → bin/deprecated}/components/levels/levels.d.ts +26 -26
  6. package/{dist-npm → bin/deprecated}/components/modes/basic.d.ts +20 -20
  7. package/{dist-npm → bin/deprecated}/components/modes/basic.js +5 -5
  8. package/{dist-npm → bin/deprecated}/components/modes/browser.d.ts +19 -19
  9. package/{dist-npm → bin/deprecated}/components/modes/browser.js +2 -2
  10. package/bin/deprecated/components/modes/shared.d.ts +5 -0
  11. package/bin/deprecated/components/modes/shared.js +2 -0
  12. package/{dist-npm → bin/deprecated}/components/relinka/logger.d.ts +5 -5
  13. package/{dist-npm → bin/deprecated}/components/relinka/mod.d.ts +21 -21
  14. package/{dist-npm → bin/deprecated}/components/relinka/mod.js +3 -3
  15. package/{dist-npm → bin/deprecated}/components/relinka/relinka.d.ts +141 -140
  16. package/{dist-npm → bin/deprecated}/components/relinka/relinka.js +14 -11
  17. package/{dist-npm → bin/deprecated}/components/reporters/basic.d.ts +11 -11
  18. package/{dist-npm → bin/deprecated}/components/reporters/basic.js +10 -6
  19. package/{dist-npm → bin/deprecated}/components/reporters/browser.d.ts +10 -10
  20. package/{dist-npm → bin/deprecated}/components/reporters/fancy.d.ts +10 -10
  21. package/{dist-npm → bin/deprecated}/components/reporters/fancy.js +16 -11
  22. package/{dist-npm/main.js → bin/deprecated/depd-main.d.ts} +2 -2
  23. package/{dist-npm → bin/deprecated}/types/mod.d.ts +150 -149
  24. package/{dist-npm → bin/deprecated}/utils/box.d.ts +114 -114
  25. package/{dist-npm → bin/deprecated}/utils/box.js +1 -1
  26. package/{dist-npm → bin/deprecated}/utils/deprecatedColors.d.ts +69 -69
  27. package/{dist-npm → bin/deprecated}/utils/deprecatedColors.js +3 -9
  28. package/{dist-npm → bin/deprecated}/utils/error.d.ts +6 -6
  29. package/{dist-npm → bin/deprecated}/utils/format.d.ts +14 -14
  30. package/{dist-npm → bin/deprecated}/utils/format.js +2 -2
  31. package/{dist-npm → bin/deprecated}/utils/log.d.ts +13 -13
  32. package/bin/deprecated/utils/mod.d.ts +3 -0
  33. package/bin/deprecated/utils/mod.js +9 -0
  34. package/{dist-npm → bin/deprecated}/utils/stream.d.ts +15 -14
  35. package/{dist-npm → bin/deprecated}/utils/string.d.ts +50 -50
  36. package/{dist-npm → bin/deprecated}/utils/tree.d.ts +41 -41
  37. package/bin/main.d.ts +1 -0
  38. package/bin/main.js +1 -0
  39. package/package.json +46 -83
  40. package/dist-npm/components/core/core.d.ts +0 -2
  41. package/dist-npm/components/core/core.js +0 -2
  42. package/dist-npm/components/modes/shared.d.ts +0 -5
  43. package/dist-npm/components/modes/shared.js +0 -2
  44. package/dist-npm/utils/mod.d.ts +0 -3
  45. package/dist-npm/utils/mod.js +0 -9
  46. /package/{dist-npm → bin/deprecated}/components/levels/levels.js +0 -0
  47. /package/{dist-npm → bin/deprecated}/components/relinka/logger.js +0 -0
  48. /package/{dist-npm → bin/deprecated}/components/reporters/browser.js +0 -0
  49. /package/{dist-npm/main.d.ts → bin/deprecated/depd-main.js} +0 -0
  50. /package/{dist-npm → bin/deprecated}/types/mod.js +0 -0
  51. /package/{dist-npm → bin/deprecated}/utils/error.js +0 -0
  52. /package/{dist-npm → bin/deprecated}/utils/log.js +0 -0
  53. /package/{dist-npm → bin/deprecated}/utils/stream.js +0 -0
  54. /package/{dist-npm → bin/deprecated}/utils/string.js +0 -0
  55. /package/{dist-npm → bin/deprecated}/utils/tree.js +0 -0
package/package.json CHANGED
@@ -1,71 +1,16 @@
1
1
  {
2
- "name": "@reliverse/relinka",
3
- "version": "1.3.2",
4
- "author": "blefnk",
5
- "type": "module",
6
- "description": "@reliverse/relinka is a powerful logger for your terminal.",
7
- "scripts": {
8
- "dev": "bun examples/main.ts",
9
- "check": "bun typecheck && bun lint && bun format",
10
- "build:npm": "unbuild && bun build.optim.ts",
11
- "build:jsr": "bun build.optim.ts --jsr",
12
- "build": "bun build:npm && bun build:jsr",
13
- "pub:npm": "bun build.publish.ts",
14
- "pub:jsr": "bun build.publish.ts --jsr",
15
- "pub:dry": "bun build.publish.ts --dry-run",
16
- "pub": "bun publish.ts",
17
- "typecheck": "tsc --noEmit",
18
- "lint": "eslint --cache --fix .",
19
- "lint:i": "eslint --inspect-config",
20
- "format": "biome check --write .",
21
- "attw": "bunx @arethetypeswrong/cli",
22
- "unpub": "npm unpublish",
23
- "test": "vitest",
24
- "knip": "knip",
25
- "latest": "bun update --latest"
26
- },
27
- "publishConfig": {
28
- "access": "public"
29
- },
30
- "repository": {
31
- "type": "git",
32
- "url": "git+https://github.com/reliverse/relinka.git"
33
- },
34
- "types": "./dist-npm/main.d.ts",
35
- "module": "./dist-npm/main.js",
36
- "main": "./dist-npm/main.js",
37
- "exports": {
38
- "import": "./dist-npm/main.js",
39
- "types": "./dist-npm/main.d.ts"
40
- },
41
- "bugs": {
42
- "url": "https://github.com/reliverse/relinka/issues",
43
- "email": "blefnk@gmail.com"
44
- },
45
- "files": [
46
- "package.json",
47
- "README.md",
48
- "LICENSE.md",
49
- "dist-npm"
50
- ],
51
- "homepage": "https://github.com/reliverse/relinka",
52
- "keywords": [
53
- "cli",
54
- "reliverse"
55
- ],
56
- "license": "MIT",
57
2
  "dependencies": {
58
3
  "@figliolia/chalk-animation": "^1.0.4",
59
- "@reliverse/relico": "^1.0.1",
60
- "@reliverse/runtime": "^1.0.2",
61
- "@sinclair/typebox": "^0.34.14",
4
+ "@reliverse/relico": "^1.0.2",
5
+ "@reliverse/runtime": "^1.0.3",
6
+ "@sinclair/typebox": "^0.34.31",
62
7
  "ansi-diff-stream": "^1.2.1",
63
8
  "ansi-escapes": "^7.0.0",
64
9
  "chalk": "^5.4.1",
65
10
  "cli-spinners": "^3.2.0",
66
11
  "cli-styles": "^1.0.0",
67
12
  "cli-width": "^4.1.0",
68
- "confbox": "^0.1.8",
13
+ "confbox": "^0.2.1",
69
14
  "defu": "^6.1.4",
70
15
  "destr": "^2.0.3",
71
16
  "detect-package-manager": "^3.0.2",
@@ -74,21 +19,21 @@
74
19
  "figlet": "^1.8.0",
75
20
  "fs-extra": "^11.3.0",
76
21
  "get-pixels": "^3.3.3",
77
- "globby": "^14.0.2",
22
+ "globby": "^14.1.0",
78
23
  "gradient-string": "^3.0.0",
79
24
  "kleur": "^4.1.5",
80
25
  "log-update": "^6.1.0",
81
26
  "mri": "^1.2.0",
82
27
  "mute-stream": "^2.0.0",
83
28
  "node-emoji": "^2.2.0",
84
- "nypm": "^0.5.0",
85
- "ora": "^8.1.1",
86
- "pathe": "^2.0.2",
29
+ "nypm": "^0.6.0",
30
+ "ora": "^8.2.0",
31
+ "pathe": "^2.0.3",
87
32
  "precision": "^1.0.1",
88
33
  "seventh": "^0.9.2",
89
34
  "signal-exit": "^4.1.0",
90
35
  "sisteransi": "^1.0.5",
91
- "std-env": "^3.8.0",
36
+ "std-env": "^3.8.1",
92
37
  "string-width": "^7.2.0",
93
38
  "strip-ansi": "^7.1.0",
94
39
  "terminal-size": "^4.0.0",
@@ -96,41 +41,59 @@
96
41
  "window-size": "^1.1.1",
97
42
  "wrap-ansi": "^9.0.0"
98
43
  },
44
+ "homepage": "https://docs.reliverse.org",
45
+ "license": "MIT",
46
+ "name": "@reliverse/relinka",
47
+ "type": "module",
48
+ "version": "1.3.3",
99
49
  "devDependencies": {
100
- "@arethetypeswrong/cli": "^0.17.3",
50
+ "@arethetypeswrong/cli": "^0.17.4",
101
51
  "@biomejs/biome": "1.9.4",
102
- "@cspell/dict-npm": "^5.1.23",
103
- "@eslint/js": "^9.19.0",
104
- "@eslint/json": "^0.10.0",
105
- "@eslint/markdown": "^6.2.2",
106
- "@stylistic/eslint-plugin": "^3.0.0",
52
+ "@cspell/dict-npm": "^5.1.32",
53
+ "@eslint/js": "^9.23.0",
54
+ "@reliverse/relidler-cfg": "^1.1.3",
55
+ "@stylistic/eslint-plugin": "^4.2.0",
107
56
  "@types/ansi-diff-stream": "^1.2.3",
108
- "@types/bun": "^1.2.0",
57
+ "@types/bun": "^1.2.8",
109
58
  "@types/chalk-animation": "^1.6.3",
110
- "@types/eslint__js": "^8.42.3",
111
59
  "@types/figlet": "^1.7.0",
112
60
  "@types/fs-extra": "^11.0.4",
113
61
  "@types/mute-stream": "^0.0.4",
114
- "@types/node": "^22.10.10",
62
+ "@types/node": "^22.13.16",
115
63
  "@types/sentencer": "^0.2.3",
116
- "@types/signal-exit": "^3.0.4",
64
+ "@types/signal-exit": "^4.0.0",
117
65
  "@types/strip-comments": "^2.0.4",
118
66
  "@types/window-size": "^1.1.4",
119
- "c12": "^2.0.1",
67
+ "c12": "^3.0.2",
120
68
  "citty": "^0.1.6",
121
- "eslint": "^9.19.0",
122
- "eslint-plugin-perfectionist": "^4.7.0",
69
+ "eslint": "^9.23.0",
70
+ "eslint-plugin-no-relative-import-paths": "^1.6.1",
71
+ "eslint-plugin-perfectionist": "^4.10.1",
123
72
  "execa": "^9.5.2",
124
73
  "jiti": "^2.4.2",
125
- "knip": "^5.43.3",
74
+ "knip": "^5.46.4",
126
75
  "mock-stdin": "^1.0.0",
127
76
  "printj": "^1.3.1",
128
77
  "sentencer": "^0.2.1",
129
78
  "strip-comments": "^2.0.1",
130
- "tsx": "^4.19.2",
131
- "typescript": "^5.7.3",
132
- "typescript-eslint": "^8.21.0",
133
- "unbuild": "^3.3.1",
134
- "vitest": "^3.0.4"
79
+ "tsx": "^4.19.3",
80
+ "typescript": "^5.8.2",
81
+ "typescript-eslint": "^8.29.0",
82
+ "unbuild": "^3.5.0",
83
+ "vitest": "^3.1.1"
84
+ },
85
+ "exports": {
86
+ ".": "./bin/main.js"
87
+ },
88
+ "files": [
89
+ "bin",
90
+ "package.json",
91
+ "README.md",
92
+ "LICENSE"
93
+ ],
94
+ "main": "./bin/main.js",
95
+ "module": "./bin/main.js",
96
+ "publishConfig": {
97
+ "access": "public"
135
98
  }
136
99
  }
@@ -1,2 +0,0 @@
1
- export { createRelinka } from "../../components/relinka/relinka.js";
2
- export * from "../../components/modes/shared.js";
@@ -1,2 +0,0 @@
1
- export { createRelinka } from "../../components/relinka/relinka.js";
2
- export * from "../../components/modes/shared.js";
@@ -1,5 +0,0 @@
1
- export { LogLevels, LogTypes } from "../../components/levels/levels.js";
2
- export { RelinkaInterface } from "../../components/relinka/relinka.js";
3
- export type * from "../../types/mod.js";
4
- export type { RelinkaInstance } from "../../components/relinka/relinka.js";
5
- export type { LogLevel, LogType } from "../../components/levels/levels.js";
@@ -1,2 +0,0 @@
1
- export { LogLevels, LogTypes } from "../../components/levels/levels.js";
2
- export { RelinkaInterface } from "../../components/relinka/relinka.js";
@@ -1,3 +0,0 @@
1
- export * from "../utils/box.js";
2
- export * from "../utils/deprecatedColors.js";
3
- export { stripAnsi, centerAlign, rightAlign, leftAlign, align, } from "../utils/string.js";
@@ -1,9 +0,0 @@
1
- export * from "../utils/box.js";
2
- export * from "../utils/deprecatedColors.js";
3
- export {
4
- stripAnsi,
5
- centerAlign,
6
- rightAlign,
7
- leftAlign,
8
- align
9
- } from "../utils/string.js";
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes