bod 5.21.0 → 5.21.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.
|
@@ -46,7 +46,7 @@ describe('createCommand', () => {
|
|
|
46
46
|
mockPrompt.mockRestore();
|
|
47
47
|
mockSpawn.mockRestore();
|
|
48
48
|
}));
|
|
49
|
-
it.each(CreateCommand_1.default.TemplateActions)('should throw error when exited with non zero via template choice [$name]', (
|
|
49
|
+
it.each(CreateCommand_1.default.TemplateActions)('should throw error when exited with non zero via template choice [$name]', (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ value }) {
|
|
50
50
|
const mockPrompt = jest
|
|
51
51
|
.spyOn(utils_1.inquirer, 'prompt')
|
|
52
52
|
.mockImplementation(() => {
|
|
@@ -72,7 +72,7 @@ describe('createCommand', () => {
|
|
|
72
72
|
mockPrompt.mockRestore();
|
|
73
73
|
mockSpawn.mockRestore();
|
|
74
74
|
}));
|
|
75
|
-
it.each(CreateCommand_1.default.TemplateActions)('should initialize app directory via template choice [$name]', (
|
|
75
|
+
it.each(CreateCommand_1.default.TemplateActions)('should initialize app directory via template choice [$name]', (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ value }) {
|
|
76
76
|
const mockPrompt = jest
|
|
77
77
|
.spyOn(utils_1.inquirer, 'prompt')
|
|
78
78
|
.mockImplementation(() => {
|
package/dist/commands/index.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.InfoCommand = exports.CreateCommand = exports.BaseCommand = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
7
5
|
var BaseCommand_1 = require("./BaseCommand");
|
|
8
|
-
Object.defineProperty(exports, "BaseCommand", { enumerable: true, get: function () { return __importDefault(BaseCommand_1).default; } });
|
|
6
|
+
Object.defineProperty(exports, "BaseCommand", { enumerable: true, get: function () { return tslib_1.__importDefault(BaseCommand_1).default; } });
|
|
9
7
|
var CreateCommand_1 = require("./CreateCommand");
|
|
10
|
-
Object.defineProperty(exports, "CreateCommand", { enumerable: true, get: function () { return __importDefault(CreateCommand_1).default; } });
|
|
8
|
+
Object.defineProperty(exports, "CreateCommand", { enumerable: true, get: function () { return tslib_1.__importDefault(CreateCommand_1).default; } });
|
|
11
9
|
var InfoCommand_1 = require("./InfoCommand");
|
|
12
|
-
Object.defineProperty(exports, "InfoCommand", { enumerable: true, get: function () { return __importDefault(InfoCommand_1).default; } });
|
|
10
|
+
Object.defineProperty(exports, "InfoCommand", { enumerable: true, get: function () { return tslib_1.__importDefault(InfoCommand_1).default; } });
|
package/dist/utils/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.spawn = exports.program = exports.printer = exports.inquirer = exports.
|
|
3
|
+
exports.spawn = exports.program = exports.printer = exports.inquirer = exports.envinfo = exports.color = void 0;
|
|
4
|
+
exports.findPackageManager = findPackageManager;
|
|
4
5
|
const tslib_1 = require("tslib");
|
|
5
6
|
const node_process_1 = tslib_1.__importDefault(require("node:process"));
|
|
6
7
|
const console_1 = require("./console");
|
|
@@ -24,4 +25,3 @@ function findPackageManager() {
|
|
|
24
25
|
: 'npm';
|
|
25
26
|
return packageManager;
|
|
26
27
|
}
|
|
27
|
-
exports.findPackageManager = findPackageManager;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bod",
|
|
3
|
-
"version": "5.21.
|
|
3
|
+
"version": "5.21.2",
|
|
4
4
|
"description": "Boilerplate CLI App",
|
|
5
5
|
"author": "sabertazimi <sabertazimi@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -52,20 +52,20 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"chalk": "^4.1.2",
|
|
55
|
-
"commander": "^12.
|
|
55
|
+
"commander": "^12.1.0",
|
|
56
56
|
"consola": "^3.2.3",
|
|
57
57
|
"cross-spawn": "^7.0.3",
|
|
58
|
-
"envinfo": "^7.
|
|
58
|
+
"envinfo": "^7.13.0",
|
|
59
59
|
"inquirer": "^8.2.6",
|
|
60
|
-
"tslib": "^2.6.
|
|
60
|
+
"tslib": "^2.6.3"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/cross-spawn": "^6.0.6",
|
|
64
|
-
"@types/envinfo": "^7.8.
|
|
64
|
+
"@types/envinfo": "^7.8.4",
|
|
65
65
|
"@types/inquirer": "^8.2.10",
|
|
66
66
|
"ci-info": "^4.0.0",
|
|
67
|
-
"rimraf": "^5.0.
|
|
68
|
-
"type-fest": "^4.
|
|
67
|
+
"rimraf": "^5.0.7",
|
|
68
|
+
"type-fest": "^4.20.1"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "b97b592c7dc6472ed786dc4762354b7b2a668930"
|
|
71
71
|
}
|