@storm-software/workspace-tools 1.264.16 → 1.264.17

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.
Files changed (149) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-NZRTKA3D.mjs → chunk-2PGDSXZU.mjs} +1 -1
  4. package/dist/{chunk-CSZN7VQD.js → chunk-3A63PAQ2.js} +2 -2
  5. package/dist/{chunk-ITGXQQ7X.js → chunk-3BGF7S7Y.js} +20 -20
  6. package/dist/{chunk-VV2T7QY3.js → chunk-5CXGHQW2.js} +2 -2
  7. package/dist/{chunk-R7DA3F5M.mjs → chunk-5QD6IIAF.mjs} +2 -2
  8. package/dist/{chunk-G7HJQH2D.js → chunk-67DAOFEW.js} +2 -2
  9. package/dist/{chunk-3VVZ4ODK.mjs → chunk-6D23MHU6.mjs} +1 -1
  10. package/dist/{chunk-CCWQEPFL.mjs → chunk-6JF3H2QJ.mjs} +1 -1
  11. package/dist/{chunk-LBIRQXLX.js → chunk-6LF4YU2P.js} +58 -58
  12. package/dist/{chunk-R7JGBUZZ.js → chunk-6V33DY44.js} +5 -5
  13. package/dist/{chunk-5YFVM4NO.js → chunk-6WLEYOQF.js} +2 -2
  14. package/dist/{chunk-BMSP2AHQ.mjs → chunk-B44EGIA5.mjs} +1 -1
  15. package/dist/{chunk-V4BVJDF2.js → chunk-BTRCUZD7.js} +2 -2
  16. package/dist/{chunk-RVVYSXH2.mjs → chunk-EBP7GL4L.mjs} +27 -1
  17. package/dist/{chunk-D2WGOX7Q.mjs → chunk-F5AJY62N.mjs} +1 -4
  18. package/dist/{chunk-MUBQL23Z.js → chunk-F5NIZKZT.js} +4 -4
  19. package/dist/{chunk-GW35E3FL.mjs → chunk-KGZ2OZNW.mjs} +1 -1
  20. package/dist/{chunk-KLU4BFDM.mjs → chunk-KLUSECE7.mjs} +2 -2
  21. package/dist/{chunk-FVGGQRHY.mjs → chunk-KURISY5P.mjs} +1 -1
  22. package/dist/{chunk-BWMEPOEZ.js → chunk-LPQBGYFC.js} +15 -15
  23. package/dist/{chunk-W2L5PTZQ.mjs → chunk-LRNQGMXF.mjs} +1 -1
  24. package/dist/{chunk-EWP64H6O.mjs → chunk-MCODRLX6.mjs} +2 -2
  25. package/dist/{chunk-PUYQ5DG6.mjs → chunk-NIW5HNFD.mjs} +1 -1
  26. package/dist/{chunk-BWKZE7VQ.js → chunk-NSBUY2J2.js} +2 -2
  27. package/dist/{chunk-DW6Z5YY4.js → chunk-NXTMYDCW.js} +2 -2
  28. package/dist/{chunk-NPAOF5QA.mjs → chunk-OK2RRJWB.mjs} +3 -3
  29. package/dist/{chunk-EVVPILUO.mjs → chunk-PGIKB4LI.mjs} +1 -1
  30. package/dist/{chunk-VCWONYXO.mjs → chunk-PQ27QZOF.mjs} +1 -1
  31. package/dist/{chunk-5PRX6HB4.mjs → chunk-PQLZX2GO.mjs} +2 -2
  32. package/dist/{chunk-YZU3GXGK.js → chunk-PRBNESA3.js} +12 -15
  33. package/dist/{chunk-AIR6S5P7.js → chunk-R7MJYMRC.js} +9 -9
  34. package/dist/{chunk-3NDDIOHB.mjs → chunk-RYGPTY75.mjs} +1 -1
  35. package/dist/{chunk-3QWOG3CX.js → chunk-VYAFH7RM.js} +27 -1
  36. package/dist/{chunk-DCYMF7VO.js → chunk-Y6GFDAJL.js} +2 -2
  37. package/dist/{chunk-DRDUABBP.js → chunk-YET5WGHJ.js} +5 -5
  38. package/dist/{chunk-3CQXNQEH.js → chunk-ZOJJNUIU.js} +2 -2
  39. package/dist/{executor-DFZM1IRb.d.mts → executor-BbBStgiZ.d.mts} +1 -1
  40. package/dist/{executor-C_TfLA0a.d.ts → executor-C4zk52YE.d.ts} +1 -1
  41. package/dist/{executor-rWFext3F.d.ts → executor-CHRmY7wn.d.ts} +1 -1
  42. package/dist/{executor-BLSVtRwG.d.mts → executor-CfTJx0E3.d.mts} +1 -1
  43. package/dist/{executor-Be5Fd52r.d.ts → executor-DotcoNb5.d.ts} +1 -1
  44. package/dist/{executor-D7hQFdok.d.mts → executor-KnByZ3Vj.d.mts} +1 -1
  45. package/dist/{executor-Cn6-xbcu.d.ts → executor-R_44c8dN.d.ts} +1 -1
  46. package/dist/{executor-Bce2bwmv.d.mts → executor-kLAG_Uh0.d.mts} +1 -1
  47. package/dist/executors.d.mts +5 -5
  48. package/dist/executors.d.ts +5 -5
  49. package/dist/executors.js +12 -12
  50. package/dist/executors.mjs +11 -11
  51. package/dist/{generator-XDHzC_Tb.d.mts → generator-7Qr_nsE2.d.mts} +1 -1
  52. package/dist/{generator-CDnWruqm.d.ts → generator-BEUPPjjZ.d.ts} +2 -2
  53. package/dist/{generator-BlI_P2Wx.d.ts → generator-CbgW0ZB8.d.ts} +2 -2
  54. package/dist/{generator-Boug2ukK.d.mts → generator-Cbq0Bpwx.d.mts} +2 -2
  55. package/dist/{generator-Mz3RW03i.d.mts → generator-DIdGmT2e.d.mts} +1 -1
  56. package/dist/{generator-CWhc4hwg.d.mts → generator-DWF0x5-p.d.mts} +2 -2
  57. package/dist/{generator-D7OgP7cF.d.mts → generator-DWLUcY-m.d.mts} +2 -2
  58. package/dist/{generator-RNiDtdN6.d.ts → generator-DhBo_-BD.d.ts} +1 -1
  59. package/dist/{generator-gSneYaPS.d.mts → generator-DkLHbk1Q.d.mts} +2 -2
  60. package/dist/{generator-Q7K2v4XK.d.ts → generator-Ufzc88Fb.d.ts} +1 -1
  61. package/dist/{generator-vajo9_If.d.ts → generator-W-hgMr9s.d.ts} +2 -2
  62. package/dist/{generator-DbQxnpL0.d.ts → generator-bQ0iNtEG.d.ts} +2 -2
  63. package/dist/generators.d.mts +8 -8
  64. package/dist/generators.d.ts +8 -8
  65. package/dist/generators.js +9 -9
  66. package/dist/generators.mjs +8 -8
  67. package/dist/index.d.mts +12 -12
  68. package/dist/index.d.ts +12 -12
  69. package/dist/index.js +19 -19
  70. package/dist/index.mjs +18 -18
  71. package/dist/src/base/base-executor.d.mts +2 -2
  72. package/dist/src/base/base-executor.d.ts +2 -2
  73. package/dist/src/base/base-executor.js +3 -3
  74. package/dist/src/base/base-executor.mjs +2 -2
  75. package/dist/src/base/base-generator.d.mts +2 -2
  76. package/dist/src/base/base-generator.d.ts +2 -2
  77. package/dist/src/base/base-generator.js +3 -3
  78. package/dist/src/base/base-generator.mjs +2 -2
  79. package/dist/src/base/index.d.mts +2 -2
  80. package/dist/src/base/index.d.ts +2 -2
  81. package/dist/src/base/index.js +4 -4
  82. package/dist/src/base/index.mjs +3 -3
  83. package/dist/src/executors/cargo-build/executor.js +4 -4
  84. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  85. package/dist/src/executors/cargo-check/executor.js +4 -4
  86. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  87. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  88. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  89. package/dist/src/executors/cargo-doc/executor.js +4 -4
  90. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  91. package/dist/src/executors/cargo-format/executor.js +4 -4
  92. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  93. package/dist/src/executors/clean-package/executor.d.mts +1 -1
  94. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  95. package/dist/src/executors/clean-package/executor.js +5 -5
  96. package/dist/src/executors/clean-package/executor.mjs +2 -2
  97. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  98. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  99. package/dist/src/executors/esbuild/executor.js +4 -4
  100. package/dist/src/executors/esbuild/executor.mjs +3 -3
  101. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  102. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  103. package/dist/src/executors/size-limit/executor.js +4 -4
  104. package/dist/src/executors/size-limit/executor.mjs +3 -3
  105. package/dist/src/executors/typia/executor.d.mts +2 -2
  106. package/dist/src/executors/typia/executor.d.ts +2 -2
  107. package/dist/src/executors/typia/executor.js +4 -4
  108. package/dist/src/executors/typia/executor.mjs +3 -3
  109. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  110. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  111. package/dist/src/executors/unbuild/executor.js +4 -4
  112. package/dist/src/executors/unbuild/executor.mjs +3 -3
  113. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  114. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  115. package/dist/src/generators/browser-library/generator.js +4 -4
  116. package/dist/src/generators/browser-library/generator.mjs +3 -3
  117. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  118. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  119. package/dist/src/generators/config-schema/generator.js +4 -4
  120. package/dist/src/generators/config-schema/generator.mjs +3 -3
  121. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  122. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  123. package/dist/src/generators/neutral-library/generator.js +4 -4
  124. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  125. package/dist/src/generators/node-library/generator.d.mts +3 -3
  126. package/dist/src/generators/node-library/generator.d.ts +3 -3
  127. package/dist/src/generators/node-library/generator.js +4 -4
  128. package/dist/src/generators/node-library/generator.mjs +3 -3
  129. package/dist/src/generators/preset/generator.d.mts +3 -3
  130. package/dist/src/generators/preset/generator.d.ts +3 -3
  131. package/dist/src/generators/preset/generator.js +4 -4
  132. package/dist/src/generators/preset/generator.mjs +3 -3
  133. package/dist/src/generators/release-version/generator.d.mts +2 -2
  134. package/dist/src/generators/release-version/generator.d.ts +2 -2
  135. package/dist/src/generators/release-version/generator.js +3 -3
  136. package/dist/src/generators/release-version/generator.mjs +2 -2
  137. package/dist/src/types.d.mts +2 -2
  138. package/dist/src/types.d.ts +2 -2
  139. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  140. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  141. package/dist/src/utils/index.d.mts +2 -2
  142. package/dist/src/utils/index.d.ts +2 -2
  143. package/dist/src/utils/project-tags.d.mts +2 -2
  144. package/dist/src/utils/project-tags.d.ts +2 -2
  145. package/dist/{types-DJVJD8fA.d.mts → types-CKlmYL_p.d.mts} +1 -1
  146. package/dist/{types-C5TJM8DH.d.ts → types-Cj24nD9S.d.ts} +1 -1
  147. package/dist/{types-D6pIdih6.d.mts → types-ZPi96OtS.d.mts} +23 -0
  148. package/dist/{types-D6pIdih6.d.ts → types-ZPi96OtS.d.ts} +23 -0
  149. package/package.json +4 -4
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkITGXQQ7Xjs = require('./chunk-ITGXQQ7X.js');
3
+ var _chunk3BGF7S7Yjs = require('./chunk-3BGF7S7Y.js');
4
4
 
5
5
 
6
- var _chunk3QWOG3CXjs = require('./chunk-3QWOG3CX.js');
6
+ var _chunkVYAFH7RMjs = require('./chunk-VYAFH7RM.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -13,11 +13,11 @@ var _fsextra = require('fs-extra');
13
13
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
14
14
  async function typiaExecutorFn(options, _, config) {
15
15
  if (options.clean !== false) {
16
- _chunk3QWOG3CXjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
16
+ _chunkVYAFH7RMjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
17
17
  _fsextra.removeSync.call(void 0, options.outputPath);
18
18
  }
19
19
  await Promise.all(options.entry.map((entry) => {
20
- _chunk3QWOG3CXjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
20
+ _chunkVYAFH7RMjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
21
21
  return _TypiaProgrammerjs.TypiaProgrammer.build({
22
22
  input: entry,
23
23
  output: options.outputPath,
@@ -29,7 +29,7 @@ async function typiaExecutorFn(options, _, config) {
29
29
  };
30
30
  }
31
31
  _chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
32
- var executor_default = _chunkITGXQQ7Xjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
32
+ var executor_default = _chunk3BGF7S7Yjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
33
33
  skipReadingConfig: false,
34
34
  hooks: {
35
35
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkITGXQQ7Xjs = require('./chunk-ITGXQQ7X.js');
7
+ var _chunk3BGF7S7Yjs = require('./chunk-3BGF7S7Y.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -20,7 +20,7 @@ async function cargoDocExecutor(options, context) {
20
20
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
21
21
  }
22
22
  _chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
23
- var executor_default = _chunkITGXQQ7Xjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
23
+ var executor_default = _chunk3BGF7S7Yjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
24
24
  skipReadingConfig: false,
25
25
  hooks: {
26
26
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -12,7 +12,7 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-RVVYSXH2.mjs";
15
+ } from "./chunk-EBP7GL4L.mjs";
16
16
  import {
17
17
  findWorkspaceRoot
18
18
  } from "./chunk-FR3YQN55.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkITGXQQ7Xjs = require('./chunk-ITGXQQ7X.js');
7
+ var _chunk3BGF7S7Yjs = require('./chunk-3BGF7S7Y.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoClippyExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoClippyExecutor, "cargoClippyExecutor");
18
- var executor_default = _chunkITGXQQ7Xjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
18
+ var executor_default = _chunk3BGF7S7Yjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -17,6 +17,14 @@ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
17
17
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
18
18
  var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
19
19
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
20
+ var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/logo-banner.png";
21
+ var STORM_DEFAULT_RELEASE_FOOTER = `
22
+ [Storm Software](https://stormsoftware.com) is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
23
+
24
+ Join us on [Discord](https://discord.gg/MQ6YVzakM5) to chat with the team, receive release notifications, ask questions, and get involved.
25
+
26
+ If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](https://stormsoftware.com/contact) or join our [Slack](https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA) channel!
27
+ `;
20
28
 
21
29
  // ../config/src/schema.ts
22
30
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
@@ -106,6 +114,11 @@ var WorkspaceBotConfigSchema = z.object({
106
114
  name: z.string().trim().default("stormie-bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
107
115
  email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
108
116
  }).describe("The workspace's bot user's config used to automated various operations tasks");
117
+ var WorkspaceReleaseConfigSchema = z.object({
118
+ banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("A URL to a banner image used to display the workspace's release"),
119
+ header: z.string().trim().optional().describe("A header message appended to the start of the workspace's release notes"),
120
+ footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe("A footer message appended to the end of the workspace's release notes")
121
+ }).describe("The workspace's release config used during the release process");
109
122
  var WorkspaceDirectoryConfigSchema = z.object({
110
123
  cache: z.string().trim().optional().describe("The directory used to store the environment's cached file data"),
111
124
  data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
@@ -129,6 +142,7 @@ var StormConfigSchema = z.object({
129
142
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
130
143
  owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
131
144
  bot: WorkspaceBotConfigSchema,
145
+ release: WorkspaceReleaseConfigSchema,
132
146
  mode: z.enum([
133
147
  "development",
134
148
  "staging",
@@ -588,6 +602,11 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
588
602
  name: process.env[`${prefix}BOT_NAME`] || void 0,
589
603
  email: process.env[`${prefix}BOT_EMAIL`] || void 0
590
604
  },
605
+ release: {
606
+ banner: process.env[`${prefix}RELEASE_BANNER`] || void 0,
607
+ header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
608
+ footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
609
+ },
591
610
  organization: process.env[`${prefix}ORGANIZATION`] || void 0,
592
611
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
593
612
  license: process.env[`${prefix}LICENSE`] || void 0,
@@ -752,6 +771,11 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
752
771
  process.env[`${prefix}BOT_NAME`] = config.bot.name;
753
772
  process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
754
773
  }
774
+ if (config.release) {
775
+ process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
776
+ process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
777
+ process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
778
+ }
755
779
  if (config.organization) {
756
780
  process.env[`${prefix}ORGANIZATION`] = config.organization;
757
781
  }
@@ -868,7 +892,9 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
868
892
  }
869
893
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
870
894
  for (const key of Object.keys(config.extensions ?? {})) {
871
- config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
895
+ if (config.extensions[key] && Object.keys(config.extensions[key])) {
896
+ setExtensionEnv(key, config.extensions[key]);
897
+ }
872
898
  }
873
899
  }, "setConfigEnv");
874
900
  var setThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
@@ -13,7 +13,7 @@ import {
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-RVVYSXH2.mjs";
16
+ } from "./chunk-EBP7GL4L.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-FR3YQN55.mjs";
@@ -228,9 +228,6 @@ var RuleConfigSeverity;
228
228
  RuleConfigSeverity2[RuleConfigSeverity2["Error"] = 2] = "Error";
229
229
  })(RuleConfigSeverity || (RuleConfigSeverity = {}));
230
230
 
231
- // ../git-tools/src/release/changelog-renderer.ts
232
- import ChangelogRenderer from "nx/release/changelog-renderer/index";
233
-
234
231
  // ../git-tools/src/release/config.ts
235
232
  var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
236
233
  questions: DEFAULT_COMMIT_QUESTIONS,
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkITGXQQ7Xjs = require('./chunk-ITGXQQ7X.js');
3
+ var _chunk3BGF7S7Yjs = require('./chunk-3BGF7S7Y.js');
4
4
 
5
5
 
6
- var _chunk3QWOG3CXjs = require('./chunk-3QWOG3CX.js');
6
+ var _chunkVYAFH7RMjs = require('./chunk-VYAFH7RM.js');
7
7
 
8
8
 
9
9
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -15,7 +15,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
15
15
  var _defu = require('defu');
16
16
  var _jiti = require('jiti');
17
17
  async function unbuildExecutorFn(options, context, config) {
18
- _chunk3QWOG3CXjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunkVYAFH7RMjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
19
19
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
20
20
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
21
21
  }
@@ -63,7 +63,7 @@ async function unbuildExecutorFn(options, context, config) {
63
63
  };
64
64
  }
65
65
  _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
66
- var executor_default = _chunkITGXQQ7Xjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunk3BGF7S7Yjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
67
67
  skipReadingConfig: false,
68
68
  hooks: {
69
69
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-BMSP2AHQ.mjs";
7
+ } from "./chunk-B44EGIA5.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-BMSP2AHQ.mjs";
3
+ } from "./chunk-B44EGIA5.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-RVVYSXH2.mjs";
6
+ } from "./chunk-EBP7GL4L.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-2BPV2XV2.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-YZLAY7R4.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-W2L5PTZQ.mjs";
7
+ } from "./chunk-LRNQGMXF.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-ATIBREWM.mjs";
@@ -11,7 +11,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk3QWOG3CXjs = require('./chunk-3QWOG3CX.js');
14
+ var _chunkVYAFH7RMjs = require('./chunk-VYAFH7RM.js');
15
15
 
16
16
 
17
17
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -23,34 +23,34 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
24
24
  skipReadingConfig: false
25
25
  }) => async (tree, _options) => {
26
- const stopwatch = _chunk3QWOG3CXjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkVYAFH7RMjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunk3QWOG3CXjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunkVYAFH7RMjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
31
31
 
32
32
  `, config);
33
33
  const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
34
34
  if (!generatorOptions.skipReadingConfig) {
35
- _chunk3QWOG3CXjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunk3QWOG3CXjs.getConfig.call(void 0, workspaceRoot);
37
+ config = await _chunkVYAFH7RMjs.getConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
45
45
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
46
46
  const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, {
47
47
  workspaceRoot: tree.root,
48
48
  config
49
49
  }, _chunkUALZJZUKjs.applyWorkspaceBaseTokens);
50
50
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
51
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
54
54
  }
55
55
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
56
56
  if (result) {
@@ -63,18 +63,18 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
63
63
  }
64
64
  }
65
65
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
66
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunk3QWOG3CXjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunkVYAFH7RMjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunk3QWOG3CXjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunk3QWOG3CXjs.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunkVYAFH7RMjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunkVYAFH7RMjs.writeError.call(void 0, `An exception was thrown in the generator's process
78
78
  - Details: ${error.message}
79
79
  - Stacktrace: ${error.stack}`, config);
80
80
  };
@@ -11,7 +11,7 @@ import {
11
11
  writeInfo,
12
12
  writeSuccess,
13
13
  writeTrace
14
- } from "./chunk-RVVYSXH2.mjs";
14
+ } from "./chunk-EBP7GL4L.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
17
  } from "./chunk-FR3YQN55.mjs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-W2L5PTZQ.mjs";
3
+ } from "./chunk-LRNQGMXF.mjs";
4
4
  import {
5
5
  StormConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-RVVYSXH2.mjs";
9
+ } from "./chunk-EBP7GL4L.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-FR3YQN55.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-BMSP2AHQ.mjs";
7
+ } from "./chunk-B44EGIA5.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
5
5
 
6
6
 
7
- var _chunkBWMEPOEZjs = require('./chunk-BWMEPOEZ.js');
7
+ var _chunkLPQBGYFCjs = require('./chunk-LPQBGYFC.js');
8
8
 
9
9
 
10
10
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -73,7 +73,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
73
73
  return null;
74
74
  }
75
75
  _chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
76
- var generator_default = _chunkBWMEPOEZjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
76
+ var generator_default = _chunkLPQBGYFCjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
77
77
  hooks: {
78
78
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
79
79
  options.description ??= "A library used by Storm Software to support browser applications";
@@ -7,7 +7,7 @@ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkBWMEPOEZjs = require('./chunk-BWMEPOEZ.js');
10
+ var _chunkLPQBGYFCjs = require('./chunk-LPQBGYFC.js');
11
11
 
12
12
 
13
13
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -52,7 +52,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
52
52
  return null;
53
53
  }
54
54
  _chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
55
- var generator_default = _chunkBWMEPOEZjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
55
+ var generator_default = _chunkLPQBGYFCjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
56
56
  hooks: {
57
57
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
58
58
  options.description ??= "A library used by Storm Software to support NodeJs applications";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-BMSP2AHQ.mjs";
3
+ } from "./chunk-B44EGIA5.mjs";
4
4
  import {
5
5
  formatLogMessage,
6
6
  getConfig,
@@ -13,7 +13,7 @@ import {
13
13
  writeSuccess,
14
14
  writeTrace,
15
15
  writeWarning
16
- } from "./chunk-RVVYSXH2.mjs";
16
+ } from "./chunk-EBP7GL4L.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-FR3YQN55.mjs";
@@ -119,7 +119,7 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
119
119
  const projectGraph = readCachedProjectGraph();
120
120
  const projectDependencies = calculateProjectBuildableDependencies(void 0, projectGraph, workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
121
121
  const localPackages = [];
122
- for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
122
+ for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data?.root !== projectRoot && dep.node.data?.root !== workspaceRoot)) {
123
123
  const projectNode = project.node;
124
124
  if (projectNode.data.root) {
125
125
  const projectPackageJsonPath = joinPaths(workspaceRoot, projectNode.data.root, "package.json");
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-BMSP2AHQ.mjs";
7
+ } from "./chunk-B44EGIA5.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-BMSP2AHQ.mjs";
7
+ } from "./chunk-B44EGIA5.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-BMSP2AHQ.mjs";
3
+ } from "./chunk-B44EGIA5.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-RVVYSXH2.mjs";
6
+ } from "./chunk-EBP7GL4L.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-ATIBREWM.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } 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; } async function _asyncOptionalChain(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 = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } 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; } async function _asyncOptionalChain(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 = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
4
 
@@ -13,7 +13,7 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
13
13
 
14
14
 
15
15
 
16
- var _chunk3QWOG3CXjs = require('./chunk-3QWOG3CX.js');
16
+ var _chunkVYAFH7RMjs = require('./chunk-VYAFH7RM.js');
17
17
 
18
18
 
19
19
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -228,9 +228,6 @@ var RuleConfigSeverity;
228
228
  RuleConfigSeverity2[RuleConfigSeverity2["Error"] = 2] = "Error";
229
229
  })(RuleConfigSeverity || (RuleConfigSeverity = {}));
230
230
 
231
- // ../git-tools/src/release/changelog-renderer.ts
232
- var _index = require('nx/release/changelog-renderer/index'); var _index2 = _interopRequireDefault(_index);
233
-
234
231
  // ../git-tools/src/release/config.ts
235
232
  var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
236
233
  questions: DEFAULT_COMMIT_QUESTIONS,
@@ -248,16 +245,16 @@ var _version = require('nx/src/command-line/release/version');
248
245
  var _utils = require('nx/src/tasks-runner/utils');
249
246
  var _semver3 = require('semver');
250
247
  async function releaseVersionGeneratorFn(tree, options, config) {
251
- _chunk3QWOG3CXjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
248
+ _chunkVYAFH7RMjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
252
249
 
253
250
  `, config);
254
- const stopwatch = _chunk3QWOG3CXjs.getStopwatch.call(void 0, "Storm Release Version generator");
251
+ const stopwatch = _chunkVYAFH7RMjs.getStopwatch.call(void 0, "Storm Release Version generator");
255
252
  try {
256
253
  const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
257
- _chunk3QWOG3CXjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
254
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
258
255
  - workspaceRoot: ${workspaceRoot}`, config);
259
- config = await _chunk3QWOG3CXjs.getConfig.call(void 0, workspaceRoot);
260
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
256
+ config = await _chunkVYAFH7RMjs.getConfig.call(void 0, workspaceRoot);
257
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
261
258
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
262
259
  const versionData = {};
263
260
  if (options.specifier) {
@@ -308,9 +305,9 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
308
305
  }
309
306
  const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath);
310
307
  const log = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (msg) => {
311
- _chunk3QWOG3CXjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
308
+ _chunkVYAFH7RMjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
312
309
  }, "log");
313
- _chunk3QWOG3CXjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
310
+ _chunkVYAFH7RMjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
314
311
  let packageName;
315
312
  let currentVersionFromDisk;
316
313
  if (tree.exists(packageJsonPath)) {
@@ -584,7 +581,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
584
581
  }
585
582
  }
586
583
  await _devkit.formatFiles.call(void 0, tree);
587
- _chunk3QWOG3CXjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
584
+ _chunkVYAFH7RMjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
588
585
  `, config);
589
586
  return {
590
587
  data: versionData,
@@ -618,8 +615,8 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
618
615
  }, "callback")
619
616
  };
620
617
  } catch (error) {
621
- _chunk3QWOG3CXjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
622
- _chunk3QWOG3CXjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
618
+ _chunkVYAFH7RMjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
619
+ _chunkVYAFH7RMjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
623
620
  - Details: ${error.message}
624
621
  - Stacktrace: ${error.stack}`, config);
625
622
  throw new Error(`An exception was thrown in the Storm Release Version generator's process
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkBWMEPOEZjs = require('./chunk-BWMEPOEZ.js');
3
+ var _chunkLPQBGYFCjs = require('./chunk-LPQBGYFC.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunk3QWOG3CXjs = require('./chunk-3QWOG3CX.js');
9
+ var _chunkVYAFH7RMjs = require('./chunk-VYAFH7RM.js');
10
10
 
11
11
 
12
12
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -18,25 +18,25 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
18
18
  var _devkit = require('@nx/devkit');
19
19
  var _zodtojsonschema = require('zod-to-json-schema');
20
20
  async function configSchemaGeneratorFn(tree, options, config) {
21
- _chunk3QWOG3CXjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
23
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunk3QWOG3CXjs.StormConfigSchema, {
21
+ _chunkVYAFH7RMjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
23
+ const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkVYAFH7RMjs.StormConfigSchema, {
24
24
  name: "StormWorkspaceConfiguration"
25
25
  });
26
- _chunk3QWOG3CXjs.writeTrace.call(void 0, jsonSchema, config);
26
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, jsonSchema, config);
27
27
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
28
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
28
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
29
29
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
30
30
  spaces: 2
31
31
  });
32
32
  await _devkit.formatFiles.call(void 0, tree);
33
- _chunk3QWOG3CXjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
33
+ _chunkVYAFH7RMjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
34
34
  return {
35
35
  success: true
36
36
  };
37
37
  }
38
38
  _chunk3GQAWCBQjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
39
- var generator_default = _chunkBWMEPOEZjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
39
+ var generator_default = _chunkLPQBGYFCjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
40
40
  hooks: {
41
41
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
42
42
  options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-W2L5PTZQ.mjs";
10
+ } from "./chunk-LRNQGMXF.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-ATIBREWM.mjs";