@storm-software/workspace-tools 1.294.1 → 1.294.3

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 (57) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +1 -2
  3. package/dist/{chunk-F6URZIFS.js → chunk-3GKMFXQ6.js} +2 -2
  4. package/dist/{chunk-TNGFWLBR.mjs → chunk-44IQ5DGO.mjs} +1 -1
  5. package/dist/{chunk-B2WIAR6B.js → chunk-4KWCRJ42.js} +3 -3
  6. package/dist/{chunk-3LZUGRMT.mjs → chunk-5BONSUJM.mjs} +1 -1
  7. package/dist/{chunk-7JLWWZ6R.mjs → chunk-73A7IONK.mjs} +1 -1
  8. package/dist/{chunk-M3TJCESM.mjs → chunk-AQ7B26V3.mjs} +1 -1
  9. package/dist/{chunk-FKYMJ3KW.js → chunk-BZMYB75M.js} +4 -4
  10. package/dist/{chunk-2XWSOZUG.mjs → chunk-FKPWMB63.mjs} +1 -1
  11. package/dist/{chunk-2EX3I4ZZ.js → chunk-L7PM76XK.js} +3 -3
  12. package/dist/{chunk-AQUCMNIA.js → chunk-LZC7BM3D.js} +7 -7
  13. package/dist/{chunk-H723BL2Q.mjs → chunk-M3YWCYUX.mjs} +1 -1
  14. package/dist/{chunk-JW65YBW5.mjs → chunk-MILWDGNH.mjs} +1 -1
  15. package/dist/{chunk-ABHRPVXT.js → chunk-NU3RM6J3.js} +10 -10
  16. package/dist/{chunk-ITJ3EZU2.mjs → chunk-R4N2WEQ2.mjs} +2 -2
  17. package/dist/{chunk-6MT6IAIJ.js → chunk-UHTWNVEZ.js} +1 -1
  18. package/dist/{chunk-JOUEIYCR.mjs → chunk-WBPHMZKE.mjs} +1 -1
  19. package/dist/{chunk-ZK2RKIFU.js → chunk-WI26APPF.js} +3 -3
  20. package/dist/{chunk-Y2EEM3ZZ.js → chunk-XZ6L6OXJ.js} +6 -6
  21. package/dist/executors.js +4 -4
  22. package/dist/executors.mjs +3 -3
  23. package/dist/generators.js +6 -6
  24. package/dist/generators.mjs +5 -5
  25. package/dist/index.js +9 -9
  26. package/dist/index.mjs +8 -8
  27. package/dist/src/base/index.js +3 -3
  28. package/dist/src/base/index.mjs +2 -2
  29. package/dist/src/executors/npm-publish/executor.js +4 -4
  30. package/dist/src/executors/npm-publish/executor.mjs +3 -3
  31. package/dist/src/generators/browser-library/generator.js +4 -4
  32. package/dist/src/generators/browser-library/generator.mjs +3 -3
  33. package/dist/src/generators/neutral-library/generator.js +4 -4
  34. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  35. package/dist/src/generators/node-library/generator.js +4 -4
  36. package/dist/src/generators/node-library/generator.mjs +3 -3
  37. package/dist/src/plugins/rust/cargo-toml.js +4 -4
  38. package/dist/src/plugins/rust/cargo-toml.mjs +3 -3
  39. package/dist/src/plugins/rust/index.js +4 -4
  40. package/dist/src/plugins/rust/index.mjs +3 -3
  41. package/dist/src/plugins/typescript/index.js +32 -32
  42. package/dist/src/plugins/typescript/index.mjs +2 -2
  43. package/dist/src/plugins/typescript/tsdown.js +16 -16
  44. package/dist/src/plugins/typescript/tsdown.mjs +8 -8
  45. package/dist/src/plugins/typescript/tsup.js +10 -10
  46. package/dist/src/plugins/typescript/tsup.mjs +2 -2
  47. package/dist/src/plugins/typescript/untyped-schema.js +4 -4
  48. package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
  49. package/dist/src/utils/index.js +4 -4
  50. package/dist/src/utils/index.mjs +3 -3
  51. package/dist/src/utils/package-helpers.js +3 -3
  52. package/dist/src/utils/package-helpers.mjs +2 -2
  53. package/dist/src/utils/plugin-helpers.js +3 -3
  54. package/dist/src/utils/plugin-helpers.mjs +2 -2
  55. package/dist/src/utils/project-tags.js +2 -2
  56. package/dist/src/utils/project-tags.mjs +1 -1
  57. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -2,6 +2,39 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.294.2](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.2) (12/06/2025)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **workspace-tools:** Resolve issue with null pointer reference in plugin
10
+ ([c48d19705](https://github.com/storm-software/storm-ops/commit/c48d19705))
11
+
12
+ ### Updated Dependencies
13
+
14
+ - Updated **testing-tools** to **v1.119.58**
15
+ - Updated **config-tools** to **v1.188.58**
16
+ - Updated **pnpm-tools** to **v0.6.58**
17
+ - Updated **npm-tools** to **v0.6.14**
18
+ - Updated **prettier** to **v0.57.58**
19
+ - Updated **esbuild** to **v0.53.58**
20
+ - Updated **unbuild** to **v0.57.58**
21
+ - Updated **config** to **v1.134.58**
22
+ - Updated **tsdown** to **v0.45.58**
23
+
24
+ ## [1.294.1](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.1) (12/06/2025)
25
+
26
+ ### Updated Dependencies
27
+
28
+ - Updated **testing-tools** to **v1.119.57**
29
+ - Updated **config-tools** to **v1.188.57**
30
+ - Updated **pnpm-tools** to **v0.6.57**
31
+ - Updated **npm-tools** to **v0.6.13**
32
+ - Updated **prettier** to **v0.57.57**
33
+ - Updated **esbuild** to **v0.53.57**
34
+ - Updated **unbuild** to **v0.57.57**
35
+ - Updated **config** to **v1.134.57**
36
+ - Updated **tsdown** to **v0.45.57**
37
+
5
38
  ## [1.294.0](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.0) (12/05/2025)
6
39
 
7
40
  ### Miscellaneous
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-1.293.24-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)
30
+ [![Version](https://img.shields.io/badge/version-1.294.0-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)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -46,7 +46,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
46
46
 
47
47
  <!-- START doctoc -->
48
48
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
49
-
50
49
  ## Table of Contents
51
50
 
52
51
  - [Storm Workspace Tools](#storm-workspace-tools)
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }
2
2
 
3
- var _chunkAQUCMNIAjs = require('./chunk-AQUCMNIA.js');
3
+ var _chunkLZC7BM3Djs = require('./chunk-LZC7BM3D.js');
4
4
 
5
5
 
6
6
  var _chunk7OGVJELAjs = require('./chunk-7OGVJELA.js');
@@ -315,7 +315,7 @@ async function npmPublishExecutorFn(options, context) {
315
315
  return { success: true };
316
316
  }
317
317
  await replaceDepsAliases(packageRoot, context.root);
318
- await _chunkAQUCMNIAjs.addPackageJsonGitHead.call(void 0, packageRoot);
318
+ await _chunkLZC7BM3Djs.addPackageJsonGitHead.call(void 0, packageRoot);
319
319
  const npmPublishCommandSegments = [`npm publish --json`];
320
320
  const npmViewCommandSegments = [
321
321
  `npm view ${packageName} versions dist-tags --json`
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  addPackageJsonGitHead
3
- } from "./chunk-3LZUGRMT.mjs";
3
+ } from "./chunk-5BONSUJM.mjs";
4
4
  import {
5
5
  getConfig
6
6
  } from "./chunk-T5345GNL.mjs";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
- var _chunkFKYMJ3KWjs = require('./chunk-FKYMJ3KW.js');
4
+ var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
5
5
 
6
6
 
7
7
  var _chunkHYK7X5TYjs = require('./chunk-HYK7X5TY.js');
@@ -48,7 +48,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
48
48
  description: schema.description,
49
49
  directory: schema.directory
50
50
  };
51
- const options = await _chunkFKYMJ3KWjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
51
+ const options = await _chunkBZMYB75Mjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
52
52
  const { className, name, propertyName } = _devkit.names.call(void 0,
53
53
  options.projectNames.projectFileName
54
54
  );
@@ -78,7 +78,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
78
78
  }
79
79
  }
80
80
  });
81
- await _chunkFKYMJ3KWjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
81
+ await _chunkBZMYB75Mjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
82
82
  await _devkit.formatFiles.call(void 0, tree);
83
83
  return null;
84
84
  }
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  ProjectTagConstants,
6
6
  isEqualProjectTag
7
- } from "./chunk-M3TJCESM.mjs";
7
+ } from "./chunk-AQ7B26V3.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-TBW5MCN6.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-H723BL2Q.mjs";
4
+ } from "./chunk-M3YWCYUX.mjs";
5
5
  import {
6
6
  typesNodeVersion
7
7
  } from "./chunk-QC5ON3X4.mjs";
@@ -106,7 +106,7 @@ var setDefaultProjectTags = (project, plugin) => {
106
106
  addProjectTag(
107
107
  project,
108
108
  ProjectTagConstants.Platform.TAG_ID,
109
- project.targets?.build?.options.platform === "node" ? ProjectTagConstants.Platform.NODE : project.targets?.build?.options.platform === "worker" ? ProjectTagConstants.Platform.WORKER : project.targets?.build?.options.platform === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL,
109
+ project.targets?.build?.options?.platform === "node" ? ProjectTagConstants.Platform.NODE : project.targets?.build?.options?.platform === "worker" ? ProjectTagConstants.Platform.WORKER : project.targets?.build?.options?.platform === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL,
110
110
  { overwrite: false }
111
111
  );
112
112
  if (plugin) {
@@ -4,7 +4,7 @@ var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk6MT6IAIJjs = require('./chunk-6MT6IAIJ.js');
7
+ var _chunkUHTWNVEZjs = require('./chunk-UHTWNVEZ.js');
8
8
 
9
9
 
10
10
  var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
@@ -96,10 +96,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
96
96
  if (options.platform) {
97
97
  projectConfig.targets.build.options.platform = options.platform === "worker" ? "node" : options.platform;
98
98
  }
99
- _chunk6MT6IAIJjs.addProjectTag.call(void 0,
99
+ _chunkUHTWNVEZjs.addProjectTag.call(void 0,
100
100
  projectConfig,
101
- _chunk6MT6IAIJjs.ProjectTagConstants.Platform.TAG_ID,
102
- options.platform === "node" ? _chunk6MT6IAIJjs.ProjectTagConstants.Platform.NODE : options.platform === "worker" ? _chunk6MT6IAIJjs.ProjectTagConstants.Platform.WORKER : options.platform === "browser" ? _chunk6MT6IAIJjs.ProjectTagConstants.Platform.BROWSER : _chunk6MT6IAIJjs.ProjectTagConstants.Platform.NEUTRAL,
101
+ _chunkUHTWNVEZjs.ProjectTagConstants.Platform.TAG_ID,
102
+ options.platform === "node" ? _chunkUHTWNVEZjs.ProjectTagConstants.Platform.NODE : options.platform === "worker" ? _chunkUHTWNVEZjs.ProjectTagConstants.Platform.WORKER : options.platform === "browser" ? _chunkUHTWNVEZjs.ProjectTagConstants.Platform.BROWSER : _chunkUHTWNVEZjs.ProjectTagConstants.Platform.NEUTRAL,
103
103
  { overwrite: false }
104
104
  );
105
105
  createProjectTsConfigJson(tree, normalized);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ProjectTagConstants,
3
3
  getProjectTag
4
- } from "./chunk-M3TJCESM.mjs";
4
+ } from "./chunk-AQ7B26V3.mjs";
5
5
 
6
6
  // src/utils/plugin-helpers.ts
7
7
  import {
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
- var _chunkFKYMJ3KWjs = require('./chunk-FKYMJ3KW.js');
4
+ var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
5
5
 
6
6
 
7
7
  var _chunkSZWM7COVjs = require('./chunk-SZWM7COV.js');
@@ -37,7 +37,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
37
37
  directory: schema.directory,
38
38
  description: schema.description
39
39
  };
40
- const options = await _chunkFKYMJ3KWjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
40
+ const options = await _chunkBZMYB75Mjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
41
41
  const { className, name, propertyName } = _devkit.names.call(void 0, options.name);
42
42
  _devkit.generateFiles.call(void 0, tree, filesDir, options.projectRoot, {
43
43
  ...schema,
@@ -55,7 +55,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
55
55
  buildable: options.bundler && options.bundler !== "none",
56
56
  hasUnitTestRunner: options.unitTestRunner !== "none"
57
57
  });
58
- await _chunkFKYMJ3KWjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
58
+ await _chunkBZMYB75Mjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
59
59
  await _devkit.formatFiles.call(void 0, tree);
60
60
  return null;
61
61
  }
@@ -4,7 +4,7 @@ var _chunkGXTFFUMLjs = require('./chunk-GXTFFUML.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk6MT6IAIJjs = require('./chunk-6MT6IAIJ.js');
7
+ var _chunkUHTWNVEZjs = require('./chunk-UHTWNVEZ.js');
8
8
 
9
9
 
10
10
  var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
@@ -24,19 +24,19 @@ var PackageManagerTypes = {
24
24
  CargoToml: "Cargo.toml"
25
25
  };
26
26
  var getPackageInfo = (project) => {
27
- if (_chunk6MT6IAIJjs.isEqualProjectTag.call(void 0,
27
+ if (_chunkUHTWNVEZjs.isEqualProjectTag.call(void 0,
28
28
  project,
29
- _chunk6MT6IAIJjs.ProjectTagConstants.Language.TAG_ID,
30
- _chunk6MT6IAIJjs.ProjectTagConstants.Language.RUST
29
+ _chunkUHTWNVEZjs.ProjectTagConstants.Language.TAG_ID,
30
+ _chunkUHTWNVEZjs.ProjectTagConstants.Language.RUST
31
31
  ) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))) {
32
32
  return {
33
33
  type: "Cargo.toml",
34
34
  content: _chunkGXTFFUMLjs.parseCargoToml.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "Cargo.toml"))
35
35
  };
36
- } else if (_chunk6MT6IAIJjs.isEqualProjectTag.call(void 0,
36
+ } else if (_chunkUHTWNVEZjs.isEqualProjectTag.call(void 0,
37
37
  project,
38
- _chunk6MT6IAIJjs.ProjectTagConstants.Language.TAG_ID,
39
- _chunk6MT6IAIJjs.ProjectTagConstants.Language.TYPESCRIPT
38
+ _chunkUHTWNVEZjs.ProjectTagConstants.Language.TAG_ID,
39
+ _chunkUHTWNVEZjs.ProjectTagConstants.Language.TYPESCRIPT
40
40
  ) && _fs.existsSync.call(void 0, _devkit.joinPathFragments.call(void 0, project.root, "package.json"))) {
41
41
  return {
42
42
  type: "package.json",
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  ProjectTagConstants,
6
6
  addProjectTag
7
- } from "./chunk-M3TJCESM.mjs";
7
+ } from "./chunk-AQ7B26V3.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-TBW5MCN6.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-H723BL2Q.mjs";
4
+ } from "./chunk-M3YWCYUX.mjs";
5
5
  import {
6
6
  withRunGenerator
7
7
  } from "./chunk-2ZQ423JU.mjs";
@@ -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 _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 _chunkY2EEM3ZZjs = require('./chunk-Y2EEM3ZZ.js');
3
+ var _chunkXZ6L6OXJjs = require('./chunk-XZ6L6OXJ.js');
4
4
 
5
5
 
6
6
 
@@ -9,7 +9,7 @@ var _chunkD2PV33E5js = require('./chunk-D2PV33E5.js');
9
9
 
10
10
 
11
11
 
12
- var _chunk6MT6IAIJjs = require('./chunk-6MT6IAIJ.js');
12
+ var _chunkUHTWNVEZjs = require('./chunk-UHTWNVEZ.js');
13
13
 
14
14
  // src/plugins/rust/cargo-toml.ts
15
15
 
@@ -65,7 +65,7 @@ var createNodesV2 = [
65
65
  }, /* @__PURE__ */ new Map());
66
66
  for (const cargoPackage of cargoPackages) {
67
67
  if (!_chunkD2PV33E5js.isExternal.call(void 0, cargoPackage, context2.workspaceRoot)) {
68
- const root = _chunkY2EEM3ZZjs.getRoot.call(void 0, _path.dirname.call(void 0, configFile), context2);
68
+ const root = _chunkXZ6L6OXJjs.getRoot.call(void 0, _path.dirname.call(void 0, configFile), context2);
69
69
  const project = {
70
70
  root,
71
71
  name: cargoPackage.name
@@ -248,10 +248,10 @@ var createNodesV2 = [
248
248
  };
249
249
  }
250
250
  if (cargoPackage.publish === null || cargoPackage.publish === void 0 || cargoPackage.publish === true || Array.isArray(cargoPackage.publish) && cargoPackage.publish.length > 0) {
251
- _chunk6MT6IAIJjs.addProjectTag.call(void 0,
251
+ _chunkUHTWNVEZjs.addProjectTag.call(void 0,
252
252
  project,
253
- _chunk6MT6IAIJjs.ProjectTagConstants.Registry.TAG_ID,
254
- _chunk6MT6IAIJjs.ProjectTagConstants.Registry.CARGO,
253
+ _chunkUHTWNVEZjs.ProjectTagConstants.Registry.TAG_ID,
254
+ _chunkUHTWNVEZjs.ProjectTagConstants.Registry.CARGO,
255
255
  { overwrite: true }
256
256
  );
257
257
  targets["nx-release-publish"] = {
@@ -272,13 +272,13 @@ var createNodesV2 = [
272
272
  configurations
273
273
  };
274
274
  }
275
- _chunk6MT6IAIJjs.addProjectTag.call(void 0,
275
+ _chunkUHTWNVEZjs.addProjectTag.call(void 0,
276
276
  project,
277
- _chunk6MT6IAIJjs.ProjectTagConstants.Language.TAG_ID,
278
- _chunk6MT6IAIJjs.ProjectTagConstants.Language.RUST,
277
+ _chunkUHTWNVEZjs.ProjectTagConstants.Language.TAG_ID,
278
+ _chunkUHTWNVEZjs.ProjectTagConstants.Language.RUST,
279
279
  { overwrite: true }
280
280
  );
281
- _chunk6MT6IAIJjs.setDefaultProjectTags.call(void 0, project, name);
281
+ _chunkUHTWNVEZjs.setDefaultProjectTags.call(void 0, project, name);
282
282
  projects[root] = _defu2.default.call(void 0,
283
283
  {
284
284
  targets,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getRoot
3
- } from "./chunk-2XWSOZUG.mjs";
3
+ } from "./chunk-FKPWMB63.mjs";
4
4
  import {
5
5
  cargoMetadata,
6
6
  isExternal
@@ -9,7 +9,7 @@ import {
9
9
  ProjectTagConstants,
10
10
  addProjectTag,
11
11
  setDefaultProjectTags
12
- } from "./chunk-M3TJCESM.mjs";
12
+ } from "./chunk-AQ7B26V3.mjs";
13
13
 
14
14
  // src/plugins/rust/cargo-toml.ts
15
15
  import {
@@ -106,7 +106,7 @@ var setDefaultProjectTags = (project, plugin) => {
106
106
  addProjectTag(
107
107
  project,
108
108
  ProjectTagConstants.Platform.TAG_ID,
109
- _optionalChain([project, 'access', _5 => _5.targets, 'optionalAccess', _6 => _6.build, 'optionalAccess', _7 => _7.options, 'access', _8 => _8.platform]) === "node" ? ProjectTagConstants.Platform.NODE : _optionalChain([project, 'access', _9 => _9.targets, 'optionalAccess', _10 => _10.build, 'optionalAccess', _11 => _11.options, 'access', _12 => _12.platform]) === "worker" ? ProjectTagConstants.Platform.WORKER : _optionalChain([project, 'access', _13 => _13.targets, 'optionalAccess', _14 => _14.build, 'optionalAccess', _15 => _15.options, 'access', _16 => _16.platform]) === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL,
109
+ _optionalChain([project, 'access', _5 => _5.targets, 'optionalAccess', _6 => _6.build, 'optionalAccess', _7 => _7.options, 'optionalAccess', _8 => _8.platform]) === "node" ? ProjectTagConstants.Platform.NODE : _optionalChain([project, 'access', _9 => _9.targets, 'optionalAccess', _10 => _10.build, 'optionalAccess', _11 => _11.options, 'optionalAccess', _12 => _12.platform]) === "worker" ? ProjectTagConstants.Platform.WORKER : _optionalChain([project, 'access', _13 => _13.targets, 'optionalAccess', _14 => _14.build, 'optionalAccess', _15 => _15.options, 'optionalAccess', _16 => _16.platform]) === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL,
110
110
  { overwrite: false }
111
111
  );
112
112
  if (plugin) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-H723BL2Q.mjs";
4
+ } from "./chunk-M3YWCYUX.mjs";
5
5
  import {
6
6
  withRunGenerator
7
7
  } from "./chunk-2ZQ423JU.mjs";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
- var _chunkFKYMJ3KWjs = require('./chunk-FKYMJ3KW.js');
4
+ var _chunkBZMYB75Mjs = require('./chunk-BZMYB75M.js');
5
5
 
6
6
 
7
7
  var _chunkHYK7X5TYjs = require('./chunk-HYK7X5TY.js');
@@ -30,7 +30,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
30
30
  devDependencies: {},
31
31
  buildExecutor: "@storm-software/workspace-tools:unbuild"
32
32
  };
33
- const options = await _chunkFKYMJ3KWjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
33
+ const options = await _chunkBZMYB75Mjs.normalizeOptions.call(void 0, tree, tsLibraryGeneratorOptions);
34
34
  const { className, name, propertyName } = _devkit.names.call(void 0,
35
35
  options.projectNames.projectFileName
36
36
  );
@@ -50,7 +50,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
50
50
  buildable: options.bundler && options.bundler !== "none",
51
51
  hasUnitTestRunner: options.unitTestRunner !== "none"
52
52
  });
53
- await _chunkFKYMJ3KWjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
53
+ await _chunkBZMYB75Mjs.typeScriptLibraryGeneratorFn.call(void 0, tree, tsLibraryGeneratorOptions, config);
54
54
  await _devkit.formatFiles.call(void 0, tree);
55
55
  return null;
56
56
  }
@@ -1,7 +1,7 @@
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
3
 
4
- var _chunk6MT6IAIJjs = require('./chunk-6MT6IAIJ.js');
4
+ var _chunkUHTWNVEZjs = require('./chunk-UHTWNVEZ.js');
5
5
 
6
6
  // src/utils/plugin-helpers.ts
7
7
 
@@ -21,17 +21,17 @@ function getProjectPlatform(project, ignoreTags = false) {
21
21
  }
22
22
  let platformTag = void 0;
23
23
  if (!ignoreTags) {
24
- platformTag = _chunk6MT6IAIJjs.getProjectTag.call(void 0, project, _chunk6MT6IAIJjs.ProjectTagConstants.Platform.TAG_ID);
24
+ platformTag = _chunkUHTWNVEZjs.getProjectTag.call(void 0, project, _chunkUHTWNVEZjs.ProjectTagConstants.Platform.TAG_ID);
25
25
  }
26
- if (platformTag !== _chunk6MT6IAIJjs.ProjectTagConstants.Platform.NEUTRAL) {
26
+ if (platformTag !== _chunkUHTWNVEZjs.ProjectTagConstants.Platform.NEUTRAL) {
27
27
  const types = Array.isArray(_optionalChain([tsconfigJson, 'access', _ => _.compilerOptions, 'optionalAccess', _2 => _2.types])) ? tsconfigJson.compilerOptions.types : [];
28
- if (platformTag === _chunk6MT6IAIJjs.ProjectTagConstants.Platform.WORKER || types.some((type) => type.toLowerCase() === "@cloudflare/workers-types") || _optionalChain([packageJson, 'access', _3 => _3.devDependencies, 'optionalAccess', _4 => _4["@cloudflare/workers-types"]]) || _optionalChain([packageJson, 'access', _5 => _5.devDependencies, 'optionalAccess', _6 => _6["wrangler"]])) {
28
+ if (platformTag === _chunkUHTWNVEZjs.ProjectTagConstants.Platform.WORKER || types.some((type) => type.toLowerCase() === "@cloudflare/workers-types") || _optionalChain([packageJson, 'access', _3 => _3.devDependencies, 'optionalAccess', _4 => _4["@cloudflare/workers-types"]]) || _optionalChain([packageJson, 'access', _5 => _5.devDependencies, 'optionalAccess', _6 => _6["wrangler"]])) {
29
29
  return "worker";
30
30
  }
31
- if (platformTag === _chunk6MT6IAIJjs.ProjectTagConstants.Platform.NODE || _optionalChain([types, 'optionalAccess', _7 => _7.some, 'call', _8 => _8((type) => type.toLowerCase() === "node")]) || _optionalChain([packageJson, 'access', _9 => _9.devDependencies, 'optionalAccess', _10 => _10["@types/node"]])) {
31
+ if (platformTag === _chunkUHTWNVEZjs.ProjectTagConstants.Platform.NODE || _optionalChain([types, 'optionalAccess', _7 => _7.some, 'call', _8 => _8((type) => type.toLowerCase() === "node")]) || _optionalChain([packageJson, 'access', _9 => _9.devDependencies, 'optionalAccess', _10 => _10["@types/node"]])) {
32
32
  return "node";
33
33
  }
34
- if (platformTag === _chunk6MT6IAIJjs.ProjectTagConstants.Platform.BROWSER || _optionalChain([types, 'optionalAccess', _11 => _11.some, 'call', _12 => _12((type) => type.toLowerCase() === "dom")]) || packageJson.dependencies && Object.keys(packageJson.dependencies).some(
34
+ if (platformTag === _chunkUHTWNVEZjs.ProjectTagConstants.Platform.BROWSER || _optionalChain([types, 'optionalAccess', _11 => _11.some, 'call', _12 => _12((type) => type.toLowerCase() === "dom")]) || packageJson.dependencies && Object.keys(packageJson.dependencies).some(
35
35
  (dependency) => dependency.includes("react")
36
36
  ) || packageJson.devDependencies && Object.keys(packageJson.devDependencies).some(
37
37
  (devDependency) => devDependency.includes("react")
package/dist/executors.js CHANGED
@@ -20,7 +20,7 @@ require('./chunk-GE2RNRVQ.js');
20
20
  var _chunkRMVPAFL5js = require('./chunk-RMVPAFL5.js');
21
21
 
22
22
 
23
- var _chunkF6URZIFSjs = require('./chunk-F6URZIFS.js');
23
+ var _chunk3GKMFXQ6js = require('./chunk-3GKMFXQ6.js');
24
24
 
25
25
 
26
26
  var _chunkR2H2PZOYjs = require('./chunk-R2H2PZOY.js');
@@ -40,9 +40,9 @@ var _chunkHFXXGJRHjs = require('./chunk-HFXXGJRH.js');
40
40
 
41
41
  var _chunkX3JM5ONCjs = require('./chunk-X3JM5ONC.js');
42
42
  require('./chunk-D2PV33E5.js');
43
- require('./chunk-AQUCMNIA.js');
43
+ require('./chunk-LZC7BM3D.js');
44
44
  require('./chunk-GXTFFUML.js');
45
- require('./chunk-6MT6IAIJ.js');
45
+ require('./chunk-UHTWNVEZ.js');
46
46
  require('./chunk-73YOO2B5.js');
47
47
  require('./chunk-ML2VHRB6.js');
48
48
  require('./chunk-7OGVJELA.js');
@@ -63,4 +63,4 @@ require('./chunk-CQDBLKPF.js');
63
63
 
64
64
 
65
65
 
66
- exports.LARGE_BUFFER = _chunkF6URZIFSjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkHFXXGJRHjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkX3JM5ONCjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkR2H2PZOYjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkUASDV4HBjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkC7TDCMF3js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkRIWQVAMXjs.esbuildExecutorFn; exports.getRegistryVersion = _chunk66Q42VH2js.getRegistryVersion; exports.napiExecutor = _chunkRMVPAFL5js.napiExecutor; exports.sizeLimitExecutorFn = _chunkI6XZ4REQjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunk3L2TGJ7Pjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunk46BG6NUYjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkEOQB5BBVjs.unbuildExecutorFn;
66
+ exports.LARGE_BUFFER = _chunk3GKMFXQ6js.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkHFXXGJRHjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkX3JM5ONCjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkR2H2PZOYjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkUASDV4HBjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkC7TDCMF3js.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkRIWQVAMXjs.esbuildExecutorFn; exports.getRegistryVersion = _chunk66Q42VH2js.getRegistryVersion; exports.napiExecutor = _chunkRMVPAFL5js.napiExecutor; exports.sizeLimitExecutorFn = _chunkI6XZ4REQjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunk3L2TGJ7Pjs.tsdownExecutorFn; exports.typiaExecutorFn = _chunk46BG6NUYjs.typiaExecutorFn; exports.unbuildExecutorFn = _chunkEOQB5BBVjs.unbuildExecutorFn;
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-LYJNZCO4.mjs";
21
21
  import {
22
22
  LARGE_BUFFER
23
- } from "./chunk-TNGFWLBR.mjs";
23
+ } from "./chunk-44IQ5DGO.mjs";
24
24
  import {
25
25
  cargoClippyExecutor
26
26
  } from "./chunk-Z2GJI23Y.mjs";
@@ -40,9 +40,9 @@ import {
40
40
  cargoCheckExecutor
41
41
  } from "./chunk-3ZXQER7B.mjs";
42
42
  import "./chunk-ZTN2676G.mjs";
43
- import "./chunk-3LZUGRMT.mjs";
43
+ import "./chunk-5BONSUJM.mjs";
44
44
  import "./chunk-FEYD5KMF.mjs";
45
- import "./chunk-M3TJCESM.mjs";
45
+ import "./chunk-AQ7B26V3.mjs";
46
46
  import "./chunk-V4QXOWGL.mjs";
47
47
  import "./chunk-QYHQD375.mjs";
48
48
  import "./chunk-T5345GNL.mjs";
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-C3TC7AUW.js');
2
2
 
3
3
 
4
- var _chunk2EX3I4ZZjs = require('./chunk-2EX3I4ZZ.js');
4
+ var _chunkL7PM76XKjs = require('./chunk-L7PM76XK.js');
5
5
 
6
6
 
7
7
  var _chunkQKCIIWYLjs = require('./chunk-QKCIIWYL.js');
8
8
 
9
9
 
10
- var _chunkB2WIAR6Bjs = require('./chunk-B2WIAR6B.js');
10
+ var _chunk4KWCRJ42js = require('./chunk-4KWCRJ42.js');
11
11
 
12
12
 
13
13
  var _chunkKXLPRYBLjs = require('./chunk-KXLPRYBL.js');
@@ -16,10 +16,10 @@ var _chunkKXLPRYBLjs = require('./chunk-KXLPRYBL.js');
16
16
  var _chunkOKSECMVKjs = require('./chunk-OKSECMVK.js');
17
17
 
18
18
 
19
- var _chunkZK2RKIFUjs = require('./chunk-ZK2RKIFU.js');
20
- require('./chunk-FKYMJ3KW.js');
19
+ var _chunkWI26APPFjs = require('./chunk-WI26APPF.js');
20
+ require('./chunk-BZMYB75M.js');
21
21
  require('./chunk-SZWM7COV.js');
22
- require('./chunk-6MT6IAIJ.js');
22
+ require('./chunk-UHTWNVEZ.js');
23
23
  require('./chunk-HYK7X5TY.js');
24
24
  require('./chunk-ML2VHRB6.js');
25
25
  require('./chunk-7OGVJELA.js');
@@ -33,4 +33,4 @@ require('./chunk-CQDBLKPF.js');
33
33
 
34
34
 
35
35
 
36
- exports.browserLibraryGeneratorFn = _chunkB2WIAR6Bjs.browserLibraryGeneratorFn; exports.configSchemaGeneratorFn = _chunkKXLPRYBLjs.configSchemaGeneratorFn; exports.initGenerator = _chunkOKSECMVKjs.initGenerator; exports.neutralLibraryGeneratorFn = _chunkZK2RKIFUjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunk2EX3I4ZZjs.nodeLibraryGeneratorFn; exports.presetGeneratorFn = _chunkQKCIIWYLjs.presetGeneratorFn;
36
+ exports.browserLibraryGeneratorFn = _chunk4KWCRJ42js.browserLibraryGeneratorFn; exports.configSchemaGeneratorFn = _chunkKXLPRYBLjs.configSchemaGeneratorFn; exports.initGenerator = _chunkOKSECMVKjs.initGenerator; exports.neutralLibraryGeneratorFn = _chunkWI26APPFjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkL7PM76XKjs.nodeLibraryGeneratorFn; exports.presetGeneratorFn = _chunkQKCIIWYLjs.presetGeneratorFn;
@@ -1,13 +1,13 @@
1
1
  import "./chunk-SAIDGUHG.mjs";
2
2
  import {
3
3
  nodeLibraryGeneratorFn
4
- } from "./chunk-7JLWWZ6R.mjs";
4
+ } from "./chunk-73A7IONK.mjs";
5
5
  import {
6
6
  presetGeneratorFn
7
7
  } from "./chunk-AWEZ7UJ3.mjs";
8
8
  import {
9
9
  browserLibraryGeneratorFn
10
- } from "./chunk-JW65YBW5.mjs";
10
+ } from "./chunk-MILWDGNH.mjs";
11
11
  import {
12
12
  configSchemaGeneratorFn
13
13
  } from "./chunk-YHHWYI4X.mjs";
@@ -16,10 +16,10 @@ import {
16
16
  } from "./chunk-437WGH2M.mjs";
17
17
  import {
18
18
  neutralLibraryGeneratorFn
19
- } from "./chunk-JOUEIYCR.mjs";
20
- import "./chunk-H723BL2Q.mjs";
19
+ } from "./chunk-WBPHMZKE.mjs";
20
+ import "./chunk-M3YWCYUX.mjs";
21
21
  import "./chunk-QC5ON3X4.mjs";
22
- import "./chunk-M3TJCESM.mjs";
22
+ import "./chunk-AQ7B26V3.mjs";
23
23
  import "./chunk-2ZQ423JU.mjs";
24
24
  import "./chunk-QYHQD375.mjs";
25
25
  import "./chunk-T5345GNL.mjs";