bod 5.14.2 → 5.15.0

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/bod.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- require('../dist/bod');
3
+ require('../dist/bod')
package/dist/bod.js CHANGED
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const node_fs_1 = tslib_1.__importDefault(require("node:fs"));
5
5
  const node_path_1 = tslib_1.__importDefault(require("node:path"));
6
+ const node_process_1 = tslib_1.__importDefault(require("node:process"));
6
7
  const utils_1 = require("./utils");
7
8
  const index_1 = require("./index");
8
9
  const packageJsonPath = node_path_1.default.join(__dirname, '../package.json');
@@ -29,4 +30,4 @@ utils_1.program.on('--help', () => {
29
30
  utils_1.printer.log('');
30
31
  });
31
32
  utils_1.program.showHelpAfterError();
32
- utils_1.program.parse(process.argv);
33
+ utils_1.program.parse(node_process_1.default.argv);
@@ -2,9 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.program = exports.inquirer = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const node_process_1 = tslib_1.__importDefault(require("node:process"));
5
6
  const commander_1 = require("commander");
6
7
  const inquirer_1 = tslib_1.__importDefault(require("inquirer"));
7
8
  exports.inquirer = inquirer_1.default;
8
9
  const program = new commander_1.Command();
9
10
  exports.program = program;
10
- process.env.__BOD__ = '__BOD__';
11
+ node_process_1.default.env.__BOD__ = '__BOD__';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bod",
3
- "version": "5.14.2",
3
+ "version": "5.15.0",
4
4
  "description": "Boilerplate CLI App",
5
5
  "author": "sabertazimi <sabertazimi@gmail.com>",
6
6
  "license": "MIT",
@@ -40,22 +40,22 @@
40
40
  "node": ">=18.0.0"
41
41
  },
42
42
  "scripts": {
43
- "build": "yarn clean && yarn compile",
43
+ "build": "pnpm clean && pnpm compile",
44
44
  "clean": "rimraf ./dist/",
45
45
  "compile": "tsc",
46
46
  "dev": "ts-node ./src/bod.ts",
47
47
  "format": "prettier --write src/**/*.ts",
48
- "lint": "yarn lint:style && yarn lint:type-check",
49
- "lint:style": "eslint --ext .ts ./src",
48
+ "lint": "pnpm lint:style && pnpm lint:type-check",
49
+ "lint:style": "eslint ./src",
50
50
  "lint:type-check": "tsc --noEmit",
51
- "start": "yarn dev"
51
+ "start": "pnpm dev"
52
52
  },
53
53
  "dependencies": {
54
54
  "chalk": "^4.1.2",
55
- "commander": "^11.1.0",
55
+ "commander": "^12.0.0",
56
56
  "consola": "^3.2.3",
57
57
  "cross-spawn": "^7.0.3",
58
- "envinfo": "^7.11.0",
58
+ "envinfo": "^7.11.1",
59
59
  "inquirer": "^8.2.6",
60
60
  "tslib": "^2.6.2"
61
61
  },
@@ -63,9 +63,9 @@
63
63
  "@types/cross-spawn": "^6.0.6",
64
64
  "@types/envinfo": "^7.8.3",
65
65
  "@types/inquirer": "^8.2.10",
66
- "@types/rimraf": "^3.0.2",
66
+ "@types/rimraf": "^4.0.5",
67
67
  "ci-info": "^4.0.0",
68
68
  "rimraf": "^5.0.5"
69
69
  },
70
- "gitHead": "e33d6d865c2953a936f41a3bc959e09e17ddac34"
70
+ "gitHead": "f516678ef487ab537d934157ff413f4561f1adc4"
71
71
  }