bod 5.13.3 → 5.13.5
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/dist/bod.js +4 -4
- package/package.json +4 -4
package/dist/bod.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
4
|
+
const node_fs_1 = tslib_1.__importDefault(require("node:fs"));
|
|
5
|
+
const node_path_1 = tslib_1.__importDefault(require("node:path"));
|
|
6
6
|
const utils_1 = require("./utils");
|
|
7
7
|
const index_1 = require("./index");
|
|
8
|
-
const packageJsonPath =
|
|
9
|
-
const packageJson = JSON.parse(
|
|
8
|
+
const packageJsonPath = node_path_1.default.join(__dirname, '../package.json');
|
|
9
|
+
const packageJson = JSON.parse(node_fs_1.default.readFileSync(packageJsonPath, { encoding: 'utf-8' }));
|
|
10
10
|
utils_1.program.version(packageJson.version, '-v, --version');
|
|
11
11
|
for (const command of index_1.CommandFactory.values()) {
|
|
12
12
|
utils_1.program
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bod",
|
|
3
|
-
"version": "5.13.
|
|
3
|
+
"version": "5.13.5",
|
|
4
4
|
"description": "Boilerplate CLI App",
|
|
5
5
|
"author": "sabertazimi <sabertazimi@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"!dist/**/*.test.d.ts"
|
|
38
38
|
],
|
|
39
39
|
"engines": {
|
|
40
|
-
"node": ">=
|
|
40
|
+
"node": ">=18.0.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "yarn clean && yarn compile",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@types/inquirer": "^8.2.6",
|
|
66
66
|
"@types/rimraf": "^3.0.2",
|
|
67
67
|
"ci-info": "^3.8.0",
|
|
68
|
-
"rimraf": "^4.
|
|
68
|
+
"rimraf": "^4.4.0"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "7a7c57cf5574529ee2425fdbec87bb72055a87e9"
|
|
71
71
|
}
|