@intelligentgraphics/ig.gfx.packager 3.0.21 → 3.0.22

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.
Files changed (26) hide show
  1. package/build/bin.mjs +1 -1
  2. package/build/{cli-91fabb36.mjs → cli-f6586dd5.mjs} +77 -93
  3. package/build/{cli-91fabb36.mjs.map → cli-f6586dd5.mjs.map} +1 -1
  4. package/build/{dependencies-7711a9db.mjs → dependencies-e2aa1797.mjs} +2 -2
  5. package/build/{dependencies-7711a9db.mjs.map → dependencies-e2aa1797.mjs.map} +1 -1
  6. package/build/{generateIndex-47c082d0.mjs → generateIndex-019c6946.mjs} +3 -3
  7. package/build/{generateIndex-47c082d0.mjs.map → generateIndex-019c6946.mjs.map} +1 -1
  8. package/build/{generateParameterType-10d124a6.mjs → generateParameterType-ae69726a.mjs} +4 -4
  9. package/build/{generateParameterType-10d124a6.mjs.map → generateParameterType-ae69726a.mjs.map} +1 -1
  10. package/build/{index-ca04836f.mjs → index-39c79102.mjs} +16 -18
  11. package/build/index-39c79102.mjs.map +1 -0
  12. package/build/{index-e6ead55c.mjs → index-3d1291e7.mjs} +10 -10
  13. package/build/index-3d1291e7.mjs.map +1 -0
  14. package/build/{postinstall-0ea76778.mjs → postinstall-3328545c.mjs} +3 -3
  15. package/build/{postinstall-0ea76778.mjs.map → postinstall-3328545c.mjs.map} +1 -1
  16. package/build/{publishNpm-aadd7dc2.mjs → publishNpm-532e17a0.mjs} +9 -5
  17. package/build/publishNpm-532e17a0.mjs.map +1 -0
  18. package/build/scripts-7ed8dff6.mjs.map +1 -1
  19. package/build/{versionFile-ad981e93.mjs → versionFile-644c7ff8.mjs} +6 -10
  20. package/build/{versionFile-ad981e93.mjs.map → versionFile-644c7ff8.mjs.map} +1 -1
  21. package/lib/lib.mjs +30 -36
  22. package/package.json +6 -6
  23. package/readme.md +6 -0
  24. package/build/index-ca04836f.mjs.map +0 -1
  25. package/build/index-e6ead55c.mjs.map +0 -1
  26. package/build/publishNpm-aadd7dc2.mjs.map +0 -1
package/build/bin.mjs CHANGED
@@ -2,5 +2,5 @@
2
2
  import 'source-map-support/register.js';
3
3
  import 'v8-compile-cache';
4
4
 
5
- import('./cli-91fabb36.mjs').then(function (n) { return n.x; });
5
+ import('./cli-f6586dd5.mjs').then(function (n) { return n.x; });
6
6
  //# sourceMappingURL=bin.mjs.map
@@ -138,7 +138,7 @@ const readPackageCreatorManifest = (location)=>{
138
138
  };
139
139
  const writePackageCreatorManifest = (location, creatorPackage)=>{
140
140
  const packageJsonPath = path$1.join(location.manifestDir, PACKAGE_FILE);
141
- fs$1.writeFileSync(packageJsonPath, JSON.stringify(creatorPackage, null, "\t") + "\n");
141
+ fs$1.writeFileSync(packageJsonPath, JSON.stringify(creatorPackage, null, " ") + "\n");
142
142
  };
143
143
  const getPackageCreatorIndexPath = (location)=>path$1.join(location.manifestDir, INDEX_FILE);
144
144
  const readPackageCreatorIndex = (location)=>{
@@ -157,7 +157,7 @@ const readPackageCreatorIndex = (location)=>{
157
157
  };
158
158
  const writePackageCreatorIndex = (location, index)=>{
159
159
  const indexPath = getPackageCreatorIndexPath(location);
160
- fs$1.writeFileSync(indexPath, JSON.stringify(index, null, "\t") + "\n");
160
+ fs$1.writeFileSync(indexPath, JSON.stringify(index, null, " ") + "\n");
161
161
  };
162
162
  const readPackageNpmManifest = (location)=>{
163
163
  try {
@@ -222,22 +222,14 @@ function* iterateWorkspacePackages(workspace) {
222
222
 
223
223
  var writeFileAtomicExports = {};
224
224
  var writeFileAtomic = {
225
- get exports () {
226
- return writeFileAtomicExports;
227
- },
228
- set exports (v){
229
- writeFileAtomicExports = v;
230
- }
225
+ get exports(){ return writeFileAtomicExports; },
226
+ set exports(v){ writeFileAtomicExports = v; },
231
227
  };
232
228
 
233
229
  var imurmurhashExports = {};
234
230
  var imurmurhash = {
235
- get exports () {
236
- return imurmurhashExports;
237
- },
238
- set exports (v){
239
- imurmurhashExports = v;
240
- }
231
+ get exports(){ return imurmurhashExports; },
232
+ set exports(v){ imurmurhashExports = v; },
241
233
  };
242
234
 
243
235
  (function(module) {
@@ -252,7 +244,7 @@ var imurmurhash = {
252
244
  function MurmurHash3(key, seed) {
253
245
  var m = this instanceof MurmurHash3 ? this : cache;
254
246
  m.reset(seed);
255
- if (typeof key === 'string' && key.length > 0) {
247
+ if (typeof key === "string" && key.length > 0) {
256
248
  m.hash(key);
257
249
  }
258
250
  if (m !== this) {
@@ -337,7 +329,7 @@ var imurmurhash = {
337
329
  //
338
330
  // @param {number} seed An optional positive integer
339
331
  MurmurHash3.prototype.reset = function(seed) {
340
- this.h1 = typeof seed === 'number' ? seed : 0;
332
+ this.h1 = typeof seed === "number" ? seed : 0;
341
333
  this.rem = this.k1 = this.len = 0;
342
334
  return this;
343
335
  };
@@ -354,22 +346,14 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof win
354
346
 
355
347
  var signalExitExports = {};
356
348
  var signalExit = {
357
- get exports () {
358
- return signalExitExports;
359
- },
360
- set exports (v){
361
- signalExitExports = v;
362
- }
349
+ get exports(){ return signalExitExports; },
350
+ set exports(v){ signalExitExports = v; },
363
351
  };
364
352
 
365
353
  var signalsExports = {};
366
354
  var signals$1 = {
367
- get exports () {
368
- return signalsExports;
369
- },
370
- set exports (v){
371
- signalsExports = v;
372
- }
355
+ get exports(){ return signalsExports; },
356
+ set exports(v){ signalsExports = v; },
373
357
  };
374
358
 
375
359
  var hasRequiredSignals;
@@ -398,17 +382,17 @@ function requireSignals() {
398
382
  // state from which it is not safe to try and enter JS
399
383
  // listeners.
400
384
  module.exports = [
401
- 'SIGABRT',
402
- 'SIGALRM',
403
- 'SIGHUP',
404
- 'SIGINT',
405
- 'SIGTERM'
385
+ "SIGABRT",
386
+ "SIGALRM",
387
+ "SIGHUP",
388
+ "SIGINT",
389
+ "SIGTERM"
406
390
  ];
407
- if (process.platform !== 'win32') {
408
- module.exports.push('SIGVTALRM', 'SIGXCPU', 'SIGXFSZ', 'SIGUSR2', 'SIGTRAP', 'SIGSYS', 'SIGQUIT', 'SIGIOT');
391
+ if (process.platform !== "win32") {
392
+ module.exports.push("SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
409
393
  }
410
- if (process.platform === 'linux') {
411
- module.exports.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT', 'SIGUNUSED');
394
+ if (process.platform === "linux") {
395
+ module.exports.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT", "SIGUNUSED");
412
396
  }
413
397
  })(signals$1);
414
398
  return signalsExports;
@@ -420,7 +404,7 @@ function requireSignals() {
420
404
  // grab a reference to node's real process object right away
421
405
  var process$1 = commonjsGlobal.process;
422
406
  const processOk = function(process) {
423
- return process && typeof process === 'object' && typeof process.removeListener === 'function' && typeof process.emit === 'function' && typeof process.reallyExit === 'function' && typeof process.listeners === 'function' && typeof process.kill === 'function' && typeof process.pid === 'number' && typeof process.on === 'function';
407
+ return process && typeof process === "object" && typeof process.removeListener === "function" && typeof process.emit === "function" && typeof process.reallyExit === "function" && typeof process.listeners === "function" && typeof process.kill === "function" && typeof process.pid === "number" && typeof process.on === "function";
424
408
  };
425
409
  // some kind of non-node environment, just no-op
426
410
  /* istanbul ignore if */ if (!processOk(process$1)) {
@@ -432,7 +416,7 @@ const processOk = function(process) {
432
416
  var signals = requireSignals();
433
417
  var isWin = /^win/i.test(process$1.platform);
434
418
  var EE = require$$2;
435
- /* istanbul ignore if */ if (typeof EE !== 'function') {
419
+ /* istanbul ignore if */ if (typeof EE !== "function") {
436
420
  EE = EE.EventEmitter;
437
421
  }
438
422
  var emitter;
@@ -455,17 +439,17 @@ const processOk = function(process) {
455
439
  /* istanbul ignore if */ if (!processOk(commonjsGlobal.process)) {
456
440
  return function() {};
457
441
  }
458
- assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler');
442
+ assert.equal(typeof cb, "function", "a callback must be provided for exit handler");
459
443
  if (loaded === false) {
460
444
  load();
461
445
  }
462
- var ev = 'exit';
446
+ var ev = "exit";
463
447
  if (opts && opts.alwaysLast) {
464
- ev = 'afterexit';
448
+ ev = "afterexit";
465
449
  }
466
450
  var remove = function() {
467
451
  emitter.removeListener(ev, cb);
468
- if (emitter.listeners('exit').length === 0 && emitter.listeners('afterexit').length === 0) {
452
+ if (emitter.listeners("exit").length === 0 && emitter.listeners("afterexit").length === 0) {
469
453
  unload();
470
454
  }
471
455
  };
@@ -508,12 +492,12 @@ const processOk = function(process) {
508
492
  var listeners = process$1.listeners(sig);
509
493
  if (listeners.length === emitter.count) {
510
494
  unload();
511
- emit('exit', null, sig);
512
- /* istanbul ignore next */ emit('afterexit', null, sig);
513
- /* istanbul ignore next */ if (isWin && sig === 'SIGHUP') {
495
+ emit("exit", null, sig);
496
+ /* istanbul ignore next */ emit("afterexit", null, sig);
497
+ /* istanbul ignore next */ if (isWin && sig === "SIGHUP") {
514
498
  // "SIGHUP" throws an `ENOSYS` error on Windows,
515
499
  // so use a supported signal instead
516
- sig = 'SIGINT';
500
+ sig = "SIGINT";
517
501
  }
518
502
  /* istanbul ignore next */ process$1.kill(process$1.pid, sig);
519
503
  }
@@ -551,19 +535,19 @@ const processOk = function(process) {
551
535
  return;
552
536
  }
553
537
  process$1.exitCode = code || /* istanbul ignore next */ 0;
554
- emit('exit', process$1.exitCode, null);
555
- /* istanbul ignore next */ emit('afterexit', process$1.exitCode, null);
538
+ emit("exit", process$1.exitCode, null);
539
+ /* istanbul ignore next */ emit("afterexit", process$1.exitCode, null);
556
540
  /* istanbul ignore next */ originalProcessReallyExit.call(process$1, process$1.exitCode);
557
541
  };
558
542
  var originalProcessEmit = process$1.emit;
559
543
  var processEmit = function processEmit(ev, arg) {
560
- if (ev === 'exit' && processOk(commonjsGlobal.process)) {
544
+ if (ev === "exit" && processOk(commonjsGlobal.process)) {
561
545
  /* istanbul ignore else */ if (arg !== undefined) {
562
546
  process$1.exitCode = arg;
563
547
  }
564
548
  var ret = originalProcessEmit.apply(this, arguments);
565
- /* istanbul ignore next */ emit('exit', process$1.exitCode, null);
566
- /* istanbul ignore next */ emit('afterexit', process$1.exitCode, null);
549
+ /* istanbul ignore next */ emit("exit", process$1.exitCode, null);
550
+ /* istanbul ignore next */ emit("afterexit", process$1.exitCode, null);
567
551
  /* istanbul ignore next */ return ret;
568
552
  } else {
569
553
  return originalProcessEmit.apply(this, arguments);
@@ -576,15 +560,15 @@ isTypedArray$2.strict = isStrictTypedArray;
576
560
  isTypedArray$2.loose = isLooseTypedArray;
577
561
  var toString = Object.prototype.toString;
578
562
  var names = {
579
- '[object Int8Array]': true,
580
- '[object Int16Array]': true,
581
- '[object Int32Array]': true,
582
- '[object Uint8Array]': true,
583
- '[object Uint8ClampedArray]': true,
584
- '[object Uint16Array]': true,
585
- '[object Uint32Array]': true,
586
- '[object Float32Array]': true,
587
- '[object Float64Array]': true
563
+ "[object Int8Array]": true,
564
+ "[object Int16Array]": true,
565
+ "[object Int32Array]": true,
566
+ "[object Uint8Array]": true,
567
+ "[object Uint8ClampedArray]": true,
568
+ "[object Uint16Array]": true,
569
+ "[object Uint32Array]": true,
570
+ "[object Float32Array]": true,
571
+ "[object Float64Array]": true
588
572
  };
589
573
  function isTypedArray$2(arr) {
590
574
  return isStrictTypedArray(arr) || isLooseTypedArray(arr);
@@ -623,12 +607,12 @@ const onExit = signalExitExports;
623
607
  const path = path__default;
624
608
  const isTypedArray = isTypedarray;
625
609
  const typedArrayToBuffer = typedarrayToBuffer;
626
- const { promisify } = require$$6;
610
+ const { promisify } = require$$6;
627
611
  const activeFiles = {};
628
612
  // if we run inside of a worker_thread, `process.pid` is not unique
629
613
  /* istanbul ignore next */ const threadId = function getId() {
630
614
  try {
631
- const workerThreads = require('worker_threads');
615
+ const workerThreads = require("worker_threads");
632
616
  /// if we are in main thread, this is set to `0`
633
617
  return workerThreads.threadId;
634
618
  } catch (e) {
@@ -638,12 +622,12 @@ const activeFiles = {};
638
622
  }();
639
623
  let invocations = 0;
640
624
  function getTmpname(filename) {
641
- return filename + '.' + MurmurHash3(__filename).hash(String(process.pid)).hash(String(threadId)).hash(String(++invocations)).result();
625
+ return filename + "." + MurmurHash3(__filename).hash(String(process.pid)).hash(String(threadId)).hash(String(++invocations)).result();
642
626
  }
643
627
  function cleanupOnExit(tmpfile) {
644
628
  return ()=>{
645
629
  try {
646
- fs.unlinkSync(typeof tmpfile === 'function' ? tmpfile() : tmpfile);
630
+ fs.unlinkSync(typeof tmpfile === "function" ? tmpfile() : tmpfile);
647
631
  } catch (_) {}
648
632
  };
649
633
  }
@@ -659,19 +643,19 @@ function serializeActiveFile(absoluteName) {
659
643
  }
660
644
  // https://github.com/isaacs/node-graceful-fs/blob/master/polyfills.js#L315-L342
661
645
  function isChownErrOk(err) {
662
- if (err.code === 'ENOSYS') {
646
+ if (err.code === "ENOSYS") {
663
647
  return true;
664
648
  }
665
649
  const nonroot = !process.getuid || process.getuid() !== 0;
666
650
  if (nonroot) {
667
- if (err.code === 'EINVAL' || err.code === 'EPERM') {
651
+ if (err.code === "EINVAL" || err.code === "EPERM") {
668
652
  return true;
669
653
  }
670
654
  }
671
655
  return false;
672
656
  }
673
657
  async function writeFileAsync(filename, data, options = {}) {
674
- if (typeof options === 'string') {
658
+ if (typeof options === "string") {
675
659
  options = {
676
660
  encoding: options
677
661
  };
@@ -700,7 +684,7 @@ async function writeFileAsync(filename, data, options = {}) {
700
684
  }
701
685
  }
702
686
  }
703
- fd = await promisify(fs.open)(tmpfile, 'w', options.mode);
687
+ fd = await promisify(fs.open)(tmpfile, "w", options.mode);
704
688
  if (options.tmpfileCreated) {
705
689
  await options.tmpfileCreated(tmpfile);
706
690
  }
@@ -710,7 +694,7 @@ async function writeFileAsync(filename, data, options = {}) {
710
694
  if (Buffer.isBuffer(data)) {
711
695
  await promisify(fs.write)(fd, data, 0, data.length, 0);
712
696
  } else if (data != null) {
713
- await promisify(fs.write)(fd, String(data), 0, String(options.encoding || 'utf8'));
697
+ await promisify(fs.write)(fd, String(data), 0, String(options.encoding || "utf8"));
714
698
  }
715
699
  if (options.fsync !== false) {
716
700
  await promisify(fs.fsync)(fd);
@@ -758,7 +742,7 @@ function writeFile(filename, data, options, callback) {
758
742
  return promise;
759
743
  }
760
744
  function writeFileSync(filename, data, options) {
761
- if (typeof options === 'string') options = {
745
+ if (typeof options === "string") options = {
762
746
  encoding: options
763
747
  };
764
748
  else if (!options) options = {};
@@ -792,7 +776,7 @@ function writeFileSync(filename, data, options) {
792
776
  const removeOnExitHandler = onExit(cleanup);
793
777
  let threw = true;
794
778
  try {
795
- fd = fs.openSync(tmpfile, 'w', options.mode || 0o666);
779
+ fd = fs.openSync(tmpfile, "w", options.mode || 438);
796
780
  if (options.tmpfileCreated) {
797
781
  options.tmpfileCreated(tmpfile);
798
782
  }
@@ -802,7 +786,7 @@ function writeFileSync(filename, data, options) {
802
786
  if (Buffer.isBuffer(data)) {
803
787
  fs.writeSync(fd, data, 0, data.length, 0);
804
788
  } else if (data != null) {
805
- fs.writeSync(fd, String(data), 0, String(options.encoding || 'utf8'));
789
+ fs.writeSync(fd, String(data), 0, String(options.encoding || "utf8"));
806
790
  }
807
791
  if (options.fsync !== false) {
808
792
  fs.fsyncSync(fd);
@@ -850,7 +834,7 @@ const PLUGIN_ID = "0feba3a0-b6d1-11e6-9598-0800200c9a66";
850
834
  *
851
835
  * @param {SessionStartParams} params
852
836
  * @returns
853
- */ const startSession = async ({ url , authentication , ...params })=>{
837
+ */ const startSession = async ({ url, authentication, ...params })=>{
854
838
  const payload = {
855
839
  ...params,
856
840
  user: undefined,
@@ -864,7 +848,7 @@ const PLUGIN_ID = "0feba3a0-b6d1-11e6-9598-0800200c9a66";
864
848
  } else if (authentication.type === "license") {
865
849
  payload.license = authentication.license;
866
850
  }
867
- const { data: { session: sessionId , state , response } } = await axios.post(`Session/Start2`, JSON.stringify(payload), {
851
+ const { data: { session: sessionId, state, response } } = await axios.post(`Session/Start2`, JSON.stringify(payload), {
868
852
  baseURL: url
869
853
  });
870
854
  if (state !== "SUCCESS") {
@@ -887,11 +871,11 @@ const closeSession = async (session)=>{
887
871
  baseURL: session.url
888
872
  });
889
873
  };
890
- const uploadPackageFromStream = async (session, { name , version }, stream)=>{
874
+ const uploadPackageFromStream = async (session, { name, version }, stream)=>{
891
875
  await uploadPackageToUrl(session.url, `UploadPackage/${session.sessionId}/${name}_${version}/`, stream);
892
876
  };
893
877
  const uploadPackageToUrl = async (url, path, stream)=>{
894
- const { data , status } = await axios.post(path, stream, {
878
+ const { data, status } = await axios.post(path, stream, {
895
879
  baseURL: url
896
880
  });
897
881
  let objectBody;
@@ -926,7 +910,7 @@ const uploadPackageToUrl = async (url, path, stream)=>{
926
910
  return data;
927
911
  };
928
912
  const getExistingPackages = async (session)=>{
929
- const { data } = await axios.get(`Script/GetInformation/${session.sessionId}`, {
913
+ const { data } = await axios.get(`Script/GetInformation/${session.sessionId}`, {
930
914
  baseURL: session.url,
931
915
  validateStatus: (status)=>status === 404 || status === 200
932
916
  }).catch((err)=>{
@@ -938,7 +922,7 @@ const getExistingPackages = async (session)=>{
938
922
  const createDefaultPrompter = ()=>{
939
923
  return {
940
924
  confirm: async (message)=>{
941
- const { confirm } = await inquirer.prompt([
925
+ const { confirm } = await inquirer.prompt([
942
926
  {
943
927
  type: "confirm",
944
928
  message,
@@ -948,7 +932,7 @@ const createDefaultPrompter = ()=>{
948
932
  return confirm;
949
933
  },
950
934
  ask: async (question)=>{
951
- const { answer } = await inquirer.prompt([
935
+ const { answer } = await inquirer.prompt([
952
936
  {
953
937
  type: "list",
954
938
  message: question.message,
@@ -1060,14 +1044,14 @@ yargsInstance.command("build [directories...]", "Builds the specified directorie
1060
1044
  type: "boolean",
1061
1045
  default: false
1062
1046
  }
1063
- }), async ({ directories =[] , watch , ...options })=>{
1047
+ }), async ({ directories = [], watch, ...options })=>{
1064
1048
  const workspace = detectWorkspace(options.cwd);
1065
1049
  const folders = resolvePackagesFromMaybePatterns(directories, workspace);
1066
1050
  await preCommandCheck(workspace);
1067
1051
  if (folders.length === 0) {
1068
1052
  return console.log("No build targets found. Please check wether a folder with the provided name exists and wether it has _Package.json.");
1069
1053
  }
1070
- const { buildFolders , buildFoldersWatch } = await import('./index-e6ead55c.mjs').then(function (n) { return n.i; });
1054
+ const { buildFolders, buildFoldersWatch } = await import('./index-3d1291e7.mjs').then(function (n) { return n.i; });
1071
1055
  if (watch) {
1072
1056
  await buildFoldersWatch({
1073
1057
  ...options,
@@ -1144,7 +1128,7 @@ yargsInstance.command("publish [directory]", "Publishes the specified directory"
1144
1128
  default: false,
1145
1129
  description: "Skip dependency checks"
1146
1130
  }
1147
- }), async ({ directory , user , password , service , license , ...options })=>{
1131
+ }), async ({ directory, user, password, service, license, ...options })=>{
1148
1132
  const workspace = detectWorkspace(options.cwd);
1149
1133
  const folder = detectPackage(workspace, directory);
1150
1134
  await preCommandCheck(workspace);
@@ -1189,7 +1173,7 @@ yargsInstance.command("publish [directory]", "Publishes the specified directory"
1189
1173
  password
1190
1174
  };
1191
1175
  }
1192
- const { releaseFolder } = await import('./index-ca04836f.mjs');
1176
+ const { releaseFolder } = await import('./index-39c79102.mjs');
1193
1177
  const prompter = createDefaultPrompter();
1194
1178
  const fullOptions = {
1195
1179
  ...options,
@@ -1238,7 +1222,7 @@ yargsInstance.command("testConnection [directory]", "Tests connection to asset s
1238
1222
  description: "Path to a license file",
1239
1223
  default: process.env.IG_GFX_LICENSE
1240
1224
  }
1241
- }), async ({ user , password , service , license , subdomain , domain , address , directory })=>{
1225
+ }), async ({ user, password, service, license, subdomain, domain, address, directory })=>{
1242
1226
  if (!service) {
1243
1227
  captureError(new Error('The IG.Asset.Server url has to either be provided using the option --service or through the "IG_GFX_ASSET_SERVICE" environment variable'));
1244
1228
  return;
@@ -1317,10 +1301,10 @@ yargsInstance.command({
1317
1301
  default: false,
1318
1302
  description: "Marks non optional parameter object properties as required"
1319
1303
  }),
1320
- handler: async ({ directory , ignore , strictOptional })=>{
1304
+ handler: async ({ directory, ignore, strictOptional })=>{
1321
1305
  const workspace = detectWorkspace(process.cwd());
1322
1306
  await preCommandCheck(workspace);
1323
- const { generateIndex } = await import('./generateIndex-47c082d0.mjs');
1307
+ const { generateIndex } = await import('./generateIndex-019c6946.mjs');
1324
1308
  const location = detectPackage(workspace, directory);
1325
1309
  generateIndex({
1326
1310
  location,
@@ -1332,10 +1316,10 @@ yargsInstance.command({
1332
1316
  });
1333
1317
  yargsInstance.command({
1334
1318
  command: "generateParameterType [directory] [name]",
1335
- handler: async ({ directory , name })=>{
1319
+ handler: async ({ directory, name })=>{
1336
1320
  const workspace = detectWorkspace(process.cwd());
1337
1321
  await preCommandCheck(workspace);
1338
- const { generateParameterType } = await import('./generateParameterType-10d124a6.mjs');
1322
+ const { generateParameterType } = await import('./generateParameterType-ae69726a.mjs');
1339
1323
  const location = detectPackage(workspace, directory);
1340
1324
  generateParameterType({
1341
1325
  location,
@@ -1348,7 +1332,7 @@ yargsInstance.command({
1348
1332
  command: "postinstall",
1349
1333
  builder: (argv)=>argv,
1350
1334
  handler: async ()=>{
1351
- const { executePostInstall } = await import('./postinstall-0ea76778.mjs');
1335
+ const { executePostInstall } = await import('./postinstall-3328545c.mjs');
1352
1336
  executePostInstall(detectWorkspace(process.cwd()));
1353
1337
  },
1354
1338
  describe: "Runs postinstall tasks"
@@ -1366,9 +1350,9 @@ yargsInstance.command({
1366
1350
  type: "boolean"
1367
1351
  }
1368
1352
  }),
1369
- handler: async ({ directory , newVersion , dryRun })=>{
1353
+ handler: async ({ directory, newVersion, dryRun })=>{
1370
1354
  const workspace = detectWorkspace(process.cwd());
1371
- const { publishToNpm } = await import('./publishNpm-aadd7dc2.mjs');
1355
+ const { publishToNpm } = await import('./publishNpm-532e17a0.mjs');
1372
1356
  await publishToNpm({
1373
1357
  workspace,
1374
1358
  location: detectPackage(workspace, directory),
@@ -1385,4 +1369,4 @@ var cli = /*#__PURE__*/Object.freeze({
1385
1369
  });
1386
1370
 
1387
1371
  export { INDEX_FILE as I, PACKAGE_FILE as P, readPackageCreatorIndex as a, readWorkspaceNpmManifest as b, readPackageAnimationList as c, isErrorEACCES as d, isErrorEPERM as e, getPackageReleasesDirectory as f, getWorkspaceOutputPath as g, getExistingPackages as h, isErrorENOENT as i, closeSession as j, writePackageCreatorIndex as k, getCreatorIndexParameterPrimaryJSType as l, getWorkspaceLibPath as m, readNpmManifest as n, stripUtf8Bom as o, parseCreatorPackageName as p, readPackageNpmManifest as q, readPackageCreatorManifest as r, startSession as s, writePackageNpmManifest as t, uploadPackageFromStream as u, iterateWorkspacePackages as v, writePackageCreatorManifest as w, cli as x };
1388
- //# sourceMappingURL=cli-91fabb36.mjs.map
1372
+ //# sourceMappingURL=cli-f6586dd5.mjs.map