aemdm 0.4.0 → 0.4.1
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/cli.js +5 -2
- package/package.json +2 -1
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
+
import { createRequire } from "node:module";
|
|
3
4
|
import { realpathSync } from "node:fs";
|
|
5
|
+
const require = createRequire(import.meta.url);
|
|
6
|
+
const pkg = require("../package.json");
|
|
4
7
|
import { Command, CommanderError, Option } from "commander";
|
|
5
8
|
import { z } from "zod";
|
|
6
9
|
import { CliError, normalizeBucket, request, requestJson, resolveBucket, resolveOptionalImsToken, resolveSearchAuth, } from "./lib/client.js";
|
|
@@ -346,8 +349,8 @@ function buildProgram(runtime) {
|
|
|
346
349
|
const program = new Command();
|
|
347
350
|
program
|
|
348
351
|
.name("aemdm")
|
|
349
|
-
.description(
|
|
350
|
-
.version(
|
|
352
|
+
.description(`CLI for Adobe Dynamic Media with OpenAPI v${pkg.version}`)
|
|
353
|
+
.version(pkg.version)
|
|
351
354
|
.showHelpAfterError()
|
|
352
355
|
.option("-v, --verbose", "Show additional diagnostic output")
|
|
353
356
|
.configureOutput({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aemdm",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "CLI for Adobe Dynamic Media with OpenAPI",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Chris Pilsworth",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"node": ">=20"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
+
"aemdm": "^0.4.0",
|
|
44
45
|
"commander": "^14.0.1",
|
|
45
46
|
"zod": "^4.1.12"
|
|
46
47
|
},
|