@storm-software/projen 0.15.19 → 0.15.21

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.
@@ -38,9 +38,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
38
38
  mod
39
39
  ));
40
40
 
41
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__bfb917e2b8480b4c6bc56e8a9e3bf7af/node_modules/tsup/assets/cjs_shims.js
41
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__7cfb930311fa0524f281ed017d589a0a/node_modules/tsup/assets/cjs_shims.js
42
42
  var init_cjs_shims = __esm({
43
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__bfb917e2b8480b4c6bc56e8a9e3bf7af/node_modules/tsup/assets/cjs_shims.js"() {
43
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__7cfb930311fa0524f281ed017d589a0a/node_modules/tsup/assets/cjs_shims.js"() {
44
44
  }
45
45
  });
46
46
 
@@ -38,12 +38,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
38
38
  mod
39
39
  ));
40
40
 
41
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__bfb917e2b8480b4c6bc56e8a9e3bf7af/node_modules/tsup/assets/esm_shims.js
41
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__7cfb930311fa0524f281ed017d589a0a/node_modules/tsup/assets/esm_shims.js
42
42
  import { fileURLToPath } from "url";
43
43
  import path from "path";
44
44
  var getFilename, getDirname, __dirname;
45
45
  var init_esm_shims = __esm({
46
- "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__bfb917e2b8480b4c6bc56e8a9e3bf7af/node_modules/tsup/assets/esm_shims.js"() {
46
+ "../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__7cfb930311fa0524f281ed017d589a0a/node_modules/tsup/assets/esm_shims.js"() {
47
47
  getFilename = () => fileURLToPath(import.meta.url);
48
48
  getDirname = () => path.dirname(getFilename());
49
49
  __dirname = /* @__PURE__ */ getDirname();
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk3XVCD6PXjs = require('./chunk-3XVCD6PX.js');
4
+ var _chunkEAVCR2SWjs = require('./chunk-EAVCR2SW.js');
5
5
 
6
6
  // src/components/index.ts
7
- var require_components = _chunk3XVCD6PXjs.__commonJS.call(void 0, {
7
+ var require_components = _chunkEAVCR2SWjs.__commonJS.call(void 0, {
8
8
  "src/components/index.ts"() {
9
- _chunk3XVCD6PXjs.init_cjs_shims.call(void 0, );
9
+ _chunkEAVCR2SWjs.init_cjs_shims.call(void 0, );
10
10
  }
11
11
  });
12
12
 
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  correctPaths,
3
3
  joinPaths
4
- } from "./chunk-3JMLZKJ6.mjs";
4
+ } from "./chunk-MJUERF3E.mjs";
5
5
  import {
6
6
  __dirname,
7
7
  __require,
8
8
  init_esm_shims
9
- } from "./chunk-SAK3VUBP.mjs";
9
+ } from "./chunk-EM5XAPKO.mjs";
10
10
 
11
11
  // src/generators/init/generator.ts
12
12
  init_esm_shims();
@@ -253,6 +253,7 @@ var stormWorkspaceConfigSchema = z.object({
253
253
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
254
254
  homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
255
255
  docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
256
+ portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
256
257
  licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
257
258
  contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
258
259
  support: z.string().trim().url().optional().describe(
@@ -981,6 +982,7 @@ var getConfigEnv = () => {
981
982
  license: process.env[`${prefix}LICENSE`] || void 0,
982
983
  homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
983
984
  docs: process.env[`${prefix}DOCS`] || void 0,
985
+ portal: process.env[`${prefix}PORTAL`] || void 0,
984
986
  licensing: process.env[`${prefix}LICENSING`] || void 0,
985
987
  contact: process.env[`${prefix}CONTACT`] || void 0,
986
988
  support: process.env[`${prefix}SUPPORT`] || void 0,
@@ -1197,6 +1199,9 @@ var setConfigEnv = (config) => {
1197
1199
  if (config.docs) {
1198
1200
  process.env[`${prefix}DOCS`] = config.docs;
1199
1201
  }
1202
+ if (config.portal) {
1203
+ process.env[`${prefix}PORTAL`] = config.portal;
1204
+ }
1200
1205
  if (config.licensing) {
1201
1206
  process.env[`${prefix}LICENSING`] = config.licensing;
1202
1207
  }
@@ -1513,7 +1518,7 @@ init_esm_shims();
1513
1518
  var getConfig = (workspaceRoot3, skipLogs = false) => {
1514
1519
  return loadStormWorkspaceConfig(workspaceRoot3, skipLogs);
1515
1520
  };
1516
- var getWorkspaceConfig = (skipLogs = false, options = {}) => {
1521
+ var getWorkspaceConfig = (skipLogs = true, options = {}) => {
1517
1522
  let workspaceRoot3 = options.workspaceRoot;
1518
1523
  if (!workspaceRoot3) {
1519
1524
  workspaceRoot3 = findWorkspaceRoot(options.cwd);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-SAK3VUBP.mjs";
3
+ } from "./chunk-EM5XAPKO.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
6
  init_esm_shims();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  init_esm_shims
4
- } from "./chunk-SAK3VUBP.mjs";
4
+ } from "./chunk-EM5XAPKO.mjs";
5
5
 
6
6
  // src/components/index.ts
7
7
  var require_components = __commonJS({
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk3XVCD6PXjs = require('./chunk-3XVCD6PX.js');
3
+ var _chunkEAVCR2SWjs = require('./chunk-EAVCR2SW.js');
4
4
 
5
5
  // ../config-tools/src/utilities/correct-paths.ts
6
- _chunk3XVCD6PXjs.init_cjs_shims.call(void 0, );
6
+ _chunkEAVCR2SWjs.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-HEQFBRVE.js');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3X3MQ23R.js');
2
2
 
3
3
 
4
- var _chunkF5KUPJRSjs = require('./chunk-F5KUPJRS.js');
5
- require('./chunk-EW6SOR65.js');
6
- require('./chunk-3XVCD6PX.js');
4
+ var _chunkCDQ4RIFUjs = require('./chunk-CDQ4RIFU.js');
5
+ require('./chunk-V5OL7A4H.js');
6
+ require('./chunk-EAVCR2SW.js');
7
7
 
8
8
 
9
- exports.initGeneratorFn = _chunkF5KUPJRSjs.initGeneratorFn;
9
+ exports.initGeneratorFn = _chunkCDQ4RIFUjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
- import "./chunk-XM6I2VBY.mjs";
1
+ import "./chunk-3QAXJWBF.mjs";
2
2
  import {
3
3
  initGeneratorFn
4
- } from "./chunk-FICTO7PC.mjs";
5
- import "./chunk-3JMLZKJ6.mjs";
6
- import "./chunk-SAK3VUBP.mjs";
4
+ } from "./chunk-IFNXABJC.mjs";
5
+ import "./chunk-MJUERF3E.mjs";
6
+ import "./chunk-EM5XAPKO.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-HEQFBRVE.js');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-3X3MQ23R.js');
2
2
 
3
3
 
4
- var _chunkMUTVIHVDjs = require('./chunk-MUTVIHVD.js');
4
+ var _chunkHLFTIXAJjs = require('./chunk-HLFTIXAJ.js');
5
5
 
6
6
 
7
- var _chunkF5KUPJRSjs = require('./chunk-F5KUPJRS.js');
8
- require('./chunk-EW6SOR65.js');
7
+ var _chunkCDQ4RIFUjs = require('./chunk-CDQ4RIFU.js');
8
+ require('./chunk-V5OL7A4H.js');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunk3XVCD6PXjs = require('./chunk-3XVCD6PX.js');
14
+ var _chunkEAVCR2SWjs = require('./chunk-EAVCR2SW.js');
15
15
 
16
16
  // index.ts
17
17
  var index_exports = {};
18
- _chunk3XVCD6PXjs.__export.call(void 0, index_exports, {
19
- initGeneratorFn: () => _chunkF5KUPJRSjs.initGeneratorFn
18
+ _chunkEAVCR2SWjs.__export.call(void 0, index_exports, {
19
+ initGeneratorFn: () => _chunkCDQ4RIFUjs.initGeneratorFn
20
20
  });
21
- _chunk3XVCD6PXjs.init_cjs_shims.call(void 0, );
22
- _chunk3XVCD6PXjs.__reExport.call(void 0, index_exports, _chunk3XVCD6PXjs.__toESM.call(void 0, _chunkMUTVIHVDjs.require_components.call(void 0, )));
21
+ _chunkEAVCR2SWjs.init_cjs_shims.call(void 0, );
22
+ _chunkEAVCR2SWjs.__reExport.call(void 0, index_exports, _chunkEAVCR2SWjs.__toESM.call(void 0, _chunkHLFTIXAJjs.require_components.call(void 0, )));
23
23
 
24
24
 
25
- exports.initGeneratorFn = _chunkF5KUPJRSjs.initGeneratorFn;
25
+ exports.initGeneratorFn = _chunkCDQ4RIFUjs.initGeneratorFn;
package/dist/index.mjs CHANGED
@@ -1,17 +1,17 @@
1
- import "./chunk-XM6I2VBY.mjs";
1
+ import "./chunk-3QAXJWBF.mjs";
2
2
  import {
3
3
  require_components
4
- } from "./chunk-7VU4HV6B.mjs";
4
+ } from "./chunk-SKUL4YYA.mjs";
5
5
  import {
6
6
  initGeneratorFn
7
- } from "./chunk-FICTO7PC.mjs";
8
- import "./chunk-3JMLZKJ6.mjs";
7
+ } from "./chunk-IFNXABJC.mjs";
8
+ import "./chunk-MJUERF3E.mjs";
9
9
  import {
10
10
  __export,
11
11
  __reExport,
12
12
  __toESM,
13
13
  init_esm_shims
14
- } from "./chunk-SAK3VUBP.mjs";
14
+ } from "./chunk-EM5XAPKO.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 _chunkMUTVIHVDjs = require('../../chunk-MUTVIHVD.js');
4
- require('../../chunk-3XVCD6PX.js');
5
- exports. default = _chunkMUTVIHVDjs.require_components.call(void 0, );
3
+ var _chunkHLFTIXAJjs = require('../../chunk-HLFTIXAJ.js');
4
+ require('../../chunk-EAVCR2SW.js');
5
+ exports. default = _chunkHLFTIXAJjs.require_components.call(void 0, );
@@ -1,5 +1,5 @@
1
1
  import {
2
2
  require_components
3
- } from "../../chunk-7VU4HV6B.mjs";
4
- import "../../chunk-SAK3VUBP.mjs";
3
+ } from "../../chunk-SKUL4YYA.mjs";
4
+ import "../../chunk-EM5XAPKO.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 _chunkEW6SOR65js = require('../../chunk-EW6SOR65.js');
3
+ var _chunkV5OL7A4Hjs = require('../../chunk-V5OL7A4H.js');
4
4
 
5
5
 
6
- var _chunk3XVCD6PXjs = require('../../chunk-3XVCD6PX.js');
6
+ var _chunkEAVCR2SWjs = require('../../chunk-EAVCR2SW.js');
7
7
 
8
8
  // src/components/nx-workspace.ts
9
- _chunk3XVCD6PXjs.init_cjs_shims.call(void 0, );
9
+ _chunkEAVCR2SWjs.init_cjs_shims.call(void 0, );
10
10
 
11
11
 
12
12
 
@@ -549,7 +549,7 @@ var StormNxWorkspace = (_class = class extends _nxworkspace.NxWorkspace {
549
549
  let StormWorkspaceConfig;
550
550
  if (project.root.outdir) {
551
551
  const StormWorkspaceConfigJson = _fs.readFileSync.call(void 0,
552
- _chunkEW6SOR65js.joinPaths.call(void 0, project.root.outdir, "storm-workspace.json"),
552
+ _chunkV5OL7A4Hjs.joinPaths.call(void 0, project.root.outdir, "storm-workspace.json"),
553
553
  "utf8"
554
554
  );
555
555
  StormWorkspaceConfig = JSON.parse(StormWorkspaceConfigJson);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  joinPaths
3
- } from "../../chunk-3JMLZKJ6.mjs";
3
+ } from "../../chunk-MJUERF3E.mjs";
4
4
  import {
5
5
  init_esm_shims
6
- } from "../../chunk-SAK3VUBP.mjs";
6
+ } from "../../chunk-EM5XAPKO.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 _chunkF5KUPJRSjs = require('../../../chunk-F5KUPJRS.js');
5
- require('../../../chunk-EW6SOR65.js');
6
- require('../../../chunk-3XVCD6PX.js');
4
+ var _chunkCDQ4RIFUjs = require('../../../chunk-CDQ4RIFU.js');
5
+ require('../../../chunk-V5OL7A4H.js');
6
+ require('../../../chunk-EAVCR2SW.js');
7
7
 
8
8
 
9
9
 
10
- exports.default = _chunkF5KUPJRSjs.generator_default; exports.initGeneratorFn = _chunkF5KUPJRSjs.initGeneratorFn;
10
+ exports.default = _chunkCDQ4RIFUjs.generator_default; exports.initGeneratorFn = _chunkCDQ4RIFUjs.initGeneratorFn;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generator_default,
3
3
  initGeneratorFn
4
- } from "../../../chunk-FICTO7PC.mjs";
5
- import "../../../chunk-3JMLZKJ6.mjs";
6
- import "../../../chunk-SAK3VUBP.mjs";
4
+ } from "../../../chunk-IFNXABJC.mjs";
5
+ import "../../../chunk-MJUERF3E.mjs";
6
+ import "../../../chunk-EM5XAPKO.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 _chunk3XVCD6PXjs = require('./chunk-3XVCD6PX.js');
3
+ var _chunkEAVCR2SWjs = require('./chunk-EAVCR2SW.js');
4
4
 
5
5
  // tsup.config.ts
6
- _chunk3XVCD6PXjs.init_cjs_shims.call(void 0, );
6
+ _chunkEAVCR2SWjs.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-SAK3VUBP.mjs";
3
+ } from "./chunk-EM5XAPKO.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.15.19",
3
+ "version": "0.15.21",
4
4
  "type": "commonjs",
5
5
  "description": "Tools for managing Projen configuration automation within a Nx workspace.",
6
6
  "repository": {
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- var _chunk3XVCD6PXjs = require('./chunk-3XVCD6PX.js');
4
-
5
- // generators.ts
6
- _chunk3XVCD6PXjs.init_cjs_shims.call(void 0, );