@storm-software/workspace-tools 1.281.16 → 1.282.1

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 (151) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-ADPC4I6G.mjs → chunk-2CRCPMGK.mjs} +1 -1
  4. package/dist/{chunk-RKMDCVW7.js → chunk-2JYSOWHX.js} +2 -2
  5. package/dist/{chunk-5Y2AINYZ.js → chunk-3DQHYRAW.js} +2 -2
  6. package/dist/{chunk-6NZ4G4UQ.mjs → chunk-3G7XO5ON.mjs} +69 -12
  7. package/dist/{chunk-IGUS5OZZ.mjs → chunk-3KDR7QTH.mjs} +1 -1
  8. package/dist/{chunk-4RWG43TW.mjs → chunk-5WETPBWF.mjs} +1 -1
  9. package/dist/{chunk-ZA5YF7PU.js → chunk-7IF3RQD4.js} +2 -2
  10. package/dist/{chunk-W2ROT7VM.js → chunk-7OBL2GKK.js} +2 -2
  11. package/dist/{chunk-44654LXZ.js → chunk-7Y353S7D.js} +9 -6
  12. package/dist/{chunk-X2P642IM.js → chunk-DY4PYCP6.js} +2 -2
  13. package/dist/{chunk-AZ3WKJXU.js → chunk-EIZKPKJH.js} +2 -2
  14. package/dist/{chunk-TOLAZGZI.js → chunk-G2ZFORXG.js} +2 -2
  15. package/dist/{chunk-4IEQFFRT.js → chunk-G3LFGXX3.js} +2 -2
  16. package/dist/{chunk-IUIZ5OEC.js → chunk-G77OCEMB.js} +70 -13
  17. package/dist/{chunk-JZ4MPWS7.mjs → chunk-HJPVYUW7.mjs} +12 -0
  18. package/dist/{chunk-UYFX3RDH.mjs → chunk-IID5AST4.mjs} +1 -1
  19. package/dist/{chunk-RKYDIJ7F.js → chunk-L7Z66BRK.js} +5 -5
  20. package/dist/{chunk-ZBKVLH5K.mjs → chunk-MHMMP3BC.mjs} +1 -1
  21. package/dist/{chunk-UIMN2SI7.js → chunk-OSMA3OJG.js} +12 -0
  22. package/dist/{chunk-53INDKGT.js → chunk-PNWYSTCQ.js} +2 -2
  23. package/dist/{chunk-ZXUANTZJ.js → chunk-PQGJJ2VC.js} +2 -2
  24. package/dist/{chunk-QZ7MJKBR.mjs → chunk-PXZIBYEN.mjs} +1 -1
  25. package/dist/{chunk-AQVKQPMG.mjs → chunk-PZFEA7HL.mjs} +1 -1
  26. package/dist/{chunk-PNJEWCN4.mjs → chunk-QD3JDU6V.mjs} +1 -1
  27. package/dist/{chunk-7XT46UWZ.js → chunk-R46H5YPG.js} +2 -2
  28. package/dist/{chunk-4TLZ35H7.js → chunk-S5DC4QM3.js} +2 -2
  29. package/dist/{chunk-QFFPUHUY.mjs → chunk-SUYGH7CY.mjs} +7 -4
  30. package/dist/{chunk-BZ6SXWSL.mjs → chunk-T25RSZNX.mjs} +1 -1
  31. package/dist/{chunk-BYSCMSXF.js → chunk-UH5PNSPJ.js} +2 -2
  32. package/dist/{chunk-RWAUNWSU.mjs → chunk-UIUT3KSN.mjs} +1 -1
  33. package/dist/{chunk-BSZKXTQ7.mjs → chunk-V3SVHUFX.mjs} +1 -1
  34. package/dist/{chunk-DC7YYDNL.mjs → chunk-VBOSBUKV.mjs} +1 -1
  35. package/dist/{chunk-WPV7WV6W.js → chunk-VGRHMX4G.js} +2 -2
  36. package/dist/{chunk-XWI5SGFN.mjs → chunk-VYOG7MYI.mjs} +1 -1
  37. package/dist/{chunk-QP65FHTY.mjs → chunk-WITQCU2S.mjs} +1 -1
  38. package/dist/{chunk-KNCC6YOH.mjs → chunk-YMP6D267.mjs} +2 -2
  39. package/dist/{executor-foxQoOAn.d.ts → executor-C3az1iCg.d.ts} +1 -1
  40. package/dist/{executor-aDXEPVsT.d.mts → executor-CtvT8gPV.d.mts} +1 -1
  41. package/dist/{executor-D3PNL4CV.d.mts → executor-DKPghYMo.d.mts} +1 -1
  42. package/dist/{executor-CkNxaoIY.d.ts → executor-DdaM1kFG.d.ts} +1 -1
  43. package/dist/{executor-DPM2Z36c.d.ts → executor-Ds2sCD8h.d.ts} +1 -1
  44. package/dist/{executor-rXyqR2O7.d.ts → executor-GQOIhnRP.d.ts} +1 -1
  45. package/dist/{executor-BKX42Sw7.d.mts → executor-fcH6qe9o.d.mts} +1 -1
  46. package/dist/{executor-GBuel7B7.d.mts → executor-uiLp0D0s.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-ggEO-y1w.d.ts → generator-B3lX6hKw.d.ts} +2 -2
  52. package/dist/{generator-BBL6R81T.d.mts → generator-BdT_i3_w.d.mts} +2 -2
  53. package/dist/{generator-Atoj4M31.d.ts → generator-CFddiSG3.d.ts} +2 -2
  54. package/dist/{generator-DuzhU6Nt.d.mts → generator-CVya-AAw.d.mts} +1 -1
  55. package/dist/{generator-BrHx51q7.d.ts → generator-CgiRKDRE.d.ts} +2 -2
  56. package/dist/{generator-B8wuX3dQ.d.ts → generator-CjX3u0zk.d.ts} +1 -1
  57. package/dist/{generator-l6HKZhyL.d.ts → generator-Cpfrmue-.d.ts} +2 -2
  58. package/dist/{generator-CA85Rjt_.d.mts → generator-CsKfUo3R.d.mts} +1 -1
  59. package/dist/{generator-Cl7VLDBp.d.mts → generator-DNY9_ehi.d.mts} +2 -2
  60. package/dist/{generator-C89d9hiO.d.mts → generator-Dfj6QHtf.d.mts} +2 -2
  61. package/dist/{generator-DY4LnD3U.d.mts → generator-Dy8A_MDE.d.mts} +2 -2
  62. package/dist/{generator-Lo6Lesoa.d.ts → generator-KT6_xBkP.d.ts} +1 -1
  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 +3 -3
  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/plugins/typescript/index.js +3 -3
  138. package/dist/src/plugins/typescript/index.mjs +3 -3
  139. package/dist/src/types.d.mts +2 -2
  140. package/dist/src/types.d.ts +2 -2
  141. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  142. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  143. package/dist/src/utils/index.d.mts +2 -2
  144. package/dist/src/utils/index.d.ts +2 -2
  145. package/dist/src/utils/project-tags.d.mts +2 -2
  146. package/dist/src/utils/project-tags.d.ts +2 -2
  147. package/dist/{types-BuQFM0Hk.d.mts → types-B-b_unFm.d.mts} +1 -1
  148. package/dist/{types-yDwoa0v2.d.ts → types-D1uhKLwT.d.ts} +1 -1
  149. package/dist/{types-Ca7EE8eb.d.ts → types-D6xEA_pB.d.mts} +4 -0
  150. package/dist/{types-Ca7EE8eb.d.mts → types-D6xEA_pB.d.ts} +4 -0
  151. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -2,6 +2,36 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.282.0](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.282.0) (2025-09-06)
6
+
7
+ ### Features
8
+
9
+ - **git-tools:** Update `commit` and `commitlint` to support custom config
10
+ ([ef331c1c3](https://github.com/storm-software/storm-ops/commit/ef331c1c3))
11
+
12
+ ### Miscellaneous
13
+
14
+ - **monorepo:** Update workspace package links
15
+ ([0ecd5b833](https://github.com/storm-software/storm-ops/commit/0ecd5b833))
16
+
17
+ ### Updated Dependencies
18
+
19
+ - Updated prettier to 0.53.14
20
+ - Updated esbuild to 0.47.17
21
+ - Updated unbuild to 0.51.17
22
+
23
+ ## [1.281.16](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.281.16) (2025-09-06)
24
+
25
+ ### Miscellaneous
26
+
27
+ - **monorepo:** Regenerate README markdown files
28
+ ([408b2adf7](https://github.com/storm-software/storm-ops/commit/408b2adf7))
29
+
30
+ ### Updated Dependencies
31
+
32
+ - Updated esbuild to 0.47.16
33
+ - Updated unbuild to 0.51.16
34
+
5
35
  ## [1.281.15](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.281.15) (2025-09-06)
6
36
 
7
37
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.281.14-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.281.16-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-BZ6SXWSL.mjs";
7
+ } from "./chunk-T25RSZNX.mjs";
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkZXUANTZJjs = require('./chunk-ZXUANTZJ.js');
7
+ var _chunkPQGJJ2VCjs = require('./chunk-PQGJJ2VC.js');
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "build", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkZXUANTZJjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkPQGJJ2VCjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Build",
16
16
  cargoBuildExecutor,
17
17
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
5
5
 
6
6
 
7
- var _chunkWPV7WV6Wjs = require('./chunk-WPV7WV6W.js');
7
+ var _chunkVGRHMX4Gjs = require('./chunk-VGRHMX4G.js');
8
8
 
9
9
  // src/generators/preset/generator.ts
10
10
 
@@ -239,7 +239,7 @@ async function presetGeneratorFn(tree, options) {
239
239
  );
240
240
  return null;
241
241
  }
242
- var generator_default = _chunkWPV7WV6Wjs.withRunGenerator.call(void 0,
242
+ var generator_default = _chunkVGRHMX4Gjs.withRunGenerator.call(void 0,
243
243
  "Storm Workspace Preset Generator",
244
244
  presetGeneratorFn
245
245
  );
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-SVIG7SR3.mjs";
7
7
  import {
8
8
  getConfig
9
- } from "./chunk-JZ4MPWS7.mjs";
9
+ } from "./chunk-HJPVYUW7.mjs";
10
10
  import {
11
11
  getStopwatch,
12
12
  writeDebug,
@@ -162,7 +162,7 @@ var COMMIT_TYPES = {
162
162
  }
163
163
  }
164
164
  };
165
- var DEFAULT_COMMIT_QUESTIONS = {
165
+ var DEFAULT_MINIMAL_COMMIT_QUESTIONS = {
166
166
  type: {
167
167
  type: "select",
168
168
  title: "Commit Type",
@@ -177,15 +177,6 @@ var DEFAULT_COMMIT_QUESTIONS = {
177
177
  maxLength: 20,
178
178
  minLength: 3
179
179
  },
180
- scope: {
181
- type: "select",
182
- title: "Commit Scope",
183
- description: "Select the monorepo project that is primarily impacted by this change",
184
- enum: {},
185
- defaultValue: "monorepo",
186
- maxLength: 50,
187
- minLength: 1
188
- },
189
180
  subject: {
190
181
  type: "input",
191
182
  title: "Commit Subject",
@@ -228,10 +219,76 @@ var DEFAULT_COMMIT_QUESTIONS = {
228
219
  minLength: 3
229
220
  }
230
221
  };
222
+ var DEFAULT_MONOREPO_COMMIT_QUESTIONS = {
223
+ type: DEFAULT_MINIMAL_COMMIT_QUESTIONS.type,
224
+ scope: {
225
+ type: "select",
226
+ title: "Commit Scope",
227
+ description: "Select the project that's the most impacted by this change",
228
+ enum: {},
229
+ defaultValue: "monorepo",
230
+ maxLength: 50,
231
+ minLength: 1
232
+ },
233
+ subject: DEFAULT_MINIMAL_COMMIT_QUESTIONS.subject,
234
+ body: DEFAULT_MINIMAL_COMMIT_QUESTIONS.body,
235
+ isBreaking: DEFAULT_MINIMAL_COMMIT_QUESTIONS.isBreaking,
236
+ breakingBody: DEFAULT_MINIMAL_COMMIT_QUESTIONS.breakingBody,
237
+ isIssueAffected: DEFAULT_MINIMAL_COMMIT_QUESTIONS.isIssueAffected,
238
+ issuesBody: DEFAULT_MINIMAL_COMMIT_QUESTIONS.issuesBody
239
+ };
240
+ var DEFAULT_MINIMAL_COMMIT_RULES = {
241
+ "body-leading-blank": [1 /* Warning */, "always"],
242
+ "body-max-length": [2 /* Error */, "always", 600],
243
+ "footer-leading-blank": [1 /* Warning */, "always"],
244
+ "footer-max-line-length": [2 /* Error */, "always", 150],
245
+ "header-max-length": [2 /* Error */, "always", 150],
246
+ "header-trim": [2 /* Error */, "always"],
247
+ "subject-case": [2 /* Error */, "always", ["sentence-case"]],
248
+ "subject-empty": [2 /* Error */, "never"],
249
+ "subject-full-stop": [2 /* Error */, "never", "."],
250
+ "subject-max-length": [2 /* Error */, "always", 150],
251
+ "subject-min-length": [2 /* Error */, "always", 3],
252
+ "type-case": [2 /* Error */, "always", "kebab-case"],
253
+ "type-empty": [2 /* Error */, "never"],
254
+ "type-enum": [
255
+ 2 /* Error */,
256
+ "always",
257
+ Object.keys(COMMIT_TYPES)
258
+ ],
259
+ "type-max-length": [2 /* Error */, "always", 20],
260
+ "type-min-length": [2 /* Error */, "always", 3],
261
+ "scope-case": 0 /* Disabled */,
262
+ "scope-empty": 0 /* Disabled */
263
+ };
264
+ var DEFAULT_MONOREPO_COMMIT_RULES = {
265
+ "body-leading-blank": [1 /* Warning */, "always"],
266
+ "body-max-length": [2 /* Error */, "always", 600],
267
+ "footer-leading-blank": [1 /* Warning */, "always"],
268
+ "footer-max-line-length": [2 /* Error */, "always", 150],
269
+ "header-max-length": [2 /* Error */, "always", 150],
270
+ "header-trim": [2 /* Error */, "always"],
271
+ "subject-case": [2 /* Error */, "always", ["sentence-case"]],
272
+ "subject-empty": [2 /* Error */, "never"],
273
+ "subject-full-stop": [2 /* Error */, "never", "."],
274
+ "subject-max-length": [2 /* Error */, "always", 150],
275
+ "subject-min-length": [2 /* Error */, "always", 3],
276
+ "type-case": [2 /* Error */, "always", "kebab-case"],
277
+ "type-empty": [2 /* Error */, "never"],
278
+ "type-enum": [
279
+ 2 /* Error */,
280
+ "always",
281
+ Object.keys(COMMIT_TYPES)
282
+ ],
283
+ "type-max-length": [2 /* Error */, "always", 20],
284
+ "type-min-length": [2 /* Error */, "always", 3],
285
+ "scope-case": [2 /* Error */, "always", ["kebab-case"]],
286
+ "scope-empty": [2 /* Error */, "never"]
287
+ };
231
288
 
232
289
  // ../git-tools/src/release/config.ts
233
290
  var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
234
- questions: DEFAULT_COMMIT_QUESTIONS,
291
+ questions: DEFAULT_MONOREPO_COMMIT_QUESTIONS,
235
292
  types: COMMIT_TYPES
236
293
  };
237
294
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-BZ6SXWSL.mjs";
3
+ } from "./chunk-T25RSZNX.mjs";
4
4
  import {
5
5
  writeInfo
6
6
  } from "./chunk-V44DYGWX.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-LNCNJLSB.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-BSZKXTQ7.mjs";
7
+ } from "./chunk-V3SVHUFX.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-U7JFVMCK.mjs";
@@ -1,6 +1,6 @@
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 _chunkZXUANTZJjs = require('./chunk-ZXUANTZJ.js');
3
+ var _chunkPQGJJ2VCjs = require('./chunk-PQGJJ2VC.js');
4
4
 
5
5
 
6
6
  var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
@@ -80,7 +80,7 @@ async function unbuildExecutorFn(options, context, config) {
80
80
  success: true
81
81
  };
82
82
  }
83
- var executor_default = _chunkZXUANTZJjs.withRunExecutor.call(void 0,
83
+ var executor_default = _chunkPQGJJ2VCjs.withRunExecutor.call(void 0,
84
84
  "TypeScript Unbuild build",
85
85
  unbuildExecutorFn,
86
86
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkQKQRWKYXjs = require('./chunk-QKQRWKYX.js');
5
5
 
6
6
 
7
- var _chunkWPV7WV6Wjs = require('./chunk-WPV7WV6W.js');
7
+ var _chunkVGRHMX4Gjs = require('./chunk-VGRHMX4G.js');
8
8
 
9
9
 
10
10
  var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
82
82
  await _devkit.formatFiles.call(void 0, tree);
83
83
  return null;
84
84
  }
85
- var generator_default = _chunkWPV7WV6Wjs.withRunGenerator.call(void 0,
85
+ var generator_default = _chunkVGRHMX4Gjs.withRunGenerator.call(void 0,
86
86
  "TypeScript Library Creator (Browser Platform)",
87
87
  browserLibraryGeneratorFn,
88
88
  {
@@ -1,9 +1,9 @@
1
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(); } } 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 _chunkZXUANTZJjs = require('./chunk-ZXUANTZJ.js');
3
+ var _chunkPQGJJ2VCjs = require('./chunk-PQGJJ2VC.js');
4
4
 
5
5
 
6
- var _chunkUIMN2SI7js = require('./chunk-UIMN2SI7.js');
6
+ var _chunkOSMA3OJGjs = require('./chunk-OSMA3OJG.js');
7
7
 
8
8
 
9
9
 
@@ -383,7 +383,7 @@ async function resolveContext(userOptions) {
383
383
  if (!workspaceRoot) {
384
384
  throw new Error("Cannot find Nx workspace root");
385
385
  }
386
- const workspaceConfig = await _chunkUIMN2SI7js.getWorkspaceConfig.call(void 0, true, {
386
+ const workspaceConfig = await _chunkOSMA3OJGjs.getWorkspaceConfig.call(void 0, true, {
387
387
  workspaceRoot: workspaceRoot.dir
388
388
  });
389
389
  _chunk2CDSXWFAjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
@@ -687,7 +687,10 @@ async function esbuildExecutorFn(options, context, config) {
687
687
  }
688
688
  await build({
689
689
  ...options,
690
- projectRoot: _optionalChain([context, 'access', _46 => _46.projectsConfigurations, 'access', _47 => _47.projects, 'optionalAccess', _48 => _48[context.projectName], 'access', _49 => _49.root]),
690
+ projectRoot: (
691
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
692
+ _optionalChain([context, 'access', _46 => _46.projectsConfigurations, 'access', _47 => _47.projects, 'optionalAccess', _48 => _48[context.projectName], 'access', _49 => _49.root])
693
+ ),
691
694
  name: context.projectName,
692
695
  sourceRoot: _optionalChain([context, 'access', _50 => _50.projectsConfigurations, 'access', _51 => _51.projects, 'optionalAccess', _52 => _52[context.projectName], 'optionalAccess', _53 => _53.sourceRoot]),
693
696
  format: options.format,
@@ -697,13 +700,13 @@ async function esbuildExecutorFn(options, context, config) {
697
700
  success: true
698
701
  };
699
702
  }
700
- var executor_default = _chunkZXUANTZJjs.withRunExecutor.call(void 0,
703
+ var executor_default = _chunkPQGJJ2VCjs.withRunExecutor.call(void 0,
701
704
  "Storm ESBuild build",
702
705
  esbuildExecutorFn,
703
706
  {
704
707
  skipReadingConfig: false,
705
708
  hooks: {
706
- applyDefaultOptions: async (options, config) => {
709
+ applyDefaultOptions: async (options) => {
707
710
  options.entry ??= ["src/index.ts"];
708
711
  options.outputPath ??= "dist/{projectRoot}";
709
712
  options.tsconfig ??= "{projectRoot}/tsconfig.json";
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkZXUANTZJjs = require('./chunk-ZXUANTZJ.js');
7
+ var _chunkPQGJJ2VCjs = require('./chunk-PQGJJ2VC.js');
8
8
 
9
9
  // src/executors/cargo-clippy/executor.ts
10
10
  async function cargoClippyExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "clippy", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkZXUANTZJjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunkPQGJJ2VCjs.withRunExecutor.call(void 0,
15
15
  "Cargo - Clippy",
16
16
  cargoClippyExecutor,
17
17
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkZXUANTZJjs = require('./chunk-ZXUANTZJ.js');
7
+ var _chunkPQGJJ2VCjs = require('./chunk-PQGJJ2VC.js');
8
8
 
9
9
  // src/executors/cargo-doc/executor.ts
10
10
  async function cargoDocExecutor(options, context) {
@@ -14,7 +14,7 @@ async function cargoDocExecutor(options, context) {
14
14
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "doc", options, context);
15
15
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
- var executor_default = _chunkZXUANTZJjs.withRunExecutor.call(void 0,
17
+ var executor_default = _chunkPQGJJ2VCjs.withRunExecutor.call(void 0,
18
18
  "Cargo - Doc",
19
19
  cargoDocExecutor,
20
20
  {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZXUANTZJjs = require('./chunk-ZXUANTZJ.js');
3
+ var _chunkPQGJJ2VCjs = require('./chunk-PQGJJ2VC.js');
4
4
 
5
5
 
6
6
  var _chunk2CDSXWFAjs = require('./chunk-2CDSXWFA.js');
@@ -27,7 +27,7 @@ async function typiaExecutorFn(options, _, config) {
27
27
  success: true
28
28
  };
29
29
  }
30
- var executor_default = _chunkZXUANTZJjs.withRunExecutor.call(void 0,
30
+ var executor_default = _chunkPQGJJ2VCjs.withRunExecutor.call(void 0,
31
31
  "Typia runtime validation generator",
32
32
  typiaExecutorFn,
33
33
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkQKQRWKYXjs = require('./chunk-QKQRWKYX.js');
5
5
 
6
6
 
7
- var _chunkWPV7WV6Wjs = require('./chunk-WPV7WV6W.js');
7
+ var _chunkVGRHMX4Gjs = require('./chunk-VGRHMX4G.js');
8
8
 
9
9
 
10
10
  var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
@@ -54,7 +54,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
54
54
  await _devkit.formatFiles.call(void 0, tree);
55
55
  return null;
56
56
  }
57
- var generator_default = _chunkWPV7WV6Wjs.withRunGenerator.call(void 0,
57
+ var generator_default = _chunkVGRHMX4Gjs.withRunGenerator.call(void 0,
58
58
  "TypeScript Library Creator (Neutral Platform)",
59
59
  neutralLibraryGeneratorFn,
60
60
  {
@@ -6,7 +6,7 @@
6
6
  var _chunk452FQZ3Bjs = require('./chunk-452FQZ3B.js');
7
7
 
8
8
 
9
- var _chunkUIMN2SI7js = require('./chunk-UIMN2SI7.js');
9
+ var _chunkOSMA3OJGjs = require('./chunk-OSMA3OJG.js');
10
10
 
11
11
 
12
12
 
@@ -162,7 +162,7 @@ var COMMIT_TYPES = {
162
162
  }
163
163
  }
164
164
  };
165
- var DEFAULT_COMMIT_QUESTIONS = {
165
+ var DEFAULT_MINIMAL_COMMIT_QUESTIONS = {
166
166
  type: {
167
167
  type: "select",
168
168
  title: "Commit Type",
@@ -177,15 +177,6 @@ var DEFAULT_COMMIT_QUESTIONS = {
177
177
  maxLength: 20,
178
178
  minLength: 3
179
179
  },
180
- scope: {
181
- type: "select",
182
- title: "Commit Scope",
183
- description: "Select the monorepo project that is primarily impacted by this change",
184
- enum: {},
185
- defaultValue: "monorepo",
186
- maxLength: 50,
187
- minLength: 1
188
- },
189
180
  subject: {
190
181
  type: "input",
191
182
  title: "Commit Subject",
@@ -228,10 +219,76 @@ var DEFAULT_COMMIT_QUESTIONS = {
228
219
  minLength: 3
229
220
  }
230
221
  };
222
+ var DEFAULT_MONOREPO_COMMIT_QUESTIONS = {
223
+ type: DEFAULT_MINIMAL_COMMIT_QUESTIONS.type,
224
+ scope: {
225
+ type: "select",
226
+ title: "Commit Scope",
227
+ description: "Select the project that's the most impacted by this change",
228
+ enum: {},
229
+ defaultValue: "monorepo",
230
+ maxLength: 50,
231
+ minLength: 1
232
+ },
233
+ subject: DEFAULT_MINIMAL_COMMIT_QUESTIONS.subject,
234
+ body: DEFAULT_MINIMAL_COMMIT_QUESTIONS.body,
235
+ isBreaking: DEFAULT_MINIMAL_COMMIT_QUESTIONS.isBreaking,
236
+ breakingBody: DEFAULT_MINIMAL_COMMIT_QUESTIONS.breakingBody,
237
+ isIssueAffected: DEFAULT_MINIMAL_COMMIT_QUESTIONS.isIssueAffected,
238
+ issuesBody: DEFAULT_MINIMAL_COMMIT_QUESTIONS.issuesBody
239
+ };
240
+ var DEFAULT_MINIMAL_COMMIT_RULES = {
241
+ "body-leading-blank": [1 /* Warning */, "always"],
242
+ "body-max-length": [2 /* Error */, "always", 600],
243
+ "footer-leading-blank": [1 /* Warning */, "always"],
244
+ "footer-max-line-length": [2 /* Error */, "always", 150],
245
+ "header-max-length": [2 /* Error */, "always", 150],
246
+ "header-trim": [2 /* Error */, "always"],
247
+ "subject-case": [2 /* Error */, "always", ["sentence-case"]],
248
+ "subject-empty": [2 /* Error */, "never"],
249
+ "subject-full-stop": [2 /* Error */, "never", "."],
250
+ "subject-max-length": [2 /* Error */, "always", 150],
251
+ "subject-min-length": [2 /* Error */, "always", 3],
252
+ "type-case": [2 /* Error */, "always", "kebab-case"],
253
+ "type-empty": [2 /* Error */, "never"],
254
+ "type-enum": [
255
+ 2 /* Error */,
256
+ "always",
257
+ Object.keys(COMMIT_TYPES)
258
+ ],
259
+ "type-max-length": [2 /* Error */, "always", 20],
260
+ "type-min-length": [2 /* Error */, "always", 3],
261
+ "scope-case": 0 /* Disabled */,
262
+ "scope-empty": 0 /* Disabled */
263
+ };
264
+ var DEFAULT_MONOREPO_COMMIT_RULES = {
265
+ "body-leading-blank": [1 /* Warning */, "always"],
266
+ "body-max-length": [2 /* Error */, "always", 600],
267
+ "footer-leading-blank": [1 /* Warning */, "always"],
268
+ "footer-max-line-length": [2 /* Error */, "always", 150],
269
+ "header-max-length": [2 /* Error */, "always", 150],
270
+ "header-trim": [2 /* Error */, "always"],
271
+ "subject-case": [2 /* Error */, "always", ["sentence-case"]],
272
+ "subject-empty": [2 /* Error */, "never"],
273
+ "subject-full-stop": [2 /* Error */, "never", "."],
274
+ "subject-max-length": [2 /* Error */, "always", 150],
275
+ "subject-min-length": [2 /* Error */, "always", 3],
276
+ "type-case": [2 /* Error */, "always", "kebab-case"],
277
+ "type-empty": [2 /* Error */, "never"],
278
+ "type-enum": [
279
+ 2 /* Error */,
280
+ "always",
281
+ Object.keys(COMMIT_TYPES)
282
+ ],
283
+ "type-max-length": [2 /* Error */, "always", 20],
284
+ "type-min-length": [2 /* Error */, "always", 3],
285
+ "scope-case": [2 /* Error */, "always", ["kebab-case"]],
286
+ "scope-empty": [2 /* Error */, "never"]
287
+ };
231
288
 
232
289
  // ../git-tools/src/release/config.ts
233
290
  var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
234
- questions: DEFAULT_COMMIT_QUESTIONS,
291
+ questions: DEFAULT_MONOREPO_COMMIT_QUESTIONS,
235
292
  types: COMMIT_TYPES
236
293
  };
237
294
 
@@ -266,7 +323,7 @@ async function releaseVersionGeneratorFn(tree, options, config) {
266
323
  - workspaceRoot: ${workspaceRoot}`,
267
324
  config
268
325
  );
269
- config = await _chunkUIMN2SI7js.getConfig.call(void 0, workspaceRoot);
326
+ config = await _chunkOSMA3OJGjs.getConfig.call(void 0, workspaceRoot);
270
327
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
271
328
  `Generator schema options \u2699\uFE0F
272
329
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).filter(
@@ -348,6 +348,13 @@ var workspaceDirectorySchema = z.object({
348
348
  schemaRegistry.add(workspaceDirectorySchema, {
349
349
  description: "Various directories used by the workspace to store data, cache, and configuration files"
350
350
  });
351
+ var variantSchema = z._default(
352
+ z.enum(["minimal", "monorepo"]),
353
+ "monorepo"
354
+ );
355
+ schemaRegistry.add(variantSchema, {
356
+ description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
357
+ });
351
358
  var errorCodesFileSchema = z._default(
352
359
  z.string().check(z.trim()),
353
360
  STORM_DEFAULT_ERROR_CODES_FILE
@@ -545,6 +552,7 @@ var workspaceConfigSchema = z.object({
545
552
  $schema: schemaNameSchema,
546
553
  extends: extendsSchema,
547
554
  name: nameSchema,
555
+ variant: variantSchema,
548
556
  namespace: namespaceSchema,
549
557
  organization: orgSchema,
550
558
  repository: repositorySchema,
@@ -787,6 +795,7 @@ var getConfigEnv = () => {
787
795
  let config = {
788
796
  extends: process.env[`${prefix}EXTENDS`] || void 0,
789
797
  name: process.env[`${prefix}NAME`] || void 0,
798
+ variant: process.env[`${prefix}VARIANT`] || void 0,
790
799
  namespace: process.env[`${prefix}NAMESPACE`] || void 0,
791
800
  owner: process.env[`${prefix}OWNER`] || void 0,
792
801
  bot: {
@@ -1011,6 +1020,9 @@ var setConfigEnv = (config) => {
1011
1020
  if (config.name) {
1012
1021
  process.env[`${prefix}NAME`] = config.name;
1013
1022
  }
1023
+ if (config.variant) {
1024
+ process.env[`${prefix}VARIANT`] = config.variant;
1025
+ }
1014
1026
  if (config.namespace) {
1015
1027
  process.env[`${prefix}NAMESPACE`] = config.namespace;
1016
1028
  }
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-BZ6SXWSL.mjs";
7
+ } from "./chunk-T25RSZNX.mjs";
8
8
 
9
9
  // src/executors/cargo-doc/executor.ts
10
10
  async function cargoDocExecutor(options, context) {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkWPV7WV6Wjs = require('./chunk-WPV7WV6W.js');
3
+ var _chunkVGRHMX4Gjs = require('./chunk-VGRHMX4G.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkUIMN2SI7js = require('./chunk-UIMN2SI7.js');
7
+ var _chunkOSMA3OJGjs = require('./chunk-OSMA3OJG.js');
8
8
 
9
9
 
10
10
 
@@ -26,9 +26,9 @@ async function configSchemaGeneratorFn(tree, options, config) {
26
26
  `Determining the Storm Workspace Configuration JSON Schema...`,
27
27
  config
28
28
  );
29
- const jsonSchema = z.toJSONSchema(_chunkUIMN2SI7js.workspaceConfigSchema, {
29
+ const jsonSchema = z.toJSONSchema(_chunkOSMA3OJGjs.workspaceConfigSchema, {
30
30
  target: "draft-7",
31
- metadata: _chunkUIMN2SI7js.schemaRegistry
31
+ metadata: _chunkOSMA3OJGjs.schemaRegistry
32
32
  });
33
33
  jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
34
34
  jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
@@ -57,7 +57,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
57
57
  success: true
58
58
  };
59
59
  }
60
- var generator_default = _chunkWPV7WV6Wjs.withRunGenerator.call(void 0,
60
+ var generator_default = _chunkVGRHMX4Gjs.withRunGenerator.call(void 0,
61
61
  "Configuration Schema Creator",
62
62
  configSchemaGeneratorFn,
63
63
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QC5ON3X4.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-BSZKXTQ7.mjs";
7
+ } from "./chunk-V3SVHUFX.mjs";
8
8
  import {
9
9
  __dirname
10
10
  } from "./chunk-VHSLNH66.mjs";
@@ -348,6 +348,13 @@ var workspaceDirectorySchema = z.object({
348
348
  schemaRegistry.add(workspaceDirectorySchema, {
349
349
  description: "Various directories used by the workspace to store data, cache, and configuration files"
350
350
  });
351
+ var variantSchema = z._default(
352
+ z.enum(["minimal", "monorepo"]),
353
+ "monorepo"
354
+ );
355
+ schemaRegistry.add(variantSchema, {
356
+ description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
357
+ });
351
358
  var errorCodesFileSchema = z._default(
352
359
  z.string().check(z.trim()),
353
360
  STORM_DEFAULT_ERROR_CODES_FILE
@@ -545,6 +552,7 @@ var workspaceConfigSchema = z.object({
545
552
  $schema: schemaNameSchema,
546
553
  extends: extendsSchema,
547
554
  name: nameSchema,
555
+ variant: variantSchema,
548
556
  namespace: namespaceSchema,
549
557
  organization: orgSchema,
550
558
  repository: repositorySchema,
@@ -787,6 +795,7 @@ var getConfigEnv = () => {
787
795
  let config = {
788
796
  extends: process.env[`${prefix}EXTENDS`] || void 0,
789
797
  name: process.env[`${prefix}NAME`] || void 0,
798
+ variant: process.env[`${prefix}VARIANT`] || void 0,
790
799
  namespace: process.env[`${prefix}NAMESPACE`] || void 0,
791
800
  owner: process.env[`${prefix}OWNER`] || void 0,
792
801
  bot: {
@@ -1011,6 +1020,9 @@ var setConfigEnv = (config) => {
1011
1020
  if (config.name) {
1012
1021
  process.env[`${prefix}NAME`] = config.name;
1013
1022
  }
1023
+ if (config.variant) {
1024
+ process.env[`${prefix}VARIANT`] = config.variant;
1025
+ }
1014
1026
  if (config.namespace) {
1015
1027
  process.env[`${prefix}NAMESPACE`] = config.namespace;
1016
1028
  }