@storm-software/projen 0.21.171 → 0.21.172

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  # Changelog for Storm Ops - Projen
4
4
 
5
+ ## [0.21.171](https://github.com/storm-software/storm-ops/releases/tag/projen%400.21.171) (04/26/2026)
6
+
7
+ ### Updated Dependencies
8
+
9
+ - Updated **workspace-tools** to **v1.295.56**
10
+ - Updated **config-tools** to **v1.189.78**
11
+ - Updated **config** to **v1.137.32**
12
+
5
13
  ## [0.21.170](https://github.com/storm-software/storm-ops/releases/tag/projen%400.21.170) (04/15/2026)
6
14
 
7
15
  ### Documentation
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.21.169-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&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;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-0.21.170-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&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;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -3,11 +3,11 @@ import {
3
3
  isAbsolute,
4
4
  joinPaths,
5
5
  relative
6
- } from "./chunk-D5SAU6HF.mjs";
6
+ } from "./chunk-6E5OSIHE.mjs";
7
7
  import {
8
8
  __dirname,
9
9
  init_esm_shims
10
- } from "./chunk-DTCWZTHY.mjs";
10
+ } from "./chunk-AJ537IU4.mjs";
11
11
 
12
12
  // src/generators/init/generator.ts
13
13
  init_esm_shims();
@@ -201,8 +201,8 @@ var CONSOLE_ICONS = {
201
201
 
202
202
  // ../config-tools/src/logger/format-timestamp.ts
203
203
  init_esm_shims();
204
- var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
205
- return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
204
+ var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
205
+ return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
206
206
  };
207
207
 
208
208
  // ../config-tools/src/logger/get-log-level.ts
@@ -263,7 +263,12 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
263
263
  };
264
264
 
265
265
  // ../config-tools/src/logger/console.ts
266
- var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
266
+ var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
267
+ const {
268
+ chalk: _chalk = getChalk(),
269
+ fullDateTime = false,
270
+ hideDateTime = false
271
+ } = options;
267
272
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
268
273
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
269
274
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
@@ -274,9 +279,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
274
279
  return (message) => {
275
280
  console.error(
276
281
  `
277
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
278
- colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
279
- )(
282
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
280
283
  `[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
281
284
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
282
285
  `
@@ -287,9 +290,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
287
290
  return (message) => {
288
291
  console.error(
289
292
  `
290
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
291
- colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
292
- )(
293
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
293
294
  `[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
294
295
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
295
296
  `
@@ -300,9 +301,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
300
301
  return (message) => {
301
302
  console.warn(
302
303
  `
303
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
304
- colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
305
- )(
304
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
306
305
  `[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
307
306
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
308
307
  `
@@ -313,9 +312,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
313
312
  return (message) => {
314
313
  console.info(
315
314
  `
316
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
317
- colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
318
- )(
315
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
319
316
  `[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
320
317
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
321
318
  `
@@ -326,9 +323,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
326
323
  return (message) => {
327
324
  console.info(
328
325
  `
329
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
330
- colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
331
- )(
326
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
332
327
  `[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
333
328
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
334
329
  `
@@ -339,9 +334,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
339
334
  return (message) => {
340
335
  console.debug(
341
336
  `
342
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
343
- colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
344
- )(
337
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
345
338
  `[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
346
339
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
347
340
  `
@@ -352,9 +345,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
352
345
  return (message) => {
353
346
  console.debug(
354
347
  `
355
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
356
- colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
357
- )(
348
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
358
349
  `[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
359
350
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
360
351
  `
@@ -365,7 +356,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
365
356
  return (message) => {
366
357
  console.debug(
367
358
  `
368
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
359
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
369
360
  `[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
370
361
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
371
362
  `
@@ -375,9 +366,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
375
366
  return (message) => {
376
367
  console.log(
377
368
  `
378
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
379
- colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
380
- )(
369
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
381
370
  `[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
382
371
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
383
372
  `
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkLORECAU5js = require('./chunk-LORECAU5.js');
4
+ var _chunkYLJQC4MZjs = require('./chunk-YLJQC4MZ.js');
5
5
 
6
6
  // src/components/index.ts
7
- var require_components = _chunkLORECAU5js.__commonJS.call(void 0, {
7
+ var require_components = _chunkYLJQC4MZjs.__commonJS.call(void 0, {
8
8
  "src/components/index.ts"() {
9
- _chunkLORECAU5js.init_cjs_shims.call(void 0, );
9
+ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
10
10
  }
11
11
  });
12
12
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-DTCWZTHY.mjs";
3
+ } from "./chunk-AJ537IU4.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
6
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-DTCWZTHY.mjs";
3
+ } from "./chunk-AJ537IU4.mjs";
4
4
 
5
5
  // generators.ts
6
6
  init_esm_shims();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  init_esm_shims
4
- } from "./chunk-DTCWZTHY.mjs";
4
+ } from "./chunk-AJ537IU4.mjs";
5
5
 
6
6
  // src/components/index.ts
7
7
  var require_components = __commonJS({
@@ -32,12 +32,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  mod
33
33
  ));
34
34
 
35
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__8549b0106dd40384320fcc6895606f0f/node_modules/tsup/assets/esm_shims.js
35
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/assets/esm_shims.js
36
36
  import { fileURLToPath } from "url";
37
37
  import path from "path";
38
38
  var getFilename, getDirname, __dirname;
39
39
  var init_esm_shims = __esm({
40
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__8549b0106dd40384320fcc6895606f0f/node_modules/tsup/assets/esm_shims.js"() {
40
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__87fc5674c0e7074b5fd97e8fbac7f007/node_modules/tsup/assets/esm_shims.js"() {
41
41
  getFilename = () => fileURLToPath(import.meta.url);
42
42
  getDirname = () => path.dirname(getFilename());
43
43
  __dirname = /* @__PURE__ */ getDirname();
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkLORECAU5js = require('./chunk-LORECAU5.js');
3
+ var _chunkYLJQC4MZjs = require('./chunk-YLJQC4MZ.js');
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
- _chunkLORECAU5js.init_cjs_shims.call(void 0, );
6
+ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
7
7
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
8
8
  function normalizeWindowsPath(input = "") {
9
9
  if (!input) {
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunkYLJQC4MZjs = require('./chunk-YLJQC4MZ.js');
4
+
5
+ // generators.ts
6
+ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );