@base44-preview/cli 0.0.30-pr.220.245e9c0 → 0.0.30-pr.220.f6fa1e1

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 CHANGED
@@ -6357,8 +6357,8 @@ var require_utils3 = __commonJS((exports) => {
6357
6357
  exports.array = array2;
6358
6358
  var errno = require_errno();
6359
6359
  exports.errno = errno;
6360
- var fs11 = require_fs();
6361
- exports.fs = fs11;
6360
+ var fs12 = require_fs();
6361
+ exports.fs = fs12;
6362
6362
  var path8 = require_path();
6363
6363
  exports.path = path8;
6364
6364
  var pattern = require_pattern();
@@ -6520,12 +6520,12 @@ var require_sync = __commonJS((exports) => {
6520
6520
  var require_fs2 = __commonJS((exports) => {
6521
6521
  Object.defineProperty(exports, "__esModule", { value: true });
6522
6522
  exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = undefined;
6523
- var fs11 = __require("fs");
6523
+ var fs12 = __require("fs");
6524
6524
  exports.FILE_SYSTEM_ADAPTER = {
6525
- lstat: fs11.lstat,
6526
- stat: fs11.stat,
6527
- lstatSync: fs11.lstatSync,
6528
- statSync: fs11.statSync
6525
+ lstat: fs12.lstat,
6526
+ stat: fs12.stat,
6527
+ lstatSync: fs12.lstatSync,
6528
+ statSync: fs12.statSync
6529
6529
  };
6530
6530
  function createFileSystemAdapter(fsMethods) {
6531
6531
  if (fsMethods === undefined) {
@@ -6539,13 +6539,13 @@ var require_fs2 = __commonJS((exports) => {
6539
6539
  // node_modules/@nodelib/fs.stat/out/settings.js
6540
6540
  var require_settings = __commonJS((exports) => {
6541
6541
  Object.defineProperty(exports, "__esModule", { value: true });
6542
- var fs11 = require_fs2();
6542
+ var fs12 = require_fs2();
6543
6543
 
6544
6544
  class Settings {
6545
6545
  constructor(_options = {}) {
6546
6546
  this._options = _options;
6547
6547
  this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);
6548
- this.fs = fs11.createFileSystemAdapter(this._options.fs);
6548
+ this.fs = fs12.createFileSystemAdapter(this._options.fs);
6549
6549
  this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false);
6550
6550
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
6551
6551
  }
@@ -6690,8 +6690,8 @@ var require_fs3 = __commonJS((exports) => {
6690
6690
  var require_utils4 = __commonJS((exports) => {
6691
6691
  Object.defineProperty(exports, "__esModule", { value: true });
6692
6692
  exports.fs = undefined;
6693
- var fs11 = require_fs3();
6694
- exports.fs = fs11;
6693
+ var fs12 = require_fs3();
6694
+ exports.fs = fs12;
6695
6695
  });
6696
6696
 
6697
6697
  // node_modules/@nodelib/fs.scandir/out/providers/common.js
@@ -6874,14 +6874,14 @@ var require_sync2 = __commonJS((exports) => {
6874
6874
  var require_fs4 = __commonJS((exports) => {
6875
6875
  Object.defineProperty(exports, "__esModule", { value: true });
6876
6876
  exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = undefined;
6877
- var fs11 = __require("fs");
6877
+ var fs12 = __require("fs");
6878
6878
  exports.FILE_SYSTEM_ADAPTER = {
6879
- lstat: fs11.lstat,
6880
- stat: fs11.stat,
6881
- lstatSync: fs11.lstatSync,
6882
- statSync: fs11.statSync,
6883
- readdir: fs11.readdir,
6884
- readdirSync: fs11.readdirSync
6879
+ lstat: fs12.lstat,
6880
+ stat: fs12.stat,
6881
+ lstatSync: fs12.lstatSync,
6882
+ statSync: fs12.statSync,
6883
+ readdir: fs12.readdir,
6884
+ readdirSync: fs12.readdirSync
6885
6885
  };
6886
6886
  function createFileSystemAdapter(fsMethods) {
6887
6887
  if (fsMethods === undefined) {
@@ -6897,13 +6897,13 @@ var require_settings2 = __commonJS((exports) => {
6897
6897
  Object.defineProperty(exports, "__esModule", { value: true });
6898
6898
  var path8 = __require("path");
6899
6899
  var fsStat = require_out();
6900
- var fs11 = require_fs4();
6900
+ var fs12 = require_fs4();
6901
6901
 
6902
6902
  class Settings {
6903
6903
  constructor(_options = {}) {
6904
6904
  this._options = _options;
6905
6905
  this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
6906
- this.fs = fs11.createFileSystemAdapter(this._options.fs);
6906
+ this.fs = fs12.createFileSystemAdapter(this._options.fs);
6907
6907
  this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path8.sep);
6908
6908
  this.stats = this._getValue(this._options.stats, false);
6909
6909
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
@@ -8224,16 +8224,16 @@ var require_sync6 = __commonJS((exports) => {
8224
8224
  var require_settings4 = __commonJS((exports) => {
8225
8225
  Object.defineProperty(exports, "__esModule", { value: true });
8226
8226
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = undefined;
8227
- var fs11 = __require("fs");
8227
+ var fs12 = __require("fs");
8228
8228
  var os = __require("os");
8229
8229
  var CPU_COUNT = Math.max(os.cpus().length, 1);
8230
8230
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = {
8231
- lstat: fs11.lstat,
8232
- lstatSync: fs11.lstatSync,
8233
- stat: fs11.stat,
8234
- statSync: fs11.statSync,
8235
- readdir: fs11.readdir,
8236
- readdirSync: fs11.readdirSync
8231
+ lstat: fs12.lstat,
8232
+ lstatSync: fs12.lstatSync,
8233
+ stat: fs12.stat,
8234
+ statSync: fs12.statSync,
8235
+ readdir: fs12.readdir,
8236
+ readdirSync: fs12.readdirSync
8237
8237
  };
8238
8238
 
8239
8239
  class Settings {
@@ -8883,7 +8883,7 @@ var require_package = __commonJS((exports, module) => {
8883
8883
 
8884
8884
  // node_modules/ejs/lib/ejs.js
8885
8885
  var require_ejs = __commonJS((exports) => {
8886
- var fs14 = __require("fs");
8886
+ var fs15 = __require("fs");
8887
8887
  var path11 = __require("path");
8888
8888
  var utils = require_utils5();
8889
8889
  var scopeOptionWarned = false;
@@ -8911,7 +8911,7 @@ var require_ejs = __commonJS((exports) => {
8911
8911
  var _BOM = /^\uFEFF/;
8912
8912
  var _JS_IDENTIFIER = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/;
8913
8913
  exports.cache = utils.cache;
8914
- exports.fileLoader = fs14.readFileSync;
8914
+ exports.fileLoader = fs15.readFileSync;
8915
8915
  exports.localsName = _DEFAULT_LOCALS_NAME;
8916
8916
  exports.promiseImpl = new Function("return this;")().Promise;
8917
8917
  exports.resolveInclude = function(name2, filename, isDir) {
@@ -8929,7 +8929,7 @@ var require_ejs = __commonJS((exports) => {
8929
8929
  var filePath;
8930
8930
  if (paths.some(function(v2) {
8931
8931
  filePath = exports.resolveInclude(name2, v2, true);
8932
- return fs14.existsSync(filePath);
8932
+ return fs15.existsSync(filePath);
8933
8933
  })) {
8934
8934
  return filePath;
8935
8935
  }
@@ -8949,7 +8949,7 @@ var require_ejs = __commonJS((exports) => {
8949
8949
  } else {
8950
8950
  if (options.filename) {
8951
8951
  filePath = exports.resolveInclude(path12, options.filename);
8952
- if (fs14.existsSync(filePath)) {
8952
+ if (fs15.existsSync(filePath)) {
8953
8953
  includePath = filePath;
8954
8954
  }
8955
8955
  }
@@ -159595,7 +159595,7 @@ async function downloadProject(projectId, projectPath) {
159595
159595
  }
159596
159596
  // node_modules/globby/index.js
159597
159597
  import process4 from "node:process";
159598
- import fs13 from "node:fs";
159598
+ import fs14 from "node:fs";
159599
159599
  import nodePath from "node:path";
159600
159600
  import { Readable as Readable2 } from "node:stream";
159601
159601
 
@@ -159833,7 +159833,7 @@ var TEN_MEGABYTES_IN_BYTES = 10 * 1024 * 1024;
159833
159833
  var import_fast_glob = __toESM(require_out4(), 1);
159834
159834
  var import_ignore = __toESM(require_ignore(), 1);
159835
159835
  import process3 from "node:process";
159836
- import fs12 from "node:fs";
159836
+ import fs13 from "node:fs";
159837
159837
  import fsPromises from "node:fs/promises";
159838
159838
  import path10 from "node:path";
159839
159839
 
@@ -159854,7 +159854,7 @@ function slash(path9) {
159854
159854
  }
159855
159855
 
159856
159856
  // node_modules/globby/utilities.js
159857
- import fs11 from "node:fs";
159857
+ import fs12 from "node:fs";
159858
159858
  import path9 from "node:path";
159859
159859
  import { promisify as promisify2 } from "node:util";
159860
159860
  var isNegativePattern = (pattern) => pattern[0] === "!";
@@ -159913,12 +159913,12 @@ var adjustIgnorePatternsForParentDirectories = (patterns, ignorePatterns) => {
159913
159913
  return pattern;
159914
159914
  });
159915
159915
  };
159916
- var getAsyncStatMethod = (fsImplementation) => bindFsMethod(fsImplementation?.promises, "stat") ?? bindFsMethod(fs11.promises, "stat");
159916
+ var getAsyncStatMethod = (fsImplementation) => bindFsMethod(fsImplementation?.promises, "stat") ?? bindFsMethod(fs12.promises, "stat");
159917
159917
  var getStatSyncMethod = (fsImplementation) => {
159918
159918
  if (fsImplementation) {
159919
159919
  return bindFsMethod(fsImplementation, "statSync");
159920
159920
  }
159921
- return bindFsMethod(fs11, "statSync");
159921
+ return bindFsMethod(fs12, "statSync");
159922
159922
  };
159923
159923
  var pathHasGitDirectory = (stats) => Boolean(stats?.isDirectory?.() || stats?.isFile?.());
159924
159924
  var buildPathChain = (startPath, rootPath) => {
@@ -160038,7 +160038,7 @@ var ignoreFilesGlobOptions = {
160038
160038
  };
160039
160039
  var GITIGNORE_FILES_PATTERN = "**/.gitignore";
160040
160040
  var getReadFileMethod = (fsImplementation) => bindFsMethod(fsImplementation?.promises, "readFile") ?? bindFsMethod(fsPromises, "readFile") ?? promisifyFsMethod(fsImplementation, "readFile");
160041
- var getReadFileSyncMethod = (fsImplementation) => bindFsMethod(fsImplementation, "readFileSync") ?? bindFsMethod(fs12, "readFileSync");
160041
+ var getReadFileSyncMethod = (fsImplementation) => bindFsMethod(fsImplementation, "readFileSync") ?? bindFsMethod(fs13, "readFileSync");
160042
160042
  var shouldSkipIgnoreFileError = (error48, suppressErrors) => {
160043
160043
  if (!error48) {
160044
160044
  return Boolean(suppressErrors);
@@ -160213,8 +160213,8 @@ var assertPatternsInput = (patterns) => {
160213
160213
  throw new TypeError("Patterns must be a string or an array of strings");
160214
160214
  }
160215
160215
  };
160216
- var getStatMethod = (fsImplementation) => bindFsMethod(fsImplementation?.promises, "stat") ?? bindFsMethod(fs13.promises, "stat") ?? promisifyFsMethod(fsImplementation, "stat");
160217
- var getStatSyncMethod2 = (fsImplementation) => bindFsMethod(fsImplementation, "statSync") ?? bindFsMethod(fs13, "statSync");
160216
+ var getStatMethod = (fsImplementation) => bindFsMethod(fsImplementation?.promises, "stat") ?? bindFsMethod(fs14.promises, "stat") ?? promisifyFsMethod(fsImplementation, "stat");
160217
+ var getStatSyncMethod2 = (fsImplementation) => bindFsMethod(fsImplementation, "statSync") ?? bindFsMethod(fs14, "statSync");
160218
160218
  var isDirectory = async (path11, fsImplementation) => {
160219
160219
  try {
160220
160220
  const stats = await getStatMethod(fsImplementation)(path11);
@@ -160283,7 +160283,7 @@ var toPatternsArray = (patterns) => {
160283
160283
  assertPatternsInput(patterns);
160284
160284
  return patterns;
160285
160285
  };
160286
- var checkCwdOption = (cwd, fsImplementation = fs13) => {
160286
+ var checkCwdOption = (cwd, fsImplementation = fs14) => {
160287
160287
  if (!cwd || !fsImplementation.statSync) {
160288
160288
  return;
160289
160289
  }
@@ -169880,7 +169880,7 @@ function getCreateCommand(context) {
169880
169880
 
169881
169881
  // src/cli/commands/project/deploy.ts
169882
169882
  async function deployAction(options) {
169883
- const projectData = await readProjectConfig(options.projectRoot);
169883
+ const projectData = await readProjectConfig();
169884
169884
  if (!hasResourcesToDeploy(projectData)) {
169885
169885
  return {
169886
169886
  outroMessage: "No resources found to deploy"
@@ -170344,7 +170344,7 @@ async function eject(options8) {
170344
170344
  successMessage: theme.colors.base44Orange("Project built successfully"),
170345
170345
  errorMessage: "Failed to build project"
170346
170346
  });
170347
- await deployAction({ yes: true, projectRoot: resolvedPath });
170347
+ await deployAction({ yes: true });
170348
170348
  }
170349
170349
  }
170350
170350
  return { outroMessage: "Your new project is set and ready to use" };
@@ -174641,4 +174641,4 @@ export {
174641
174641
  CLIExitError
174642
174642
  };
174643
174643
 
174644
- //# debugId=5020C8C75182CEC564756E2164756E21
174644
+ //# debugId=529518DD8534262664756E2164756E21