beast-core-create 0.0.0-rc.644053 → 0.0.0-rc.644289

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/main.js CHANGED
@@ -10355,56 +10355,6 @@ var ForegroundColor$1;
10355
10355
  ForegroundColor[ForegroundColor["Gray"] = 90] = "Gray";
10356
10356
  })(ForegroundColor$1 || (ForegroundColor$1 = {}));
10357
10357
 
10358
- let ConsoleUtils$1 = class ConsoleUtils {
10359
- writeLine(value, foregroundColor = ForegroundColor$1.Default, backgroundColor = BackgroundColor$1.Default) {
10360
- console.log(`\x1b[${foregroundColor};${backgroundColor}m${value}\x1b[0m`);
10361
- return this;
10362
- }
10363
- write(value, foregroundColor = ForegroundColor$1.Default, backgroundColor = BackgroundColor$1.Default) {
10364
- process.stdout.write(`\x1b[${foregroundColor};${backgroundColor}m${value}\x1b[0m`);
10365
- return this;
10366
- }
10367
- writeError(value) {
10368
- this.writeLine(value, ForegroundColor$1.Red);
10369
- return this;
10370
- }
10371
- writeErrors(values) {
10372
- for (const value of values) {
10373
- this.writeError(value);
10374
- }
10375
- return this;
10376
- }
10377
- writeWarning(value) {
10378
- this.writeLine(value, ForegroundColor$1.Yellow);
10379
- return this;
10380
- }
10381
- moveCursorUpOneLine = () => {
10382
- process.stdout.write('\x1b[1A');
10383
- return this;
10384
- };
10385
- moveCursorUpLines = (count) => {
10386
- process.stdout.write(`\x1b[${count}A`);
10387
- return this;
10388
- };
10389
- moveCursorToEnd = () => {
10390
- process.stdout.write(`\x1b[${process.stdout.rows};${0}H`);
10391
- return this;
10392
- };
10393
- clearLine = () => {
10394
- process.stdout.write('\x1b[2K');
10395
- return this;
10396
- };
10397
- hideCursor = () => {
10398
- process.stdout.write('\u001B[?25l');
10399
- return this;
10400
- };
10401
- showCursor = () => {
10402
- process.stdout.write('\u001B[?25h');
10403
- return this;
10404
- };
10405
- };
10406
- const consoleUtils$1 = new ConsoleUtils$1();
10407
-
10408
10358
  class IoUtils {
10409
10359
  doesPathExistAsync = async (path) => {
10410
10360
  try {
@@ -11441,7 +11391,7 @@ var findReplaceManifest = [
11441
11391
  ]
11442
11392
  },
11443
11393
  {
11444
- path: "./backend/package.json/",
11394
+ path: "./backend/package.json",
11445
11395
  replacePath: null,
11446
11396
  replaceContent: [
11447
11397
  [
@@ -12312,19 +12262,10 @@ class RootCommand extends CommandBase {
12312
12262
  };
12313
12263
  mainAsync = async (args) => {
12314
12264
  await this.loadEnvAsync();
12265
+ console.log("[DBG] mainAsync args:", args, "length:", args?.length);
12315
12266
  await super.mainAsync(args ?? process.argv.slice(2));
12316
12267
  };
12317
12268
  }
12318
- try {
12319
- await new RootCommand().mainAsync();
12320
- }
12321
- catch (e) {
12322
- if (e instanceof Error && e.constructor.name != "ExitPromptError") {
12323
- consoleUtils$1.writeLine(e.message, ForegroundColor$1.Red);
12324
- }
12325
- console.error("Thank you for using the Beast Core SDK. We hope to see you again soon!");
12326
- process.exit(-1);
12327
- }
12328
12269
 
12329
12270
  var BackgroundColor;
12330
12271
  (function (BackgroundColor) {