cmdbox 1.0.1 → 1.0.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/dist/cmdbox.js +5 -1
- package/package.json +1 -2
package/dist/cmdbox.js
CHANGED
|
@@ -7,6 +7,10 @@ import os from "node:os";
|
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { execSync } from "node:child_process";
|
|
9
9
|
|
|
10
|
+
//#region package.json
|
|
11
|
+
var version = "1.0.3";
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
10
14
|
//#region src/consts.ts
|
|
11
15
|
const STORE_FILE_PATH = path.join(os.homedir(), ".cmdbox");
|
|
12
16
|
const SCRIPT_NAME = "cmdbox";
|
|
@@ -162,6 +166,6 @@ yargs(hideBin(process.argv)).scriptName(SCRIPT_NAME).strictCommands().demandComm
|
|
|
162
166
|
describe: "The name of the stored command",
|
|
163
167
|
type: "string"
|
|
164
168
|
});
|
|
165
|
-
}, (argv) => handler$1(argv.name)).help().alias("h", "help").version().alias("v", "version").parse();
|
|
169
|
+
}, (argv) => handler$1(argv.name)).help().alias("h", "help").version(version).alias("v", "version").parse();
|
|
166
170
|
|
|
167
171
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cmdbox",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"cmdbox": "dist/cmdbox.js"
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^25.0.8",
|
|
33
33
|
"@types/yargs": "^17.0.35",
|
|
34
|
-
"cross-env": "^10.1.0",
|
|
35
34
|
"rolldown": "1.0.0-beta.60"
|
|
36
35
|
},
|
|
37
36
|
"dependencies": {
|