@intelligentgraphics/ig.gfx.packager 3.0.22 → 3.0.24
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/build/bin.mjs +1 -1
- package/build/{cli-f6586dd5.mjs → cli-Bx92BGrF.mjs} +72 -86
- package/build/cli-Bx92BGrF.mjs.map +1 -0
- package/build/{dependencies-e2aa1797.mjs → dependencies-CZcyW8ZI.mjs} +2 -2
- package/build/{dependencies-e2aa1797.mjs.map → dependencies-CZcyW8ZI.mjs.map} +1 -1
- package/build/{generateIndex-019c6946.mjs → generateIndex-DEAi7qDC.mjs} +3 -3
- package/build/{generateIndex-019c6946.mjs.map → generateIndex-DEAi7qDC.mjs.map} +1 -1
- package/build/{generateParameterType-ae69726a.mjs → generateParameterType-B7iMqOil.mjs} +3 -3
- package/build/{generateParameterType-ae69726a.mjs.map → generateParameterType-B7iMqOil.mjs.map} +1 -1
- package/build/{index-39c79102.mjs → index-CKKQe2tV.mjs} +179 -172
- package/build/index-CKKQe2tV.mjs.map +1 -0
- package/build/{index-3d1291e7.mjs → index-CudbcGpI.mjs} +55 -40
- package/build/index-CudbcGpI.mjs.map +1 -0
- package/build/{postinstall-3328545c.mjs → postinstall-DKsDC4RH.mjs} +3 -3
- package/build/{postinstall-3328545c.mjs.map → postinstall-DKsDC4RH.mjs.map} +1 -1
- package/build/{publishNpm-532e17a0.mjs → publishNpm-B7MffVws.mjs} +9 -7
- package/build/publishNpm-B7MffVws.mjs.map +1 -0
- package/build/{scripts-7ed8dff6.mjs → scripts-EvIjiH6G.mjs} +1 -1
- package/build/{scripts-7ed8dff6.mjs.map → scripts-EvIjiH6G.mjs.map} +1 -1
- package/build/{versionFile-644c7ff8.mjs → versionFile-B5fuIv75.mjs} +3 -3
- package/build/{versionFile-644c7ff8.mjs.map → versionFile-B5fuIv75.mjs.map} +1 -1
- package/lib/lib.mjs +225 -204
- package/package.json +9 -9
- package/readme.md +26 -0
- package/build/cli-f6586dd5.mjs.map +0 -1
- package/build/index-39c79102.mjs.map +0 -1
- package/build/index-3d1291e7.mjs.map +0 -1
- package/build/publishNpm-532e17a0.mjs.map +0 -1
package/build/bin.mjs
CHANGED
|
@@ -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, "
|
|
141
|
+
fs$1.writeFileSync(packageJsonPath, JSON.stringify(creatorPackage, null, "\t") + "\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, "
|
|
160
|
+
fs$1.writeFileSync(indexPath, JSON.stringify(index, null, "\t") + "\n");
|
|
161
161
|
};
|
|
162
162
|
const readPackageNpmManifest = (location)=>{
|
|
163
163
|
try {
|
|
@@ -220,17 +220,11 @@ function* iterateWorkspacePackages(workspace) {
|
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
var
|
|
224
|
-
var writeFileAtomic = {
|
|
225
|
-
get exports(){ return writeFileAtomicExports; },
|
|
226
|
-
set exports(v){ writeFileAtomicExports = v; },
|
|
227
|
-
};
|
|
223
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
228
224
|
|
|
229
|
-
var
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
set exports(v){ imurmurhashExports = v; },
|
|
233
|
-
};
|
|
225
|
+
var writeFileAtomic = {exports: {}};
|
|
226
|
+
|
|
227
|
+
var imurmurhash = {exports: {}};
|
|
234
228
|
|
|
235
229
|
(function(module) {
|
|
236
230
|
(function() {
|
|
@@ -244,7 +238,7 @@ var imurmurhash = {
|
|
|
244
238
|
function MurmurHash3(key, seed) {
|
|
245
239
|
var m = this instanceof MurmurHash3 ? this : cache;
|
|
246
240
|
m.reset(seed);
|
|
247
|
-
if (typeof key ===
|
|
241
|
+
if (typeof key === 'string' && key.length > 0) {
|
|
248
242
|
m.hash(key);
|
|
249
243
|
}
|
|
250
244
|
if (m !== this) {
|
|
@@ -329,7 +323,7 @@ var imurmurhash = {
|
|
|
329
323
|
//
|
|
330
324
|
// @param {number} seed An optional positive integer
|
|
331
325
|
MurmurHash3.prototype.reset = function(seed) {
|
|
332
|
-
this.h1 = typeof seed ===
|
|
326
|
+
this.h1 = typeof seed === 'number' ? seed : 0;
|
|
333
327
|
this.rem = this.k1 = this.len = 0;
|
|
334
328
|
return this;
|
|
335
329
|
};
|
|
@@ -341,24 +335,15 @@ var imurmurhash = {
|
|
|
341
335
|
}
|
|
342
336
|
})();
|
|
343
337
|
})(imurmurhash);
|
|
338
|
+
var imurmurhashExports = imurmurhash.exports;
|
|
344
339
|
|
|
345
|
-
var
|
|
346
|
-
|
|
347
|
-
var signalExitExports = {};
|
|
348
|
-
var signalExit = {
|
|
349
|
-
get exports(){ return signalExitExports; },
|
|
350
|
-
set exports(v){ signalExitExports = v; },
|
|
351
|
-
};
|
|
340
|
+
var signalExit = {exports: {}};
|
|
352
341
|
|
|
353
|
-
var
|
|
354
|
-
var signals$1 = {
|
|
355
|
-
get exports(){ return signalsExports; },
|
|
356
|
-
set exports(v){ signalsExports = v; },
|
|
357
|
-
};
|
|
342
|
+
var signals$1 = {exports: {}};
|
|
358
343
|
|
|
359
344
|
var hasRequiredSignals;
|
|
360
345
|
function requireSignals() {
|
|
361
|
-
if (hasRequiredSignals) return
|
|
346
|
+
if (hasRequiredSignals) return signals$1.exports;
|
|
362
347
|
hasRequiredSignals = 1;
|
|
363
348
|
(function(module) {
|
|
364
349
|
// This is not the set of all possible signals.
|
|
@@ -382,20 +367,20 @@ function requireSignals() {
|
|
|
382
367
|
// state from which it is not safe to try and enter JS
|
|
383
368
|
// listeners.
|
|
384
369
|
module.exports = [
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
370
|
+
'SIGABRT',
|
|
371
|
+
'SIGALRM',
|
|
372
|
+
'SIGHUP',
|
|
373
|
+
'SIGINT',
|
|
374
|
+
'SIGTERM'
|
|
390
375
|
];
|
|
391
|
-
if (process.platform !==
|
|
392
|
-
module.exports.push(
|
|
376
|
+
if (process.platform !== 'win32') {
|
|
377
|
+
module.exports.push('SIGVTALRM', 'SIGXCPU', 'SIGXFSZ', 'SIGUSR2', 'SIGTRAP', 'SIGSYS', 'SIGQUIT', 'SIGIOT');
|
|
393
378
|
}
|
|
394
|
-
if (process.platform ===
|
|
395
|
-
module.exports.push(
|
|
379
|
+
if (process.platform === 'linux') {
|
|
380
|
+
module.exports.push('SIGIO', 'SIGPOLL', 'SIGPWR', 'SIGSTKFLT', 'SIGUNUSED');
|
|
396
381
|
}
|
|
397
382
|
})(signals$1);
|
|
398
|
-
return
|
|
383
|
+
return signals$1.exports;
|
|
399
384
|
}
|
|
400
385
|
|
|
401
386
|
// Note: since nyc uses this module to output coverage, any lines
|
|
@@ -404,7 +389,7 @@ function requireSignals() {
|
|
|
404
389
|
// grab a reference to node's real process object right away
|
|
405
390
|
var process$1 = commonjsGlobal.process;
|
|
406
391
|
const processOk = function(process) {
|
|
407
|
-
return process && typeof process ===
|
|
392
|
+
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';
|
|
408
393
|
};
|
|
409
394
|
// some kind of non-node environment, just no-op
|
|
410
395
|
/* istanbul ignore if */ if (!processOk(process$1)) {
|
|
@@ -416,7 +401,7 @@ const processOk = function(process) {
|
|
|
416
401
|
var signals = requireSignals();
|
|
417
402
|
var isWin = /^win/i.test(process$1.platform);
|
|
418
403
|
var EE = require$$2;
|
|
419
|
-
/* istanbul ignore if */ if (typeof EE !==
|
|
404
|
+
/* istanbul ignore if */ if (typeof EE !== 'function') {
|
|
420
405
|
EE = EE.EventEmitter;
|
|
421
406
|
}
|
|
422
407
|
var emitter;
|
|
@@ -439,17 +424,17 @@ const processOk = function(process) {
|
|
|
439
424
|
/* istanbul ignore if */ if (!processOk(commonjsGlobal.process)) {
|
|
440
425
|
return function() {};
|
|
441
426
|
}
|
|
442
|
-
assert.equal(typeof cb,
|
|
427
|
+
assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler');
|
|
443
428
|
if (loaded === false) {
|
|
444
429
|
load();
|
|
445
430
|
}
|
|
446
|
-
var ev =
|
|
431
|
+
var ev = 'exit';
|
|
447
432
|
if (opts && opts.alwaysLast) {
|
|
448
|
-
ev =
|
|
433
|
+
ev = 'afterexit';
|
|
449
434
|
}
|
|
450
435
|
var remove = function() {
|
|
451
436
|
emitter.removeListener(ev, cb);
|
|
452
|
-
if (emitter.listeners(
|
|
437
|
+
if (emitter.listeners('exit').length === 0 && emitter.listeners('afterexit').length === 0) {
|
|
453
438
|
unload();
|
|
454
439
|
}
|
|
455
440
|
};
|
|
@@ -470,7 +455,7 @@ const processOk = function(process) {
|
|
|
470
455
|
process$1.reallyExit = originalProcessReallyExit;
|
|
471
456
|
emitter.count -= 1;
|
|
472
457
|
};
|
|
473
|
-
|
|
458
|
+
signalExit.exports.unload = unload;
|
|
474
459
|
var emit = function emit(event, code, signal) {
|
|
475
460
|
/* istanbul ignore if */ if (emitter.emitted[event]) {
|
|
476
461
|
return;
|
|
@@ -492,18 +477,18 @@ const processOk = function(process) {
|
|
|
492
477
|
var listeners = process$1.listeners(sig);
|
|
493
478
|
if (listeners.length === emitter.count) {
|
|
494
479
|
unload();
|
|
495
|
-
emit(
|
|
496
|
-
/* istanbul ignore next */ emit(
|
|
497
|
-
/* istanbul ignore next */ if (isWin && sig ===
|
|
480
|
+
emit('exit', null, sig);
|
|
481
|
+
/* istanbul ignore next */ emit('afterexit', null, sig);
|
|
482
|
+
/* istanbul ignore next */ if (isWin && sig === 'SIGHUP') {
|
|
498
483
|
// "SIGHUP" throws an `ENOSYS` error on Windows,
|
|
499
484
|
// so use a supported signal instead
|
|
500
|
-
sig =
|
|
485
|
+
sig = 'SIGINT';
|
|
501
486
|
}
|
|
502
487
|
/* istanbul ignore next */ process$1.kill(process$1.pid, sig);
|
|
503
488
|
}
|
|
504
489
|
};
|
|
505
490
|
});
|
|
506
|
-
|
|
491
|
+
signalExit.exports.signals = function() {
|
|
507
492
|
return signals;
|
|
508
493
|
};
|
|
509
494
|
var loaded = false;
|
|
@@ -528,47 +513,48 @@ const processOk = function(process) {
|
|
|
528
513
|
process$1.emit = processEmit;
|
|
529
514
|
process$1.reallyExit = processReallyExit;
|
|
530
515
|
};
|
|
531
|
-
|
|
516
|
+
signalExit.exports.load = load;
|
|
532
517
|
var originalProcessReallyExit = process$1.reallyExit;
|
|
533
518
|
var processReallyExit = function processReallyExit(code) {
|
|
534
519
|
/* istanbul ignore if */ if (!processOk(commonjsGlobal.process)) {
|
|
535
520
|
return;
|
|
536
521
|
}
|
|
537
522
|
process$1.exitCode = code || /* istanbul ignore next */ 0;
|
|
538
|
-
emit(
|
|
539
|
-
/* istanbul ignore next */ emit(
|
|
523
|
+
emit('exit', process$1.exitCode, null);
|
|
524
|
+
/* istanbul ignore next */ emit('afterexit', process$1.exitCode, null);
|
|
540
525
|
/* istanbul ignore next */ originalProcessReallyExit.call(process$1, process$1.exitCode);
|
|
541
526
|
};
|
|
542
527
|
var originalProcessEmit = process$1.emit;
|
|
543
528
|
var processEmit = function processEmit(ev, arg) {
|
|
544
|
-
if (ev ===
|
|
529
|
+
if (ev === 'exit' && processOk(commonjsGlobal.process)) {
|
|
545
530
|
/* istanbul ignore else */ if (arg !== undefined) {
|
|
546
531
|
process$1.exitCode = arg;
|
|
547
532
|
}
|
|
548
533
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
549
|
-
/* istanbul ignore next */ emit(
|
|
550
|
-
/* istanbul ignore next */ emit(
|
|
534
|
+
/* istanbul ignore next */ emit('exit', process$1.exitCode, null);
|
|
535
|
+
/* istanbul ignore next */ emit('afterexit', process$1.exitCode, null);
|
|
551
536
|
/* istanbul ignore next */ return ret;
|
|
552
537
|
} else {
|
|
553
538
|
return originalProcessEmit.apply(this, arguments);
|
|
554
539
|
}
|
|
555
540
|
};
|
|
556
541
|
}
|
|
542
|
+
var signalExitExports = signalExit.exports;
|
|
557
543
|
|
|
558
544
|
var isTypedarray = isTypedArray$2;
|
|
559
545
|
isTypedArray$2.strict = isStrictTypedArray;
|
|
560
546
|
isTypedArray$2.loose = isLooseTypedArray;
|
|
561
547
|
var toString = Object.prototype.toString;
|
|
562
548
|
var names = {
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
549
|
+
'[object Int8Array]': true,
|
|
550
|
+
'[object Int16Array]': true,
|
|
551
|
+
'[object Int32Array]': true,
|
|
552
|
+
'[object Uint8Array]': true,
|
|
553
|
+
'[object Uint8ClampedArray]': true,
|
|
554
|
+
'[object Uint16Array]': true,
|
|
555
|
+
'[object Uint32Array]': true,
|
|
556
|
+
'[object Float32Array]': true,
|
|
557
|
+
'[object Float64Array]': true
|
|
572
558
|
};
|
|
573
559
|
function isTypedArray$2(arr) {
|
|
574
560
|
return isStrictTypedArray(arr) || isLooseTypedArray(arr);
|
|
@@ -597,10 +583,10 @@ var typedarrayToBuffer = function typedarrayToBuffer(arr) {
|
|
|
597
583
|
};
|
|
598
584
|
|
|
599
585
|
writeFileAtomic.exports = writeFile;
|
|
600
|
-
|
|
601
|
-
|
|
586
|
+
writeFileAtomic.exports.sync = writeFileSync;
|
|
587
|
+
writeFileAtomic.exports._getTmpname = getTmpname // for testing
|
|
602
588
|
;
|
|
603
|
-
|
|
589
|
+
writeFileAtomic.exports._cleanupOnExit = cleanupOnExit;
|
|
604
590
|
const fs = fs__default;
|
|
605
591
|
const MurmurHash3 = imurmurhashExports;
|
|
606
592
|
const onExit = signalExitExports;
|
|
@@ -612,7 +598,7 @@ const activeFiles = {};
|
|
|
612
598
|
// if we run inside of a worker_thread, `process.pid` is not unique
|
|
613
599
|
/* istanbul ignore next */ const threadId = function getId() {
|
|
614
600
|
try {
|
|
615
|
-
const workerThreads = require(
|
|
601
|
+
const workerThreads = require('worker_threads');
|
|
616
602
|
/// if we are in main thread, this is set to `0`
|
|
617
603
|
return workerThreads.threadId;
|
|
618
604
|
} catch (e) {
|
|
@@ -622,12 +608,12 @@ const activeFiles = {};
|
|
|
622
608
|
}();
|
|
623
609
|
let invocations = 0;
|
|
624
610
|
function getTmpname(filename) {
|
|
625
|
-
return filename +
|
|
611
|
+
return filename + '.' + MurmurHash3(__filename).hash(String(process.pid)).hash(String(threadId)).hash(String(++invocations)).result();
|
|
626
612
|
}
|
|
627
613
|
function cleanupOnExit(tmpfile) {
|
|
628
614
|
return ()=>{
|
|
629
615
|
try {
|
|
630
|
-
fs.unlinkSync(typeof tmpfile ===
|
|
616
|
+
fs.unlinkSync(typeof tmpfile === 'function' ? tmpfile() : tmpfile);
|
|
631
617
|
} catch (_) {}
|
|
632
618
|
};
|
|
633
619
|
}
|
|
@@ -643,19 +629,19 @@ function serializeActiveFile(absoluteName) {
|
|
|
643
629
|
}
|
|
644
630
|
// https://github.com/isaacs/node-graceful-fs/blob/master/polyfills.js#L315-L342
|
|
645
631
|
function isChownErrOk(err) {
|
|
646
|
-
if (err.code ===
|
|
632
|
+
if (err.code === 'ENOSYS') {
|
|
647
633
|
return true;
|
|
648
634
|
}
|
|
649
635
|
const nonroot = !process.getuid || process.getuid() !== 0;
|
|
650
636
|
if (nonroot) {
|
|
651
|
-
if (err.code ===
|
|
637
|
+
if (err.code === 'EINVAL' || err.code === 'EPERM') {
|
|
652
638
|
return true;
|
|
653
639
|
}
|
|
654
640
|
}
|
|
655
641
|
return false;
|
|
656
642
|
}
|
|
657
643
|
async function writeFileAsync(filename, data, options = {}) {
|
|
658
|
-
if (typeof options ===
|
|
644
|
+
if (typeof options === 'string') {
|
|
659
645
|
options = {
|
|
660
646
|
encoding: options
|
|
661
647
|
};
|
|
@@ -684,7 +670,7 @@ async function writeFileAsync(filename, data, options = {}) {
|
|
|
684
670
|
}
|
|
685
671
|
}
|
|
686
672
|
}
|
|
687
|
-
fd = await promisify(fs.open)(tmpfile,
|
|
673
|
+
fd = await promisify(fs.open)(tmpfile, 'w', options.mode);
|
|
688
674
|
if (options.tmpfileCreated) {
|
|
689
675
|
await options.tmpfileCreated(tmpfile);
|
|
690
676
|
}
|
|
@@ -694,7 +680,7 @@ async function writeFileAsync(filename, data, options = {}) {
|
|
|
694
680
|
if (Buffer.isBuffer(data)) {
|
|
695
681
|
await promisify(fs.write)(fd, data, 0, data.length, 0);
|
|
696
682
|
} else if (data != null) {
|
|
697
|
-
await promisify(fs.write)(fd, String(data), 0, String(options.encoding ||
|
|
683
|
+
await promisify(fs.write)(fd, String(data), 0, String(options.encoding || 'utf8'));
|
|
698
684
|
}
|
|
699
685
|
if (options.fsync !== false) {
|
|
700
686
|
await promisify(fs.fsync)(fd);
|
|
@@ -742,7 +728,7 @@ function writeFile(filename, data, options, callback) {
|
|
|
742
728
|
return promise;
|
|
743
729
|
}
|
|
744
730
|
function writeFileSync(filename, data, options) {
|
|
745
|
-
if (typeof options ===
|
|
731
|
+
if (typeof options === 'string') options = {
|
|
746
732
|
encoding: options
|
|
747
733
|
};
|
|
748
734
|
else if (!options) options = {};
|
|
@@ -776,7 +762,7 @@ function writeFileSync(filename, data, options) {
|
|
|
776
762
|
const removeOnExitHandler = onExit(cleanup);
|
|
777
763
|
let threw = true;
|
|
778
764
|
try {
|
|
779
|
-
fd = fs.openSync(tmpfile,
|
|
765
|
+
fd = fs.openSync(tmpfile, 'w', options.mode || 438);
|
|
780
766
|
if (options.tmpfileCreated) {
|
|
781
767
|
options.tmpfileCreated(tmpfile);
|
|
782
768
|
}
|
|
@@ -786,7 +772,7 @@ function writeFileSync(filename, data, options) {
|
|
|
786
772
|
if (Buffer.isBuffer(data)) {
|
|
787
773
|
fs.writeSync(fd, data, 0, data.length, 0);
|
|
788
774
|
} else if (data != null) {
|
|
789
|
-
fs.writeSync(fd, String(data), 0, String(options.encoding ||
|
|
775
|
+
fs.writeSync(fd, String(data), 0, String(options.encoding || 'utf8'));
|
|
790
776
|
}
|
|
791
777
|
if (options.fsync !== false) {
|
|
792
778
|
fs.fsyncSync(fd);
|
|
@@ -1051,7 +1037,7 @@ yargsInstance.command("build [directories...]", "Builds the specified directorie
|
|
|
1051
1037
|
if (folders.length === 0) {
|
|
1052
1038
|
return console.log("No build targets found. Please check wether a folder with the provided name exists and wether it has _Package.json.");
|
|
1053
1039
|
}
|
|
1054
|
-
const { buildFolders, buildFoldersWatch } = await import('./index-
|
|
1040
|
+
const { buildFolders, buildFoldersWatch } = await import('./index-CudbcGpI.mjs').then(function (n) { return n.i; });
|
|
1055
1041
|
if (watch) {
|
|
1056
1042
|
await buildFoldersWatch({
|
|
1057
1043
|
...options,
|
|
@@ -1173,7 +1159,7 @@ yargsInstance.command("publish [directory]", "Publishes the specified directory"
|
|
|
1173
1159
|
password
|
|
1174
1160
|
};
|
|
1175
1161
|
}
|
|
1176
|
-
const { releaseFolder } = await import('./index-
|
|
1162
|
+
const { releaseFolder } = await import('./index-CKKQe2tV.mjs');
|
|
1177
1163
|
const prompter = createDefaultPrompter();
|
|
1178
1164
|
const fullOptions = {
|
|
1179
1165
|
...options,
|
|
@@ -1304,7 +1290,7 @@ yargsInstance.command({
|
|
|
1304
1290
|
handler: async ({ directory, ignore, strictOptional })=>{
|
|
1305
1291
|
const workspace = detectWorkspace(process.cwd());
|
|
1306
1292
|
await preCommandCheck(workspace);
|
|
1307
|
-
const { generateIndex } = await import('./generateIndex-
|
|
1293
|
+
const { generateIndex } = await import('./generateIndex-DEAi7qDC.mjs');
|
|
1308
1294
|
const location = detectPackage(workspace, directory);
|
|
1309
1295
|
generateIndex({
|
|
1310
1296
|
location,
|
|
@@ -1319,7 +1305,7 @@ yargsInstance.command({
|
|
|
1319
1305
|
handler: async ({ directory, name })=>{
|
|
1320
1306
|
const workspace = detectWorkspace(process.cwd());
|
|
1321
1307
|
await preCommandCheck(workspace);
|
|
1322
|
-
const { generateParameterType } = await import('./generateParameterType-
|
|
1308
|
+
const { generateParameterType } = await import('./generateParameterType-B7iMqOil.mjs');
|
|
1323
1309
|
const location = detectPackage(workspace, directory);
|
|
1324
1310
|
generateParameterType({
|
|
1325
1311
|
location,
|
|
@@ -1332,7 +1318,7 @@ yargsInstance.command({
|
|
|
1332
1318
|
command: "postinstall",
|
|
1333
1319
|
builder: (argv)=>argv,
|
|
1334
1320
|
handler: async ()=>{
|
|
1335
|
-
const { executePostInstall } = await import('./postinstall-
|
|
1321
|
+
const { executePostInstall } = await import('./postinstall-DKsDC4RH.mjs');
|
|
1336
1322
|
executePostInstall(detectWorkspace(process.cwd()));
|
|
1337
1323
|
},
|
|
1338
1324
|
describe: "Runs postinstall tasks"
|
|
@@ -1352,7 +1338,7 @@ yargsInstance.command({
|
|
|
1352
1338
|
}),
|
|
1353
1339
|
handler: async ({ directory, newVersion, dryRun })=>{
|
|
1354
1340
|
const workspace = detectWorkspace(process.cwd());
|
|
1355
|
-
const { publishToNpm } = await import('./publishNpm-
|
|
1341
|
+
const { publishToNpm } = await import('./publishNpm-B7MffVws.mjs');
|
|
1356
1342
|
await publishToNpm({
|
|
1357
1343
|
workspace,
|
|
1358
1344
|
location: detectPackage(workspace, directory),
|
|
@@ -1368,5 +1354,5 @@ var cli = /*#__PURE__*/Object.freeze({
|
|
|
1368
1354
|
__proto__: null
|
|
1369
1355
|
});
|
|
1370
1356
|
|
|
1371
|
-
export { INDEX_FILE as I, PACKAGE_FILE as P, readPackageCreatorIndex as a, readWorkspaceNpmManifest as b,
|
|
1372
|
-
//# sourceMappingURL=cli-
|
|
1357
|
+
export { INDEX_FILE as I, PACKAGE_FILE as P, readPackageCreatorIndex as a, readWorkspaceNpmManifest as b, closeSession as c, getWorkspaceOutputPath as d, readPackageAnimationList as e, isErrorEACCES as f, getExistingPackages as g, isErrorEPERM as h, isErrorENOENT as i, getPackageReleasesDirectory 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 };
|
|
1358
|
+
//# sourceMappingURL=cli-Bx92BGrF.mjs.map
|