@reliverse/relinka 1.4.1 → 1.4.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/LICENSE +1 -1
- package/README.md +5 -2
- package/bin/impl.js +5 -6
- package/package.json +13 -13
- /package/bin/{main.d.ts → mod.d.ts} +0 -0
- /package/bin/{main.js → mod.js} +0 -0
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) Nazar Kornienko (blefnk), Reliverse
|
|
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
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
|
|
18
18
|
## Getting Started
|
|
19
19
|
|
|
20
|
+
Make sure you have git, node.js, and bun/pnpm/yarn/npm installed.
|
|
21
|
+
|
|
20
22
|
### 1. Install
|
|
21
23
|
|
|
22
24
|
```bash
|
|
@@ -80,7 +82,8 @@ export async function main() {
|
|
|
80
82
|
|
|
81
83
|
// Make sure to exit the program after your CLI is done
|
|
82
84
|
// It's not required for Bun-only apps, but recommended
|
|
83
|
-
// for other runtimes
|
|
85
|
+
// for other terminal runtimes like Node.js (incl. `tsx`)
|
|
86
|
+
// It's also not required for @reliverse/rempts `runMain()`
|
|
84
87
|
process.exit(0);
|
|
85
88
|
}
|
|
86
89
|
|
|
@@ -263,7 +266,7 @@ defineConfig({ ... }) // helper for relinka.config.ts
|
|
|
263
266
|
|
|
264
267
|
- Building CLIs? Use with [`@reliverse/prompts`](https://npmjs.com/@reliverse/prompts)
|
|
265
268
|
- Want type-safe injections? Try [`@reliverse/reinject`](https://npmjs.com/@reliverse/reinject)
|
|
266
|
-
- For advanced bundling? Pair with [`@reliverse/
|
|
269
|
+
- For advanced bundling? Pair with [`@reliverse/dler`](https://npmjs.com/@reliverse/dler)
|
|
267
270
|
|
|
268
271
|
## Roadmap
|
|
269
272
|
|
package/bin/impl.js
CHANGED
|
@@ -38,7 +38,7 @@ const DEFAULT_RELINKA_CONFIG = {
|
|
|
38
38
|
spacing: 3
|
|
39
39
|
},
|
|
40
40
|
info: {
|
|
41
|
-
symbol: "\
|
|
41
|
+
symbol: "\u25C8",
|
|
42
42
|
fallbackSymbol: "[i]",
|
|
43
43
|
color: "cyanBright",
|
|
44
44
|
spacing: 3
|
|
@@ -62,7 +62,7 @@ const DEFAULT_RELINKA_CONFIG = {
|
|
|
62
62
|
spacing: 3
|
|
63
63
|
},
|
|
64
64
|
verbose: {
|
|
65
|
-
symbol: "\
|
|
65
|
+
symbol: "\u2731",
|
|
66
66
|
fallbackSymbol: "[VERBOSE]",
|
|
67
67
|
color: "gray",
|
|
68
68
|
spacing: 3
|
|
@@ -499,14 +499,13 @@ function registerExitHandlers() {
|
|
|
499
499
|
if (globalThis[EXIT_GUARD]) return;
|
|
500
500
|
globalThis[EXIT_GUARD] = true;
|
|
501
501
|
process.once("beforeExit", () => {
|
|
502
|
-
flushAllLogBuffers()
|
|
503
|
-
});
|
|
502
|
+
void flushAllLogBuffers();
|
|
504
503
|
});
|
|
505
504
|
sigintHandler = () => {
|
|
506
|
-
flushAllLogBuffers().finally(() => process.exit(0));
|
|
505
|
+
void flushAllLogBuffers().finally(() => process.exit(0));
|
|
507
506
|
};
|
|
508
507
|
sigtermHandler = () => {
|
|
509
|
-
flushAllLogBuffers().finally(() => process.exit(0));
|
|
508
|
+
void flushAllLogBuffers().finally(() => process.exit(0));
|
|
510
509
|
};
|
|
511
510
|
process.once("SIGINT", sigintHandler);
|
|
512
511
|
process.once("SIGTERM", sigtermHandler);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@reliverse/relico": "^1.1.
|
|
3
|
+
"@reliverse/relico": "^1.1.1",
|
|
4
4
|
"@reliverse/repris": "^1.0.0",
|
|
5
5
|
"@reliverse/runtime": "^1.0.3",
|
|
6
6
|
"c12": "^3.0.3",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"name": "@reliverse/relinka",
|
|
17
17
|
"type": "module",
|
|
18
|
-
"version": "1.4.
|
|
18
|
+
"version": "1.4.2",
|
|
19
19
|
"keywords": [
|
|
20
20
|
"logger",
|
|
21
21
|
"consola",
|
|
@@ -34,26 +34,26 @@
|
|
|
34
34
|
],
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@biomejs/biome": "1.9.4",
|
|
37
|
-
"@eslint/js": "^9.
|
|
37
|
+
"@eslint/js": "^9.26.0",
|
|
38
38
|
"@reliverse/relidler-cfg": "^1.1.3",
|
|
39
39
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
40
40
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
41
|
-
"@types/bun": "^1.2.
|
|
41
|
+
"@types/bun": "^1.2.13",
|
|
42
42
|
"@types/fs-extra": "^11.0.4",
|
|
43
|
-
"@types/node": "^22.15.
|
|
43
|
+
"@types/node": "^22.15.17",
|
|
44
44
|
"@types/sentencer": "^0.2.3",
|
|
45
|
-
"eslint": "^9.
|
|
45
|
+
"eslint": "^9.26.0",
|
|
46
46
|
"eslint-plugin-no-relative-import-paths": "^1.6.1",
|
|
47
|
-
"eslint-plugin-perfectionist": "^4.
|
|
47
|
+
"eslint-plugin-perfectionist": "^4.13.0",
|
|
48
48
|
"jiti": "^2.4.2",
|
|
49
|
-
"knip": "^5.
|
|
49
|
+
"knip": "^5.55.1",
|
|
50
50
|
"sentencer": "^0.2.1",
|
|
51
|
-
"tsx": "^4.19.
|
|
51
|
+
"tsx": "^4.19.4",
|
|
52
52
|
"typescript": "^5.8.3",
|
|
53
|
-
"typescript-eslint": "^8.
|
|
53
|
+
"typescript-eslint": "^8.32.1"
|
|
54
54
|
},
|
|
55
55
|
"exports": {
|
|
56
|
-
".": "./bin/
|
|
56
|
+
".": "./bin/mod.js"
|
|
57
57
|
},
|
|
58
58
|
"files": [
|
|
59
59
|
"bin",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"README.md",
|
|
62
62
|
"LICENSE"
|
|
63
63
|
],
|
|
64
|
-
"main": "./bin/
|
|
65
|
-
"module": "./bin/
|
|
64
|
+
"main": "./bin/mod.js",
|
|
65
|
+
"module": "./bin/mod.js",
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
}
|
|
File without changes
|
/package/bin/{main.js → mod.js}
RENAMED
|
File without changes
|