@myapihq/cli 2.5.0 → 2.5.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.
|
@@ -336,12 +336,11 @@ export async function buildLogs(id, flags) {
|
|
|
336
336
|
if (!id)
|
|
337
337
|
error('Missing id.\nUsage: myapi container build-logs <id> [--tail N]');
|
|
338
338
|
const tail = typeof flags.tail === 'number' ? flags.tail : undefined;
|
|
339
|
-
const
|
|
339
|
+
const lines = await sdkContainer.buildLogs(config.api_key, orgId, id, tail);
|
|
340
340
|
if (flags.json) {
|
|
341
|
-
printJson(
|
|
341
|
+
printJson(lines);
|
|
342
342
|
return;
|
|
343
343
|
}
|
|
344
|
-
const lines = res.logs ?? [];
|
|
345
344
|
if (lines.length === 0) {
|
|
346
345
|
info('No build logs yet — has this container been deployed with --source?');
|
|
347
346
|
return;
|
package/dist/commands/pixel.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myapihq/cli",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.1",
|
|
5
5
|
"description": "MyAPI command-line interface",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"lint:skills:strict": "node scripts/copy-skills.js && node scripts/lint-skills.js --strict"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@myapihq/sdk": "^2.5.
|
|
42
|
+
"@myapihq/sdk": "^2.5.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^25.6.0",
|