@herodevs/cli 0.2.3 → 0.2.4
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/{main.cjs → cli.cjs} +16 -5
- package/hd-cli.js +1 -0
- package/package.json +3 -3
package/{main.cjs → cli.cjs}
RENAMED
|
@@ -8,6 +8,10 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
|
8
8
|
var __commonJS = (cb, mod) => function __require() {
|
|
9
9
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
10
|
};
|
|
11
|
+
var __export = (target, all) => {
|
|
12
|
+
for (var name in all)
|
|
13
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
14
|
+
};
|
|
11
15
|
var __copyProps = (to, from, except, desc) => {
|
|
12
16
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
17
|
for (let key of __getOwnPropNames(from))
|
|
@@ -24,6 +28,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
28
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
29
|
mod
|
|
26
30
|
));
|
|
31
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
27
32
|
|
|
28
33
|
// apps/cli/package.json
|
|
29
34
|
var require_package = __commonJS({
|
|
@@ -31,17 +36,22 @@ var require_package = __commonJS({
|
|
|
31
36
|
module2.exports = {
|
|
32
37
|
name: "@herodevs/cli",
|
|
33
38
|
version: "0.0.0",
|
|
34
|
-
bin: "./
|
|
39
|
+
bin: "./hd-cli.js",
|
|
35
40
|
dependencies: {
|
|
36
41
|
tslib: "^2.3.0"
|
|
37
42
|
},
|
|
38
43
|
type: "commonjs",
|
|
39
|
-
main: "./
|
|
44
|
+
main: "./hd-cli.js"
|
|
40
45
|
};
|
|
41
46
|
}
|
|
42
47
|
});
|
|
43
48
|
|
|
44
49
|
// apps/cli/src/lib/cli.ts
|
|
50
|
+
var cli_exports = {};
|
|
51
|
+
__export(cli_exports, {
|
|
52
|
+
cli: () => cli
|
|
53
|
+
});
|
|
54
|
+
module.exports = __toCommonJS(cli_exports);
|
|
45
55
|
var yargs = __toESM(require("yargs"));
|
|
46
56
|
var import_helpers = require("yargs/helpers");
|
|
47
57
|
|
|
@@ -981,6 +991,7 @@ function cli() {
|
|
|
981
991
|
const packageVersion = pkg.version;
|
|
982
992
|
yargs.scriptName(packageName).usage("Usage: $0 <command> [options]").middleware(() => ensureVersionIsUpToDate(packageName, packageVersion)).command(commands).parse((0, import_helpers.hideBin)(process.argv));
|
|
983
993
|
}
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
cli
|
|
994
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
995
|
+
0 && (module.exports = {
|
|
996
|
+
cli
|
|
997
|
+
});
|
package/hd-cli.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('./cli.cjs').cli();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@herodevs/cli",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"bin": "./
|
|
3
|
+
"version": "0.2.4",
|
|
4
|
+
"bin": "./hd-cli.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@apollo/client": "3.10.4",
|
|
7
7
|
"@inquirer/prompts": "5.0.4",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"yargs": "17.7.2"
|
|
15
15
|
},
|
|
16
16
|
"type": "commonjs",
|
|
17
|
-
"main": "./
|
|
17
|
+
"main": "./cli.cjs"
|
|
18
18
|
}
|