@storm-software/workspace-tools 1.30.14 → 1.31.1

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.
@@ -31250,337 +31250,6 @@ var require_print_diagnostics = __commonJS({
31250
31250
  }
31251
31251
  });
31252
31252
 
31253
- // node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js
31254
- var require_util3 = __commonJS({
31255
- "node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js"(exports, module2) {
31256
- "use strict";
31257
- var stringReplaceAll = (string, substring, replacer) => {
31258
- let index = string.indexOf(substring);
31259
- if (index === -1) {
31260
- return string;
31261
- }
31262
- const substringLength = substring.length;
31263
- let endIndex = 0;
31264
- let returnValue = "";
31265
- do {
31266
- returnValue += string.substr(endIndex, index - endIndex) + substring + replacer;
31267
- endIndex = index + substringLength;
31268
- index = string.indexOf(substring, endIndex);
31269
- } while (index !== -1);
31270
- returnValue += string.substr(endIndex);
31271
- return returnValue;
31272
- };
31273
- var stringEncaseCRLFWithFirstIndex = (string, prefix, postfix, index) => {
31274
- let endIndex = 0;
31275
- let returnValue = "";
31276
- do {
31277
- const gotCR = string[index - 1] === "\r";
31278
- returnValue += string.substr(endIndex, (gotCR ? index - 1 : index) - endIndex) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
31279
- endIndex = index + 1;
31280
- index = string.indexOf("\n", endIndex);
31281
- } while (index !== -1);
31282
- returnValue += string.substr(endIndex);
31283
- return returnValue;
31284
- };
31285
- module2.exports = {
31286
- stringReplaceAll,
31287
- stringEncaseCRLFWithFirstIndex
31288
- };
31289
- }
31290
- });
31291
-
31292
- // node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js
31293
- var require_templates3 = __commonJS({
31294
- "node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js"(exports, module2) {
31295
- "use strict";
31296
- var TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
31297
- var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
31298
- var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
31299
- var ESCAPE_REGEX = /\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;
31300
- var ESCAPES = /* @__PURE__ */ new Map([
31301
- ["n", "\n"],
31302
- ["r", "\r"],
31303
- ["t", " "],
31304
- ["b", "\b"],
31305
- ["f", "\f"],
31306
- ["v", "\v"],
31307
- ["0", "\0"],
31308
- ["\\", "\\"],
31309
- ["e", "\x1B"],
31310
- ["a", "\x07"]
31311
- ]);
31312
- function unescape(c) {
31313
- const u = c[0] === "u";
31314
- const bracket = c[1] === "{";
31315
- if (u && !bracket && c.length === 5 || c[0] === "x" && c.length === 3) {
31316
- return String.fromCharCode(parseInt(c.slice(1), 16));
31317
- }
31318
- if (u && bracket) {
31319
- return String.fromCodePoint(parseInt(c.slice(2, -1), 16));
31320
- }
31321
- return ESCAPES.get(c) || c;
31322
- }
31323
- function parseArguments(name, arguments_) {
31324
- const results = [];
31325
- const chunks = arguments_.trim().split(/\s*,\s*/g);
31326
- let matches;
31327
- for (const chunk of chunks) {
31328
- const number = Number(chunk);
31329
- if (!Number.isNaN(number)) {
31330
- results.push(number);
31331
- } else if (matches = chunk.match(STRING_REGEX)) {
31332
- results.push(matches[2].replace(ESCAPE_REGEX, (m, escape, character) => escape ? unescape(escape) : character));
31333
- } else {
31334
- throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);
31335
- }
31336
- }
31337
- return results;
31338
- }
31339
- function parseStyle(style) {
31340
- STYLE_REGEX.lastIndex = 0;
31341
- const results = [];
31342
- let matches;
31343
- while ((matches = STYLE_REGEX.exec(style)) !== null) {
31344
- const name = matches[1];
31345
- if (matches[2]) {
31346
- const args = parseArguments(name, matches[2]);
31347
- results.push([name].concat(args));
31348
- } else {
31349
- results.push([name]);
31350
- }
31351
- }
31352
- return results;
31353
- }
31354
- function buildStyle(chalk2, styles) {
31355
- const enabled = {};
31356
- for (const layer of styles) {
31357
- for (const style of layer.styles) {
31358
- enabled[style[0]] = layer.inverse ? null : style.slice(1);
31359
- }
31360
- }
31361
- let current = chalk2;
31362
- for (const [styleName, styles2] of Object.entries(enabled)) {
31363
- if (!Array.isArray(styles2)) {
31364
- continue;
31365
- }
31366
- if (!(styleName in current)) {
31367
- throw new Error(`Unknown Chalk style: ${styleName}`);
31368
- }
31369
- current = styles2.length > 0 ? current[styleName](...styles2) : current[styleName];
31370
- }
31371
- return current;
31372
- }
31373
- module2.exports = (chalk2, temporary) => {
31374
- const styles = [];
31375
- const chunks = [];
31376
- let chunk = [];
31377
- temporary.replace(TEMPLATE_REGEX, (m, escapeCharacter, inverse, style, close, character) => {
31378
- if (escapeCharacter) {
31379
- chunk.push(unescape(escapeCharacter));
31380
- } else if (style) {
31381
- const string = chunk.join("");
31382
- chunk = [];
31383
- chunks.push(styles.length === 0 ? string : buildStyle(chalk2, styles)(string));
31384
- styles.push({ inverse, styles: parseStyle(style) });
31385
- } else if (close) {
31386
- if (styles.length === 0) {
31387
- throw new Error("Found extraneous } in Chalk template literal");
31388
- }
31389
- chunks.push(buildStyle(chalk2, styles)(chunk.join("")));
31390
- chunk = [];
31391
- styles.pop();
31392
- } else {
31393
- chunk.push(character);
31394
- }
31395
- });
31396
- chunks.push(chunk.join(""));
31397
- if (styles.length > 0) {
31398
- const errMessage = `Chalk template literal is missing ${styles.length} closing bracket${styles.length === 1 ? "" : "s"} (\`}\`)`;
31399
- throw new Error(errMessage);
31400
- }
31401
- return chunks.join("");
31402
- };
31403
- }
31404
- });
31405
-
31406
- // node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js
31407
- var require_source2 = __commonJS({
31408
- "node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"(exports, module2) {
31409
- "use strict";
31410
- var ansiStyles = require_ansi_styles2();
31411
- var { stdout: stdoutColor, stderr: stderrColor } = require_supports_color2();
31412
- var {
31413
- stringReplaceAll,
31414
- stringEncaseCRLFWithFirstIndex
31415
- } = require_util3();
31416
- var { isArray } = Array;
31417
- var levelMapping = [
31418
- "ansi",
31419
- "ansi",
31420
- "ansi256",
31421
- "ansi16m"
31422
- ];
31423
- var styles = /* @__PURE__ */ Object.create(null);
31424
- var applyOptions = (object, options = {}) => {
31425
- if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
31426
- throw new Error("The `level` option should be an integer from 0 to 3");
31427
- }
31428
- const colorLevel = stdoutColor ? stdoutColor.level : 0;
31429
- object.level = options.level === void 0 ? colorLevel : options.level;
31430
- };
31431
- var ChalkClass = class {
31432
- constructor(options) {
31433
- return chalkFactory(options);
31434
- }
31435
- };
31436
- var chalkFactory = (options) => {
31437
- const chalk3 = {};
31438
- applyOptions(chalk3, options);
31439
- chalk3.template = (...arguments_) => chalkTag(chalk3.template, ...arguments_);
31440
- Object.setPrototypeOf(chalk3, Chalk.prototype);
31441
- Object.setPrototypeOf(chalk3.template, chalk3);
31442
- chalk3.template.constructor = () => {
31443
- throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.");
31444
- };
31445
- chalk3.template.Instance = ChalkClass;
31446
- return chalk3.template;
31447
- };
31448
- function Chalk(options) {
31449
- return chalkFactory(options);
31450
- }
31451
- for (const [styleName, style] of Object.entries(ansiStyles)) {
31452
- styles[styleName] = {
31453
- get() {
31454
- const builder = createBuilder(this, createStyler(style.open, style.close, this._styler), this._isEmpty);
31455
- Object.defineProperty(this, styleName, { value: builder });
31456
- return builder;
31457
- }
31458
- };
31459
- }
31460
- styles.visible = {
31461
- get() {
31462
- const builder = createBuilder(this, this._styler, true);
31463
- Object.defineProperty(this, "visible", { value: builder });
31464
- return builder;
31465
- }
31466
- };
31467
- var usedModels = ["rgb", "hex", "keyword", "hsl", "hsv", "hwb", "ansi", "ansi256"];
31468
- for (const model of usedModels) {
31469
- styles[model] = {
31470
- get() {
31471
- const { level } = this;
31472
- return function(...arguments_) {
31473
- const styler = createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_), ansiStyles.color.close, this._styler);
31474
- return createBuilder(this, styler, this._isEmpty);
31475
- };
31476
- }
31477
- };
31478
- }
31479
- for (const model of usedModels) {
31480
- const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
31481
- styles[bgModel] = {
31482
- get() {
31483
- const { level } = this;
31484
- return function(...arguments_) {
31485
- const styler = createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_), ansiStyles.bgColor.close, this._styler);
31486
- return createBuilder(this, styler, this._isEmpty);
31487
- };
31488
- }
31489
- };
31490
- }
31491
- var proto = Object.defineProperties(() => {
31492
- }, {
31493
- ...styles,
31494
- level: {
31495
- enumerable: true,
31496
- get() {
31497
- return this._generator.level;
31498
- },
31499
- set(level) {
31500
- this._generator.level = level;
31501
- }
31502
- }
31503
- });
31504
- var createStyler = (open, close, parent) => {
31505
- let openAll;
31506
- let closeAll;
31507
- if (parent === void 0) {
31508
- openAll = open;
31509
- closeAll = close;
31510
- } else {
31511
- openAll = parent.openAll + open;
31512
- closeAll = close + parent.closeAll;
31513
- }
31514
- return {
31515
- open,
31516
- close,
31517
- openAll,
31518
- closeAll,
31519
- parent
31520
- };
31521
- };
31522
- var createBuilder = (self, _styler, _isEmpty) => {
31523
- const builder = (...arguments_) => {
31524
- if (isArray(arguments_[0]) && isArray(arguments_[0].raw)) {
31525
- return applyStyle(builder, chalkTag(builder, ...arguments_));
31526
- }
31527
- return applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
31528
- };
31529
- Object.setPrototypeOf(builder, proto);
31530
- builder._generator = self;
31531
- builder._styler = _styler;
31532
- builder._isEmpty = _isEmpty;
31533
- return builder;
31534
- };
31535
- var applyStyle = (self, string) => {
31536
- if (self.level <= 0 || !string) {
31537
- return self._isEmpty ? "" : string;
31538
- }
31539
- let styler = self._styler;
31540
- if (styler === void 0) {
31541
- return string;
31542
- }
31543
- const { openAll, closeAll } = styler;
31544
- if (string.indexOf("\x1B") !== -1) {
31545
- while (styler !== void 0) {
31546
- string = stringReplaceAll(string, styler.close, styler.open);
31547
- styler = styler.parent;
31548
- }
31549
- }
31550
- const lfIndex = string.indexOf("\n");
31551
- if (lfIndex !== -1) {
31552
- string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
31553
- }
31554
- return openAll + string + closeAll;
31555
- };
31556
- var template;
31557
- var chalkTag = (chalk3, ...strings) => {
31558
- const [firstString] = strings;
31559
- if (!isArray(firstString) || !isArray(firstString.raw)) {
31560
- return strings.join(" ");
31561
- }
31562
- const arguments_ = strings.slice(1);
31563
- const parts = [firstString.raw[0]];
31564
- for (let i = 1; i < firstString.length; i++) {
31565
- parts.push(
31566
- String(arguments_[i - 1]).replace(/[{}\\]/g, "\\$&"),
31567
- String(firstString.raw[i])
31568
- );
31569
- }
31570
- if (template === void 0) {
31571
- template = require_templates3();
31572
- }
31573
- return template(chalk3, parts.join(""));
31574
- };
31575
- Object.defineProperties(Chalk.prototype, styles);
31576
- var chalk2 = Chalk();
31577
- chalk2.supportsColor = stdoutColor;
31578
- chalk2.stderr = Chalk({ level: stderrColor ? stderrColor.level : 0 });
31579
- chalk2.stderr.supportsColor = stderrColor;
31580
- module2.exports = chalk2;
31581
- }
31582
- });
31583
-
31584
31253
  // node_modules/.pnpm/@nx+js@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.96_@types+node@20.9.0_nx@17.0.3_typescript@5.2.2_verdaccio@5.27.0/node_modules/@nx/js/src/utils/code-frames/identifiers.js
31585
31254
  var require_identifiers2 = __commonJS({
31586
31255
  "node_modules/.pnpm/@nx+js@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.96_@types+node@20.9.0_nx@17.0.3_typescript@5.2.2_verdaccio@5.27.0/node_modules/@nx/js/src/utils/code-frames/identifiers.js"(exports) {
@@ -31642,7 +31311,7 @@ var require_highlight = __commonJS({
31642
31311
  Object.defineProperty(exports, "__esModule", { value: true });
31643
31312
  exports.highlight = void 0;
31644
31313
  var jsTokens = require_js_tokens();
31645
- var chalk2 = require_source2();
31314
+ var chalk2 = require_source();
31646
31315
  var identifiers_1 = require_identifiers2();
31647
31316
  function getDefs(chalk3) {
31648
31317
  return {
@@ -31808,7 +31477,7 @@ var require_run_type_check = __commonJS({
31808
31477
  "use strict";
31809
31478
  Object.defineProperty(exports, "__esModule", { value: true });
31810
31479
  exports.getFormattedDiagnostic = exports.runTypeCheck = exports.runTypeCheckWatch = void 0;
31811
- var chalk2 = require_source2();
31480
+ var chalk2 = require_source();
31812
31481
  var path = require("path");
31813
31482
  var code_frames_1 = require("nx/src/utils/code-frames");
31814
31483
  var highlight_1 = require_highlight();
@@ -34617,37 +34286,6 @@ var require_ensure = __commonJS({
34617
34286
  }
34618
34287
  });
34619
34288
 
34620
- // node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js
34621
- var require_universalify2 = __commonJS({
34622
- "node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js"(exports) {
34623
- "use strict";
34624
- exports.fromCallback = function(fn) {
34625
- return Object.defineProperty(function(...args) {
34626
- if (typeof args[args.length - 1] === "function")
34627
- fn.apply(this, args);
34628
- else {
34629
- return new Promise((resolve, reject) => {
34630
- fn.call(
34631
- this,
34632
- ...args,
34633
- (err, res) => err != null ? reject(err) : resolve(res)
34634
- );
34635
- });
34636
- }
34637
- }, "name", { value: fn.name });
34638
- };
34639
- exports.fromPromise = function(fn) {
34640
- return Object.defineProperty(function(...args) {
34641
- const cb = args[args.length - 1];
34642
- if (typeof cb !== "function")
34643
- return fn.apply(this, args);
34644
- else
34645
- fn.apply(this, args.slice(0, -1)).then((r) => cb(null, r), cb);
34646
- }, "name", { value: fn.name });
34647
- };
34648
- }
34649
- });
34650
-
34651
34289
  // node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js
34652
34290
  var require_utils4 = __commonJS({
34653
34291
  "node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js"(exports, module2) {
@@ -34674,7 +34312,7 @@ var require_jsonfile = __commonJS({
34674
34312
  } catch (_) {
34675
34313
  _fs = require("fs");
34676
34314
  }
34677
- var universalify = require_universalify2();
34315
+ var universalify = require_universalify();
34678
34316
  var { stringify, stripBom } = require_utils4();
34679
34317
  async function _readFile(file, options = {}) {
34680
34318
  if (typeof options === "string") {