@gheop/tojiru 0.1.0 → 0.1.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/README.md +11 -2
- package/dist/version.js +5 -1
- package/dist/version.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,13 +34,13 @@ Comics work out of the box. Only PDF and DjVu need a system tool, detected at ru
|
|
|
34
34
|
Requires **Node ≥ 20**.
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
npm install -g tojiru
|
|
37
|
+
npm install -g @gheop/tojiru
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
Or run it once without installing:
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
npx tojiru book.pdf --out reader/
|
|
43
|
+
npx @gheop/tojiru book.pdf --out reader/
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
From source:
|
|
@@ -110,6 +110,15 @@ MIT — see [LICENSE](LICENSE).
|
|
|
110
110
|
|
|
111
111
|
## Changelog
|
|
112
112
|
|
|
113
|
+
### v0.1.2 — Version reporting (2026-06-25)
|
|
114
|
+
|
|
115
|
+
- `tojiru --version` now reads the version from `package.json`, so it always matches the published version
|
|
116
|
+
|
|
117
|
+
### v0.1.1 — Scoped package name (2026-06-25)
|
|
118
|
+
|
|
119
|
+
- Published on npm as `@gheop/tojiru` (the unscoped `tojiru` name was taken); the installed command is still `tojiru`
|
|
120
|
+
- README install instructions corrected to the scoped name
|
|
121
|
+
|
|
113
122
|
### v0.1.0 — Initial release (2026-06-25)
|
|
114
123
|
|
|
115
124
|
- PDF → vector SVG pages; CBZ/CB7/CBR/DjVu → image pages
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { createRequire } from 'node:module';
|
|
2
|
+
// Single source of truth: read the version from package.json (shipped in the
|
|
3
|
+
// published tarball) so `--version` always matches the package version.
|
|
4
|
+
const pkg = createRequire(import.meta.url)('../package.json');
|
|
5
|
+
export const VERSION = pkg.version;
|
|
2
6
|
//# sourceMappingURL=version.js.map
|
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAA"}
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,6EAA6E;AAC7E,wEAAwE;AACxE,MAAM,GAAG,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,iBAAiB,CAAwB,CAAA;AACpF,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAA"}
|