@base44-preview/cli 0.0.47-pr.439.fabf635 → 0.0.48-pr.443.3b7583c
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/index.js +23 -8
- package/dist/cli/index.js.map +9 -9
- package/package.json +1 -48
package/dist/cli/index.js
CHANGED
|
@@ -243145,7 +243145,7 @@ import { join as join9 } from "node:path";
|
|
|
243145
243145
|
// package.json
|
|
243146
243146
|
var package_default = {
|
|
243147
243147
|
name: "base44",
|
|
243148
|
-
version: "0.0.
|
|
243148
|
+
version: "0.0.48",
|
|
243149
243149
|
description: "Base44 CLI - Unified interface for managing Base44 applications",
|
|
243150
243150
|
type: "module",
|
|
243151
243151
|
bin: {
|
|
@@ -252877,22 +252877,37 @@ var $setGracefulCleanup = tmp.setGracefulCleanup;
|
|
|
252877
252877
|
var colorByType = {
|
|
252878
252878
|
error: theme.styles.error,
|
|
252879
252879
|
warn: theme.styles.warn,
|
|
252880
|
-
log: (
|
|
252880
|
+
log: (input) => input
|
|
252881
|
+
};
|
|
252882
|
+
var stringify = (item) => {
|
|
252883
|
+
if (typeof item === "string") {
|
|
252884
|
+
return item;
|
|
252885
|
+
}
|
|
252886
|
+
if (item instanceof Error) {
|
|
252887
|
+
return item.toString();
|
|
252888
|
+
}
|
|
252889
|
+
try {
|
|
252890
|
+
return JSON.stringify(item) ?? String(item);
|
|
252891
|
+
} catch {
|
|
252892
|
+
return String(item);
|
|
252893
|
+
}
|
|
252881
252894
|
};
|
|
252882
252895
|
function createDevLogger() {
|
|
252883
|
-
const print = (type,
|
|
252896
|
+
const print = (type, ...args) => {
|
|
252884
252897
|
const colorize = colorByType[type];
|
|
252885
|
-
console[type](
|
|
252898
|
+
console[type](...args.map((item) => {
|
|
252899
|
+
return colorize(stringify(item));
|
|
252900
|
+
}));
|
|
252886
252901
|
};
|
|
252887
252902
|
return {
|
|
252888
|
-
log: (
|
|
252903
|
+
log: (...args) => print("log", ...args),
|
|
252889
252904
|
error: (msg, err) => {
|
|
252890
252905
|
print("error", msg);
|
|
252891
252906
|
if (err) {
|
|
252892
|
-
print("error",
|
|
252907
|
+
print("error", err);
|
|
252893
252908
|
}
|
|
252894
252909
|
},
|
|
252895
|
-
warn: (
|
|
252910
|
+
warn: (...args) => print("warn", ...args)
|
|
252896
252911
|
};
|
|
252897
252912
|
}
|
|
252898
252913
|
|
|
@@ -260127,4 +260142,4 @@ export {
|
|
|
260127
260142
|
CLIExitError
|
|
260128
260143
|
};
|
|
260129
260144
|
|
|
260130
|
-
//# debugId=
|
|
260145
|
+
//# debugId=0624B80C7FAF1ED764756E2164756E21
|