@stryke/capnp 0.12.88 → 0.12.90

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/README.md CHANGED
@@ -28,7 +28,7 @@ This package is part of Storm Software's **🌩️ Stryke** monorepo. Stryke pac
28
28
 
29
29
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
30
30
 
31
- [![Version](https://img.shields.io/badge/version-0.12.82-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://github.com/storm-software/stryke)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/stryke/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
+ [![Version](https://img.shields.io/badge/version-0.12.88-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://github.com/storm-software/stryke)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/stryke/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
32
32
 
33
33
  > [!IMPORTANT] Important
34
34
  > This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be available through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.
package/bin/capnpc.cjs CHANGED
@@ -43,7 +43,7 @@ let __stryke_fs_json = require("@stryke/fs/json");
43
43
  let __stryke_fs_list_files = require("@stryke/fs/list-files");
44
44
  let __stryke_path_append = require("@stryke/path/append");
45
45
 
46
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-DJB7XLHA.js
46
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-5DQF4GNF.js
47
47
  var DEFAULT_COLOR_CONFIG = {
48
48
  light: {
49
49
  background: "#fafafa",
@@ -57,6 +57,7 @@ var DEFAULT_COLOR_CONFIG = {
57
57
  warning: "#e3b341",
58
58
  danger: "#D8314A",
59
59
  fatal: "#51070f",
60
+ performance: "#13c302",
60
61
  link: "#3fa6ff",
61
62
  positive: "#22c55e",
62
63
  negative: "#dc2626",
@@ -78,6 +79,7 @@ var DEFAULT_COLOR_CONFIG = {
78
79
  warning: "#f3d371",
79
80
  danger: "#D8314A",
80
81
  fatal: "#a40e26",
82
+ performance: "#80fd74",
81
83
  link: "#3fa6ff",
82
84
  positive: "#22c55e",
83
85
  negative: "#dc2626",
@@ -2237,7 +2239,7 @@ var require_source = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2237
2239
  }));
2238
2240
 
2239
2241
  //#endregion
2240
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-HVVJHTFS.js
2242
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-HVVJHTFS.js
2241
2243
  var import_source = /* @__PURE__ */ __toESM(require_source(), 1);
2242
2244
  var chalkDefault = {
2243
2245
  hex: (_) => (message) => message,
@@ -2269,14 +2271,14 @@ var getChalk = () => {
2269
2271
  };
2270
2272
 
2271
2273
  //#endregion
2272
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-G2MK47WL.js
2274
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-G2MK47WL.js
2273
2275
  function isUnicodeSupported() {
2274
2276
  if (process.platform !== "win32") return process.env.TERM !== "linux";
2275
2277
  return Boolean(process.env.WT_SESSION) || Boolean(process.env.TERMINUS_SUBLIME) || process.env.ConEmuTask === "{cmd::Cmder}" || process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
2276
2278
  }
2277
2279
 
2278
2280
  //#endregion
2279
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js
2281
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-RALMUN5C.js
2280
2282
  var LogLevel = {
2281
2283
  SILENT: 0,
2282
2284
  FATAL: 10,
@@ -2284,6 +2286,7 @@ var LogLevel = {
2284
2286
  WARN: 30,
2285
2287
  SUCCESS: 35,
2286
2288
  INFO: 40,
2289
+ PERFORMANCE: 50,
2287
2290
  DEBUG: 60,
2288
2291
  TRACE: 70,
2289
2292
  ALL: 100
@@ -2295,19 +2298,21 @@ var LogLevelLabel = {
2295
2298
  WARN: "warn",
2296
2299
  SUCCESS: "success",
2297
2300
  INFO: "info",
2301
+ PERFORMANCE: "performance",
2298
2302
  DEBUG: "debug",
2299
2303
  TRACE: "trace",
2300
2304
  ALL: "all"
2301
2305
  };
2302
2306
 
2303
2307
  //#endregion
2304
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-AITAR5W5.js
2308
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-ZFNAUMQS.js
2305
2309
  var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
2306
2310
  var CONSOLE_ICONS = {
2307
2311
  [LogLevelLabel.ERROR]: useIcon("✘", "×"),
2308
2312
  [LogLevelLabel.FATAL]: useIcon("🕱", "×"),
2309
2313
  [LogLevelLabel.WARN]: useIcon("⚠", "‼"),
2310
2314
  [LogLevelLabel.INFO]: useIcon("ℹ", "i"),
2315
+ [LogLevelLabel.PERFORMANCE]: useIcon("⏱", "⏱"),
2311
2316
  [LogLevelLabel.SUCCESS]: useIcon("✔", "√"),
2312
2317
  [LogLevelLabel.DEBUG]: useIcon("🛠", "D"),
2313
2318
  [LogLevelLabel.TRACE]: useIcon("⚙", "T"),
@@ -2315,18 +2320,19 @@ var CONSOLE_ICONS = {
2315
2320
  };
2316
2321
 
2317
2322
  //#endregion
2318
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-CZ4IE2QN.js
2323
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-CZ4IE2QN.js
2319
2324
  var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
2320
2325
  return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
2321
2326
  };
2322
2327
 
2323
2328
  //#endregion
2324
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-K4CDYUQR.js
2329
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-SXPH7ILL.js
2325
2330
  var getLogLevel = (label) => {
2326
2331
  switch (label) {
2327
2332
  case "all": return LogLevel.ALL;
2328
2333
  case "trace": return LogLevel.TRACE;
2329
2334
  case "debug": return LogLevel.DEBUG;
2335
+ case "performance": return LogLevel.PERFORMANCE;
2330
2336
  case "info": return LogLevel.INFO;
2331
2337
  case "warn": return LogLevel.WARN;
2332
2338
  case "error": return LogLevel.ERROR;
@@ -2337,7 +2343,7 @@ var getLogLevel = (label) => {
2337
2343
  };
2338
2344
 
2339
2345
  //#endregion
2340
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-SPHE3YEH.js
2346
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-XHJNCOIU.js
2341
2347
  var daysInYear = 365.2425;
2342
2348
  -(Math.pow(10, 8) * 24 * 60 * 60 * 1e3);
2343
2349
  var secondsInDay = 3600 * 24;
@@ -2884,6 +2890,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_C
2884
2890
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) return (message) => {
2885
2891
  console.info(`
2886
2892
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2893
+ `);
2894
+ };
2895
+ if (typeof logLevel === "number" && LogLevel.PERFORMANCE >= logLevel) return (message) => {
2896
+ console.debug(`
2897
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2887
2898
  `);
2888
2899
  };
2889
2900
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) return (message) => {
@@ -2933,7 +2944,7 @@ var _isFunction = (value) => {
2933
2944
  var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("🗲");
2934
2945
 
2935
2946
  //#endregion
2936
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-T4YVVO6G.js
2947
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-JWLOTPPR.js
2937
2948
  var exitWithError = (config) => {
2938
2949
  writeFatal("Exiting script with an error status...", config);
2939
2950
  process.exit(1);
@@ -2968,7 +2979,7 @@ Stacktrace: ${error.stack}`, config);
2968
2979
  };
2969
2980
 
2970
2981
  //#endregion
2971
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-RUKM6FCF.js
2982
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-RUKM6FCF.js
2972
2983
  var MAX_PATH_SEARCH_DEPTH = 30;
2973
2984
  var depth = 0;
2974
2985
  function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
@@ -2979,7 +2990,7 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
2979
2990
  }
2980
2991
 
2981
2992
  //#endregion
2982
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-V3GMJ4TX.js
2993
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-V3GMJ4TX.js
2983
2994
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
2984
2995
  function normalizeWindowsPath(input = "") {
2985
2996
  if (!input) return input;
@@ -3061,7 +3072,7 @@ var isAbsolute = function(p) {
3061
3072
  };
3062
3073
 
3063
3074
  //#endregion
3064
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-LF3SAK2O.js
3075
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-LF3SAK2O.js
3065
3076
  var rootFiles = [
3066
3077
  "storm-workspace.json",
3067
3078
  "storm-workspace.yaml",
@@ -11932,7 +11943,7 @@ async function resolveOptions(options) {
11932
11943
  writeWarning(`✖ No Cap'n Proto schema files found in the specified source paths: ${schemas.join(", ")}. As a result, the Cap'n Proto compiler will not be able to generate any output files. Please ensure that the paths are correct and contain .capnp files.`, { logLevel: "all" });
11933
11944
  return null;
11934
11945
  }
11935
- const output = options.output ? options.output.replace("{projectRoot}", options.projectRoot).replace("{workspaceRoot}", options.workspaceRoot) : (0, __stryke_path_append.appendPath)((0, __stryke_path_file_path_fns.relativePath)(tsconfigPath ? (0, __stryke_path_file_path_fns.findFilePath)(tsconfigPath) : options.projectRoot, (0, __stryke_path_join_paths.joinPaths)(options.workspaceRoot, resolvedSchemas[0].endsWith(".capnp") ? (0, __stryke_path_file_path_fns.findFilePath)(resolvedSchemas[0]) : resolvedSchemas[0])), options.projectRoot);
11946
+ const output = options.output ? options.output.replace("{projectRoot}", options.projectRoot).replace("{workspaceRoot}", options.workspaceRoot) : (0, __stryke_path_append.appendPath)((0, __stryke_path_file_path_fns.relativePath)(tsconfigPath ? (0, __stryke_path_file_path_fns.findFilePath)(tsconfigPath) : options.projectRoot, (0, __stryke_path_append.appendPath)(resolvedSchemas[0].endsWith(".capnp") ? (0, __stryke_path_file_path_fns.findFilePath)(resolvedSchemas[0]) : resolvedSchemas[0], options.workspaceRoot)), options.projectRoot);
11936
11947
  if (!(0, __stryke_fs_exists.existsSync)(output)) {
11937
11948
  if ((0, __stryke_fs.isFile)(output)) {
11938
11949
  const errorMessage = `✖ The specified output path "${output}" is a file. Please provide a valid directory path.`;
package/bin/capnpc.mjs CHANGED
@@ -44,7 +44,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
44
44
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
45
45
 
46
46
  //#endregion
47
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-DJB7XLHA.js
47
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-5DQF4GNF.js
48
48
  var DEFAULT_COLOR_CONFIG = {
49
49
  light: {
50
50
  background: "#fafafa",
@@ -58,6 +58,7 @@ var DEFAULT_COLOR_CONFIG = {
58
58
  warning: "#e3b341",
59
59
  danger: "#D8314A",
60
60
  fatal: "#51070f",
61
+ performance: "#13c302",
61
62
  link: "#3fa6ff",
62
63
  positive: "#22c55e",
63
64
  negative: "#dc2626",
@@ -79,6 +80,7 @@ var DEFAULT_COLOR_CONFIG = {
79
80
  warning: "#f3d371",
80
81
  danger: "#D8314A",
81
82
  fatal: "#a40e26",
83
+ performance: "#80fd74",
82
84
  link: "#3fa6ff",
83
85
  positive: "#22c55e",
84
86
  negative: "#dc2626",
@@ -2238,7 +2240,7 @@ var require_source = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2238
2240
  }));
2239
2241
 
2240
2242
  //#endregion
2241
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-HVVJHTFS.js
2243
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-HVVJHTFS.js
2242
2244
  var import_source = /* @__PURE__ */ __toESM(require_source(), 1);
2243
2245
  var chalkDefault = {
2244
2246
  hex: (_) => (message) => message,
@@ -2270,14 +2272,14 @@ var getChalk = () => {
2270
2272
  };
2271
2273
 
2272
2274
  //#endregion
2273
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-G2MK47WL.js
2275
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-G2MK47WL.js
2274
2276
  function isUnicodeSupported() {
2275
2277
  if (process.platform !== "win32") return process.env.TERM !== "linux";
2276
2278
  return Boolean(process.env.WT_SESSION) || Boolean(process.env.TERMINUS_SUBLIME) || process.env.ConEmuTask === "{cmd::Cmder}" || process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
2277
2279
  }
2278
2280
 
2279
2281
  //#endregion
2280
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js
2282
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-RALMUN5C.js
2281
2283
  var LogLevel = {
2282
2284
  SILENT: 0,
2283
2285
  FATAL: 10,
@@ -2285,6 +2287,7 @@ var LogLevel = {
2285
2287
  WARN: 30,
2286
2288
  SUCCESS: 35,
2287
2289
  INFO: 40,
2290
+ PERFORMANCE: 50,
2288
2291
  DEBUG: 60,
2289
2292
  TRACE: 70,
2290
2293
  ALL: 100
@@ -2296,19 +2299,21 @@ var LogLevelLabel = {
2296
2299
  WARN: "warn",
2297
2300
  SUCCESS: "success",
2298
2301
  INFO: "info",
2302
+ PERFORMANCE: "performance",
2299
2303
  DEBUG: "debug",
2300
2304
  TRACE: "trace",
2301
2305
  ALL: "all"
2302
2306
  };
2303
2307
 
2304
2308
  //#endregion
2305
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-AITAR5W5.js
2309
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-ZFNAUMQS.js
2306
2310
  var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
2307
2311
  var CONSOLE_ICONS = {
2308
2312
  [LogLevelLabel.ERROR]: useIcon("✘", "×"),
2309
2313
  [LogLevelLabel.FATAL]: useIcon("🕱", "×"),
2310
2314
  [LogLevelLabel.WARN]: useIcon("⚠", "‼"),
2311
2315
  [LogLevelLabel.INFO]: useIcon("ℹ", "i"),
2316
+ [LogLevelLabel.PERFORMANCE]: useIcon("⏱", "⏱"),
2312
2317
  [LogLevelLabel.SUCCESS]: useIcon("✔", "√"),
2313
2318
  [LogLevelLabel.DEBUG]: useIcon("🛠", "D"),
2314
2319
  [LogLevelLabel.TRACE]: useIcon("⚙", "T"),
@@ -2316,18 +2321,19 @@ var CONSOLE_ICONS = {
2316
2321
  };
2317
2322
 
2318
2323
  //#endregion
2319
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-CZ4IE2QN.js
2324
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-CZ4IE2QN.js
2320
2325
  var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
2321
2326
  return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
2322
2327
  };
2323
2328
 
2324
2329
  //#endregion
2325
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-K4CDYUQR.js
2330
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-SXPH7ILL.js
2326
2331
  var getLogLevel = (label) => {
2327
2332
  switch (label) {
2328
2333
  case "all": return LogLevel.ALL;
2329
2334
  case "trace": return LogLevel.TRACE;
2330
2335
  case "debug": return LogLevel.DEBUG;
2336
+ case "performance": return LogLevel.PERFORMANCE;
2331
2337
  case "info": return LogLevel.INFO;
2332
2338
  case "warn": return LogLevel.WARN;
2333
2339
  case "error": return LogLevel.ERROR;
@@ -2338,7 +2344,7 @@ var getLogLevel = (label) => {
2338
2344
  };
2339
2345
 
2340
2346
  //#endregion
2341
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-SPHE3YEH.js
2347
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-XHJNCOIU.js
2342
2348
  var daysInYear = 365.2425;
2343
2349
  -(Math.pow(10, 8) * 24 * 60 * 60 * 1e3);
2344
2350
  var secondsInDay = 3600 * 24;
@@ -2885,6 +2891,11 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? DEFAULT_COLOR_C
2885
2891
  if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) return (message) => {
2886
2892
  console.info(`
2887
2893
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2894
+ `);
2895
+ };
2896
+ if (typeof logLevel === "number" && LogLevel.PERFORMANCE >= logLevel) return (message) => {
2897
+ console.debug(`
2898
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
2888
2899
  `);
2889
2900
  };
2890
2901
  if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) return (message) => {
@@ -2934,7 +2945,7 @@ var _isFunction = (value) => {
2934
2945
  var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("🗲");
2935
2946
 
2936
2947
  //#endregion
2937
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-T4YVVO6G.js
2948
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-JWLOTPPR.js
2938
2949
  var exitWithError = (config) => {
2939
2950
  writeFatal("Exiting script with an error status...", config);
2940
2951
  process.exit(1);
@@ -2969,7 +2980,7 @@ Stacktrace: ${error.stack}`, config);
2969
2980
  };
2970
2981
 
2971
2982
  //#endregion
2972
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-RUKM6FCF.js
2983
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-RUKM6FCF.js
2973
2984
  var MAX_PATH_SEARCH_DEPTH = 30;
2974
2985
  var depth = 0;
2975
2986
  function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
@@ -2980,7 +2991,7 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
2980
2991
  }
2981
2992
 
2982
2993
  //#endregion
2983
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-V3GMJ4TX.js
2994
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-V3GMJ4TX.js
2984
2995
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
2985
2996
  function normalizeWindowsPath(input = "") {
2986
2997
  if (!input) return input;
@@ -3062,7 +3073,7 @@ var isAbsolute = function(p) {
3062
3073
  };
3063
3074
 
3064
3075
  //#endregion
3065
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.32/node_modules/@storm-software/config-tools/dist/chunk-LF3SAK2O.js
3076
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.46/node_modules/@storm-software/config-tools/dist/chunk-LF3SAK2O.js
3066
3077
  var rootFiles = [
3067
3078
  "storm-workspace.json",
3068
3079
  "storm-workspace.yaml",
@@ -11933,7 +11944,7 @@ async function resolveOptions(options) {
11933
11944
  writeWarning(`✖ No Cap'n Proto schema files found in the specified source paths: ${schemas.join(", ")}. As a result, the Cap'n Proto compiler will not be able to generate any output files. Please ensure that the paths are correct and contain .capnp files.`, { logLevel: "all" });
11934
11945
  return null;
11935
11946
  }
11936
- const output = options.output ? options.output.replace("{projectRoot}", options.projectRoot).replace("{workspaceRoot}", options.workspaceRoot) : appendPath(relativePath(tsconfigPath ? findFilePath(tsconfigPath) : options.projectRoot, joinPaths(options.workspaceRoot, resolvedSchemas[0].endsWith(".capnp") ? findFilePath(resolvedSchemas[0]) : resolvedSchemas[0])), options.projectRoot);
11947
+ const output = options.output ? options.output.replace("{projectRoot}", options.projectRoot).replace("{workspaceRoot}", options.workspaceRoot) : appendPath(relativePath(tsconfigPath ? findFilePath(tsconfigPath) : options.projectRoot, appendPath(resolvedSchemas[0].endsWith(".capnp") ? findFilePath(resolvedSchemas[0]) : resolvedSchemas[0], options.workspaceRoot)), options.projectRoot);
11937
11948
  if (!existsSync$1(output)) {
11938
11949
  if (isFile(output)) {
11939
11950
  const errorMessage = `✖ The specified output path "${output}" is a file. Please provide a valid directory path.`;