zero-tools 1.5.2 → 1.5.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.
- package/bin.ts +2 -1
- package/dist/bin.js +2 -1
- package/package.json +1 -1
package/bin.ts
CHANGED
|
@@ -305,7 +305,8 @@ export let ${rootName}: ${rootInterface} = ${JSON.stringify(book.toJson(), null,
|
|
|
305
305
|
console.log(helpString)
|
|
306
306
|
},
|
|
307
307
|
v: () => {
|
|
308
|
-
|
|
308
|
+
let pkg = JSON.parse(fs.readFileSync(path.join(__dirname, "../package.json"), "utf8"))
|
|
309
|
+
console.log(pkg.version)
|
|
309
310
|
}
|
|
310
311
|
}
|
|
311
312
|
let isFree = true
|
package/dist/bin.js
CHANGED
|
@@ -244,7 +244,8 @@ var fn = {
|
|
|
244
244
|
console.log(helpString);
|
|
245
245
|
},
|
|
246
246
|
v: function () {
|
|
247
|
-
|
|
247
|
+
var pkg = JSON.parse(fs.readFileSync(path.join(__dirname, "../package.json"), "utf8"));
|
|
248
|
+
console.log(pkg.version);
|
|
248
249
|
}
|
|
249
250
|
};
|
|
250
251
|
var isFree = true;
|