@luutuankiet/gsd-reader 0.2.25 → 0.2.27
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/cli.cjs +5 -1
- package/package.json +3 -3
package/cli.cjs
CHANGED
|
@@ -24,6 +24,10 @@ const zlib = require('zlib');
|
|
|
24
24
|
const tar = require('tar');
|
|
25
25
|
const readline = require('readline');
|
|
26
26
|
|
|
27
|
+
// Fix Node.js v20+ Happy Eyeballs (autoSelectFamily) breaking fetch on
|
|
28
|
+
// dual-stack DNS with unreachable IPv6 (e.g., Cloudflare Tunnel domains)
|
|
29
|
+
require('net').setDefaultAutoSelectFamily(false);
|
|
30
|
+
|
|
27
31
|
// Get version from package.json
|
|
28
32
|
const pkg = require('./package.json');
|
|
29
33
|
console.log(`[GSD-Lite Reader] v${pkg.version}`);
|
|
@@ -106,7 +110,7 @@ async function commandDump() {
|
|
|
106
110
|
work: workContent,
|
|
107
111
|
project: projContent,
|
|
108
112
|
architecture: archContent,
|
|
109
|
-
base_path: path.
|
|
113
|
+
base_path: path.dirname(resolvedWorklog),
|
|
110
114
|
});
|
|
111
115
|
|
|
112
116
|
// Get password
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luutuankiet/gsd-reader",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.27",
|
|
4
4
|
"description": "Interactive Worklog Reader for GSD-Lite WORK.md files with live reload",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gsd-lite",
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "https://github.com/luutuankiet/gsd-
|
|
17
|
-
"directory": "plugins/reader-vite"
|
|
16
|
+
"url": "https://github.com/luutuankiet/gsd-reader.git"
|
|
18
17
|
},
|
|
19
18
|
"bin": "./cli.cjs",
|
|
20
19
|
"files": [
|
|
@@ -44,6 +43,7 @@
|
|
|
44
43
|
"vite": "^6.0.0",
|
|
45
44
|
"vitest": "^2.0.0"
|
|
46
45
|
},
|
|
46
|
+
"packageManager": "pnpm@10.32.1",
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=18.0.0"
|
|
49
49
|
}
|