@apps-in-toss/plugins 0.0.0-dev.1747216176095 → 0.0.0-dev.1752049503789

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/index.js CHANGED
@@ -108,7 +108,7 @@ var require_fd_slicer = __commonJS({
108
108
  "../../.yarn/cache/yauzl-npm-3.2.0-b1af038bc6-7b40b3dc46.zip/node_modules/yauzl/fd-slicer.js"(exports) {
109
109
  "use strict";
110
110
  init_esm_shims();
111
- var fs6 = __require("fs");
111
+ var fs7 = __require("fs");
112
112
  var util = __require("util");
113
113
  var stream = __require("stream");
114
114
  var Readable = stream.Readable;
@@ -133,7 +133,7 @@ var require_fd_slicer = __commonJS({
133
133
  FdSlicer.prototype.read = function(buffer, offset, length, position, callback) {
134
134
  var self2 = this;
135
135
  self2.pend.go(function(cb) {
136
- fs6.read(self2.fd, buffer, offset, length, position, function(err, bytesRead, buffer2) {
136
+ fs7.read(self2.fd, buffer, offset, length, position, function(err, bytesRead, buffer2) {
137
137
  cb();
138
138
  callback(err, bytesRead, buffer2);
139
139
  });
@@ -142,7 +142,7 @@ var require_fd_slicer = __commonJS({
142
142
  FdSlicer.prototype.write = function(buffer, offset, length, position, callback) {
143
143
  var self2 = this;
144
144
  self2.pend.go(function(cb) {
145
- fs6.write(self2.fd, buffer, offset, length, position, function(err, written, buffer2) {
145
+ fs7.write(self2.fd, buffer, offset, length, position, function(err, written, buffer2) {
146
146
  cb();
147
147
  callback(err, written, buffer2);
148
148
  });
@@ -163,7 +163,7 @@ var require_fd_slicer = __commonJS({
163
163
  if (self2.refCount > 0) return;
164
164
  if (self2.refCount < 0) throw new Error("invalid unref");
165
165
  if (self2.autoClose) {
166
- fs6.close(self2.fd, onCloseDone);
166
+ fs7.close(self2.fd, onCloseDone);
167
167
  }
168
168
  function onCloseDone(err) {
169
169
  if (err) {
@@ -200,7 +200,7 @@ var require_fd_slicer = __commonJS({
200
200
  self2.context.pend.go(function(cb) {
201
201
  if (self2.destroyed) return cb();
202
202
  var buffer = Buffer.allocUnsafe(toRead);
203
- fs6.read(self2.context.fd, buffer, 0, toRead, self2.pos, function(err, bytesRead) {
203
+ fs7.read(self2.context.fd, buffer, 0, toRead, self2.pos, function(err, bytesRead) {
204
204
  if (err) {
205
205
  self2.destroy(err);
206
206
  } else if (bytesRead === 0) {
@@ -247,7 +247,7 @@ var require_fd_slicer = __commonJS({
247
247
  }
248
248
  self2.context.pend.go(function(cb) {
249
249
  if (self2.destroyed) return cb();
250
- fs6.write(self2.context.fd, buffer, 0, buffer.length, self2.pos, function(err2, bytes) {
250
+ fs7.write(self2.context.fd, buffer, 0, buffer.length, self2.pos, function(err2, bytes) {
251
251
  if (err2) {
252
252
  self2.destroy();
253
253
  cb();
@@ -689,7 +689,7 @@ var require_yauzl = __commonJS({
689
689
  "../../.yarn/cache/yauzl-npm-3.2.0-b1af038bc6-7b40b3dc46.zip/node_modules/yauzl/index.js"(exports) {
690
690
  "use strict";
691
691
  init_esm_shims();
692
- var fs6 = __require("fs");
692
+ var fs7 = __require("fs");
693
693
  var zlib = __require("zlib");
694
694
  var fd_slicer = require_fd_slicer();
695
695
  var crc32 = require_buffer_crc32();
@@ -710,7 +710,7 @@ var require_yauzl = __commonJS({
710
710
  exports.Entry = Entry;
711
711
  exports.LocalFileHeader = LocalFileHeader;
712
712
  exports.RandomAccessReader = RandomAccessReader;
713
- function open(path7, options2, callback) {
713
+ function open(path8, options2, callback) {
714
714
  if (typeof options2 === "function") {
715
715
  callback = options2;
716
716
  options2 = null;
@@ -722,10 +722,10 @@ var require_yauzl = __commonJS({
722
722
  if (options2.validateEntrySizes == null) options2.validateEntrySizes = true;
723
723
  if (options2.strictFileNames == null) options2.strictFileNames = false;
724
724
  if (callback == null) callback = defaultCallback;
725
- fs6.open(path7, "r", function(err, fd) {
725
+ fs7.open(path8, "r", function(err, fd) {
726
726
  if (err) return callback(err);
727
727
  fromFd(fd, options2, function(err2, zipfile) {
728
- if (err2) fs6.close(fd, defaultCallback);
728
+ if (err2) fs7.close(fd, defaultCallback);
729
729
  callback(err2, zipfile);
730
730
  });
731
731
  });
@@ -742,7 +742,7 @@ var require_yauzl = __commonJS({
742
742
  if (options2.validateEntrySizes == null) options2.validateEntrySizes = true;
743
743
  if (options2.strictFileNames == null) options2.strictFileNames = false;
744
744
  if (callback == null) callback = defaultCallback;
745
- fs6.fstat(fd, function(err, stats) {
745
+ fs7.fstat(fd, function(err, stats) {
746
746
  if (err) return callback(err);
747
747
  var reader = fd_slicer.createFromFd(fd, { autoClose: true });
748
748
  fromRandomAccessReader(reader, stats.size, options2, callback);
@@ -1501,6 +1501,43 @@ var require_picocolors = __commonJS({
1501
1501
  }
1502
1502
  });
1503
1503
 
1504
+ // ../../.yarn/__virtual__/typia-virtual-93fdc6e779/0/cache/typia-npm-8.0.4-b2444b63f3-1028a8a121.zip/node_modules/typia/lib/internal/_isFormatUuid.js
1505
+ var require_isFormatUuid = __commonJS({
1506
+ "../../.yarn/__virtual__/typia-virtual-93fdc6e779/0/cache/typia-npm-8.0.4-b2444b63f3-1028a8a121.zip/node_modules/typia/lib/internal/_isFormatUuid.js"(exports) {
1507
+ "use strict";
1508
+ init_esm_shims();
1509
+ Object.defineProperty(exports, "__esModule", { value: true });
1510
+ exports._isFormatUuid = void 0;
1511
+ var _isFormatUuid2 = (str) => PATTERN.test(str);
1512
+ exports._isFormatUuid = _isFormatUuid2;
1513
+ var PATTERN = /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;
1514
+ }
1515
+ });
1516
+
1517
+ // ../../.yarn/__virtual__/typia-virtual-93fdc6e779/0/cache/typia-npm-8.0.4-b2444b63f3-1028a8a121.zip/node_modules/typia/lib/internal/_validateReport.js
1518
+ var require_validateReport = __commonJS({
1519
+ "../../.yarn/__virtual__/typia-virtual-93fdc6e779/0/cache/typia-npm-8.0.4-b2444b63f3-1028a8a121.zip/node_modules/typia/lib/internal/_validateReport.js"(exports) {
1520
+ "use strict";
1521
+ init_esm_shims();
1522
+ Object.defineProperty(exports, "__esModule", { value: true });
1523
+ exports._validateReport = void 0;
1524
+ var _validateReport2 = (array) => {
1525
+ const reportable = (path8) => {
1526
+ if (array.length === 0)
1527
+ return true;
1528
+ const last = array[array.length - 1].path;
1529
+ return path8.length > last.length || last.substring(0, path8.length) !== path8;
1530
+ };
1531
+ return (exceptable, error) => {
1532
+ if (exceptable && reportable(error.path))
1533
+ array.push(error);
1534
+ return false;
1535
+ };
1536
+ };
1537
+ exports._validateReport = _validateReport2;
1538
+ }
1539
+ });
1540
+
1504
1541
  // ../../.yarn/cache/minimatch-npm-5.1.6-33ea6af31a-3defdfd230.zip/node_modules/minimatch/lib/path.js
1505
1542
  var require_path = __commonJS({
1506
1543
  "../../.yarn/cache/minimatch-npm-5.1.6-33ea6af31a-3defdfd230.zip/node_modules/minimatch/lib/path.js"(exports, module) {
@@ -1735,8 +1772,8 @@ var require_minimatch = __commonJS({
1735
1772
  return new Minimatch(pattern, options2).match(p);
1736
1773
  };
1737
1774
  module.exports = minimatch;
1738
- var path7 = require_path();
1739
- minimatch.sep = path7.sep;
1775
+ var path8 = require_path();
1776
+ minimatch.sep = path8.sep;
1740
1777
  var GLOBSTAR = Symbol("globstar **");
1741
1778
  minimatch.GLOBSTAR = GLOBSTAR;
1742
1779
  var expand = require_brace_expansion();
@@ -2245,8 +2282,8 @@ var require_minimatch = __commonJS({
2245
2282
  if (this.empty) return f === "";
2246
2283
  if (f === "/" && partial) return true;
2247
2284
  const options2 = this.options;
2248
- if (path7.sep !== "/") {
2249
- f = f.split(path7.sep).join("/");
2285
+ if (path8.sep !== "/") {
2286
+ f = f.split(path8.sep).join("/");
2250
2287
  }
2251
2288
  f = f.split(slashSplit);
2252
2289
  this.debug(this.pattern, "split", f);
@@ -2286,13 +2323,13 @@ var require_readdir_glob = __commonJS({
2286
2323
  "use strict";
2287
2324
  init_esm_shims();
2288
2325
  module.exports = readdirGlob;
2289
- var fs6 = __require("fs");
2326
+ var fs7 = __require("fs");
2290
2327
  var { EventEmitter } = __require("events");
2291
2328
  var { Minimatch } = require_minimatch();
2292
2329
  var { resolve } = __require("path");
2293
2330
  function readdir(dir2, strict) {
2294
2331
  return new Promise((resolve2, reject2) => {
2295
- fs6.readdir(dir2, { withFileTypes: true }, (err, files) => {
2332
+ fs7.readdir(dir2, { withFileTypes: true }, (err, files) => {
2296
2333
  if (err) {
2297
2334
  switch (err.code) {
2298
2335
  case "ENOTDIR":
@@ -2325,7 +2362,7 @@ var require_readdir_glob = __commonJS({
2325
2362
  }
2326
2363
  function stat(file, followSymlinks) {
2327
2364
  return new Promise((resolve2, reject2) => {
2328
- const statFunc = followSymlinks ? fs6.stat : fs6.lstat;
2365
+ const statFunc = followSymlinks ? fs7.stat : fs7.lstat;
2329
2366
  statFunc(file, (err, stats) => {
2330
2367
  if (err) {
2331
2368
  switch (err.code) {
@@ -2346,8 +2383,8 @@ var require_readdir_glob = __commonJS({
2346
2383
  });
2347
2384
  });
2348
2385
  }
2349
- async function* exploreWalkAsync(dir2, path7, followSymlinks, useStat, shouldSkip, strict) {
2350
- let files = await readdir(path7 + dir2, strict);
2386
+ async function* exploreWalkAsync(dir2, path8, followSymlinks, useStat, shouldSkip, strict) {
2387
+ let files = await readdir(path8 + dir2, strict);
2351
2388
  for (const file of files) {
2352
2389
  let name = file.name;
2353
2390
  if (name === void 0) {
@@ -2356,7 +2393,7 @@ var require_readdir_glob = __commonJS({
2356
2393
  }
2357
2394
  const filename = dir2 + "/" + name;
2358
2395
  const relative = filename.slice(1);
2359
- const absolute = path7 + "/" + relative;
2396
+ const absolute = path8 + "/" + relative;
2360
2397
  let stats = null;
2361
2398
  if (useStat || followSymlinks) {
2362
2399
  stats = await stat(absolute, followSymlinks);
@@ -2370,15 +2407,15 @@ var require_readdir_glob = __commonJS({
2370
2407
  if (stats.isDirectory()) {
2371
2408
  if (!shouldSkip(relative)) {
2372
2409
  yield { relative, absolute, stats };
2373
- yield* exploreWalkAsync(filename, path7, followSymlinks, useStat, shouldSkip, false);
2410
+ yield* exploreWalkAsync(filename, path8, followSymlinks, useStat, shouldSkip, false);
2374
2411
  }
2375
2412
  } else {
2376
2413
  yield { relative, absolute, stats };
2377
2414
  }
2378
2415
  }
2379
2416
  }
2380
- async function* explore(path7, followSymlinks, useStat, shouldSkip) {
2381
- yield* exploreWalkAsync("", path7, followSymlinks, useStat, shouldSkip, true);
2417
+ async function* explore(path8, followSymlinks, useStat, shouldSkip) {
2418
+ yield* exploreWalkAsync("", path8, followSymlinks, useStat, shouldSkip, true);
2382
2419
  }
2383
2420
  function readOptions(options2) {
2384
2421
  return {
@@ -4391,54 +4428,54 @@ var require_polyfills = __commonJS({
4391
4428
  }
4392
4429
  var chdir;
4393
4430
  module.exports = patch;
4394
- function patch(fs6) {
4431
+ function patch(fs7) {
4395
4432
  if (constants2.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
4396
- patchLchmod(fs6);
4397
- }
4398
- if (!fs6.lutimes) {
4399
- patchLutimes(fs6);
4400
- }
4401
- fs6.chown = chownFix(fs6.chown);
4402
- fs6.fchown = chownFix(fs6.fchown);
4403
- fs6.lchown = chownFix(fs6.lchown);
4404
- fs6.chmod = chmodFix(fs6.chmod);
4405
- fs6.fchmod = chmodFix(fs6.fchmod);
4406
- fs6.lchmod = chmodFix(fs6.lchmod);
4407
- fs6.chownSync = chownFixSync(fs6.chownSync);
4408
- fs6.fchownSync = chownFixSync(fs6.fchownSync);
4409
- fs6.lchownSync = chownFixSync(fs6.lchownSync);
4410
- fs6.chmodSync = chmodFixSync(fs6.chmodSync);
4411
- fs6.fchmodSync = chmodFixSync(fs6.fchmodSync);
4412
- fs6.lchmodSync = chmodFixSync(fs6.lchmodSync);
4413
- fs6.stat = statFix(fs6.stat);
4414
- fs6.fstat = statFix(fs6.fstat);
4415
- fs6.lstat = statFix(fs6.lstat);
4416
- fs6.statSync = statFixSync(fs6.statSync);
4417
- fs6.fstatSync = statFixSync(fs6.fstatSync);
4418
- fs6.lstatSync = statFixSync(fs6.lstatSync);
4419
- if (fs6.chmod && !fs6.lchmod) {
4420
- fs6.lchmod = function(path7, mode, cb) {
4433
+ patchLchmod(fs7);
4434
+ }
4435
+ if (!fs7.lutimes) {
4436
+ patchLutimes(fs7);
4437
+ }
4438
+ fs7.chown = chownFix(fs7.chown);
4439
+ fs7.fchown = chownFix(fs7.fchown);
4440
+ fs7.lchown = chownFix(fs7.lchown);
4441
+ fs7.chmod = chmodFix(fs7.chmod);
4442
+ fs7.fchmod = chmodFix(fs7.fchmod);
4443
+ fs7.lchmod = chmodFix(fs7.lchmod);
4444
+ fs7.chownSync = chownFixSync(fs7.chownSync);
4445
+ fs7.fchownSync = chownFixSync(fs7.fchownSync);
4446
+ fs7.lchownSync = chownFixSync(fs7.lchownSync);
4447
+ fs7.chmodSync = chmodFixSync(fs7.chmodSync);
4448
+ fs7.fchmodSync = chmodFixSync(fs7.fchmodSync);
4449
+ fs7.lchmodSync = chmodFixSync(fs7.lchmodSync);
4450
+ fs7.stat = statFix(fs7.stat);
4451
+ fs7.fstat = statFix(fs7.fstat);
4452
+ fs7.lstat = statFix(fs7.lstat);
4453
+ fs7.statSync = statFixSync(fs7.statSync);
4454
+ fs7.fstatSync = statFixSync(fs7.fstatSync);
4455
+ fs7.lstatSync = statFixSync(fs7.lstatSync);
4456
+ if (fs7.chmod && !fs7.lchmod) {
4457
+ fs7.lchmod = function(path8, mode, cb) {
4421
4458
  if (cb) process.nextTick(cb);
4422
4459
  };
4423
- fs6.lchmodSync = function() {
4460
+ fs7.lchmodSync = function() {
4424
4461
  };
4425
4462
  }
4426
- if (fs6.chown && !fs6.lchown) {
4427
- fs6.lchown = function(path7, uid, gid, cb) {
4463
+ if (fs7.chown && !fs7.lchown) {
4464
+ fs7.lchown = function(path8, uid, gid, cb) {
4428
4465
  if (cb) process.nextTick(cb);
4429
4466
  };
4430
- fs6.lchownSync = function() {
4467
+ fs7.lchownSync = function() {
4431
4468
  };
4432
4469
  }
4433
4470
  if (platform === "win32") {
4434
- fs6.rename = typeof fs6.rename !== "function" ? fs6.rename : function(fs$rename) {
4471
+ fs7.rename = typeof fs7.rename !== "function" ? fs7.rename : function(fs$rename) {
4435
4472
  function rename(from, to, cb) {
4436
4473
  var start = Date.now();
4437
4474
  var backoff = 0;
4438
4475
  fs$rename(from, to, function CB(er) {
4439
4476
  if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 6e4) {
4440
4477
  setTimeout(function() {
4441
- fs6.stat(to, function(stater, st) {
4478
+ fs7.stat(to, function(stater, st) {
4442
4479
  if (stater && stater.code === "ENOENT")
4443
4480
  fs$rename(from, to, CB);
4444
4481
  else
@@ -4454,9 +4491,9 @@ var require_polyfills = __commonJS({
4454
4491
  }
4455
4492
  if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename);
4456
4493
  return rename;
4457
- }(fs6.rename);
4494
+ }(fs7.rename);
4458
4495
  }
4459
- fs6.read = typeof fs6.read !== "function" ? fs6.read : function(fs$read) {
4496
+ fs7.read = typeof fs7.read !== "function" ? fs7.read : function(fs$read) {
4460
4497
  function read(fd, buffer, offset, length, position, callback_) {
4461
4498
  var callback;
4462
4499
  if (callback_ && typeof callback_ === "function") {
@@ -4464,22 +4501,22 @@ var require_polyfills = __commonJS({
4464
4501
  callback = function(er, _2, __) {
4465
4502
  if (er && er.code === "EAGAIN" && eagCounter < 10) {
4466
4503
  eagCounter++;
4467
- return fs$read.call(fs6, fd, buffer, offset, length, position, callback);
4504
+ return fs$read.call(fs7, fd, buffer, offset, length, position, callback);
4468
4505
  }
4469
4506
  callback_.apply(this, arguments);
4470
4507
  };
4471
4508
  }
4472
- return fs$read.call(fs6, fd, buffer, offset, length, position, callback);
4509
+ return fs$read.call(fs7, fd, buffer, offset, length, position, callback);
4473
4510
  }
4474
4511
  if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read);
4475
4512
  return read;
4476
- }(fs6.read);
4477
- fs6.readSync = typeof fs6.readSync !== "function" ? fs6.readSync : /* @__PURE__ */ function(fs$readSync) {
4513
+ }(fs7.read);
4514
+ fs7.readSync = typeof fs7.readSync !== "function" ? fs7.readSync : /* @__PURE__ */ function(fs$readSync) {
4478
4515
  return function(fd, buffer, offset, length, position) {
4479
4516
  var eagCounter = 0;
4480
4517
  while (true) {
4481
4518
  try {
4482
- return fs$readSync.call(fs6, fd, buffer, offset, length, position);
4519
+ return fs$readSync.call(fs7, fd, buffer, offset, length, position);
4483
4520
  } catch (er) {
4484
4521
  if (er.code === "EAGAIN" && eagCounter < 10) {
4485
4522
  eagCounter++;
@@ -4489,11 +4526,11 @@ var require_polyfills = __commonJS({
4489
4526
  }
4490
4527
  }
4491
4528
  };
4492
- }(fs6.readSync);
4493
- function patchLchmod(fs7) {
4494
- fs7.lchmod = function(path7, mode, callback) {
4495
- fs7.open(
4496
- path7,
4529
+ }(fs7.readSync);
4530
+ function patchLchmod(fs8) {
4531
+ fs8.lchmod = function(path8, mode, callback) {
4532
+ fs8.open(
4533
+ path8,
4497
4534
  constants2.O_WRONLY | constants2.O_SYMLINK,
4498
4535
  mode,
4499
4536
  function(err, fd) {
@@ -4501,80 +4538,80 @@ var require_polyfills = __commonJS({
4501
4538
  if (callback) callback(err);
4502
4539
  return;
4503
4540
  }
4504
- fs7.fchmod(fd, mode, function(err2) {
4505
- fs7.close(fd, function(err22) {
4541
+ fs8.fchmod(fd, mode, function(err2) {
4542
+ fs8.close(fd, function(err22) {
4506
4543
  if (callback) callback(err2 || err22);
4507
4544
  });
4508
4545
  });
4509
4546
  }
4510
4547
  );
4511
4548
  };
4512
- fs7.lchmodSync = function(path7, mode) {
4513
- var fd = fs7.openSync(path7, constants2.O_WRONLY | constants2.O_SYMLINK, mode);
4549
+ fs8.lchmodSync = function(path8, mode) {
4550
+ var fd = fs8.openSync(path8, constants2.O_WRONLY | constants2.O_SYMLINK, mode);
4514
4551
  var threw = true;
4515
4552
  var ret;
4516
4553
  try {
4517
- ret = fs7.fchmodSync(fd, mode);
4554
+ ret = fs8.fchmodSync(fd, mode);
4518
4555
  threw = false;
4519
4556
  } finally {
4520
4557
  if (threw) {
4521
4558
  try {
4522
- fs7.closeSync(fd);
4559
+ fs8.closeSync(fd);
4523
4560
  } catch (er) {
4524
4561
  }
4525
4562
  } else {
4526
- fs7.closeSync(fd);
4563
+ fs8.closeSync(fd);
4527
4564
  }
4528
4565
  }
4529
4566
  return ret;
4530
4567
  };
4531
4568
  }
4532
- function patchLutimes(fs7) {
4533
- if (constants2.hasOwnProperty("O_SYMLINK") && fs7.futimes) {
4534
- fs7.lutimes = function(path7, at, mt, cb) {
4535
- fs7.open(path7, constants2.O_SYMLINK, function(er, fd) {
4569
+ function patchLutimes(fs8) {
4570
+ if (constants2.hasOwnProperty("O_SYMLINK") && fs8.futimes) {
4571
+ fs8.lutimes = function(path8, at, mt, cb) {
4572
+ fs8.open(path8, constants2.O_SYMLINK, function(er, fd) {
4536
4573
  if (er) {
4537
4574
  if (cb) cb(er);
4538
4575
  return;
4539
4576
  }
4540
- fs7.futimes(fd, at, mt, function(er2) {
4541
- fs7.close(fd, function(er22) {
4577
+ fs8.futimes(fd, at, mt, function(er2) {
4578
+ fs8.close(fd, function(er22) {
4542
4579
  if (cb) cb(er2 || er22);
4543
4580
  });
4544
4581
  });
4545
4582
  });
4546
4583
  };
4547
- fs7.lutimesSync = function(path7, at, mt) {
4548
- var fd = fs7.openSync(path7, constants2.O_SYMLINK);
4584
+ fs8.lutimesSync = function(path8, at, mt) {
4585
+ var fd = fs8.openSync(path8, constants2.O_SYMLINK);
4549
4586
  var ret;
4550
4587
  var threw = true;
4551
4588
  try {
4552
- ret = fs7.futimesSync(fd, at, mt);
4589
+ ret = fs8.futimesSync(fd, at, mt);
4553
4590
  threw = false;
4554
4591
  } finally {
4555
4592
  if (threw) {
4556
4593
  try {
4557
- fs7.closeSync(fd);
4594
+ fs8.closeSync(fd);
4558
4595
  } catch (er) {
4559
4596
  }
4560
4597
  } else {
4561
- fs7.closeSync(fd);
4598
+ fs8.closeSync(fd);
4562
4599
  }
4563
4600
  }
4564
4601
  return ret;
4565
4602
  };
4566
- } else if (fs7.futimes) {
4567
- fs7.lutimes = function(_a, _b, _c, cb) {
4603
+ } else if (fs8.futimes) {
4604
+ fs8.lutimes = function(_a, _b, _c, cb) {
4568
4605
  if (cb) process.nextTick(cb);
4569
4606
  };
4570
- fs7.lutimesSync = function() {
4607
+ fs8.lutimesSync = function() {
4571
4608
  };
4572
4609
  }
4573
4610
  }
4574
4611
  function chmodFix(orig) {
4575
4612
  if (!orig) return orig;
4576
4613
  return function(target, mode, cb) {
4577
- return orig.call(fs6, target, mode, function(er) {
4614
+ return orig.call(fs7, target, mode, function(er) {
4578
4615
  if (chownErOk(er)) er = null;
4579
4616
  if (cb) cb.apply(this, arguments);
4580
4617
  });
@@ -4584,7 +4621,7 @@ var require_polyfills = __commonJS({
4584
4621
  if (!orig) return orig;
4585
4622
  return function(target, mode) {
4586
4623
  try {
4587
- return orig.call(fs6, target, mode);
4624
+ return orig.call(fs7, target, mode);
4588
4625
  } catch (er) {
4589
4626
  if (!chownErOk(er)) throw er;
4590
4627
  }
@@ -4593,7 +4630,7 @@ var require_polyfills = __commonJS({
4593
4630
  function chownFix(orig) {
4594
4631
  if (!orig) return orig;
4595
4632
  return function(target, uid, gid, cb) {
4596
- return orig.call(fs6, target, uid, gid, function(er) {
4633
+ return orig.call(fs7, target, uid, gid, function(er) {
4597
4634
  if (chownErOk(er)) er = null;
4598
4635
  if (cb) cb.apply(this, arguments);
4599
4636
  });
@@ -4603,7 +4640,7 @@ var require_polyfills = __commonJS({
4603
4640
  if (!orig) return orig;
4604
4641
  return function(target, uid, gid) {
4605
4642
  try {
4606
- return orig.call(fs6, target, uid, gid);
4643
+ return orig.call(fs7, target, uid, gid);
4607
4644
  } catch (er) {
4608
4645
  if (!chownErOk(er)) throw er;
4609
4646
  }
@@ -4623,13 +4660,13 @@ var require_polyfills = __commonJS({
4623
4660
  }
4624
4661
  if (cb) cb.apply(this, arguments);
4625
4662
  }
4626
- return options2 ? orig.call(fs6, target, options2, callback) : orig.call(fs6, target, callback);
4663
+ return options2 ? orig.call(fs7, target, options2, callback) : orig.call(fs7, target, callback);
4627
4664
  };
4628
4665
  }
4629
4666
  function statFixSync(orig) {
4630
4667
  if (!orig) return orig;
4631
4668
  return function(target, options2) {
4632
- var stats = options2 ? orig.call(fs6, target, options2) : orig.call(fs6, target);
4669
+ var stats = options2 ? orig.call(fs7, target, options2) : orig.call(fs7, target);
4633
4670
  if (stats) {
4634
4671
  if (stats.uid < 0) stats.uid += 4294967296;
4635
4672
  if (stats.gid < 0) stats.gid += 4294967296;
@@ -4660,16 +4697,16 @@ var require_legacy_streams = __commonJS({
4660
4697
  init_esm_shims();
4661
4698
  var Stream = __require("stream").Stream;
4662
4699
  module.exports = legacy;
4663
- function legacy(fs6) {
4700
+ function legacy(fs7) {
4664
4701
  return {
4665
4702
  ReadStream,
4666
4703
  WriteStream
4667
4704
  };
4668
- function ReadStream(path7, options2) {
4669
- if (!(this instanceof ReadStream)) return new ReadStream(path7, options2);
4705
+ function ReadStream(path8, options2) {
4706
+ if (!(this instanceof ReadStream)) return new ReadStream(path8, options2);
4670
4707
  Stream.call(this);
4671
4708
  var self2 = this;
4672
- this.path = path7;
4709
+ this.path = path8;
4673
4710
  this.fd = null;
4674
4711
  this.readable = true;
4675
4712
  this.paused = false;
@@ -4703,7 +4740,7 @@ var require_legacy_streams = __commonJS({
4703
4740
  });
4704
4741
  return;
4705
4742
  }
4706
- fs6.open(this.path, this.flags, this.mode, function(err, fd) {
4743
+ fs7.open(this.path, this.flags, this.mode, function(err, fd) {
4707
4744
  if (err) {
4708
4745
  self2.emit("error", err);
4709
4746
  self2.readable = false;
@@ -4714,10 +4751,10 @@ var require_legacy_streams = __commonJS({
4714
4751
  self2._read();
4715
4752
  });
4716
4753
  }
4717
- function WriteStream(path7, options2) {
4718
- if (!(this instanceof WriteStream)) return new WriteStream(path7, options2);
4754
+ function WriteStream(path8, options2) {
4755
+ if (!(this instanceof WriteStream)) return new WriteStream(path8, options2);
4719
4756
  Stream.call(this);
4720
- this.path = path7;
4757
+ this.path = path8;
4721
4758
  this.fd = null;
4722
4759
  this.writable = true;
4723
4760
  this.flags = "w";
@@ -4742,7 +4779,7 @@ var require_legacy_streams = __commonJS({
4742
4779
  this.busy = false;
4743
4780
  this._queue = [];
4744
4781
  if (this.fd === null) {
4745
- this._open = fs6.open;
4782
+ this._open = fs7.open;
4746
4783
  this._queue.push([this._open, this.path, this.flags, this.mode, void 0]);
4747
4784
  this.flush();
4748
4785
  }
@@ -4780,7 +4817,7 @@ var require_graceful_fs = __commonJS({
4780
4817
  "../../.yarn/cache/graceful-fs-npm-4.2.11-b94d8104d4-386d011a55.zip/node_modules/graceful-fs/graceful-fs.js"(exports, module) {
4781
4818
  "use strict";
4782
4819
  init_esm_shims();
4783
- var fs6 = __require("fs");
4820
+ var fs7 = __require("fs");
4784
4821
  var polyfills = require_polyfills();
4785
4822
  var legacy = require_legacy_streams();
4786
4823
  var clone = require_clone();
@@ -4812,12 +4849,12 @@ var require_graceful_fs = __commonJS({
4812
4849
  m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
4813
4850
  console.error(m);
4814
4851
  };
4815
- if (!fs6[gracefulQueue]) {
4852
+ if (!fs7[gracefulQueue]) {
4816
4853
  queue2 = global[gracefulQueue] || [];
4817
- publishQueue(fs6, queue2);
4818
- fs6.close = function(fs$close) {
4854
+ publishQueue(fs7, queue2);
4855
+ fs7.close = function(fs$close) {
4819
4856
  function close(fd, cb) {
4820
- return fs$close.call(fs6, fd, function(err) {
4857
+ return fs$close.call(fs7, fd, function(err) {
4821
4858
  if (!err) {
4822
4859
  resetQueue();
4823
4860
  }
@@ -4829,48 +4866,48 @@ var require_graceful_fs = __commonJS({
4829
4866
  value: fs$close
4830
4867
  });
4831
4868
  return close;
4832
- }(fs6.close);
4833
- fs6.closeSync = function(fs$closeSync) {
4869
+ }(fs7.close);
4870
+ fs7.closeSync = function(fs$closeSync) {
4834
4871
  function closeSync(fd) {
4835
- fs$closeSync.apply(fs6, arguments);
4872
+ fs$closeSync.apply(fs7, arguments);
4836
4873
  resetQueue();
4837
4874
  }
4838
4875
  Object.defineProperty(closeSync, previousSymbol, {
4839
4876
  value: fs$closeSync
4840
4877
  });
4841
4878
  return closeSync;
4842
- }(fs6.closeSync);
4879
+ }(fs7.closeSync);
4843
4880
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
4844
4881
  process.on("exit", function() {
4845
- debug(fs6[gracefulQueue]);
4846
- __require("assert").equal(fs6[gracefulQueue].length, 0);
4882
+ debug(fs7[gracefulQueue]);
4883
+ __require("assert").equal(fs7[gracefulQueue].length, 0);
4847
4884
  });
4848
4885
  }
4849
4886
  }
4850
4887
  var queue2;
4851
4888
  if (!global[gracefulQueue]) {
4852
- publishQueue(global, fs6[gracefulQueue]);
4853
- }
4854
- module.exports = patch(clone(fs6));
4855
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs6.__patched) {
4856
- module.exports = patch(fs6);
4857
- fs6.__patched = true;
4858
- }
4859
- function patch(fs7) {
4860
- polyfills(fs7);
4861
- fs7.gracefulify = patch;
4862
- fs7.createReadStream = createReadStream2;
4863
- fs7.createWriteStream = createWriteStream2;
4864
- var fs$readFile = fs7.readFile;
4865
- fs7.readFile = readFile2;
4866
- function readFile2(path7, options2, cb) {
4889
+ publishQueue(global, fs7[gracefulQueue]);
4890
+ }
4891
+ module.exports = patch(clone(fs7));
4892
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs7.__patched) {
4893
+ module.exports = patch(fs7);
4894
+ fs7.__patched = true;
4895
+ }
4896
+ function patch(fs8) {
4897
+ polyfills(fs8);
4898
+ fs8.gracefulify = patch;
4899
+ fs8.createReadStream = createReadStream2;
4900
+ fs8.createWriteStream = createWriteStream2;
4901
+ var fs$readFile = fs8.readFile;
4902
+ fs8.readFile = readFile3;
4903
+ function readFile3(path8, options2, cb) {
4867
4904
  if (typeof options2 === "function")
4868
4905
  cb = options2, options2 = null;
4869
- return go$readFile(path7, options2, cb);
4870
- function go$readFile(path8, options3, cb2, startTime) {
4871
- return fs$readFile(path8, options3, function(err) {
4906
+ return go$readFile(path8, options2, cb);
4907
+ function go$readFile(path9, options3, cb2, startTime) {
4908
+ return fs$readFile(path9, options3, function(err) {
4872
4909
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4873
- enqueue([go$readFile, [path8, options3, cb2], err, startTime || Date.now(), Date.now()]);
4910
+ enqueue([go$readFile, [path9, options3, cb2], err, startTime || Date.now(), Date.now()]);
4874
4911
  else {
4875
4912
  if (typeof cb2 === "function")
4876
4913
  cb2.apply(this, arguments);
@@ -4878,16 +4915,16 @@ var require_graceful_fs = __commonJS({
4878
4915
  });
4879
4916
  }
4880
4917
  }
4881
- var fs$writeFile = fs7.writeFile;
4882
- fs7.writeFile = writeFile2;
4883
- function writeFile2(path7, data, options2, cb) {
4918
+ var fs$writeFile = fs8.writeFile;
4919
+ fs8.writeFile = writeFile2;
4920
+ function writeFile2(path8, data, options2, cb) {
4884
4921
  if (typeof options2 === "function")
4885
4922
  cb = options2, options2 = null;
4886
- return go$writeFile(path7, data, options2, cb);
4887
- function go$writeFile(path8, data2, options3, cb2, startTime) {
4888
- return fs$writeFile(path8, data2, options3, function(err) {
4923
+ return go$writeFile(path8, data, options2, cb);
4924
+ function go$writeFile(path9, data2, options3, cb2, startTime) {
4925
+ return fs$writeFile(path9, data2, options3, function(err) {
4889
4926
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4890
- enqueue([go$writeFile, [path8, data2, options3, cb2], err, startTime || Date.now(), Date.now()]);
4927
+ enqueue([go$writeFile, [path9, data2, options3, cb2], err, startTime || Date.now(), Date.now()]);
4891
4928
  else {
4892
4929
  if (typeof cb2 === "function")
4893
4930
  cb2.apply(this, arguments);
@@ -4895,17 +4932,17 @@ var require_graceful_fs = __commonJS({
4895
4932
  });
4896
4933
  }
4897
4934
  }
4898
- var fs$appendFile = fs7.appendFile;
4935
+ var fs$appendFile = fs8.appendFile;
4899
4936
  if (fs$appendFile)
4900
- fs7.appendFile = appendFile;
4901
- function appendFile(path7, data, options2, cb) {
4937
+ fs8.appendFile = appendFile;
4938
+ function appendFile(path8, data, options2, cb) {
4902
4939
  if (typeof options2 === "function")
4903
4940
  cb = options2, options2 = null;
4904
- return go$appendFile(path7, data, options2, cb);
4905
- function go$appendFile(path8, data2, options3, cb2, startTime) {
4906
- return fs$appendFile(path8, data2, options3, function(err) {
4941
+ return go$appendFile(path8, data, options2, cb);
4942
+ function go$appendFile(path9, data2, options3, cb2, startTime) {
4943
+ return fs$appendFile(path9, data2, options3, function(err) {
4907
4944
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4908
- enqueue([go$appendFile, [path8, data2, options3, cb2], err, startTime || Date.now(), Date.now()]);
4945
+ enqueue([go$appendFile, [path9, data2, options3, cb2], err, startTime || Date.now(), Date.now()]);
4909
4946
  else {
4910
4947
  if (typeof cb2 === "function")
4911
4948
  cb2.apply(this, arguments);
@@ -4913,9 +4950,9 @@ var require_graceful_fs = __commonJS({
4913
4950
  });
4914
4951
  }
4915
4952
  }
4916
- var fs$copyFile = fs7.copyFile;
4953
+ var fs$copyFile = fs8.copyFile;
4917
4954
  if (fs$copyFile)
4918
- fs7.copyFile = copyFile;
4955
+ fs8.copyFile = copyFile;
4919
4956
  function copyFile(src, dest, flags, cb) {
4920
4957
  if (typeof flags === "function") {
4921
4958
  cb = flags;
@@ -4933,34 +4970,34 @@ var require_graceful_fs = __commonJS({
4933
4970
  });
4934
4971
  }
4935
4972
  }
4936
- var fs$readdir = fs7.readdir;
4937
- fs7.readdir = readdir;
4973
+ var fs$readdir = fs8.readdir;
4974
+ fs8.readdir = readdir;
4938
4975
  var noReaddirOptionVersions = /^v[0-5]\./;
4939
- function readdir(path7, options2, cb) {
4976
+ function readdir(path8, options2, cb) {
4940
4977
  if (typeof options2 === "function")
4941
4978
  cb = options2, options2 = null;
4942
- var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path8, options3, cb2, startTime) {
4943
- return fs$readdir(path8, fs$readdirCallback(
4944
- path8,
4979
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path9, options3, cb2, startTime) {
4980
+ return fs$readdir(path9, fs$readdirCallback(
4981
+ path9,
4945
4982
  options3,
4946
4983
  cb2,
4947
4984
  startTime
4948
4985
  ));
4949
- } : function go$readdir2(path8, options3, cb2, startTime) {
4950
- return fs$readdir(path8, options3, fs$readdirCallback(
4951
- path8,
4986
+ } : function go$readdir2(path9, options3, cb2, startTime) {
4987
+ return fs$readdir(path9, options3, fs$readdirCallback(
4988
+ path9,
4952
4989
  options3,
4953
4990
  cb2,
4954
4991
  startTime
4955
4992
  ));
4956
4993
  };
4957
- return go$readdir(path7, options2, cb);
4958
- function fs$readdirCallback(path8, options3, cb2, startTime) {
4994
+ return go$readdir(path8, options2, cb);
4995
+ function fs$readdirCallback(path9, options3, cb2, startTime) {
4959
4996
  return function(err, files) {
4960
4997
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
4961
4998
  enqueue([
4962
4999
  go$readdir,
4963
- [path8, options3, cb2],
5000
+ [path9, options3, cb2],
4964
5001
  err,
4965
5002
  startTime || Date.now(),
4966
5003
  Date.now()
@@ -4975,21 +5012,21 @@ var require_graceful_fs = __commonJS({
4975
5012
  }
4976
5013
  }
4977
5014
  if (process.version.substr(0, 4) === "v0.8") {
4978
- var legStreams = legacy(fs7);
5015
+ var legStreams = legacy(fs8);
4979
5016
  ReadStream = legStreams.ReadStream;
4980
5017
  WriteStream = legStreams.WriteStream;
4981
5018
  }
4982
- var fs$ReadStream = fs7.ReadStream;
5019
+ var fs$ReadStream = fs8.ReadStream;
4983
5020
  if (fs$ReadStream) {
4984
5021
  ReadStream.prototype = Object.create(fs$ReadStream.prototype);
4985
5022
  ReadStream.prototype.open = ReadStream$open;
4986
5023
  }
4987
- var fs$WriteStream = fs7.WriteStream;
5024
+ var fs$WriteStream = fs8.WriteStream;
4988
5025
  if (fs$WriteStream) {
4989
5026
  WriteStream.prototype = Object.create(fs$WriteStream.prototype);
4990
5027
  WriteStream.prototype.open = WriteStream$open;
4991
5028
  }
4992
- Object.defineProperty(fs7, "ReadStream", {
5029
+ Object.defineProperty(fs8, "ReadStream", {
4993
5030
  get: function() {
4994
5031
  return ReadStream;
4995
5032
  },
@@ -4999,7 +5036,7 @@ var require_graceful_fs = __commonJS({
4999
5036
  enumerable: true,
5000
5037
  configurable: true
5001
5038
  });
5002
- Object.defineProperty(fs7, "WriteStream", {
5039
+ Object.defineProperty(fs8, "WriteStream", {
5003
5040
  get: function() {
5004
5041
  return WriteStream;
5005
5042
  },
@@ -5010,7 +5047,7 @@ var require_graceful_fs = __commonJS({
5010
5047
  configurable: true
5011
5048
  });
5012
5049
  var FileReadStream = ReadStream;
5013
- Object.defineProperty(fs7, "FileReadStream", {
5050
+ Object.defineProperty(fs8, "FileReadStream", {
5014
5051
  get: function() {
5015
5052
  return FileReadStream;
5016
5053
  },
@@ -5021,7 +5058,7 @@ var require_graceful_fs = __commonJS({
5021
5058
  configurable: true
5022
5059
  });
5023
5060
  var FileWriteStream = WriteStream;
5024
- Object.defineProperty(fs7, "FileWriteStream", {
5061
+ Object.defineProperty(fs8, "FileWriteStream", {
5025
5062
  get: function() {
5026
5063
  return FileWriteStream;
5027
5064
  },
@@ -5031,7 +5068,7 @@ var require_graceful_fs = __commonJS({
5031
5068
  enumerable: true,
5032
5069
  configurable: true
5033
5070
  });
5034
- function ReadStream(path7, options2) {
5071
+ function ReadStream(path8, options2) {
5035
5072
  if (this instanceof ReadStream)
5036
5073
  return fs$ReadStream.apply(this, arguments), this;
5037
5074
  else
@@ -5051,7 +5088,7 @@ var require_graceful_fs = __commonJS({
5051
5088
  }
5052
5089
  });
5053
5090
  }
5054
- function WriteStream(path7, options2) {
5091
+ function WriteStream(path8, options2) {
5055
5092
  if (this instanceof WriteStream)
5056
5093
  return fs$WriteStream.apply(this, arguments), this;
5057
5094
  else
@@ -5069,22 +5106,22 @@ var require_graceful_fs = __commonJS({
5069
5106
  }
5070
5107
  });
5071
5108
  }
5072
- function createReadStream2(path7, options2) {
5073
- return new fs7.ReadStream(path7, options2);
5109
+ function createReadStream2(path8, options2) {
5110
+ return new fs8.ReadStream(path8, options2);
5074
5111
  }
5075
- function createWriteStream2(path7, options2) {
5076
- return new fs7.WriteStream(path7, options2);
5112
+ function createWriteStream2(path8, options2) {
5113
+ return new fs8.WriteStream(path8, options2);
5077
5114
  }
5078
- var fs$open = fs7.open;
5079
- fs7.open = open;
5080
- function open(path7, flags, mode, cb) {
5115
+ var fs$open = fs8.open;
5116
+ fs8.open = open;
5117
+ function open(path8, flags, mode, cb) {
5081
5118
  if (typeof mode === "function")
5082
5119
  cb = mode, mode = null;
5083
- return go$open(path7, flags, mode, cb);
5084
- function go$open(path8, flags2, mode2, cb2, startTime) {
5085
- return fs$open(path8, flags2, mode2, function(err, fd) {
5120
+ return go$open(path8, flags, mode, cb);
5121
+ function go$open(path9, flags2, mode2, cb2, startTime) {
5122
+ return fs$open(path9, flags2, mode2, function(err, fd) {
5086
5123
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
5087
- enqueue([go$open, [path8, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
5124
+ enqueue([go$open, [path9, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
5088
5125
  else {
5089
5126
  if (typeof cb2 === "function")
5090
5127
  cb2.apply(this, arguments);
@@ -5092,20 +5129,20 @@ var require_graceful_fs = __commonJS({
5092
5129
  });
5093
5130
  }
5094
5131
  }
5095
- return fs7;
5132
+ return fs8;
5096
5133
  }
5097
5134
  function enqueue(elem) {
5098
5135
  debug("ENQUEUE", elem[0].name, elem[1]);
5099
- fs6[gracefulQueue].push(elem);
5136
+ fs7[gracefulQueue].push(elem);
5100
5137
  retry2();
5101
5138
  }
5102
5139
  var retryTimer;
5103
5140
  function resetQueue() {
5104
5141
  var now = Date.now();
5105
- for (var i = 0; i < fs6[gracefulQueue].length; ++i) {
5106
- if (fs6[gracefulQueue][i].length > 2) {
5107
- fs6[gracefulQueue][i][3] = now;
5108
- fs6[gracefulQueue][i][4] = now;
5142
+ for (var i = 0; i < fs7[gracefulQueue].length; ++i) {
5143
+ if (fs7[gracefulQueue][i].length > 2) {
5144
+ fs7[gracefulQueue][i][3] = now;
5145
+ fs7[gracefulQueue][i][4] = now;
5109
5146
  }
5110
5147
  }
5111
5148
  retry2();
@@ -5113,9 +5150,9 @@ var require_graceful_fs = __commonJS({
5113
5150
  function retry2() {
5114
5151
  clearTimeout(retryTimer);
5115
5152
  retryTimer = void 0;
5116
- if (fs6[gracefulQueue].length === 0)
5153
+ if (fs7[gracefulQueue].length === 0)
5117
5154
  return;
5118
- var elem = fs6[gracefulQueue].shift();
5155
+ var elem = fs7[gracefulQueue].shift();
5119
5156
  var fn = elem[0];
5120
5157
  var args = elem[1];
5121
5158
  var err = elem[2];
@@ -5137,7 +5174,7 @@ var require_graceful_fs = __commonJS({
5137
5174
  debug("RETRY", fn.name, args);
5138
5175
  fn.apply(null, args.concat([startTime]));
5139
5176
  } else {
5140
- fs6[gracefulQueue].push(elem);
5177
+ fs7[gracefulQueue].push(elem);
5141
5178
  }
5142
5179
  }
5143
5180
  if (retryTimer === void 0) {
@@ -5456,7 +5493,7 @@ var require_BufferList = __commonJS({
5456
5493
  this.head = this.tail = null;
5457
5494
  this.length = 0;
5458
5495
  };
5459
- BufferList.prototype.join = function join2(s) {
5496
+ BufferList.prototype.join = function join3(s) {
5460
5497
  if (this.length === 0) return "";
5461
5498
  var p = this.head;
5462
5499
  var ret = "" + p.data;
@@ -7221,22 +7258,22 @@ var require_normalize_path = __commonJS({
7221
7258
  "../../.yarn/cache/normalize-path-npm-3.0.0-a747cc5237-e008c8142b.zip/node_modules/normalize-path/index.js"(exports, module) {
7222
7259
  "use strict";
7223
7260
  init_esm_shims();
7224
- module.exports = function(path7, stripTrailing) {
7225
- if (typeof path7 !== "string") {
7261
+ module.exports = function(path8, stripTrailing) {
7262
+ if (typeof path8 !== "string") {
7226
7263
  throw new TypeError("expected path to be a string");
7227
7264
  }
7228
- if (path7 === "\\" || path7 === "/") return "/";
7229
- var len = path7.length;
7230
- if (len <= 1) return path7;
7265
+ if (path8 === "\\" || path8 === "/") return "/";
7266
+ var len = path8.length;
7267
+ if (len <= 1) return path8;
7231
7268
  var prefix = "";
7232
- if (len > 4 && path7[3] === "\\") {
7233
- var ch = path7[2];
7234
- if ((ch === "?" || ch === ".") && path7.slice(0, 2) === "\\\\") {
7235
- path7 = path7.slice(2);
7269
+ if (len > 4 && path8[3] === "\\") {
7270
+ var ch = path8[2];
7271
+ if ((ch === "?" || ch === ".") && path8.slice(0, 2) === "\\\\") {
7272
+ path8 = path8.slice(2);
7236
7273
  prefix = "//";
7237
7274
  }
7238
7275
  }
7239
- var segs = path7.split(/[/\\]+/);
7276
+ var segs = path8.split(/[/\\]+/);
7240
7277
  if (stripTrailing !== false && segs[segs.length - 1] === "") {
7241
7278
  segs.pop();
7242
7279
  }
@@ -15851,11 +15888,11 @@ var require_commonjs = __commonJS({
15851
15888
  return (f) => f.length === len && f !== "." && f !== "..";
15852
15889
  };
15853
15890
  var defaultPlatform = typeof process === "object" && process ? typeof process.env === "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
15854
- var path7 = {
15891
+ var path8 = {
15855
15892
  win32: { sep: "\\" },
15856
15893
  posix: { sep: "/" }
15857
15894
  };
15858
- exports.sep = defaultPlatform === "win32" ? path7.win32.sep : path7.posix.sep;
15895
+ exports.sep = defaultPlatform === "win32" ? path8.win32.sep : path8.posix.sep;
15859
15896
  exports.minimatch.sep = exports.sep;
15860
15897
  exports.GLOBSTAR = Symbol("globstar **");
15861
15898
  exports.minimatch.GLOBSTAR = exports.GLOBSTAR;
@@ -19106,12 +19143,12 @@ var require_commonjs4 = __commonJS({
19106
19143
  /**
19107
19144
  * Get the Path object referenced by the string path, resolved from this Path
19108
19145
  */
19109
- resolve(path7) {
19110
- if (!path7) {
19146
+ resolve(path8) {
19147
+ if (!path8) {
19111
19148
  return this;
19112
19149
  }
19113
- const rootPath = this.getRootString(path7);
19114
- const dir2 = path7.substring(rootPath.length);
19150
+ const rootPath = this.getRootString(path8);
19151
+ const dir2 = path8.substring(rootPath.length);
19115
19152
  const dirParts = dir2.split(this.splitSep);
19116
19153
  const result = rootPath ? this.getRoot(rootPath).#resolveParts(dirParts) : this.#resolveParts(dirParts);
19117
19154
  return result;
@@ -19864,8 +19901,8 @@ var require_commonjs4 = __commonJS({
19864
19901
  /**
19865
19902
  * @internal
19866
19903
  */
19867
- getRootString(path7) {
19868
- return node_path_1.win32.parse(path7).root;
19904
+ getRootString(path8) {
19905
+ return node_path_1.win32.parse(path8).root;
19869
19906
  }
19870
19907
  /**
19871
19908
  * @internal
@@ -19912,8 +19949,8 @@ var require_commonjs4 = __commonJS({
19912
19949
  /**
19913
19950
  * @internal
19914
19951
  */
19915
- getRootString(path7) {
19916
- return path7.startsWith("/") ? "/" : "";
19952
+ getRootString(path8) {
19953
+ return path8.startsWith("/") ? "/" : "";
19917
19954
  }
19918
19955
  /**
19919
19956
  * @internal
@@ -19963,8 +20000,8 @@ var require_commonjs4 = __commonJS({
19963
20000
  *
19964
20001
  * @internal
19965
20002
  */
19966
- constructor(cwd = process.cwd(), pathImpl, sep, { nocase, childrenCacheSize = 16 * 1024, fs: fs6 = defaultFS } = {}) {
19967
- this.#fs = fsFromOption(fs6);
20003
+ constructor(cwd = process.cwd(), pathImpl, sep, { nocase, childrenCacheSize = 16 * 1024, fs: fs7 = defaultFS } = {}) {
20004
+ this.#fs = fsFromOption(fs7);
19968
20005
  if (cwd instanceof URL || cwd.startsWith("file://")) {
19969
20006
  cwd = (0, node_url_1.fileURLToPath)(cwd);
19970
20007
  }
@@ -20003,11 +20040,11 @@ var require_commonjs4 = __commonJS({
20003
20040
  /**
20004
20041
  * Get the depth of a provided path, string, or the cwd
20005
20042
  */
20006
- depth(path7 = this.cwd) {
20007
- if (typeof path7 === "string") {
20008
- path7 = this.cwd.resolve(path7);
20043
+ depth(path8 = this.cwd) {
20044
+ if (typeof path8 === "string") {
20045
+ path8 = this.cwd.resolve(path8);
20009
20046
  }
20010
- return path7.depth();
20047
+ return path8.depth();
20011
20048
  }
20012
20049
  /**
20013
20050
  * Return the cache of child entries. Exposed so subclasses can create
@@ -20494,9 +20531,9 @@ var require_commonjs4 = __commonJS({
20494
20531
  process2();
20495
20532
  return results;
20496
20533
  }
20497
- chdir(path7 = this.cwd) {
20534
+ chdir(path8 = this.cwd) {
20498
20535
  const oldCwd = this.cwd;
20499
- this.cwd = typeof path7 === "string" ? this.cwd.resolve(path7) : path7;
20536
+ this.cwd = typeof path8 === "string" ? this.cwd.resolve(path8) : path8;
20500
20537
  this.cwd[setAsCwd](oldCwd);
20501
20538
  }
20502
20539
  };
@@ -20523,8 +20560,8 @@ var require_commonjs4 = __commonJS({
20523
20560
  /**
20524
20561
  * @internal
20525
20562
  */
20526
- newRoot(fs6) {
20527
- return new PathWin32(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs6 });
20563
+ newRoot(fs7) {
20564
+ return new PathWin32(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs7 });
20528
20565
  }
20529
20566
  /**
20530
20567
  * Return true if the provided path string is an absolute path
@@ -20553,8 +20590,8 @@ var require_commonjs4 = __commonJS({
20553
20590
  /**
20554
20591
  * @internal
20555
20592
  */
20556
- newRoot(fs6) {
20557
- return new PathPosix(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs6 });
20593
+ newRoot(fs7) {
20594
+ return new PathPosix(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs7 });
20558
20595
  }
20559
20596
  /**
20560
20597
  * Return true if the provided path string is an absolute path
@@ -20887,8 +20924,8 @@ var require_processor = __commonJS({
20887
20924
  }
20888
20925
  // match, absolute, ifdir
20889
20926
  entries() {
20890
- return [...this.store.entries()].map(([path7, n]) => [
20891
- path7,
20927
+ return [...this.store.entries()].map(([path8, n]) => [
20928
+ path8,
20892
20929
  !!(n & 2),
20893
20930
  !!(n & 1)
20894
20931
  ]);
@@ -21107,9 +21144,9 @@ var require_walker = __commonJS({
21107
21144
  signal;
21108
21145
  maxDepth;
21109
21146
  includeChildMatches;
21110
- constructor(patterns, path7, opts) {
21147
+ constructor(patterns, path8, opts) {
21111
21148
  this.patterns = patterns;
21112
- this.path = path7;
21149
+ this.path = path8;
21113
21150
  this.opts = opts;
21114
21151
  this.#sep = !opts.posix && opts.platform === "win32" ? "\\" : "/";
21115
21152
  this.includeChildMatches = opts.includeChildMatches !== false;
@@ -21128,11 +21165,11 @@ var require_walker = __commonJS({
21128
21165
  });
21129
21166
  }
21130
21167
  }
21131
- #ignored(path7) {
21132
- return this.seen.has(path7) || !!this.#ignore?.ignored?.(path7);
21168
+ #ignored(path8) {
21169
+ return this.seen.has(path8) || !!this.#ignore?.ignored?.(path8);
21133
21170
  }
21134
- #childrenIgnored(path7) {
21135
- return !!this.#ignore?.childrenIgnored?.(path7);
21171
+ #childrenIgnored(path8) {
21172
+ return !!this.#ignore?.childrenIgnored?.(path8);
21136
21173
  }
21137
21174
  // backpressure mechanism
21138
21175
  pause() {
@@ -21348,8 +21385,8 @@ var require_walker = __commonJS({
21348
21385
  exports.GlobUtil = GlobUtil;
21349
21386
  var GlobWalker = class extends GlobUtil {
21350
21387
  matches = /* @__PURE__ */ new Set();
21351
- constructor(patterns, path7, opts) {
21352
- super(patterns, path7, opts);
21388
+ constructor(patterns, path8, opts) {
21389
+ super(patterns, path8, opts);
21353
21390
  }
21354
21391
  matchEmit(e) {
21355
21392
  this.matches.add(e);
@@ -21387,8 +21424,8 @@ var require_walker = __commonJS({
21387
21424
  exports.GlobWalker = GlobWalker;
21388
21425
  var GlobStream = class extends GlobUtil {
21389
21426
  results;
21390
- constructor(patterns, path7, opts) {
21391
- super(patterns, path7, opts);
21427
+ constructor(patterns, path8, opts) {
21428
+ super(patterns, path8, opts);
21392
21429
  this.results = new minipass_1.Minipass({
21393
21430
  signal: this.signal,
21394
21431
  objectMode: true
@@ -21748,8 +21785,8 @@ var require_file = __commonJS({
21748
21785
  "../../.yarn/cache/archiver-utils-npm-5.0.2-c2e6f595a7-3782c5fa99.zip/node_modules/archiver-utils/file.js"(exports, module) {
21749
21786
  "use strict";
21750
21787
  init_esm_shims();
21751
- var fs6 = require_graceful_fs();
21752
- var path7 = __require("path");
21788
+ var fs7 = require_graceful_fs();
21789
+ var path8 = __require("path");
21753
21790
  var flatten = require_flatten();
21754
21791
  var difference = require_difference();
21755
21792
  var union = require_union();
@@ -21774,8 +21811,8 @@ var require_file = __commonJS({
21774
21811
  return result;
21775
21812
  };
21776
21813
  file.exists = function() {
21777
- var filepath = path7.join.apply(path7, arguments);
21778
- return fs6.existsSync(filepath);
21814
+ var filepath = path8.join.apply(path8, arguments);
21815
+ return fs7.existsSync(filepath);
21779
21816
  };
21780
21817
  file.expand = function(...args) {
21781
21818
  var options2 = isPlainObject(args[0]) ? args.shift() : {};
@@ -21788,12 +21825,12 @@ var require_file = __commonJS({
21788
21825
  });
21789
21826
  if (options2.filter) {
21790
21827
  matches = matches.filter(function(filepath) {
21791
- filepath = path7.join(options2.cwd || "", filepath);
21828
+ filepath = path8.join(options2.cwd || "", filepath);
21792
21829
  try {
21793
21830
  if (typeof options2.filter === "function") {
21794
21831
  return options2.filter(filepath);
21795
21832
  } else {
21796
- return fs6.statSync(filepath)[options2.filter]();
21833
+ return fs7.statSync(filepath)[options2.filter]();
21797
21834
  }
21798
21835
  } catch (e) {
21799
21836
  return false;
@@ -21805,7 +21842,7 @@ var require_file = __commonJS({
21805
21842
  file.expandMapping = function(patterns, destBase, options2) {
21806
21843
  options2 = Object.assign({
21807
21844
  rename: function(destBase2, destPath) {
21808
- return path7.join(destBase2 || "", destPath);
21845
+ return path8.join(destBase2 || "", destPath);
21809
21846
  }
21810
21847
  }, options2);
21811
21848
  var files = [];
@@ -21813,14 +21850,14 @@ var require_file = __commonJS({
21813
21850
  file.expand(options2, patterns).forEach(function(src) {
21814
21851
  var destPath = src;
21815
21852
  if (options2.flatten) {
21816
- destPath = path7.basename(destPath);
21853
+ destPath = path8.basename(destPath);
21817
21854
  }
21818
21855
  if (options2.ext) {
21819
21856
  destPath = destPath.replace(/(\.[^\/]*)?$/, options2.ext);
21820
21857
  }
21821
21858
  var dest = options2.rename(destBase, destPath, options2);
21822
21859
  if (options2.cwd) {
21823
- src = path7.join(options2.cwd, src);
21860
+ src = path8.join(options2.cwd, src);
21824
21861
  }
21825
21862
  dest = dest.replace(pathSeparatorRe, "/");
21826
21863
  src = src.replace(pathSeparatorRe, "/");
@@ -21903,11 +21940,11 @@ var require_archiver_utils = __commonJS({
21903
21940
  "../../.yarn/cache/archiver-utils-npm-5.0.2-c2e6f595a7-3782c5fa99.zip/node_modules/archiver-utils/index.js"(exports, module) {
21904
21941
  "use strict";
21905
21942
  init_esm_shims();
21906
- var fs6 = require_graceful_fs();
21907
- var path7 = __require("path");
21943
+ var fs7 = require_graceful_fs();
21944
+ var path8 = __require("path");
21908
21945
  var isStream = require_is_stream();
21909
21946
  var lazystream = require_lazystream();
21910
- var normalizePath = require_normalize_path();
21947
+ var normalizePath2 = require_normalize_path();
21911
21948
  var defaults = require_defaults();
21912
21949
  var Stream = __require("stream").Stream;
21913
21950
  var PassThrough = require_ours().PassThrough;
@@ -21952,7 +21989,7 @@ var require_archiver_utils = __commonJS({
21952
21989
  };
21953
21990
  utils.lazyReadStream = function(filepath) {
21954
21991
  return new lazystream.Readable(function() {
21955
- return fs6.createReadStream(filepath);
21992
+ return fs7.createReadStream(filepath);
21956
21993
  });
21957
21994
  };
21958
21995
  utils.normalizeInputSource = function(source) {
@@ -21966,13 +22003,13 @@ var require_archiver_utils = __commonJS({
21966
22003
  return source;
21967
22004
  };
21968
22005
  utils.sanitizePath = function(filepath) {
21969
- return normalizePath(filepath, false).replace(/^\w+:/, "").replace(/^(\.\.\/|\/)+/, "");
22006
+ return normalizePath2(filepath, false).replace(/^\w+:/, "").replace(/^(\.\.\/|\/)+/, "");
21970
22007
  };
21971
22008
  utils.trailingSlashIt = function(str) {
21972
22009
  return str.slice(-1) !== "/" ? str + "/" : str;
21973
22010
  };
21974
22011
  utils.unixifyPath = function(filepath) {
21975
- return normalizePath(filepath, false).replace(/^\w+:/, "");
22012
+ return normalizePath2(filepath, false).replace(/^\w+:/, "");
21976
22013
  };
21977
22014
  utils.walkdir = function(dirpath, base, callback) {
21978
22015
  var results = [];
@@ -21980,7 +22017,7 @@ var require_archiver_utils = __commonJS({
21980
22017
  callback = base;
21981
22018
  base = dirpath;
21982
22019
  }
21983
- fs6.readdir(dirpath, function(err, list) {
22020
+ fs7.readdir(dirpath, function(err, list) {
21984
22021
  var i = 0;
21985
22022
  var file;
21986
22023
  var filepath;
@@ -21992,11 +22029,11 @@ var require_archiver_utils = __commonJS({
21992
22029
  if (!file) {
21993
22030
  return callback(null, results);
21994
22031
  }
21995
- filepath = path7.join(dirpath, file);
21996
- fs6.stat(filepath, function(err2, stats) {
22032
+ filepath = path8.join(dirpath, file);
22033
+ fs7.stat(filepath, function(err2, stats) {
21997
22034
  results.push({
21998
22035
  path: filepath,
21999
- relative: path7.relative(base, filepath).replace(/\\/g, "/"),
22036
+ relative: path8.relative(base, filepath).replace(/\\/g, "/"),
22000
22037
  stats
22001
22038
  });
22002
22039
  if (stats && stats.isDirectory()) {
@@ -22059,10 +22096,10 @@ var require_core = __commonJS({
22059
22096
  "../../.yarn/cache/archiver-npm-7.0.1-dc24339f78-02afd87ca1.zip/node_modules/archiver/lib/core.js"(exports, module) {
22060
22097
  "use strict";
22061
22098
  init_esm_shims();
22062
- var fs6 = __require("fs");
22099
+ var fs7 = __require("fs");
22063
22100
  var glob = require_readdir_glob();
22064
22101
  var async = (init_async(), __toCommonJS(async_exports));
22065
- var path7 = __require("path");
22102
+ var path8 = __require("path");
22066
22103
  var util = require_archiver_utils();
22067
22104
  var inherits = __require("util").inherits;
22068
22105
  var ArchiverError = require_error();
@@ -22123,7 +22160,7 @@ var require_core = __commonJS({
22123
22160
  data.sourcePath = filepath;
22124
22161
  task.data = data;
22125
22162
  this._entriesCount++;
22126
- if (data.stats && data.stats instanceof fs6.Stats) {
22163
+ if (data.stats && data.stats instanceof fs7.Stats) {
22127
22164
  task = this._updateQueueTaskWithStats(task, data.stats);
22128
22165
  if (task) {
22129
22166
  if (data.stats.size) {
@@ -22294,7 +22331,7 @@ var require_core = __commonJS({
22294
22331
  callback();
22295
22332
  return;
22296
22333
  }
22297
- fs6.lstat(task.filepath, function(err, stats) {
22334
+ fs7.lstat(task.filepath, function(err, stats) {
22298
22335
  if (this._state.aborted) {
22299
22336
  setImmediate(callback);
22300
22337
  return;
@@ -22337,10 +22374,10 @@ var require_core = __commonJS({
22337
22374
  task.data.sourceType = "buffer";
22338
22375
  task.source = Buffer.concat([]);
22339
22376
  } else if (stats.isSymbolicLink() && this._moduleSupports("symlink")) {
22340
- var linkPath = fs6.readlinkSync(task.filepath);
22341
- var dirName = path7.dirname(task.filepath);
22377
+ var linkPath = fs7.readlinkSync(task.filepath);
22378
+ var dirName = path8.dirname(task.filepath);
22342
22379
  task.data.type = "symlink";
22343
- task.data.linkname = path7.relative(dirName, path7.resolve(dirName, linkPath));
22380
+ task.data.linkname = path8.relative(dirName, path8.resolve(dirName, linkPath));
22344
22381
  task.data.sourceType = "buffer";
22345
22382
  task.source = Buffer.concat([]);
22346
22383
  } else {
@@ -22885,7 +22922,7 @@ var require_zip_archive_entry = __commonJS({
22885
22922
  "use strict";
22886
22923
  init_esm_shims();
22887
22924
  var inherits = __require("util").inherits;
22888
- var normalizePath = require_normalize_path();
22925
+ var normalizePath2 = require_normalize_path();
22889
22926
  var ArchiveEntry = require_archive_entry();
22890
22927
  var GeneralPurposeBit = require_general_purpose_bit();
22891
22928
  var UnixStat = require_unix_stat();
@@ -23009,7 +23046,7 @@ var require_zip_archive_entry = __commonJS({
23009
23046
  this.method = method;
23010
23047
  };
23011
23048
  ZipArchiveEntry.prototype.setName = function(name, prependSlash = false) {
23012
- name = normalizePath(name, false).replace(/^\w+:/, "").replace(/^(\.\.\/|\/)+/, "");
23049
+ name = normalizePath2(name, false).replace(/^\w+:/, "").replace(/^(\.\.\/|\/)+/, "");
23013
23050
  if (prependSlash) {
23014
23051
  name = `/${name}`;
23015
23052
  }
@@ -26507,52 +26544,15 @@ var require_archiver = __commonJS({
26507
26544
  }
26508
26545
  });
26509
26546
 
26510
- // ../../.yarn/__virtual__/typia-virtual-93fdc6e779/0/cache/typia-npm-8.0.4-b2444b63f3-1028a8a121.zip/node_modules/typia/lib/internal/_isFormatUuid.js
26511
- var require_isFormatUuid = __commonJS({
26512
- "../../.yarn/__virtual__/typia-virtual-93fdc6e779/0/cache/typia-npm-8.0.4-b2444b63f3-1028a8a121.zip/node_modules/typia/lib/internal/_isFormatUuid.js"(exports) {
26513
- "use strict";
26514
- init_esm_shims();
26515
- Object.defineProperty(exports, "__esModule", { value: true });
26516
- exports._isFormatUuid = void 0;
26517
- var _isFormatUuid2 = (str) => PATTERN.test(str);
26518
- exports._isFormatUuid = _isFormatUuid2;
26519
- var PATTERN = /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;
26520
- }
26521
- });
26522
-
26523
- // ../../.yarn/__virtual__/typia-virtual-93fdc6e779/0/cache/typia-npm-8.0.4-b2444b63f3-1028a8a121.zip/node_modules/typia/lib/internal/_validateReport.js
26524
- var require_validateReport = __commonJS({
26525
- "../../.yarn/__virtual__/typia-virtual-93fdc6e779/0/cache/typia-npm-8.0.4-b2444b63f3-1028a8a121.zip/node_modules/typia/lib/internal/_validateReport.js"(exports) {
26526
- "use strict";
26527
- init_esm_shims();
26528
- Object.defineProperty(exports, "__esModule", { value: true });
26529
- exports._validateReport = void 0;
26530
- var _validateReport2 = (array) => {
26531
- const reportable = (path7) => {
26532
- if (array.length === 0)
26533
- return true;
26534
- const last = array[array.length - 1].path;
26535
- return path7.length > last.length || last.substring(0, path7.length) !== path7;
26536
- };
26537
- return (exceptable, error) => {
26538
- if (exceptable && reportable(error.path))
26539
- array.push(error);
26540
- return false;
26541
- };
26542
- };
26543
- exports._validateReport = _validateReport2;
26544
- }
26545
- });
26546
-
26547
26547
  // src/index.ts
26548
26548
  init_esm_shims();
26549
26549
 
26550
26550
  // src/appsInToss.ts
26551
26551
  init_esm_shims();
26552
- import fs5 from "fs";
26553
- import path6 from "path";
26552
+ import fs6 from "fs";
26553
+ import path7 from "path";
26554
26554
 
26555
- // ../../.yarn/cache/@react-native-bedrock-utils-npm-0.0.0-dev.1747215740094-bf77acbb96-4f2f393587.zip/node_modules/@react-native-bedrock/utils/dist/index.js
26555
+ // ../../.yarn/cache/@granite-js-utils-npm-0.1.2-cb1031ea38-87c00032d4.zip/node_modules/@granite-js/utils/dist/index.js
26556
26556
  init_esm_shims();
26557
26557
  var import_yauzl = __toESM(require_yauzl(), 1);
26558
26558
  import fs from "fs";
@@ -26610,57 +26610,6 @@ init_esm_shims();
26610
26610
  var REACT_NATIVE_VERSION = "0.72.6";
26611
26611
  var APP_MANIFEST_NAME = "app.json";
26612
26612
 
26613
- // src/utils/createArtifact.ts
26614
- init_esm_shims();
26615
- import path4 from "path";
26616
-
26617
- // src/utils/compressToZip.ts
26618
- init_esm_shims();
26619
- var import_archiver = __toESM(require_archiver(), 1);
26620
- import * as fs2 from "fs";
26621
- import * as path2 from "path";
26622
- async function compressToZip(config) {
26623
- const { files, outfile } = config;
26624
- return new Promise((resolve, reject2) => {
26625
- const outputStream = fs2.createWriteStream(outfile);
26626
- const archive = (0, import_archiver.default)("zip", { zlib: { level: 9 } });
26627
- outputStream.on("close", () => resolve(outfile));
26628
- outputStream.on("error", (error) => reject2(error));
26629
- archive.on("error", (error) => reject2(error)).pipe(outputStream);
26630
- files.forEach(({ path: filePath, name }) => {
26631
- const fileName = name ?? path2.basename(filePath);
26632
- archive.append(fs2.createReadStream(filePath), { name: fileName });
26633
- });
26634
- archive.finalize();
26635
- });
26636
- }
26637
-
26638
- // src/utils/updateAppJsonMetadata.ts
26639
- init_esm_shims();
26640
- import * as fs3 from "fs/promises";
26641
- import * as path3 from "path";
26642
- async function resolveAppManifestPath() {
26643
- const cwd = getPackageRoot();
26644
- const appManifestPath = path3.join(cwd, ".bedrock", APP_MANIFEST_NAME);
26645
- await fs3.access(appManifestPath, fs3.constants.F_OK);
26646
- return appManifestPath;
26647
- }
26648
- async function readAppJson(appJsonPath) {
26649
- const appJson = await fs3.readFile(appJsonPath, "utf8");
26650
- return JSON.parse(appJson);
26651
- }
26652
- async function writeAppJson(appJsonPath, content) {
26653
- await fs3.writeFile(appJsonPath, JSON.stringify(content));
26654
- }
26655
- async function updateAppJsonMetadata(metadata) {
26656
- const appJsonPath = await resolveAppManifestPath();
26657
- const appJson = await readAppJson(appJsonPath);
26658
- await writeAppJson(appJsonPath, {
26659
- ...appJson,
26660
- _metadata: metadata
26661
- });
26662
- }
26663
-
26664
26613
  // src/types.ts
26665
26614
  init_esm_shims();
26666
26615
  var __typia_transform__isFormatUuid = __toESM(require_isFormatUuid(), 1);
@@ -26832,6 +26781,295 @@ var validateAppManifest = /* @__PURE__ */ (() => {
26832
26781
  };
26833
26782
  };
26834
26783
  })();
26784
+ var validateAppInTossPluginOptions = /* @__PURE__ */ (() => {
26785
+ const _io0 = (input) => "object" === typeof input.brand && null !== input.brand && _io1(input.brand) && (Array.isArray(input.permissions) && input.permissions.every((elem) => "object" === typeof elem && null !== elem && _iu0(elem)));
26786
+ const _io1 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon && ("basic" === input.bridgeColorMode || "inverted" === input.bridgeColorMode);
26787
+ const _io2 = (input) => "clipboard" === input.name && ("read" === input.access || "write" === input.access);
26788
+ const _io3 = (input) => "geolocation" === input.name && "access" === input.access;
26789
+ const _io4 = (input) => "contacts" === input.name && ("read" === input.access || "write" === input.access);
26790
+ const _io5 = (input) => "photos" === input.name && ("read" === input.access || "write" === input.access);
26791
+ const _io6 = (input) => "camera" === input.name && "access" === input.access;
26792
+ const _iu0 = (input) => (() => {
26793
+ if ("camera" === input.name)
26794
+ return _io6(input);
26795
+ else if ("photos" === input.name)
26796
+ return _io5(input);
26797
+ else if ("contacts" === input.name)
26798
+ return _io4(input);
26799
+ else if ("geolocation" === input.name)
26800
+ return _io3(input);
26801
+ else if ("clipboard" === input.name)
26802
+ return _io2(input);
26803
+ else
26804
+ return false;
26805
+ })();
26806
+ const _vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.brand && null !== input.brand || _report(_exceptionable, {
26807
+ path: _path + ".brand",
26808
+ expected: "__type",
26809
+ value: input.brand
26810
+ })) && _vo1(input.brand, _path + ".brand", _exceptionable) || _report(_exceptionable, {
26811
+ path: _path + ".brand",
26812
+ expected: "__type",
26813
+ value: input.brand
26814
+ }), (Array.isArray(input.permissions) || _report(_exceptionable, {
26815
+ path: _path + ".permissions",
26816
+ expected: "Array<Permission>",
26817
+ value: input.permissions
26818
+ })) && input.permissions.map((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
26819
+ path: _path + ".permissions[" + _index2 + "]",
26820
+ expected: "(CameraPermission | ClipboardPermission | ContactsPermission | GeolocationPermission | PhotosPermission)",
26821
+ value: elem
26822
+ })) && _vu0(elem, _path + ".permissions[" + _index2 + "]", _exceptionable) || _report(_exceptionable, {
26823
+ path: _path + ".permissions[" + _index2 + "]",
26824
+ expected: "(CameraPermission | ClipboardPermission | ContactsPermission | GeolocationPermission | PhotosPermission)",
26825
+ value: elem
26826
+ })).every((flag) => flag) || _report(_exceptionable, {
26827
+ path: _path + ".permissions",
26828
+ expected: "Array<Permission>",
26829
+ value: input.permissions
26830
+ })].every((flag) => flag);
26831
+ const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.displayName || _report(_exceptionable, {
26832
+ path: _path + ".displayName",
26833
+ expected: "string",
26834
+ value: input.displayName
26835
+ }), "string" === typeof input.primaryColor || _report(_exceptionable, {
26836
+ path: _path + ".primaryColor",
26837
+ expected: "string",
26838
+ value: input.primaryColor
26839
+ }), "string" === typeof input.icon || _report(_exceptionable, {
26840
+ path: _path + ".icon",
26841
+ expected: "string",
26842
+ value: input.icon
26843
+ }), "basic" === input.bridgeColorMode || "inverted" === input.bridgeColorMode || _report(_exceptionable, {
26844
+ path: _path + ".bridgeColorMode",
26845
+ expected: '("basic" | "inverted")',
26846
+ value: input.bridgeColorMode
26847
+ })].every((flag) => flag);
26848
+ const _vo2 = (input, _path, _exceptionable = true) => ["clipboard" === input.name || _report(_exceptionable, {
26849
+ path: _path + ".name",
26850
+ expected: '"clipboard"',
26851
+ value: input.name
26852
+ }), "read" === input.access || "write" === input.access || _report(_exceptionable, {
26853
+ path: _path + ".access",
26854
+ expected: '("read" | "write")',
26855
+ value: input.access
26856
+ })].every((flag) => flag);
26857
+ const _vo3 = (input, _path, _exceptionable = true) => ["geolocation" === input.name || _report(_exceptionable, {
26858
+ path: _path + ".name",
26859
+ expected: '"geolocation"',
26860
+ value: input.name
26861
+ }), "access" === input.access || _report(_exceptionable, {
26862
+ path: _path + ".access",
26863
+ expected: '"access"',
26864
+ value: input.access
26865
+ })].every((flag) => flag);
26866
+ const _vo4 = (input, _path, _exceptionable = true) => ["contacts" === input.name || _report(_exceptionable, {
26867
+ path: _path + ".name",
26868
+ expected: '"contacts"',
26869
+ value: input.name
26870
+ }), "read" === input.access || "write" === input.access || _report(_exceptionable, {
26871
+ path: _path + ".access",
26872
+ expected: '("read" | "write")',
26873
+ value: input.access
26874
+ })].every((flag) => flag);
26875
+ const _vo5 = (input, _path, _exceptionable = true) => ["photos" === input.name || _report(_exceptionable, {
26876
+ path: _path + ".name",
26877
+ expected: '"photos"',
26878
+ value: input.name
26879
+ }), "read" === input.access || "write" === input.access || _report(_exceptionable, {
26880
+ path: _path + ".access",
26881
+ expected: '("read" | "write")',
26882
+ value: input.access
26883
+ })].every((flag) => flag);
26884
+ const _vo6 = (input, _path, _exceptionable = true) => ["camera" === input.name || _report(_exceptionable, {
26885
+ path: _path + ".name",
26886
+ expected: '"camera"',
26887
+ value: input.name
26888
+ }), "access" === input.access || _report(_exceptionable, {
26889
+ path: _path + ".access",
26890
+ expected: '"access"',
26891
+ value: input.access
26892
+ })].every((flag) => flag);
26893
+ const _vu0 = (input, _path, _exceptionable = true) => (() => {
26894
+ if ("camera" === input.name)
26895
+ return _vo6(input, _path, _exceptionable);
26896
+ else if ("photos" === input.name)
26897
+ return _vo5(input, _path, _exceptionable);
26898
+ else if ("contacts" === input.name)
26899
+ return _vo4(input, _path, _exceptionable);
26900
+ else if ("geolocation" === input.name)
26901
+ return _vo3(input, _path, _exceptionable);
26902
+ else if ("clipboard" === input.name)
26903
+ return _vo2(input, _path, _exceptionable);
26904
+ else
26905
+ return _report(_exceptionable, {
26906
+ path: _path,
26907
+ expected: "(CameraPermission | PhotosPermission | ContactsPermission | GeolocationPermission | ClipboardPermission)",
26908
+ value: input
26909
+ });
26910
+ })();
26911
+ const __is = (input) => "object" === typeof input && null !== input && _io0(input);
26912
+ let errors;
26913
+ let _report;
26914
+ return (input) => {
26915
+ if (false === __is(input)) {
26916
+ errors = [];
26917
+ _report = __typia_transform__validateReport._validateReport(errors);
26918
+ ((input2, _path, _exceptionable = true) => ("object" === typeof input2 && null !== input2 || _report(true, {
26919
+ path: _path + "",
26920
+ expected: "AppsInTossPluginOptions",
26921
+ value: input2
26922
+ })) && _vo0(input2, _path + "", true) || _report(true, {
26923
+ path: _path + "",
26924
+ expected: "AppsInTossPluginOptions",
26925
+ value: input2
26926
+ }))(input, "$input", true);
26927
+ const success = 0 === errors.length;
26928
+ return success ? {
26929
+ success,
26930
+ data: input
26931
+ } : {
26932
+ success,
26933
+ errors,
26934
+ data: input
26935
+ };
26936
+ }
26937
+ return {
26938
+ success: true,
26939
+ data: input
26940
+ };
26941
+ };
26942
+ })();
26943
+
26944
+ // src/utils/collectDependencyVersions.ts
26945
+ init_esm_shims();
26946
+ import * as fs2 from "fs/promises";
26947
+ import * as path2 from "path";
26948
+ import * as esbuild from "esbuild";
26949
+ async function collectDependencyVersions(rootDir) {
26950
+ const packageJsonPath = path2.join(rootDir, "package.json");
26951
+ const packageJson = JSON.parse(await fs2.readFile(packageJsonPath, "utf8"));
26952
+ const [dependencies, devDependencies] = await Promise.all([
26953
+ resolvePackageVersions(rootDir, Object.keys(packageJson.dependencies)),
26954
+ resolvePackageVersions(rootDir, Object.keys(packageJson.devDependencies))
26955
+ ]);
26956
+ return { dependencies, devDependencies };
26957
+ }
26958
+ async function resolvePackageVersions(rootDir, packageNames) {
26959
+ const results = {};
26960
+ await esbuild.build({
26961
+ stdin: { contents: createVirtualEntry(packageNames) },
26962
+ bundle: true,
26963
+ write: false,
26964
+ logLevel: "silent",
26965
+ plugins: [
26966
+ {
26967
+ name: "collect-package-version",
26968
+ setup(build2) {
26969
+ const RESOLVING = Symbol();
26970
+ build2.onResolve({ filter: /.*/ }, async (args) => {
26971
+ if (args.pluginData === RESOLVING) {
26972
+ return null;
26973
+ }
26974
+ const resolveOptions = {
26975
+ importer: args.importer,
26976
+ kind: args.kind,
26977
+ resolveDir: rootDir,
26978
+ pluginData: RESOLVING
26979
+ };
26980
+ let result = await build2.resolve(path2.join(args.path, "package.json"), resolveOptions);
26981
+ if (result.errors.length) {
26982
+ result = await build2.resolve(args.path, resolveOptions);
26983
+ }
26984
+ if (result.errors.length) {
26985
+ return result;
26986
+ }
26987
+ const packageName = args.path;
26988
+ const packagePath = extractPackagePath(result.path, packageName);
26989
+ if (packagePath) {
26990
+ results[packageName] = await getPackageVersion(packagePath);
26991
+ }
26992
+ return result;
26993
+ });
26994
+ build2.onLoad({ filter: /.*/ }, () => ({ contents: "// empty source" }));
26995
+ }
26996
+ }
26997
+ ]
26998
+ });
26999
+ return results;
27000
+ }
27001
+ function createVirtualEntry(packageNames) {
27002
+ return packageNames.map((packageName) => `import '${packageName}';`).join("\n");
27003
+ }
27004
+ function extractPackagePath(path8, packageName) {
27005
+ const normalizedPath = normalizePath(path8);
27006
+ if (normalizedPath.endsWith("/package.json")) {
27007
+ return normalizedPath.replace(/\/package\.json$/, "");
27008
+ }
27009
+ const match = normalizedPath.match(new RegExp(`(.*?node_modules/${packageName})/.*$`));
27010
+ if (match) {
27011
+ return match[1];
27012
+ }
27013
+ throw new Error(`Failed to extract path: ${packageName}`);
27014
+ }
27015
+ function normalizePath(path8) {
27016
+ return path8.replace(/\\/g, "/");
27017
+ }
27018
+ async function getPackageVersion(packagePath) {
27019
+ const packageJson = JSON.parse(await fs2.readFile(path2.join(packagePath, "package.json"), "utf-8"));
27020
+ return packageJson.version;
27021
+ }
27022
+
27023
+ // src/utils/createArtifact.ts
27024
+ init_esm_shims();
27025
+ import path5 from "path";
27026
+
27027
+ // src/utils/compressToZip.ts
27028
+ init_esm_shims();
27029
+ var import_archiver = __toESM(require_archiver(), 1);
27030
+ import * as fs3 from "fs";
27031
+ import * as path3 from "path";
27032
+ async function compressToZip(config) {
27033
+ const { files, outfile } = config;
27034
+ return new Promise((resolve, reject2) => {
27035
+ const outputStream = fs3.createWriteStream(outfile);
27036
+ const archive = (0, import_archiver.default)("zip", { zlib: { level: 9 } });
27037
+ outputStream.on("close", () => resolve(outfile));
27038
+ outputStream.on("error", (error) => reject2(error));
27039
+ archive.on("error", (error) => reject2(error)).pipe(outputStream);
27040
+ files.forEach(({ path: filePath, name }) => {
27041
+ const fileName = name ?? path3.basename(filePath);
27042
+ archive.append(fs3.createReadStream(filePath), { name: fileName });
27043
+ });
27044
+ archive.finalize();
27045
+ });
27046
+ }
27047
+
27048
+ // src/utils/updateAppJsonMetadata.ts
27049
+ init_esm_shims();
27050
+ import * as fs4 from "fs/promises";
27051
+ import * as path4 from "path";
27052
+ async function resolveAppManifestPath() {
27053
+ const cwd = getPackageRoot();
27054
+ const appManifestPath = path4.join(cwd, ".granite", APP_MANIFEST_NAME);
27055
+ await fs4.access(appManifestPath, fs4.constants.F_OK);
27056
+ return appManifestPath;
27057
+ }
27058
+ async function readAppJson(appJsonPath) {
27059
+ const appJson = await fs4.readFile(appJsonPath, "utf8");
27060
+ return JSON.parse(appJson);
27061
+ }
27062
+ async function writeAppJson(appJsonPath, content) {
27063
+ await fs4.writeFile(appJsonPath, JSON.stringify(content));
27064
+ }
27065
+ async function updateAppJsonMetadata(metadata) {
27066
+ const appJsonPath = await resolveAppManifestPath();
27067
+ const appJson = await readAppJson(appJsonPath);
27068
+ await writeAppJson(appJsonPath, {
27069
+ ...appJson,
27070
+ _metadata: metadata
27071
+ });
27072
+ }
26835
27073
 
26836
27074
  // src/utils/createArtifact.ts
26837
27075
  async function validateZip(zipPath) {
@@ -26839,14 +27077,14 @@ async function validateZip(zipPath) {
26839
27077
  const appJson = JSON.parse(appJsonString);
26840
27078
  const validated = validateAppManifest(appJson);
26841
27079
  if (!validated.success) {
26842
- throw new Error("bedrock.config.ts \uAC12\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
27080
+ throw new Error("granite.config.ts \uAC12\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.");
26843
27081
  }
26844
27082
  }
26845
27083
  async function createArtifact(options2) {
26846
27084
  const { bundleFiles, outfile, appJsonPath, reactNativeVersion } = options2;
26847
27085
  const namedBundleFiles = bundleFiles.map((bundle) => {
26848
- const originalName = path4.basename(bundle.path);
26849
- const extension = path4.extname(originalName);
27086
+ const originalName = path5.basename(bundle.path);
27087
+ const extension = path5.extname(originalName);
26850
27088
  const runtime = reactNativeVersion.replace(new RegExp(/\./g), "_");
26851
27089
  return {
26852
27090
  path: bundle.path,
@@ -26857,7 +27095,8 @@ async function createArtifact(options2) {
26857
27095
  await updateAppJsonMetadata({
26858
27096
  runtimeVersion: reactNativeVersion,
26859
27097
  bundleFiles: namedBundleFiles.map(({ name }) => name),
26860
- deploymentId: options2.deploymentId
27098
+ deploymentId: options2.deploymentId,
27099
+ packageJson: options2.packageJson
26861
27100
  });
26862
27101
  await compressToZip({
26863
27102
  files: [{ path: appJsonPath, name: "app.json" }, ...namedBundleFiles, ...options2.additionalFilesToZip ?? []],
@@ -27248,17 +27487,17 @@ function generateDeploymentId() {
27248
27487
 
27249
27488
  // src/utils/setupRuntimeSetupScript.ts
27250
27489
  init_esm_shims();
27251
- import fs4 from "node:fs";
27252
- import path5 from "node:path";
27490
+ import fs5 from "node:fs";
27491
+ import path6 from "node:path";
27253
27492
  function setupRuntimeSetupScript(config) {
27254
27493
  const packageRoot = getPackageRoot();
27255
- const bedrockPath = path5.join(packageRoot, ".bedrock");
27494
+ const granitePath = path6.join(packageRoot, ".granite");
27256
27495
  try {
27257
- fs4.accessSync(bedrockPath);
27496
+ fs5.accessSync(granitePath);
27258
27497
  } catch {
27259
- fs4.mkdirSync(bedrockPath, { recursive: true });
27498
+ fs5.mkdirSync(granitePath, { recursive: true });
27260
27499
  }
27261
- const envFilePath = path5.join(bedrockPath, ".apps-in-toss.env.js");
27500
+ const envFilePath = path6.join(granitePath, ".apps-in-toss.env.js");
27262
27501
  const script = `
27263
27502
  (function (global) {
27264
27503
  global.__appsInToss = ${JSON.stringify({
@@ -27278,11 +27517,14 @@ function setupRuntimeSetupScript(config) {
27278
27517
  : this
27279
27518
  );
27280
27519
  `;
27281
- fs4.writeFileSync(envFilePath, script, "utf-8");
27520
+ fs5.writeFileSync(envFilePath, script, "utf-8");
27282
27521
  return { contents: script, path: envFilePath };
27283
27522
  }
27284
27523
 
27285
27524
  // src/appsInToss.ts
27525
+ function log2(...args) {
27526
+ console.log(import_picocolors.default.bold(import_picocolors.default.cyan("[AppsInToss]")), ...args);
27527
+ }
27286
27528
  function appsInTossCreateArtifact(deploymentId) {
27287
27529
  const packageRoot = getPackageRoot();
27288
27530
  return {
@@ -27290,9 +27532,12 @@ function appsInTossCreateArtifact(deploymentId) {
27290
27532
  build: {
27291
27533
  order: "post",
27292
27534
  handler: async ({ buildResults, appName, cwd }) => {
27535
+ log2("\uC571 \uBE4C\uB4DC \uC911...");
27536
+ const { dependencies, devDependencies } = await collectDependencyVersions(cwd);
27293
27537
  const artifactOutfile = await createArtifact({
27294
27538
  reactNativeVersion: REACT_NATIVE_VERSION,
27295
27539
  deploymentId,
27540
+ packageJson: { dependencies, devDependencies },
27296
27541
  bundleFiles: buildResults.map(({ outfile, sourcemapOutfile, platform }) => [
27297
27542
  {
27298
27543
  path: outfile,
@@ -27303,14 +27548,14 @@ function appsInTossCreateArtifact(deploymentId) {
27303
27548
  platform
27304
27549
  }
27305
27550
  ]).flat(),
27306
- outfile: path6.join(cwd, `${appName}.ait`),
27307
- appJsonPath: path6.join(packageRoot, ".bedrock", APP_MANIFEST_NAME)
27551
+ outfile: path7.join(cwd, `${appName}.ait`),
27552
+ appJsonPath: path7.join(packageRoot, ".granite", APP_MANIFEST_NAME)
27308
27553
  });
27309
27554
  if (!artifactOutfile) {
27310
27555
  throw new Error("\uC544\uD2F0\uD329\uD2B8 \uC0DD\uC131\uC5D0 \uC2E4\uD328\uD588\uC5B4\uC694.");
27311
27556
  }
27312
- const filename = path6.basename(artifactOutfile);
27313
- console.log(`\u2705 ${import_picocolors.default.green(`${filename}`)} \uBE4C\uB4DC \uC644\uB8CC`);
27557
+ const filename = path7.basename(artifactOutfile);
27558
+ log2(`\u2705 ${import_picocolors.default.green(`${filename}`)} \uBE4C\uB4DC \uC644\uB8CC`);
27314
27559
  }
27315
27560
  }
27316
27561
  };
@@ -27354,14 +27599,14 @@ function appsInTossDevServer(options2) {
27354
27599
  async function appsInTossAppJson(options2) {
27355
27600
  const packageRoot = getPackageRoot();
27356
27601
  const handleAppJson = async (appName) => {
27357
- const appJsonPath = path6.join(packageRoot, ".bedrock", APP_MANIFEST_NAME);
27602
+ const appJsonPath = path7.join(packageRoot, ".granite", APP_MANIFEST_NAME);
27358
27603
  const appJsonObject = {
27359
27604
  appName,
27360
27605
  permissions: options2.permissions
27361
27606
  };
27362
- await fs5.promises.mkdir(path6.dirname(appJsonPath), { recursive: true });
27607
+ await fs6.promises.mkdir(path7.dirname(appJsonPath), { recursive: true });
27363
27608
  try {
27364
- const existingAppJson = await fs5.promises.readFile(appJsonPath, "utf8");
27609
+ const existingAppJson = await fs6.promises.readFile(appJsonPath, "utf8");
27365
27610
  const existingAppJsonObject = JSON.parse(existingAppJson);
27366
27611
  Object.assign(appJsonObject, existingAppJsonObject, {
27367
27612
  appName,
@@ -27369,7 +27614,7 @@ async function appsInTossAppJson(options2) {
27369
27614
  });
27370
27615
  } catch {
27371
27616
  }
27372
- await fs5.promises.writeFile(appJsonPath, JSON.stringify(appJsonObject, null, 2), "utf8");
27617
+ await fs6.promises.writeFile(appJsonPath, JSON.stringify(appJsonObject, null, 2), "utf8");
27373
27618
  };
27374
27619
  return {
27375
27620
  name: "apps-in-toss:app-json",
@@ -27387,18 +27632,58 @@ async function appsInTossAppJson(options2) {
27387
27632
  }
27388
27633
  };
27389
27634
  }
27635
+ function appsInTossPostNotice() {
27636
+ const phase = "post";
27637
+ return {
27638
+ name: "apps-in-toss:post-notice",
27639
+ dev: {
27640
+ order: phase,
27641
+ handler() {
27642
+ }
27643
+ },
27644
+ build: {
27645
+ order: phase,
27646
+ async handler({ appName }) {
27647
+ if (this.meta.hermes == null) {
27648
+ log2(`Hermes \uD50C\uB7EC\uADF8\uC778 \uAD6C\uC131\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC5B4\uC694. \uAC00\uC774\uB4DC\uB97C \uCC38\uACE0\uD558\uC5EC Hermes \uD50C\uB7EC\uADF8\uC778\uC744 \uAD6C\uC131\uD574\uC8FC\uC138\uC694.`);
27649
+ return;
27650
+ }
27651
+ if (this.meta.sentry) {
27652
+ const command = [
27653
+ "ait sentry upload-sourcemap",
27654
+ `--app-name ${appName}`,
27655
+ "--api-key <API_KEY>",
27656
+ "--deployment-id <DEPLOYMENT_ID>"
27657
+ ].join(" \\\n");
27658
+ log2(
27659
+ `Sentry \uAD6C\uC131\uC774 \uAC10\uC9C0\uB410\uC5B4\uC694. \uC815\uD655\uD55C \uC624\uB958 \uCD94\uC801\uC744 \uC704\uD574\uC11C\uB294 \uBC30\uD3EC\uAC00 \uB05D\uB09C \uB4A4 \uB2E4\uC74C \uBA85\uB839\uC5B4\uB85C \uC18C\uC2A4\uB9F5\uC744 \uC5C5\uB85C\uB4DC\uD574 \uC8FC\uC138\uC694.
27660
+
27661
+ ${command}
27662
+ `
27663
+ );
27664
+ }
27665
+ }
27666
+ }
27667
+ };
27668
+ }
27390
27669
  function appsInToss(options2) {
27670
+ const result = validateAppInTossPluginOptions(options2);
27671
+ if (!result.success) {
27672
+ console.error("[Apps In Toss Plugin] \uD50C\uB7EC\uADF8\uC778 \uC635\uC158\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. bedrock.config.ts \uAD6C\uC131\uC744 \uD655\uC778\uD574\uC8FC\uC138\uC694.");
27673
+ process.exit(1);
27674
+ }
27391
27675
  const deploymentId = generateDeploymentId();
27392
27676
  const { contents, path: envFilePath } = setupRuntimeSetupScript({
27393
- brand: options2.brand,
27677
+ brand: result.data.brand,
27394
27678
  deploymentId
27395
27679
  });
27396
27680
  return [
27397
- appsInTossAppJson(options2),
27398
- appsInTossDevServer(options2),
27681
+ appsInTossAppJson(result.data),
27682
+ appsInTossDevServer(result.data),
27399
27683
  appsInTossCreateArtifact(deploymentId),
27400
27684
  appsInTossEsbuildConfig(contents),
27401
- appsInTossMetroConfig(envFilePath)
27685
+ appsInTossMetroConfig(envFilePath),
27686
+ appsInTossPostNotice()
27402
27687
  ];
27403
27688
  }
27404
27689
 
@@ -27464,8 +27749,11 @@ export {
27464
27749
  appsInTossAppJson,
27465
27750
  appsInTossEsbuildConfig,
27466
27751
  appsInTossMetroConfig,
27752
+ appsInTossPostNotice,
27753
+ collectDependencyVersions,
27467
27754
  createArtifact,
27468
27755
  setupRuntimeSetupScript,
27756
+ validateAppInTossPluginOptions,
27469
27757
  validateAppManifest,
27470
27758
  validateZip
27471
27759
  };