@datarails-ai/dr-appspace-cli 0.12.46 → 0.12.47
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 +8 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -13,7 +13,7 @@ import { fileURLToPath as fileURLToPath6 } from "url";
|
|
|
13
13
|
// package.json
|
|
14
14
|
var package_default = {
|
|
15
15
|
name: "@datarails-ai/dr-appspace-cli",
|
|
16
|
-
version: "0.12.
|
|
16
|
+
version: "0.12.47",
|
|
17
17
|
description: "Datarails App Space CLI \u2014 build, try, push and publish App Space apps",
|
|
18
18
|
type: "module",
|
|
19
19
|
engines: {
|
|
@@ -57,7 +57,7 @@ var package_default = {
|
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
// src/buildInfo.ts
|
|
60
|
-
var BUILD_TIME = "2026-10-
|
|
60
|
+
var BUILD_TIME = "2026-10-28T22:36:55.266Z";
|
|
61
61
|
function formatBuildTime(iso) {
|
|
62
62
|
if (iso === "") return "";
|
|
63
63
|
const d = new Date(iso);
|
|
@@ -22997,6 +22997,11 @@ function describePostCommit(result) {
|
|
|
22997
22997
|
}
|
|
22998
22998
|
return lines.join("");
|
|
22999
22999
|
}
|
|
23000
|
+
function describeServerWarnings(result) {
|
|
23001
|
+
const said2 = new Set((result.post_commit_failed ?? []).map((f) => f.warning).filter((w) => typeof w === "string"));
|
|
23002
|
+
return (Array.isArray(result.warnings) ? result.warnings : []).filter((line2) => typeof line2 === "string" && line2.trim() !== "" && !said2.has(line2)).map((line2) => `warning: ${line2}
|
|
23003
|
+
`).join("");
|
|
23004
|
+
}
|
|
23000
23005
|
async function bindForPush(client, appId, contract, opts) {
|
|
23001
23006
|
const transport = metricsTransport(client);
|
|
23002
23007
|
const app = contract?.app;
|
|
@@ -23122,6 +23127,7 @@ async function pushFolder(dir, opts) {
|
|
|
23122
23127
|
owner: result.owner ?? null
|
|
23123
23128
|
});
|
|
23124
23129
|
if (pushFailed(result)) process.exitCode = 1;
|
|
23130
|
+
process.stderr.write(describeServerWarnings(result));
|
|
23125
23131
|
if (opts.json === true) {
|
|
23126
23132
|
printJson(result);
|
|
23127
23133
|
return outcome;
|