@storm-software/workspace-tools 1.277.34 → 1.277.35

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 (133) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +1 -2
  3. package/dist/{chunk-UXALGSQC.js → chunk-334J5IXK.js} +2 -2
  4. package/dist/{chunk-3TYXXJKV.js → chunk-4DLKOUQA.js} +2 -2
  5. package/dist/{chunk-R7DNGWVO.js → chunk-5BOL6D4L.js} +2 -2
  6. package/dist/{chunk-S2N53PIP.js → chunk-5L75MUAB.js} +2 -2
  7. package/dist/{chunk-ZFA26D42.mjs → chunk-7BLTZYJ3.mjs} +1 -1
  8. package/dist/{chunk-J2Z4WP3E.js → chunk-A77PFJ72.js} +2 -2
  9. package/dist/{chunk-6WBXO6UH.js → chunk-BWPSZXXW.js} +2 -2
  10. package/dist/{chunk-KZIA4CGL.js → chunk-CBPC6BVR.js} +24 -24
  11. package/dist/{chunk-SW2AFRXA.mjs → chunk-D4QG6XOG.mjs} +1 -1
  12. package/dist/{chunk-EUWPFP5C.mjs → chunk-DYIS436F.mjs} +1 -1
  13. package/dist/{chunk-K262HGVZ.mjs → chunk-ENPVXQZG.mjs} +1 -1
  14. package/dist/{chunk-3ZBMLG4D.mjs → chunk-FHBOYSRN.mjs} +17 -13
  15. package/dist/{chunk-PGIUP33N.mjs → chunk-FI4YJWQR.mjs} +4 -4
  16. package/dist/{chunk-QPCOSMXY.mjs → chunk-G4AFFXLB.mjs} +2 -2
  17. package/dist/{chunk-XBRR6YS3.js → chunk-GWJER63Y.js} +2 -2
  18. package/dist/{chunk-4WHSR4FK.js → chunk-HNFKVXBV.js} +0 -1
  19. package/dist/{chunk-6UFOMB3R.mjs → chunk-HTECEOBH.mjs} +40 -41
  20. package/dist/{chunk-NFK6PGAC.mjs → chunk-I2JPIOP6.mjs} +1 -1
  21. package/dist/{chunk-6XYAQUU3.js → chunk-IEZIXYOC.js} +26 -26
  22. package/dist/{chunk-GH5ABWPU.mjs → chunk-IMF332I2.mjs} +1 -1
  23. package/dist/{chunk-ABUZEUF7.js → chunk-IQCBMNCA.js} +2 -2
  24. package/dist/{chunk-ZRTYYXDL.mjs → chunk-K42K44IQ.mjs} +3 -3
  25. package/dist/{chunk-E566KBB3.js → chunk-KE2XVUHC.js} +5 -5
  26. package/dist/{chunk-VLOTOQYE.mjs → chunk-KLAMLNPM.mjs} +1 -1
  27. package/dist/{chunk-X6PHOMFB.mjs → chunk-KYGWN2MB.mjs} +1 -1
  28. package/dist/{chunk-NQ525HTH.mjs → chunk-L4RTU5C6.mjs} +4 -4
  29. package/dist/{chunk-LSF4BHCI.mjs → chunk-M5Z57CUO.mjs} +0 -1
  30. package/dist/{chunk-AQOT2IAM.js → chunk-MOD3ND43.js} +34 -34
  31. package/dist/{chunk-V5564COA.mjs → chunk-MY3L5HV6.mjs} +4 -4
  32. package/dist/{chunk-EC7YQEHT.js → chunk-NPYZUWJH.js} +2 -2
  33. package/dist/{chunk-5VY5IBBQ.js → chunk-NSSJMQFD.js} +16 -12
  34. package/dist/{chunk-RVJSZ7SI.js → chunk-NYAM2TPQ.js} +4 -4
  35. package/dist/{chunk-VRPEYRWI.mjs → chunk-OKEHKFS6.mjs} +1 -1
  36. package/dist/{chunk-L4NCVOB5.mjs → chunk-OWKH2ZBQ.mjs} +1 -1
  37. package/dist/{chunk-OQUI7H7Z.js → chunk-P7VPITZA.js} +2 -2
  38. package/dist/{chunk-V53473BD.js → chunk-Q4VGUJQZ.js} +2 -2
  39. package/dist/{chunk-Q7MIY2SX.mjs → chunk-QGUKFIB7.mjs} +1 -1
  40. package/dist/{chunk-XPFT4BMH.mjs → chunk-QMELEYB5.mjs} +1 -1
  41. package/dist/{chunk-65P2PGPR.js → chunk-QSAXCKSA.js} +5 -5
  42. package/dist/{chunk-3OVLNULV.js → chunk-S62KQPMR.js} +2 -2
  43. package/dist/{chunk-7IPJE3E3.mjs → chunk-T3MDVD7M.mjs} +4 -4
  44. package/dist/{chunk-PPMPCT7K.mjs → chunk-T5J6PFWJ.mjs} +2 -2
  45. package/dist/{chunk-7YUXBCFS.js → chunk-TXFPVY55.js} +11 -11
  46. package/dist/{chunk-A5CKB6IJ.js → chunk-UZ63ALZQ.js} +2 -2
  47. package/dist/{chunk-HWCERW6A.mjs → chunk-V3O4MYED.mjs} +1 -1
  48. package/dist/{chunk-BDA4N25E.js → chunk-VK52Z2DT.js} +25 -25
  49. package/dist/{chunk-YDXXSCNG.mjs → chunk-VZTL36R3.mjs} +1 -1
  50. package/dist/{chunk-ZLVVUMYO.js → chunk-WJ47CTAU.js} +2 -2
  51. package/dist/{chunk-3CPOV3N6.mjs → chunk-WMOEEQFZ.mjs} +1 -1
  52. package/dist/{chunk-TJ3JPU6C.js → chunk-X5VVVLBK.js} +2 -2
  53. package/dist/{chunk-BP22TRDI.js → chunk-X5WLGOL5.js} +2 -2
  54. package/dist/{chunk-55FODDLQ.mjs → chunk-XSLQUWWH.mjs} +2 -2
  55. package/dist/{chunk-3VAHUUNQ.mjs → chunk-XYJH3GTI.mjs} +1 -1
  56. package/dist/{chunk-6RHHYXZE.mjs → chunk-Y6HJGXM6.mjs} +1 -1
  57. package/dist/{chunk-QEU3B4T6.js → chunk-YQHPAR7K.js} +21 -21
  58. package/dist/{chunk-JRQIA2WV.js → chunk-YWOZ2IOU.js} +2 -2
  59. package/dist/{chunk-PG7GBHUM.mjs → chunk-ZB76VIIN.mjs} +2 -2
  60. package/dist/{chunk-TZJGO4US.js → chunk-ZX3GIY5S.js} +40 -41
  61. package/dist/executors.js +19 -19
  62. package/dist/executors.mjs +23 -23
  63. package/dist/generators.js +14 -14
  64. package/dist/generators.mjs +16 -16
  65. package/dist/index.d.mts +1 -1
  66. package/dist/index.d.ts +1 -1
  67. package/dist/index.js +32 -30
  68. package/dist/index.mjs +40 -38
  69. package/dist/src/base/base-executor.js +6 -6
  70. package/dist/src/base/base-executor.mjs +5 -5
  71. package/dist/src/base/base-generator.js +6 -6
  72. package/dist/src/base/base-generator.mjs +5 -5
  73. package/dist/src/base/index.js +7 -7
  74. package/dist/src/base/index.mjs +6 -6
  75. package/dist/src/executors/cargo-build/executor.js +7 -7
  76. package/dist/src/executors/cargo-build/executor.mjs +6 -6
  77. package/dist/src/executors/cargo-check/executor.js +7 -7
  78. package/dist/src/executors/cargo-check/executor.mjs +6 -6
  79. package/dist/src/executors/cargo-clippy/executor.js +7 -7
  80. package/dist/src/executors/cargo-clippy/executor.mjs +6 -6
  81. package/dist/src/executors/cargo-doc/executor.js +7 -7
  82. package/dist/src/executors/cargo-doc/executor.mjs +6 -6
  83. package/dist/src/executors/cargo-format/executor.js +7 -7
  84. package/dist/src/executors/cargo-format/executor.mjs +6 -6
  85. package/dist/src/executors/cargo-publish/executor.js +5 -5
  86. package/dist/src/executors/cargo-publish/executor.mjs +4 -4
  87. package/dist/src/executors/clean-package/executor.js +8 -8
  88. package/dist/src/executors/clean-package/executor.mjs +5 -5
  89. package/dist/src/executors/esbuild/executor.js +7 -7
  90. package/dist/src/executors/esbuild/executor.mjs +6 -6
  91. package/dist/src/executors/npm-publish/executor.js +6 -6
  92. package/dist/src/executors/npm-publish/executor.mjs +5 -5
  93. package/dist/src/executors/size-limit/executor.js +7 -7
  94. package/dist/src/executors/size-limit/executor.mjs +6 -6
  95. package/dist/src/executors/typia/executor.js +7 -7
  96. package/dist/src/executors/typia/executor.mjs +6 -6
  97. package/dist/src/executors/unbuild/executor.js +7 -7
  98. package/dist/src/executors/unbuild/executor.mjs +6 -6
  99. package/dist/src/generators/browser-library/generator.js +7 -7
  100. package/dist/src/generators/browser-library/generator.mjs +6 -6
  101. package/dist/src/generators/config-schema/generator.js +7 -7
  102. package/dist/src/generators/config-schema/generator.mjs +6 -6
  103. package/dist/src/generators/neutral-library/generator.js +7 -7
  104. package/dist/src/generators/neutral-library/generator.mjs +6 -6
  105. package/dist/src/generators/node-library/generator.js +7 -7
  106. package/dist/src/generators/node-library/generator.mjs +6 -6
  107. package/dist/src/generators/preset/generator.js +7 -7
  108. package/dist/src/generators/preset/generator.mjs +6 -6
  109. package/dist/src/generators/release-version/generator.js +6 -6
  110. package/dist/src/generators/release-version/generator.mjs +5 -5
  111. package/dist/src/plugins/typescript/index.js +3 -3
  112. package/dist/src/plugins/typescript/index.mjs +2 -2
  113. package/dist/src/plugins/typescript/project-config.js +3 -3
  114. package/dist/src/plugins/typescript/project-config.mjs +2 -2
  115. package/dist/src/plugins/typescript/tsup.js +22 -19
  116. package/dist/src/plugins/typescript/tsup.mjs +21 -18
  117. package/dist/src/plugins/typescript/untyped-schema.js +18 -15
  118. package/dist/src/plugins/typescript/untyped-schema.mjs +18 -15
  119. package/dist/src/utils/apply-workspace-tokens.js +3 -3
  120. package/dist/src/utils/apply-workspace-tokens.mjs +2 -2
  121. package/dist/src/utils/get-project-configurations.js +3 -3
  122. package/dist/src/utils/get-project-configurations.mjs +2 -2
  123. package/dist/src/utils/index.d.mts +1 -1
  124. package/dist/src/utils/index.d.ts +1 -1
  125. package/dist/src/utils/index.js +10 -8
  126. package/dist/src/utils/index.mjs +10 -8
  127. package/dist/src/utils/package-helpers.js +5 -5
  128. package/dist/src/utils/package-helpers.mjs +4 -4
  129. package/dist/src/utils/plugin-helpers.d.mts +7 -6
  130. package/dist/src/utils/plugin-helpers.d.ts +7 -6
  131. package/dist/src/utils/plugin-helpers.js +4 -2
  132. package/dist/src/utils/plugin-helpers.mjs +5 -3
  133. package/package.json +5 -5
@@ -1,6 +1,7 @@
1
1
  import {
2
- getProjectPlatform
3
- } from "./chunk-3ZBMLG4D.mjs";
2
+ getProjectPlatform,
3
+ getRoot
4
+ } from "./chunk-FHBOYSRN.mjs";
4
5
  import {
5
6
  ProjectTagConstants,
6
7
  addProjectTag,
@@ -12,6 +13,7 @@ import {
12
13
  import {
13
14
  createNodesFromFiles
14
15
  } from "@nx/devkit";
16
+ import defu from "defu";
15
17
  import { existsSync } from "node:fs";
16
18
  import { dirname, join } from "node:path";
17
19
  import { readNxJson } from "nx/src/config/nx-json.js";
@@ -22,38 +24,35 @@ var name = "storm-software/typescript";
22
24
  var createNodesV2 = [
23
25
  "{project.json,**/project.json}",
24
26
  async (configFiles, options = { includeApps: true }, context) => {
25
- return await createNodesFromFiles(
27
+ return createNodesFromFiles(
26
28
  async (file, options2 = { includeApps: true }, context2) => {
27
29
  try {
28
30
  const packageJson = createPackageJson(file, context2.workspaceRoot);
29
31
  if (!packageJson) {
30
- return [];
32
+ return {};
31
33
  }
32
34
  const tsconfig = await createTsconfig(file, context2.workspaceRoot);
33
35
  if (!tsconfig) {
34
- return [];
36
+ return {};
35
37
  }
36
- const project = createProjectFromPackageJsonNextToProjectJson(
38
+ const projectConfig = createProjectFromPackageJsonNextToProjectJson(
37
39
  file,
38
40
  packageJson
39
41
  );
40
- if (options2?.includeApps === false && project.projectType === "application") {
41
- return [];
42
- }
43
- let relativeRoot = project.root.replaceAll("\\", "/").replace(context2.workspaceRoot.replaceAll("\\", "/"), "");
44
- if (relativeRoot.startsWith("/")) {
45
- relativeRoot = relativeRoot.slice(1);
42
+ if (options2?.includeApps === false && projectConfig.projectType === "application") {
43
+ return {};
46
44
  }
45
+ const root = getRoot(projectConfig.root, context2);
47
46
  const enableMarkdownlint = options2?.enableMarkdownlint !== false;
48
47
  const enableEslint = options2?.enableEslint !== false;
49
48
  const nxJson = readNxJson(context2.workspaceRoot);
50
49
  const targets = readTargetsFromPackageJson(
51
50
  packageJson,
52
51
  nxJson,
53
- project.root,
52
+ projectConfig.root,
54
53
  context2.workspaceRoot
55
54
  );
56
- if (join(context2.workspaceRoot, project.root).startsWith(
55
+ if (join(context2.workspaceRoot, projectConfig.root).startsWith(
57
56
  join(context2.workspaceRoot, "tools")
58
57
  ) && options2?.lintInternalTools !== true) {
59
58
  targets.lint = {
@@ -92,7 +91,7 @@ var createNodesV2 = [
92
91
  };
93
92
  }
94
93
  if (!targets.lint && enableEslint) {
95
- let eslintConfig = checkEslintConfigAtPath(project.root);
94
+ let eslintConfig = checkEslintConfigAtPath(projectConfig.root);
96
95
  if (!eslintConfig) {
97
96
  eslintConfig = checkEslintConfigAtPath(context2.workspaceRoot);
98
97
  }
@@ -189,11 +188,11 @@ var createNodesV2 = [
189
188
  inputs: ["typescript", "default", "^production"],
190
189
  outputs: ["{workspaceRoot}/dist/{projectRoot}"],
191
190
  options: {
192
- command: `pnpm exec nx run ${project.name}:build`
191
+ command: `pnpm exec nx run ${projectConfig.name}:build`
193
192
  }
194
193
  };
195
194
  }
196
- if (!targets.test && checkJestConfigAtPath(project.root)) {
195
+ if (!targets.test && checkJestConfigAtPath(projectConfig.root)) {
197
196
  targets.test = {
198
197
  cache: true,
199
198
  executor: "@nx/jest:jest",
@@ -223,7 +222,7 @@ var createNodesV2 = [
223
222
  const isPrivate = packageJson.private ?? false;
224
223
  if (!isPrivate) {
225
224
  addProjectTag(
226
- project,
225
+ projectConfig,
227
226
  ProjectTagConstants.Registry.TAG_ID,
228
227
  ProjectTagConstants.Registry.NPM,
229
228
  { overwrite: true }
@@ -233,12 +232,12 @@ var createNodesV2 = [
233
232
  executor: "@storm-software/workspace-tools:npm-publish",
234
233
  options: {}
235
234
  };
236
- if (project.projectType === "application" || isEqualProjectTag(
237
- project,
235
+ if (projectConfig.projectType === "application" || isEqualProjectTag(
236
+ projectConfig,
238
237
  ProjectTagConstants.ProjectType.TAG_ID,
239
238
  ProjectTagConstants.ProjectType.APPLICATION
240
239
  ) || isEqualProjectTag(
241
- project,
240
+ projectConfig,
242
241
  ProjectTagConstants.DistStyle.TAG_ID,
243
242
  ProjectTagConstants.DistStyle.CLEAN
244
243
  )) {
@@ -264,16 +263,16 @@ var createNodesV2 = [
264
263
  }
265
264
  }
266
265
  addProjectTag(
267
- project,
266
+ projectConfig,
268
267
  ProjectTagConstants.Language.TAG_ID,
269
268
  ProjectTagConstants.Language.TYPESCRIPT,
270
269
  { overwrite: true }
271
270
  );
272
- const platform = getProjectPlatform(project);
271
+ const platform = getProjectPlatform(projectConfig);
273
272
  switch (platform) {
274
273
  case "worker":
275
274
  addProjectTag(
276
- project,
275
+ projectConfig,
277
276
  ProjectTagConstants.Platform.TAG_ID,
278
277
  ProjectTagConstants.Platform.WORKER,
279
278
  { overwrite: true }
@@ -281,7 +280,7 @@ var createNodesV2 = [
281
280
  break;
282
281
  case "node":
283
282
  addProjectTag(
284
- project,
283
+ projectConfig,
285
284
  ProjectTagConstants.Platform.TAG_ID,
286
285
  ProjectTagConstants.Platform.NODE,
287
286
  { overwrite: true }
@@ -289,7 +288,7 @@ var createNodesV2 = [
289
288
  break;
290
289
  case "browser":
291
290
  addProjectTag(
292
- project,
291
+ projectConfig,
293
292
  ProjectTagConstants.Platform.TAG_ID,
294
293
  ProjectTagConstants.Platform.BROWSER,
295
294
  { overwrite: true }
@@ -297,30 +296,30 @@ var createNodesV2 = [
297
296
  break;
298
297
  default:
299
298
  addProjectTag(
300
- project,
299
+ projectConfig,
301
300
  ProjectTagConstants.Platform.TAG_ID,
302
301
  ProjectTagConstants.Platform.NEUTRAL,
303
302
  { overwrite: true }
304
303
  );
305
304
  break;
306
305
  }
307
- setDefaultProjectTags(project, name);
308
- return project?.name ? {
306
+ setDefaultProjectTags(projectConfig, name);
307
+ return {
309
308
  projects: {
310
- [project.name]: {
311
- ...project,
312
- root: relativeRoot,
313
- targets,
314
- release: {
315
- ...project?.release,
316
- version: {
317
- ...project?.release?.version,
318
- generator: "@storm-software/workspace-tools:release-version"
309
+ [root]: defu(
310
+ {
311
+ root,
312
+ targets,
313
+ release: {
314
+ version: {
315
+ generator: "@storm-software/workspace-tools:release-version"
316
+ }
319
317
  }
320
- }
321
- }
318
+ },
319
+ projectConfig
320
+ )
322
321
  }
323
- } : {};
322
+ };
324
323
  } catch (e) {
325
324
  console.error(e);
326
325
  return {};
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-V5564COA.mjs";
7
+ } from "./chunk-MY3L5HV6.mjs";
8
8
 
9
9
  // src/executors/cargo-check/executor.ts
10
10
  async function cargoCheckExecutor(options, context) {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
4
+ var _chunkA77PFJ72js = require('./chunk-A77PFJ72.js');
5
5
 
6
6
 
7
- var _chunkBDA4N25Ejs = require('./chunk-BDA4N25E.js');
7
+ var _chunkVK52Z2DTjs = require('./chunk-VK52Z2DT.js');
8
8
 
9
9
 
10
10
 
@@ -14,15 +14,15 @@ var _chunkBDA4N25Ejs = require('./chunk-BDA4N25E.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkBP22TRDIjs = require('./chunk-BP22TRDI.js');
17
+ var _chunkX5WLGOL5js = require('./chunk-X5WLGOL5.js');
18
18
 
19
19
 
20
- var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
20
+ var _chunkHNFKVXBVjs = require('./chunk-HNFKVXBV.js');
21
21
 
22
22
  // src/base/base-executor.ts
23
23
  var _defu = require('defu');
24
24
  var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
25
- const stopwatch = _chunkBP22TRDIjs.getStopwatch.call(void 0, name);
25
+ const stopwatch = _chunkX5WLGOL5js.getStopwatch.call(void 0, name);
26
26
  let options = _options;
27
27
  let config = {};
28
28
  try {
@@ -31,14 +31,14 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
31
31
  "The Build process failed because the context is not valid. Please run this command from a workspace."
32
32
  );
33
33
  }
34
- const workspaceRoot = _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, );
34
+ const workspaceRoot = _chunkHNFKVXBVjs.findWorkspaceRoot.call(void 0, );
35
35
  const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot;
36
36
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
37
37
  const projectName = context.projectName;
38
38
  config.workspaceRoot = workspaceRoot;
39
- _chunkBP22TRDIjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
39
+ _chunkX5WLGOL5js.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
40
40
  if (!executorOptions.skipReadingConfig) {
41
- _chunkBP22TRDIjs.writeTrace.call(void 0,
41
+ _chunkX5WLGOL5js.writeTrace.call(void 0,
42
42
  `Loading the Storm Config from environment variables and storm.config.js file...
43
43
  - workspaceRoot: ${workspaceRoot}
44
44
  - projectRoot: ${projectRoot}
@@ -47,42 +47,42 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
47
47
  `,
48
48
  config
49
49
  );
50
- config = await _chunkBDA4N25Ejs.getConfig.call(void 0, workspaceRoot);
50
+ config = await _chunkVK52Z2DTjs.getConfig.call(void 0, workspaceRoot);
51
51
  }
52
52
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
53
- _chunkBP22TRDIjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
53
+ _chunkX5WLGOL5js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
54
54
  options = await Promise.resolve(
55
55
  executorOptions.hooks.applyDefaultOptions(options, config)
56
56
  );
57
- _chunkBP22TRDIjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
57
+ _chunkX5WLGOL5js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
58
58
  }
59
- _chunkBP22TRDIjs.writeTrace.call(void 0,
59
+ _chunkX5WLGOL5js.writeTrace.call(void 0,
60
60
  `Executor schema options \u2699\uFE0F
61
- ${_chunkBP22TRDIjs.formatLogMessage.call(void 0, options)}
61
+ ${_chunkX5WLGOL5js.formatLogMessage.call(void 0, options)}
62
62
  `,
63
63
  config
64
64
  );
65
- const tokenized = await _chunkJ2Z4WP3Ejs.applyWorkspaceTokens.call(void 0,
65
+ const tokenized = await _chunkA77PFJ72js.applyWorkspaceTokens.call(void 0,
66
66
  options,
67
67
  _defu.defu.call(void 0,
68
68
  { workspaceRoot, projectRoot, sourceRoot, projectName, config },
69
69
  config,
70
70
  context.projectsConfigurations.projects[context.projectName]
71
71
  ),
72
- _chunkJ2Z4WP3Ejs.applyWorkspaceProjectTokens
72
+ _chunkA77PFJ72js.applyWorkspaceProjectTokens
73
73
  );
74
- _chunkBP22TRDIjs.writeTrace.call(void 0,
74
+ _chunkX5WLGOL5js.writeTrace.call(void 0,
75
75
  `Executor schema tokenized options \u2699\uFE0F
76
- ${_chunkBP22TRDIjs.formatLogMessage.call(void 0, tokenized)}
76
+ ${_chunkX5WLGOL5js.formatLogMessage.call(void 0, tokenized)}
77
77
  `,
78
78
  config
79
79
  );
80
80
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
81
- _chunkBP22TRDIjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
81
+ _chunkX5WLGOL5js.writeDebug.call(void 0, "Running the preProcess hook...", config);
82
82
  await Promise.resolve(
83
83
  executorOptions.hooks.preProcess(tokenized, config)
84
84
  );
85
- _chunkBP22TRDIjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
85
+ _chunkX5WLGOL5js.writeDebug.call(void 0, "Completed the preProcess hook", config);
86
86
  }
87
87
  const ret = executorFn(tokenized, context, config);
88
88
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -95,9 +95,9 @@ ${_chunkBP22TRDIjs.formatLogMessage.call(void 0, tokenized)}
95
95
  ret
96
96
  );
97
97
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
98
- _chunkBP22TRDIjs.writeTrace.call(void 0,
98
+ _chunkX5WLGOL5js.writeTrace.call(void 0,
99
99
  `Failure determined by the ${name} executor
100
- ${_chunkBP22TRDIjs.formatLogMessage.call(void 0, result)}`,
100
+ ${_chunkX5WLGOL5js.formatLogMessage.call(void 0, result)}`,
101
101
  config
102
102
  );
103
103
  console.error(result);
@@ -106,21 +106,21 @@ ${_chunkBP22TRDIjs.formatLogMessage.call(void 0, result)}`,
106
106
  });
107
107
  }
108
108
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
109
- _chunkBP22TRDIjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
109
+ _chunkX5WLGOL5js.writeDebug.call(void 0, "Running the postProcess hook...", config);
110
110
  await Promise.resolve(executorOptions.hooks.postProcess(config));
111
- _chunkBP22TRDIjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
111
+ _chunkX5WLGOL5js.writeDebug.call(void 0, "Completed the postProcess hook", config);
112
112
  }
113
- _chunkBP22TRDIjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
113
+ _chunkX5WLGOL5js.writeSuccess.call(void 0, `Completed running the ${name} task executor!
114
114
  `, config);
115
115
  return {
116
116
  success: true
117
117
  };
118
118
  } catch (error) {
119
- _chunkBP22TRDIjs.writeFatal.call(void 0,
119
+ _chunkX5WLGOL5js.writeFatal.call(void 0,
120
120
  "A fatal error occurred while running the executor - the process was forced to terminate",
121
121
  config
122
122
  );
123
- _chunkBP22TRDIjs.writeError.call(void 0,
123
+ _chunkX5WLGOL5js.writeError.call(void 0,
124
124
  `An exception was thrown in the executor's process
125
125
  - Details: ${error.message}
126
126
  - Stacktrace: ${error.stack}`,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseCargoToml
3
- } from "./chunk-EUWPFP5C.mjs";
3
+ } from "./chunk-DYIS436F.mjs";
4
4
 
5
5
  // src/executors/cargo-publish/executor.ts
6
6
  import { joinPathFragments } from "@nx/devkit";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkUXALGSQCjs = require('./chunk-UXALGSQC.js');
3
+ var _chunk334J5IXKjs = require('./chunk-334J5IXK.js');
4
4
 
5
5
  // src/executors/cargo-publish/executor.ts
6
6
  var _devkit = require('@nx/devkit');
@@ -25,7 +25,7 @@ async function runExecutor(options, context) {
25
25
  context.root,
26
26
  options.packageRoot ? options.packageRoot : root
27
27
  );
28
- const cargoToml = _chunkUXALGSQCjs.parseCargoToml.call(void 0,
28
+ const cargoToml = _chunk334J5IXKjs.parseCargoToml.call(void 0,
29
29
  _fs.readFileSync.call(void 0, _devkit.joinPathFragments.call(void 0, packageRoot, "Cargo.toml"), "utf-8")
30
30
  );
31
31
  try {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-PGIUP33N.mjs";
3
+ } from "./chunk-FI4YJWQR.mjs";
4
4
  import {
5
5
  stormWorkspaceConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-SW2AFRXA.mjs";
9
+ } from "./chunk-D4QG6XOG.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
- } from "./chunk-LSF4BHCI.mjs";
12
+ } from "./chunk-M5Z57CUO.mjs";
13
13
 
14
14
  // src/generators/config-schema/generator.ts
15
15
  import { formatFiles, writeJson } from "@nx/devkit";
@@ -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 _chunk6XYAQUU3js = require('./chunk-6XYAQUU3.js');
3
+ var _chunkIEZIXYOCjs = require('./chunk-IEZIXYOC.js');
4
4
 
5
5
 
6
- var _chunkBP22TRDIjs = require('./chunk-BP22TRDI.js');
6
+ var _chunkX5WLGOL5js = require('./chunk-X5WLGOL5.js');
7
7
 
8
8
  // src/executors/size-limit/executor.ts
9
9
  var _devkit = require('@nx/devkit');
@@ -17,14 +17,14 @@ async function sizeLimitExecutorFn(options, context, config) {
17
17
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
18
18
  );
19
19
  }
20
- _chunkBP22TRDIjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
20
+ _chunkX5WLGOL5js.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
21
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
22
22
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
23
23
  _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")),
24
24
  "src"
25
25
  )))
26
26
  }).then((result) => {
27
- _chunkBP22TRDIjs.writeInfo.call(void 0,
27
+ _chunkX5WLGOL5js.writeInfo.call(void 0,
28
28
  `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
29
29
  config
30
30
  );
@@ -33,7 +33,7 @@ async function sizeLimitExecutorFn(options, context, config) {
33
33
  success: true
34
34
  };
35
35
  }
36
- var executor_default = _chunk6XYAQUU3js.withRunExecutor.call(void 0,
36
+ var executor_default = _chunkIEZIXYOCjs.withRunExecutor.call(void 0,
37
37
  "Size-Limit Performance Test Executor",
38
38
  sizeLimitExecutorFn,
39
39
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-LSF4BHCI.mjs";
3
+ } from "./chunk-M5Z57CUO.mjs";
4
4
 
5
5
  // src/utils/apply-workspace-tokens.ts
6
6
  var applyWorkspaceExecutorTokens = async (option, tokenizerOptions) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findWorkspaceRoot
3
- } from "./chunk-LSF4BHCI.mjs";
3
+ } from "./chunk-M5Z57CUO.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
6
6
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -3,10 +3,10 @@ import {
3
3
  parseCargoToml,
4
4
  parseCargoTomlWithTree,
5
5
  stringifyCargoToml
6
- } from "./chunk-EUWPFP5C.mjs";
6
+ } from "./chunk-DYIS436F.mjs";
7
7
  import {
8
8
  getConfig
9
- } from "./chunk-PG7GBHUM.mjs";
9
+ } from "./chunk-ZB76VIIN.mjs";
10
10
  import {
11
11
  getStopwatch,
12
12
  writeDebug,
@@ -15,10 +15,10 @@ import {
15
15
  writeInfo,
16
16
  writeSuccess,
17
17
  writeTrace
18
- } from "./chunk-SW2AFRXA.mjs";
18
+ } from "./chunk-D4QG6XOG.mjs";
19
19
  import {
20
20
  findWorkspaceRoot
21
- } from "./chunk-LSF4BHCI.mjs";
21
+ } from "./chunk-M5Z57CUO.mjs";
22
22
 
23
23
  // src/generators/release-version/generator.ts
24
24
  import {
@@ -28,7 +28,6 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
28
28
 
29
29
  // ../config-tools/src/utilities/find-workspace-root.ts
30
30
  var rootFiles = [
31
- "storm-workspace.json",
32
31
  "storm-workspace.json",
33
32
  "storm-workspace.yaml",
34
33
  "storm-workspace.yml",