@storm-software/projen 0.21.169 → 0.21.171

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 _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
4
+ var _chunkLORECAU5js = require('./chunk-LORECAU5.js');
5
5
 
6
6
  // src/components/index.ts
7
- var require_components = _chunk7NCOB2OSjs.__commonJS.call(void 0, {
7
+ var require_components = _chunkLORECAU5js.__commonJS.call(void 0, {
8
8
  "src/components/index.ts"() {
9
- _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
9
+ _chunkLORECAU5js.init_cjs_shims.call(void 0, );
10
10
  }
11
11
  });
12
12
 
@@ -32,9 +32,9 @@ 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__fc72d4e7034a9537c84f2183cc8c4030/node_modules/tsup/assets/cjs_shims.js
35
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__8549b0106dd40384320fcc6895606f0f/node_modules/tsup/assets/cjs_shims.js
36
36
  var init_cjs_shims = __esm({
37
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__fc72d4e7034a9537c84f2183cc8c4030/node_modules/tsup/assets/cjs_shims.js"() {
37
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__8549b0106dd40384320fcc6895606f0f/node_modules/tsup/assets/cjs_shims.js"() {
38
38
  }
39
39
  });
40
40
 
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  init_esm_shims
4
- } from "./chunk-RC5DQK5S.mjs";
4
+ } from "./chunk-DTCWZTHY.mjs";
5
5
 
6
6
  // src/components/index.ts
7
7
  var require_components = __commonJS({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-RC5DQK5S.mjs";
3
+ } from "./chunk-DTCWZTHY.mjs";
4
4
 
5
5
  // generators.ts
6
6
  init_esm_shims();
@@ -3,11 +3,11 @@ import {
3
3
  isAbsolute,
4
4
  joinPaths,
5
5
  relative
6
- } from "./chunk-A24P3L2K.mjs";
6
+ } from "./chunk-D5SAU6HF.mjs";
7
7
  import {
8
8
  __dirname,
9
9
  init_esm_shims
10
- } from "./chunk-RC5DQK5S.mjs";
10
+ } from "./chunk-DTCWZTHY.mjs";
11
11
 
12
12
  // src/generators/init/generator.ts
13
13
  init_esm_shims();
@@ -2245,7 +2245,9 @@ var buildCargoCommand = (baseCommand, options, context) => {
2245
2245
  args.push(`+${options.toolchain}`);
2246
2246
  }
2247
2247
  args.push(baseCommand);
2248
- for (const [key, value] of Object.entries(options)) {
2248
+ for (const [key, value] of Object.entries(options).filter(
2249
+ ([key2]) => key2 && key2 !== "_"
2250
+ )) {
2249
2251
  if (key === "toolchain" || key === "release" || INVALID_CARGO_ARGS.includes(key)) {
2250
2252
  continue;
2251
2253
  }
@@ -2255,7 +2257,7 @@ var buildCargoCommand = (baseCommand, options, context) => {
2255
2257
  }
2256
2258
  } else if (Array.isArray(value)) {
2257
2259
  for (const item of value) {
2258
- args.push(`--${key}`, item);
2260
+ args.push(`--${key}`, String(item));
2259
2261
  }
2260
2262
  } else {
2261
2263
  args.push(`--${key}`, String(value));
@@ -2304,7 +2306,7 @@ function cargoCommandSync(args = "", options) {
2304
2306
  };
2305
2307
  } catch (e) {
2306
2308
  return {
2307
- output: e,
2309
+ output: e.message,
2308
2310
  success: false
2309
2311
  };
2310
2312
  }
@@ -4953,8 +4955,7 @@ var base_executor_untyped_default = defineUntypedSchema({
4953
4955
  type: "string",
4954
4956
  format: "path",
4955
4957
  description: "The output path for the build"
4956
- },
4957
- $default: "dist/{projectRoot}"
4958
+ }
4958
4959
  }
4959
4960
  });
4960
4961
 
@@ -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 _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
3
+ var _chunkLORECAU5js = require('./chunk-LORECAU5.js');
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
- _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
6
+ _chunkLORECAU5js.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,9 +1,9 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-W45SBDPH.js');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-245W3USJ.js');
2
2
 
3
3
 
4
- var _chunk47AHG2CFjs = require('./chunk-47AHG2CF.js');
5
- require('./chunk-NG224TJJ.js');
6
- require('./chunk-7NCOB2OS.js');
4
+ var _chunkH4Q35YMBjs = require('./chunk-H4Q35YMB.js');
5
+ require('./chunk-YIOJM56V.js');
6
+ require('./chunk-LORECAU5.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunk47AHG2CFjs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunkH4Q35YMBjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
- import "./chunk-DIMP63EN.mjs";
1
+ import "./chunk-Q7YIVOAF.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-XXCCWLGL.mjs";
5
- import "./chunk-A24P3L2K.mjs";
6
- import "./chunk-RC5DQK5S.mjs";
4
+ } from "./chunk-S2UM7MXT.mjs";
5
+ import "./chunk-D5SAU6HF.mjs";
6
+ import "./chunk-DTCWZTHY.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-W45SBDPH.js');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-245W3USJ.js');
2
2
 
3
3
 
4
- var _chunkJ7CQLAW3js = require('./chunk-J7CQLAW3.js');
4
+ var _chunkIFTRUSRDjs = require('./chunk-IFTRUSRD.js');
5
5
 
6
6
 
7
- var _chunk47AHG2CFjs = require('./chunk-47AHG2CF.js');
8
- require('./chunk-NG224TJJ.js');
7
+ var _chunkH4Q35YMBjs = require('./chunk-H4Q35YMB.js');
8
+ require('./chunk-YIOJM56V.js');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
14
+ var _chunkLORECAU5js = require('./chunk-LORECAU5.js');
15
15
 
16
16
  // index.ts
17
17
  var index_exports = {};
18
- _chunk7NCOB2OSjs.__export.call(void 0, index_exports, {
19
- initGeneratorFn: () => _chunk47AHG2CFjs.initGeneratorFn
18
+ _chunkLORECAU5js.__export.call(void 0, index_exports, {
19
+ initGeneratorFn: () => _chunkH4Q35YMBjs.initGeneratorFn
20
20
  });
21
- _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
22
- _chunk7NCOB2OSjs.__reExport.call(void 0, index_exports, _chunk7NCOB2OSjs.__toESM.call(void 0, _chunkJ7CQLAW3js.require_components.call(void 0, )));
21
+ _chunkLORECAU5js.init_cjs_shims.call(void 0, );
22
+ _chunkLORECAU5js.__reExport.call(void 0, index_exports, _chunkLORECAU5js.__toESM.call(void 0, _chunkIFTRUSRDjs.require_components.call(void 0, )));
23
23
 
24
24
 
25
- exports.initGeneratorFn = _chunk47AHG2CFjs.initGeneratorFn;
25
+ exports.initGeneratorFn = _chunkH4Q35YMBjs.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -1,17 +1,17 @@
1
- import "./chunk-DIMP63EN.mjs";
1
+ import "./chunk-Q7YIVOAF.mjs";
2
2
  import {
3
3
  require_components
4
- } from "./chunk-2UGJBMPN.mjs";
4
+ } from "./chunk-ND4P6SI5.mjs";
5
5
  import {
6
6
  initGeneratorFn
7
- } from "./chunk-XXCCWLGL.mjs";
8
- import "./chunk-A24P3L2K.mjs";
7
+ } from "./chunk-S2UM7MXT.mjs";
8
+ import "./chunk-D5SAU6HF.mjs";
9
9
  import {
10
10
  __export,
11
11
  __reExport,
12
12
  __toESM,
13
13
  init_esm_shims
14
- } from "./chunk-RC5DQK5S.mjs";
14
+ } from "./chunk-DTCWZTHY.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 _chunkJ7CQLAW3js = require('../../chunk-J7CQLAW3.js');
4
- require('../../chunk-7NCOB2OS.js');
5
- exports. default = _chunkJ7CQLAW3js.require_components.call(void 0, );
3
+ var _chunkIFTRUSRDjs = require('../../chunk-IFTRUSRD.js');
4
+ require('../../chunk-LORECAU5.js');
5
+ exports. default = _chunkIFTRUSRDjs.require_components.call(void 0, );
@@ -1,5 +1,5 @@
1
1
  import {
2
2
  require_components
3
- } from "../../chunk-2UGJBMPN.mjs";
4
- import "../../chunk-RC5DQK5S.mjs";
3
+ } from "../../chunk-ND4P6SI5.mjs";
4
+ import "../../chunk-DTCWZTHY.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 _chunkNG224TJJjs = require('../../chunk-NG224TJJ.js');
3
+ var _chunkYIOJM56Vjs = require('../../chunk-YIOJM56V.js');
4
4
 
5
5
 
6
- var _chunk7NCOB2OSjs = require('../../chunk-7NCOB2OS.js');
6
+ var _chunkLORECAU5js = require('../../chunk-LORECAU5.js');
7
7
 
8
8
  // src/components/nx-workspace.ts
9
- _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
9
+ _chunkLORECAU5js.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
- _chunkNG224TJJjs.joinPaths.call(void 0, project.root.outdir, "storm-workspace.json"),
554
+ _chunkYIOJM56Vjs.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-A24P3L2K.mjs";
3
+ } from "../../chunk-D5SAU6HF.mjs";
4
4
  import {
5
5
  init_esm_shims
6
- } from "../../chunk-RC5DQK5S.mjs";
6
+ } from "../../chunk-DTCWZTHY.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 _chunk47AHG2CFjs = require('../../../chunk-47AHG2CF.js');
5
- require('../../../chunk-NG224TJJ.js');
6
- require('../../../chunk-7NCOB2OS.js');
4
+ var _chunkH4Q35YMBjs = require('../../../chunk-H4Q35YMB.js');
5
+ require('../../../chunk-YIOJM56V.js');
6
+ require('../../../chunk-LORECAU5.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunk47AHG2CFjs.generator_default; exports.initGeneratorFn = _chunk47AHG2CFjs.initGeneratorFn;
10
+ exports.default = _chunkH4Q35YMBjs.generator_default; exports.initGeneratorFn = _chunkH4Q35YMBjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-XXCCWLGL.mjs";
5
- import "../../../chunk-A24P3L2K.mjs";
6
- import "../../../chunk-RC5DQK5S.mjs";
4
+ } from "../../../chunk-S2UM7MXT.mjs";
5
+ import "../../../chunk-D5SAU6HF.mjs";
6
+ import "../../../chunk-DTCWZTHY.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 _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
3
+ var _chunkLORECAU5js = require('./chunk-LORECAU5.js');
4
4
 
5
5
  // tsup.config.ts
6
- _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
6
+ _chunkLORECAU5js.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-RC5DQK5S.mjs";
3
+ } from "./chunk-DTCWZTHY.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.169",
3
+ "version": "0.21.171",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing Projen configuration automation within a Nx workspace.",
6
6
  "repository": {
@@ -117,7 +117,7 @@
117
117
  "@nx/devkit": "22.6.0",
118
118
  "@storm-software/config": "1.137.31",
119
119
  "@storm-software/config-tools": "1.189.77",
120
- "@storm-software/workspace-tools": "1.295.53",
120
+ "@storm-software/workspace-tools": "1.295.55",
121
121
  "projen": "^0.91.6",
122
122
  "tsup": "8.4.0",
123
123
  "untyped": "1.5.2"
@@ -142,5 +142,5 @@
142
142
  "publishConfig": { "access": "public" },
143
143
  "executors": "./executors.json",
144
144
  "generators": "./generators.json",
145
- "gitHead": "7369ee9b0807eea8d57a8c7f2a4d797c3cbd711c"
145
+ "gitHead": "53d2ed234e902be71b97a3f927d2613f1a15731f"
146
146
  }
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- var _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
4
-
5
- // generators.ts
6
- _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );