@storm-software/projen 0.21.165 → 0.21.167

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 _chunkJGVVXAAKjs = require('./chunk-JGVVXAAK.js');
4
+ var _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
5
5
 
6
6
  // src/components/index.ts
7
- var require_components = _chunkJGVVXAAKjs.__commonJS.call(void 0, {
7
+ var require_components = _chunk7NCOB2OSjs.__commonJS.call(void 0, {
8
8
  "src/components/index.ts"() {
9
- _chunkJGVVXAAKjs.init_cjs_shims.call(void 0, );
9
+ _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
10
10
  }
11
11
  });
12
12
 
@@ -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 _chunkJGVVXAAKjs = require('./chunk-JGVVXAAK.js');
3
+ var _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
- _chunkJGVVXAAKjs.init_cjs_shims.call(void 0, );
6
+ _chunk7NCOB2OSjs.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) {
@@ -3,11 +3,11 @@ import {
3
3
  isAbsolute,
4
4
  joinPaths,
5
5
  relative
6
- } from "./chunk-7RPW225Z.mjs";
6
+ } from "./chunk-A24P3L2K.mjs";
7
7
  import {
8
8
  __dirname,
9
9
  init_esm_shims
10
- } from "./chunk-Y62KVYPL.mjs";
10
+ } from "./chunk-RC5DQK5S.mjs";
11
11
 
12
12
  // src/generators/init/generator.ts
13
13
  init_esm_shims();
@@ -3277,7 +3277,7 @@ async function napiExecutor(options, context, config) {
3277
3277
  const metadata = cargoMetadata();
3278
3278
  normalizedOptions.targetDir = options.targetDir || metadata?.target_directory || joinPaths(config.workspaceRoot, "dist", "target");
3279
3279
  normalizedOptions.outputDir = options.outputPath;
3280
- normalizedOptions.packageJsonPath = options.packageJsonPath || packageJson;
3280
+ normalizedOptions.packageJsonPath ??= packageJson;
3281
3281
  if (options.cwd) {
3282
3282
  normalizedOptions.cwd = correctPaths(options.cwd);
3283
3283
  } else {
@@ -3295,11 +3295,8 @@ async function napiExecutor(options, context, config) {
3295
3295
  );
3296
3296
  }
3297
3297
  if (normalizedOptions.packageJsonPath) {
3298
- normalizedOptions.packageJsonPath = relative(
3299
- absoluteProjectRoot,
3300
- correctPaths(
3301
- isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
3302
- )
3298
+ normalizedOptions.packageJsonPath = correctPaths(
3299
+ isAbsolute(normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : joinPaths(config.workspaceRoot, normalizedOptions.packageJsonPath)
3303
3300
  );
3304
3301
  }
3305
3302
  if (normalizedOptions.configPath) {
@@ -3322,6 +3319,16 @@ async function napiExecutor(options, context, config) {
3322
3319
  if (process.env.VERCEL) {
3323
3320
  return { success: true };
3324
3321
  }
3322
+ writeDebug(
3323
+ `Normalized Napi Options:
3324
+ packageJsonPath: ${normalizedOptions.packageJsonPath}
3325
+ outputDir: ${normalizedOptions.outputDir}
3326
+ targetDir: ${normalizedOptions.targetDir}
3327
+ manifestPath: ${normalizedOptions.manifestPath}
3328
+ configPath: ${normalizedOptions.configPath}
3329
+ cwd: ${normalizedOptions.cwd}`,
3330
+ config
3331
+ );
3325
3332
  const { task } = await napi.build(normalizedOptions);
3326
3333
  return { success: true, terminalOutput: await task };
3327
3334
  }
@@ -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__03eca7c6ca7fdc0566892db6bacc8868/node_modules/tsup/assets/esm_shims.js
35
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__fc72d4e7034a9537c84f2183cc8c4030/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__03eca7c6ca7fdc0566892db6bacc8868/node_modules/tsup/assets/esm_shims.js"() {
40
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__fc72d4e7034a9537c84f2183cc8c4030/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();
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
4
+
5
+ // generators.ts
6
+ _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
@@ -1,9 +1,9 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-52V6ZYO5.js');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-W45SBDPH.js');
2
2
 
3
3
 
4
- var _chunkHQ5CARNPjs = require('./chunk-HQ5CARNP.js');
5
- require('./chunk-IWQXJDCD.js');
6
- require('./chunk-JGVVXAAK.js');
4
+ var _chunkGEDAZQZ4js = require('./chunk-GEDAZQZ4.js');
5
+ require('./chunk-NG224TJJ.js');
6
+ require('./chunk-7NCOB2OS.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunkHQ5CARNPjs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunkGEDAZQZ4js.initGeneratorFn;
@@ -1,9 +1,9 @@
1
- import "./chunk-MY3U2VKC.mjs";
1
+ import "./chunk-DIMP63EN.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-MVH5F34L.mjs";
5
- import "./chunk-7RPW225Z.mjs";
6
- import "./chunk-Y62KVYPL.mjs";
4
+ } from "./chunk-QULFGYFM.mjs";
5
+ import "./chunk-A24P3L2K.mjs";
6
+ import "./chunk-RC5DQK5S.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-52V6ZYO5.js');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-W45SBDPH.js');
2
2
 
3
3
 
4
- var _chunkRACS4B72js = require('./chunk-RACS4B72.js');
4
+ var _chunkJ7CQLAW3js = require('./chunk-J7CQLAW3.js');
5
5
 
6
6
 
7
- var _chunkHQ5CARNPjs = require('./chunk-HQ5CARNP.js');
8
- require('./chunk-IWQXJDCD.js');
7
+ var _chunkGEDAZQZ4js = require('./chunk-GEDAZQZ4.js');
8
+ require('./chunk-NG224TJJ.js');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkJGVVXAAKjs = require('./chunk-JGVVXAAK.js');
14
+ var _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
15
15
 
16
16
  // index.ts
17
17
  var index_exports = {};
18
- _chunkJGVVXAAKjs.__export.call(void 0, index_exports, {
19
- initGeneratorFn: () => _chunkHQ5CARNPjs.initGeneratorFn
18
+ _chunk7NCOB2OSjs.__export.call(void 0, index_exports, {
19
+ initGeneratorFn: () => _chunkGEDAZQZ4js.initGeneratorFn
20
20
  });
21
- _chunkJGVVXAAKjs.init_cjs_shims.call(void 0, );
22
- _chunkJGVVXAAKjs.__reExport.call(void 0, index_exports, _chunkJGVVXAAKjs.__toESM.call(void 0, _chunkRACS4B72js.require_components.call(void 0, )));
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, )));
23
23
 
24
24
 
25
- exports.initGeneratorFn = _chunkHQ5CARNPjs.initGeneratorFn;
25
+ exports.initGeneratorFn = _chunkGEDAZQZ4js.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -1,17 +1,17 @@
1
- import "./chunk-MY3U2VKC.mjs";
1
+ import "./chunk-DIMP63EN.mjs";
2
2
  import {
3
3
  require_components
4
- } from "./chunk-C6P7LPQZ.mjs";
4
+ } from "./chunk-2UGJBMPN.mjs";
5
5
  import {
6
6
  initGeneratorFn
7
- } from "./chunk-MVH5F34L.mjs";
8
- import "./chunk-7RPW225Z.mjs";
7
+ } from "./chunk-QULFGYFM.mjs";
8
+ import "./chunk-A24P3L2K.mjs";
9
9
  import {
10
10
  __export,
11
11
  __reExport,
12
12
  __toESM,
13
13
  init_esm_shims
14
- } from "./chunk-Y62KVYPL.mjs";
14
+ } from "./chunk-RC5DQK5S.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 _chunkRACS4B72js = require('../../chunk-RACS4B72.js');
4
- require('../../chunk-JGVVXAAK.js');
5
- exports. default = _chunkRACS4B72js.require_components.call(void 0, );
3
+ var _chunkJ7CQLAW3js = require('../../chunk-J7CQLAW3.js');
4
+ require('../../chunk-7NCOB2OS.js');
5
+ exports. default = _chunkJ7CQLAW3js.require_components.call(void 0, );
@@ -1,5 +1,5 @@
1
1
  import {
2
2
  require_components
3
- } from "../../chunk-C6P7LPQZ.mjs";
4
- import "../../chunk-Y62KVYPL.mjs";
3
+ } from "../../chunk-2UGJBMPN.mjs";
4
+ import "../../chunk-RC5DQK5S.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 _chunkIWQXJDCDjs = require('../../chunk-IWQXJDCD.js');
3
+ var _chunkNG224TJJjs = require('../../chunk-NG224TJJ.js');
4
4
 
5
5
 
6
- var _chunkJGVVXAAKjs = require('../../chunk-JGVVXAAK.js');
6
+ var _chunk7NCOB2OSjs = require('../../chunk-7NCOB2OS.js');
7
7
 
8
8
  // src/components/nx-workspace.ts
9
- _chunkJGVVXAAKjs.init_cjs_shims.call(void 0, );
9
+ _chunk7NCOB2OSjs.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
- _chunkIWQXJDCDjs.joinPaths.call(void 0, project.root.outdir, "storm-workspace.json"),
554
+ _chunkNG224TJJjs.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-7RPW225Z.mjs";
3
+ } from "../../chunk-A24P3L2K.mjs";
4
4
  import {
5
5
  init_esm_shims
6
- } from "../../chunk-Y62KVYPL.mjs";
6
+ } from "../../chunk-RC5DQK5S.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 _chunkHQ5CARNPjs = require('../../../chunk-HQ5CARNP.js');
5
- require('../../../chunk-IWQXJDCD.js');
6
- require('../../../chunk-JGVVXAAK.js');
4
+ var _chunkGEDAZQZ4js = require('../../../chunk-GEDAZQZ4.js');
5
+ require('../../../chunk-NG224TJJ.js');
6
+ require('../../../chunk-7NCOB2OS.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkHQ5CARNPjs.generator_default; exports.initGeneratorFn = _chunkHQ5CARNPjs.initGeneratorFn;
10
+ exports.default = _chunkGEDAZQZ4js.generator_default; exports.initGeneratorFn = _chunkGEDAZQZ4js.initGeneratorFn;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-MVH5F34L.mjs";
5
- import "../../../chunk-7RPW225Z.mjs";
6
- import "../../../chunk-Y62KVYPL.mjs";
4
+ } from "../../../chunk-QULFGYFM.mjs";
5
+ import "../../../chunk-A24P3L2K.mjs";
6
+ import "../../../chunk-RC5DQK5S.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 _chunkJGVVXAAKjs = require('./chunk-JGVVXAAK.js');
3
+ var _chunk7NCOB2OSjs = require('./chunk-7NCOB2OS.js');
4
4
 
5
5
  // tsup.config.ts
6
- _chunkJGVVXAAKjs.init_cjs_shims.call(void 0, );
6
+ _chunk7NCOB2OSjs.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-Y62KVYPL.mjs";
3
+ } from "./chunk-RC5DQK5S.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.165",
3
+ "version": "0.21.167",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing Projen configuration automation within a Nx workspace.",
6
6
  "repository": {
@@ -115,9 +115,9 @@
115
115
  ],
116
116
  "peerDependencies": {
117
117
  "@nx/devkit": "22.6.0",
118
- "@storm-software/config": "1.137.27",
119
- "@storm-software/config-tools": "1.189.73",
120
- "@storm-software/workspace-tools": "1.295.49",
118
+ "@storm-software/config": "1.137.29",
119
+ "@storm-software/config-tools": "1.189.75",
120
+ "@storm-software/workspace-tools": "1.295.51",
121
121
  "projen": "^0.91.6",
122
122
  "tsup": "8.4.0",
123
123
  "untyped": "1.5.2"
@@ -134,7 +134,7 @@
134
134
  },
135
135
  "devDependencies": {
136
136
  "@nx/devkit": "22.6.0",
137
- "@types/node": "^25.5.2",
137
+ "@types/node": "^25.6.0",
138
138
  "nx": "22.6.0",
139
139
  "tsup": "8.4.0",
140
140
  "untyped": "^2.0.0"
@@ -142,5 +142,5 @@
142
142
  "publishConfig": { "access": "public" },
143
143
  "executors": "./executors.json",
144
144
  "generators": "./generators.json",
145
- "gitHead": "b4b9ad2b885e4f78729e962a1c79139bed0b6c3f"
145
+ "gitHead": "d851b36f18757912e8a1a54176ebe4a4e7a6eed2"
146
146
  }
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- var _chunkJGVVXAAKjs = require('./chunk-JGVVXAAK.js');
4
-
5
- // generators.ts
6
- _chunkJGVVXAAKjs.init_cjs_shims.call(void 0, );