@storm-software/projen 0.21.195 → 0.21.197

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.
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkPYSTHXQMjs = require('./chunk-PYSTHXQM.js');
4
+ var _chunk5T4Z2WICjs = require('./chunk-5T4Z2WIC.js');
5
5
 
6
6
  // src/components/index.ts
7
- var require_components = _chunkPYSTHXQMjs.__commonJS.call(void 0, {
7
+ var require_components = _chunk5T4Z2WICjs.__commonJS.call(void 0, {
8
8
  "src/components/index.ts"() {
9
- _chunkPYSTHXQMjs.init_cjs_shims.call(void 0, );
9
+ _chunk5T4Z2WICjs.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-3YDQ52OF.mjs";
3
+ } from "./chunk-WHV7HEEI.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
6
  init_esm_shims();
@@ -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 _chunkPYSTHXQMjs = require('./chunk-PYSTHXQM.js');
3
+ var _chunk5T4Z2WICjs = require('./chunk-5T4Z2WIC.js');
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
- _chunkPYSTHXQMjs.init_cjs_shims.call(void 0, );
6
+ _chunk5T4Z2WICjs.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) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  init_esm_shims
4
- } from "./chunk-3YDQ52OF.mjs";
4
+ } from "./chunk-WHV7HEEI.mjs";
5
5
 
6
6
  // src/components/index.ts
7
7
  var require_components = __commonJS({
@@ -3,11 +3,11 @@ import {
3
3
  isAbsolute,
4
4
  joinPaths,
5
5
  relative
6
- } from "./chunk-U3I7JKJY.mjs";
6
+ } from "./chunk-A2ABTQS2.mjs";
7
7
  import {
8
8
  __dirname,
9
9
  init_esm_shims
10
- } from "./chunk-3YDQ52OF.mjs";
10
+ } from "./chunk-WHV7HEEI.mjs";
11
11
 
12
12
  // src/generators/init/generator.ts
13
13
  init_esm_shims();
@@ -400,7 +400,9 @@ var formatLogMessage = (message, options = {}, depth2 = 0) => {
400
400
  const skip = options.skip ?? [];
401
401
  const sort = options.sort ?? true;
402
402
  return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
403
- ${message.map(
403
+ ${message.sort(
404
+ sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
405
+ ).map(
404
406
  (item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
405
407
  item,
406
408
  { prefix: `${prefix}--`, skip, sort },
@@ -408,12 +410,12 @@ ${message.map(
408
410
  )}`
409
411
  ).join("\n")}` : typeof message === "object" ? `
410
412
  ${Object.keys(message).filter(
411
- (key) => !skip.map((k) => k.toLowerCase()).includes(typeof key === "string" ? key.toLowerCase() : key)
412
- ).sort(sort ? (a, b) => a.localeCompare(b) : void 0).map(
413
+ (key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
414
+ ).sort(
415
+ sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
416
+ ).map(
413
417
  (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
414
- (key2) => !skip.map((k) => k.toLowerCase()).includes(
415
- typeof key2 === "string" ? key2.toLowerCase() : key2
416
- )
418
+ (key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
417
419
  ).length === 0 ? "{}" : formatLogMessage(
418
420
  message[key],
419
421
  { prefix: `${prefix}--`, skip, sort },
@@ -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__17f35255c9b2c5d65e514e3b165d24e6/node_modules/tsup/assets/esm_shims.js
35
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b287391bfb89dd26f0e4843187079e1f/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__17f35255c9b2c5d65e514e3b165d24e6/node_modules/tsup/assets/esm_shims.js"() {
40
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b287391bfb89dd26f0e4843187079e1f/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,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-3YDQ52OF.mjs";
3
+ } from "./chunk-WHV7HEEI.mjs";
4
4
 
5
5
  // generators.ts
6
6
  init_esm_shims();
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunk5T4Z2WICjs = require('./chunk-5T4Z2WIC.js');
4
+
5
+ // generators.ts
6
+ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
@@ -1,9 +1,9 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-AGB2JZV2.js');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-Z5R3O2A7.js');
2
2
 
3
3
 
4
- var _chunkOM22JMYRjs = require('./chunk-OM22JMYR.js');
5
- require('./chunk-QSWRWRXK.js');
6
- require('./chunk-PYSTHXQM.js');
4
+ var _chunk7CT47U3Tjs = require('./chunk-7CT47U3T.js');
5
+ require('./chunk-B34OR6QL.js');
6
+ require('./chunk-5T4Z2WIC.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunkOM22JMYRjs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunk7CT47U3Tjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
- import "./chunk-7NMZRIA6.mjs";
1
+ import "./chunk-WVTYKE6K.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-G2IESGJC.mjs";
5
- import "./chunk-U3I7JKJY.mjs";
6
- import "./chunk-3YDQ52OF.mjs";
4
+ } from "./chunk-QNVKSY4V.mjs";
5
+ import "./chunk-A2ABTQS2.mjs";
6
+ import "./chunk-WHV7HEEI.mjs";
7
7
  export {
8
8
  initGeneratorFn
9
9
  };
package/dist/index.js CHANGED
@@ -1,25 +1,25 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-AGB2JZV2.js');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-Z5R3O2A7.js');
2
2
 
3
3
 
4
- var _chunkCQEP5YOCjs = require('./chunk-CQEP5YOC.js');
4
+ var _chunk7PKFWMLLjs = require('./chunk-7PKFWMLL.js');
5
5
 
6
6
 
7
- var _chunkOM22JMYRjs = require('./chunk-OM22JMYR.js');
8
- require('./chunk-QSWRWRXK.js');
7
+ var _chunk7CT47U3Tjs = require('./chunk-7CT47U3T.js');
8
+ require('./chunk-B34OR6QL.js');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkPYSTHXQMjs = require('./chunk-PYSTHXQM.js');
14
+ var _chunk5T4Z2WICjs = require('./chunk-5T4Z2WIC.js');
15
15
 
16
16
  // index.ts
17
17
  var index_exports = {};
18
- _chunkPYSTHXQMjs.__export.call(void 0, index_exports, {
19
- initGeneratorFn: () => _chunkOM22JMYRjs.initGeneratorFn
18
+ _chunk5T4Z2WICjs.__export.call(void 0, index_exports, {
19
+ initGeneratorFn: () => _chunk7CT47U3Tjs.initGeneratorFn
20
20
  });
21
- _chunkPYSTHXQMjs.init_cjs_shims.call(void 0, );
22
- _chunkPYSTHXQMjs.__reExport.call(void 0, index_exports, _chunkPYSTHXQMjs.__toESM.call(void 0, _chunkCQEP5YOCjs.require_components.call(void 0, )));
21
+ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
22
+ _chunk5T4Z2WICjs.__reExport.call(void 0, index_exports, _chunk5T4Z2WICjs.__toESM.call(void 0, _chunk7PKFWMLLjs.require_components.call(void 0, )));
23
23
 
24
24
 
25
- exports.initGeneratorFn = _chunkOM22JMYRjs.initGeneratorFn;
25
+ exports.initGeneratorFn = _chunk7CT47U3Tjs.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -1,17 +1,17 @@
1
- import "./chunk-7NMZRIA6.mjs";
1
+ import "./chunk-WVTYKE6K.mjs";
2
2
  import {
3
3
  require_components
4
- } from "./chunk-4HTOLVTB.mjs";
4
+ } from "./chunk-LR5GO3PK.mjs";
5
5
  import {
6
6
  initGeneratorFn
7
- } from "./chunk-G2IESGJC.mjs";
8
- import "./chunk-U3I7JKJY.mjs";
7
+ } from "./chunk-QNVKSY4V.mjs";
8
+ import "./chunk-A2ABTQS2.mjs";
9
9
  import {
10
10
  __export,
11
11
  __reExport,
12
12
  __toESM,
13
13
  init_esm_shims
14
- } from "./chunk-3YDQ52OF.mjs";
14
+ } from "./chunk-WHV7HEEI.mjs";
15
15
 
16
16
  // index.ts
17
17
  var index_exports = {};
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCQEP5YOCjs = require('../../chunk-CQEP5YOC.js');
4
- require('../../chunk-PYSTHXQM.js');
5
- exports. default = _chunkCQEP5YOCjs.require_components.call(void 0, );
3
+ var _chunk7PKFWMLLjs = require('../../chunk-7PKFWMLL.js');
4
+ require('../../chunk-5T4Z2WIC.js');
5
+ exports. default = _chunk7PKFWMLLjs.require_components.call(void 0, );
@@ -1,5 +1,5 @@
1
1
  import {
2
2
  require_components
3
- } from "../../chunk-4HTOLVTB.mjs";
4
- import "../../chunk-3YDQ52OF.mjs";
3
+ } from "../../chunk-LR5GO3PK.mjs";
4
+ import "../../chunk-WHV7HEEI.mjs";
5
5
  export default require_components();
@@ -1,12 +1,12 @@
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; } var _class;
2
2
 
3
- var _chunkQSWRWRXKjs = require('../../chunk-QSWRWRXK.js');
3
+ var _chunkB34OR6QLjs = require('../../chunk-B34OR6QL.js');
4
4
 
5
5
 
6
- var _chunkPYSTHXQMjs = require('../../chunk-PYSTHXQM.js');
6
+ var _chunk5T4Z2WICjs = require('../../chunk-5T4Z2WIC.js');
7
7
 
8
8
  // src/components/nx-workspace.ts
9
- _chunkPYSTHXQMjs.init_cjs_shims.call(void 0, );
9
+ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
10
10
 
11
11
 
12
12
 
@@ -551,7 +551,7 @@ var StormNxWorkspace = (_class = class extends _nxworkspace.NxWorkspace {
551
551
  let StormWorkspaceConfig;
552
552
  if (project.root.outdir) {
553
553
  const StormWorkspaceConfigJson = _fs.readFileSync.call(void 0,
554
- _chunkQSWRWRXKjs.joinPaths.call(void 0, project.root.outdir, "storm-workspace.json"),
554
+ _chunkB34OR6QLjs.joinPaths.call(void 0, project.root.outdir, "storm-workspace.json"),
555
555
  "utf8"
556
556
  );
557
557
  StormWorkspaceConfig = JSON.parse(StormWorkspaceConfigJson);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  joinPaths
3
- } from "../../chunk-U3I7JKJY.mjs";
3
+ } from "../../chunk-A2ABTQS2.mjs";
4
4
  import {
5
5
  init_esm_shims
6
- } from "../../chunk-3YDQ52OF.mjs";
6
+ } from "../../chunk-WHV7HEEI.mjs";
7
7
 
8
8
  // src/components/nx-workspace.ts
9
9
  init_esm_shims();
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkOM22JMYRjs = require('../../../chunk-OM22JMYR.js');
5
- require('../../../chunk-QSWRWRXK.js');
6
- require('../../../chunk-PYSTHXQM.js');
4
+ var _chunk7CT47U3Tjs = require('../../../chunk-7CT47U3T.js');
5
+ require('../../../chunk-B34OR6QL.js');
6
+ require('../../../chunk-5T4Z2WIC.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkOM22JMYRjs.generator_default; exports.initGeneratorFn = _chunkOM22JMYRjs.initGeneratorFn;
10
+ exports.default = _chunk7CT47U3Tjs.generator_default; exports.initGeneratorFn = _chunk7CT47U3Tjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-G2IESGJC.mjs";
5
- import "../../../chunk-U3I7JKJY.mjs";
6
- import "../../../chunk-3YDQ52OF.mjs";
4
+ } from "../../../chunk-QNVKSY4V.mjs";
5
+ import "../../../chunk-A2ABTQS2.mjs";
6
+ import "../../../chunk-WHV7HEEI.mjs";
7
7
  export {
8
8
  generator_default as default,
9
9
  initGeneratorFn
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkPYSTHXQMjs = require('./chunk-PYSTHXQM.js');
3
+ var _chunk5T4Z2WICjs = require('./chunk-5T4Z2WIC.js');
4
4
 
5
5
  // tsup.config.ts
6
- _chunkPYSTHXQMjs.init_cjs_shims.call(void 0, );
6
+ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
7
7
  var _tsup = require('tsup');
8
8
  var tsup_config_default = _tsup.defineConfig.call(void 0, [
9
9
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-3YDQ52OF.mjs";
3
+ } from "./chunk-WHV7HEEI.mjs";
4
4
 
5
5
  // tsup.config.ts
6
6
  init_esm_shims();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/projen",
3
- "version": "0.21.195",
3
+ "version": "0.21.197",
4
4
  "description": "Tools for managing Projen configuration automation within a Nx workspace.",
5
5
  "keywords": [
6
6
  "iac",
@@ -115,12 +115,12 @@
115
115
  "dependencies": {
116
116
  "@aws/pdk": "^0.25.17",
117
117
  "@nx/devkit": "22.7.1",
118
- "@storm-software/config": "^1.137.52",
119
- "@storm-software/config-tools": "^1.190.20",
120
- "@storm-software/workspace-tools": "^1.295.80"
118
+ "@storm-software/config": "1.137.54",
119
+ "@storm-software/config-tools": "1.190.22",
120
+ "@storm-software/workspace-tools": "1.295.82"
121
121
  },
122
122
  "devDependencies": {
123
- "@types/node": "^25.8.0",
123
+ "@types/node": "^25.9.1",
124
124
  "nx": "22.7.1",
125
125
  "projen": "^0.91.31",
126
126
  "tsup": "8.4.0",
@@ -134,5 +134,5 @@
134
134
  "publishConfig": { "access": "public" },
135
135
  "executors": "./executors.json",
136
136
  "generators": "./generators.json",
137
- "gitHead": "b1f508805815ee86f76ec6bb122f736ebf447ffc"
137
+ "gitHead": "c746662eaee78e61935b7e38f88d17c714e5ac57"
138
138
  }
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- var _chunkPYSTHXQMjs = require('./chunk-PYSTHXQM.js');
4
-
5
- // generators.ts
6
- _chunkPYSTHXQMjs.init_cjs_shims.call(void 0, );