@storm-software/workspace-tools 1.292.15 → 1.292.18

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 (153) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/README.md +4 -36
  3. package/config/base.json +13 -14
  4. package/dist/{chunk-UCXAD2SG.mjs → chunk-6PVCCKX4.mjs} +1 -1
  5. package/dist/chunk-ANHKV7HZ.js +22 -0
  6. package/dist/{chunk-PUFTJ2BG.mjs → chunk-D2ENLOCH.mjs} +14 -12
  7. package/dist/{chunk-MGF3DTWM.js → chunk-EECJXHDA.js} +50 -17
  8. package/dist/chunk-EGI64HQ2.mjs +22 -0
  9. package/dist/chunk-EYRX4NM6.mjs +213 -0
  10. package/dist/{chunk-LOFMB5G3.mjs → chunk-IPWUJVZZ.mjs} +1 -1
  11. package/dist/{chunk-YNLDYAEE.mjs → chunk-JHJLQ2O7.mjs} +1 -1
  12. package/dist/{chunk-452FQZ3B.js → chunk-JWFGGMYQ.js} +1 -6
  13. package/dist/{chunk-Q57UD72U.mjs → chunk-KCVIHYZQ.mjs} +1 -1
  14. package/dist/{chunk-7DLHAWLG.mjs → chunk-MU6OJDOC.mjs} +1 -1
  15. package/dist/{chunk-IBTPJDV6.js → chunk-N3YCERS6.js} +5 -2
  16. package/dist/{chunk-WV5SNA37.js → chunk-O2FPRXPD.js} +17 -15
  17. package/dist/{chunk-FQSIFEMR.mjs → chunk-OOR7HG4P.mjs} +37 -4
  18. package/dist/{chunk-2LY7DGBH.mjs → chunk-OV33RACH.mjs} +5 -2
  19. package/dist/{chunk-WRXLSZ6I.js → chunk-POXELQII.js} +2 -2
  20. package/dist/{chunk-B4RJUBHW.mjs → chunk-QUHBEE5D.mjs} +1 -1
  21. package/dist/chunk-SAIDGUHG.mjs +0 -0
  22. package/dist/chunk-TCGF4GS7.js +213 -0
  23. package/dist/chunk-TJRQRM4Z.mjs +49 -0
  24. package/dist/chunk-W4IH547O.js +49 -0
  25. package/dist/{chunk-2ONEZU6V.mjs → chunk-WH72XZPS.mjs} +1 -1
  26. package/dist/{chunk-SVIG7SR3.mjs → chunk-X2SLQ73Q.mjs} +1 -6
  27. package/dist/chunk-YYLV7UA6.js +1 -0
  28. package/dist/{chunk-7QY4X73C.js → chunk-ZP4B44CQ.js} +2 -2
  29. package/dist/executors.js +16 -17
  30. package/dist/executors.mjs +19 -20
  31. package/dist/generators.d.mts +0 -2
  32. package/dist/generators.d.ts +0 -2
  33. package/dist/generators.js +8 -14
  34. package/dist/generators.mjs +13 -19
  35. package/dist/index.d.mts +7 -2
  36. package/dist/index.d.ts +7 -2
  37. package/dist/index.js +39 -34
  38. package/dist/index.mjs +53 -48
  39. package/dist/src/base/base-executor.mjs +1 -1
  40. package/dist/src/base/base-executor.untyped.mjs +1 -1
  41. package/dist/src/base/base-generator.mjs +1 -1
  42. package/dist/src/base/base-generator.untyped.mjs +1 -1
  43. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  44. package/dist/src/base/index.mjs +1 -1
  45. package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
  46. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  47. package/dist/src/executors/cargo-build/executor.mjs +1 -1
  48. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  49. package/dist/src/executors/cargo-check/executor.mjs +1 -1
  50. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  51. package/dist/src/executors/cargo-clippy/executor.mjs +1 -1
  52. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  53. package/dist/src/executors/cargo-doc/executor.mjs +1 -1
  54. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  55. package/dist/src/executors/cargo-format/executor.mjs +1 -1
  56. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  57. package/dist/src/executors/cargo-publish/executor.js +3 -3
  58. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  59. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  60. package/dist/src/executors/clean-package/executor.mjs +1 -1
  61. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  62. package/dist/src/executors/esbuild/executor.mjs +1 -1
  63. package/dist/src/executors/esbuild/untyped.mjs +1 -1
  64. package/dist/src/executors/npm-publish/executor.js +4 -5
  65. package/dist/src/executors/npm-publish/executor.mjs +4 -5
  66. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  67. package/dist/src/executors/size-limit/executor.mjs +1 -1
  68. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  69. package/dist/src/executors/tsdown/executor.mjs +1 -1
  70. package/dist/src/executors/tsdown/untyped.mjs +1 -1
  71. package/dist/src/executors/typia/executor.mjs +1 -1
  72. package/dist/src/executors/typia/untyped.mjs +1 -1
  73. package/dist/src/executors/unbuild/executor.mjs +1 -1
  74. package/dist/src/executors/unbuild/untyped.mjs +1 -1
  75. package/dist/src/generators/browser-library/generator.mjs +2 -2
  76. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  77. package/dist/src/generators/config-schema/generator.mjs +1 -1
  78. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  79. package/dist/src/generators/init/init.mjs +1 -1
  80. package/dist/src/generators/init/untyped.mjs +1 -1
  81. package/dist/src/generators/neutral-library/generator.mjs +2 -2
  82. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  83. package/dist/src/generators/node-library/generator.mjs +2 -2
  84. package/dist/src/generators/node-library/untyped.mjs +1 -1
  85. package/dist/src/generators/preset/generator.mjs +2 -2
  86. package/dist/src/generators/preset/untyped.mjs +1 -1
  87. package/dist/src/plugins/rust/cargo-toml.js +2 -2
  88. package/dist/src/plugins/rust/cargo-toml.mjs +2 -2
  89. package/dist/src/plugins/rust/index.js +2 -2
  90. package/dist/src/plugins/rust/index.mjs +2 -2
  91. package/dist/src/plugins/typescript/index.js +22 -22
  92. package/dist/src/plugins/typescript/index.mjs +23 -23
  93. package/dist/src/plugins/typescript/tsdown.mjs +1 -1
  94. package/dist/src/plugins/typescript/tsup.mjs +1 -1
  95. package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
  96. package/dist/src/release/index.d.mts +11 -0
  97. package/dist/src/release/index.d.ts +11 -0
  98. package/dist/src/release/index.js +17 -0
  99. package/dist/src/release/index.mjs +18 -0
  100. package/dist/src/release/js-version-actions.d.mts +44 -0
  101. package/dist/src/release/js-version-actions.d.ts +44 -0
  102. package/dist/src/release/js-version-actions.js +10 -0
  103. package/dist/src/release/js-version-actions.mjs +11 -0
  104. package/dist/src/release/rust-version-actions.d.mts +56 -0
  105. package/dist/src/release/rust-version-actions.d.ts +56 -0
  106. package/dist/src/release/rust-version-actions.js +12 -0
  107. package/dist/src/release/rust-version-actions.mjs +13 -0
  108. package/dist/src/types.mjs +1 -1
  109. package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
  110. package/dist/src/utils/cargo.mjs +1 -1
  111. package/dist/src/utils/create-cli-options.mjs +1 -1
  112. package/dist/src/utils/get-project-configurations.mjs +1 -1
  113. package/dist/src/utils/index.js +11 -11
  114. package/dist/src/utils/index.mjs +18 -18
  115. package/dist/src/utils/lock-file.d.mts +2 -2
  116. package/dist/src/utils/lock-file.d.ts +2 -2
  117. package/dist/src/utils/lock-file.mjs +1 -1
  118. package/dist/src/utils/nx-json.d.mts +3 -27
  119. package/dist/src/utils/nx-json.d.ts +3 -27
  120. package/dist/src/utils/nx-json.js +2 -2
  121. package/dist/src/utils/nx-json.mjs +2 -2
  122. package/dist/src/utils/package-helpers.js +3 -3
  123. package/dist/src/utils/package-helpers.mjs +3 -3
  124. package/dist/src/utils/plugin-helpers.d.mts +2 -2
  125. package/dist/src/utils/plugin-helpers.d.ts +2 -2
  126. package/dist/src/utils/plugin-helpers.mjs +1 -1
  127. package/dist/src/utils/project-tags.mjs +1 -1
  128. package/dist/src/utils/registry-helpers.d.mts +11 -0
  129. package/dist/src/utils/registry-helpers.d.ts +11 -0
  130. package/dist/src/utils/registry-helpers.js +6 -0
  131. package/dist/src/utils/registry-helpers.mjs +7 -0
  132. package/dist/src/utils/typia-transform.mjs +1 -1
  133. package/dist/src/utils/versions.mjs +1 -1
  134. package/package.json +47 -18
  135. package/dist/chunk-J4I6MJT2.js +0 -73
  136. package/dist/chunk-JLXBL5BC.mjs +0 -73
  137. package/dist/chunk-WEL4BVFX.js +0 -1049
  138. package/dist/chunk-ZZWU35JU.mjs +0 -1049
  139. package/dist/generator-DLXza9BZ.d.ts +0 -186
  140. package/dist/generator-DVYJZa5j.d.mts +0 -186
  141. package/dist/src/generators/release-version/generator.d.mts +0 -6
  142. package/dist/src/generators/release-version/generator.d.ts +0 -6
  143. package/dist/src/generators/release-version/generator.js +0 -14
  144. package/dist/src/generators/release-version/generator.mjs +0 -15
  145. package/dist/src/generators/release-version/schema.d.ts +0 -180
  146. package/dist/src/generators/release-version/schema.json +0 -158
  147. package/dist/src/generators/release-version/untyped.d.mts +0 -5
  148. package/dist/src/generators/release-version/untyped.d.ts +0 -5
  149. package/dist/src/generators/release-version/untyped.js +0 -159
  150. package/dist/src/generators/release-version/untyped.mjs +0 -161
  151. package/docs/api/generators/release-version/schema.md +0 -160
  152. /package/dist/{chunk-RLIZVCIN.mjs → chunk-5GZC2PF6.mjs} +0 -0
  153. /package/dist/{chunk-INERRJ6Q.js → chunk-C3TC7AUW.js} +0 -0
@@ -1,4 +1,14 @@
1
1
  import "../../chunk-6YZ3OUJB.mjs";
2
+ import {
3
+ getTypiaTransform
4
+ } from "../../chunk-KR72GKIT.mjs";
5
+ import {
6
+ createCliOptions
7
+ } from "../../chunk-W2C5IGWW.mjs";
8
+ import {
9
+ getProjectConfiguration,
10
+ getProjectConfigurations
11
+ } from "../../chunk-GEP246CJ.mjs";
2
12
  import {
3
13
  LOCK_FILES,
4
14
  NPM_LOCK_FILE,
@@ -16,7 +26,7 @@ import {
16
26
  NAMED_INPUTS,
17
27
  RELEASE,
18
28
  withNamedInputs
19
- } from "../../chunk-2LY7DGBH.mjs";
29
+ } from "../../chunk-OV33RACH.mjs";
20
30
  import {
21
31
  getProjectConfigFromProjectJsonPath,
22
32
  getProjectConfigFromProjectRoot,
@@ -24,24 +34,9 @@ import {
24
34
  getProjectRoot,
25
35
  getRoot
26
36
  } from "../../chunk-4RYLWWPW.mjs";
27
- import {
28
- getTypiaTransform
29
- } from "../../chunk-KR72GKIT.mjs";
30
37
  import {
31
38
  applyWorkspaceExecutorTokens
32
39
  } from "../../chunk-FML2FBSG.mjs";
33
- import {
34
- createCliOptions
35
- } from "../../chunk-W2C5IGWW.mjs";
36
- import {
37
- getProjectConfiguration,
38
- getProjectConfigurations
39
- } from "../../chunk-GEP246CJ.mjs";
40
- import {
41
- PackageManagerTypes,
42
- addPackageJsonGitHead,
43
- getPackageInfo
44
- } from "../../chunk-UCXAD2SG.mjs";
45
40
  import {
46
41
  INVALID_CARGO_ARGS,
47
42
  buildCargoCommand,
@@ -53,6 +48,12 @@ import {
53
48
  isExternal,
54
49
  runProcess
55
50
  } from "../../chunk-6LP3KKXE.mjs";
51
+ import {
52
+ PackageManagerTypes,
53
+ addPackageJsonGitHead,
54
+ getPackageInfo
55
+ } from "../../chunk-6PVCCKX4.mjs";
56
+ import "../../chunk-X2SLQ73Q.mjs";
56
57
  import {
57
58
  eslintVersion,
58
59
  lintStagedVersion,
@@ -73,7 +74,6 @@ import {
73
74
  typescriptVersion,
74
75
  verdaccioVersion
75
76
  } from "../../chunk-QC5ON3X4.mjs";
76
- import "../../chunk-SVIG7SR3.mjs";
77
77
  import {
78
78
  ProjectTagConstants,
79
79
  addPluginProjectTag,
@@ -87,7 +87,7 @@ import {
87
87
  import "../../chunk-V44DYGWX.mjs";
88
88
  import "../../chunk-VGJEUOUN.mjs";
89
89
  import "../../chunk-C26A6BXG.mjs";
90
- import "../../chunk-LOFMB5G3.mjs";
90
+ import "../../chunk-IPWUJVZZ.mjs";
91
91
  export {
92
92
  INVALID_CARGO_ARGS,
93
93
  LOCK_FILES,
@@ -1,4 +1,4 @@
1
- import { PackageManager, CreateNodesContext, ProjectGraphExternalNode, CreateDependenciesContext, RawProjectGraphDependency } from '@nx/devkit';
1
+ import { PackageManager, CreateNodesContextV2, ProjectGraphExternalNode, CreateDependenciesContext, RawProjectGraphDependency } from '@nx/devkit';
2
2
 
3
3
  declare const YARN_LOCK_FILE = "yarn.lock";
4
4
  declare const NPM_LOCK_FILE = "package-lock.json";
@@ -10,7 +10,7 @@ declare const PNPM_LOCK_PATH: string;
10
10
  /**
11
11
  * Parses lock file and maps dependencies and metadata to {@link LockFileGraph}
12
12
  */
13
- declare function getLockFileNodes(packageManager: PackageManager, contents: string, lockFileHash: string, context: CreateNodesContext): Record<string, ProjectGraphExternalNode>;
13
+ declare function getLockFileNodes(packageManager: PackageManager, contents: string, lockFileHash: string, context: CreateNodesContextV2): Record<string, ProjectGraphExternalNode>;
14
14
  /**
15
15
  * Parses lock file and maps dependencies and metadata to {@link LockFileGraph}
16
16
  */
@@ -1,4 +1,4 @@
1
- import { PackageManager, CreateNodesContext, ProjectGraphExternalNode, CreateDependenciesContext, RawProjectGraphDependency } from '@nx/devkit';
1
+ import { PackageManager, CreateNodesContextV2, ProjectGraphExternalNode, CreateDependenciesContext, RawProjectGraphDependency } from '@nx/devkit';
2
2
 
3
3
  declare const YARN_LOCK_FILE = "yarn.lock";
4
4
  declare const NPM_LOCK_FILE = "package-lock.json";
@@ -10,7 +10,7 @@ declare const PNPM_LOCK_PATH: string;
10
10
  /**
11
11
  * Parses lock file and maps dependencies and metadata to {@link LockFileGraph}
12
12
  */
13
- declare function getLockFileNodes(packageManager: PackageManager, contents: string, lockFileHash: string, context: CreateNodesContext): Record<string, ProjectGraphExternalNode>;
13
+ declare function getLockFileNodes(packageManager: PackageManager, contents: string, lockFileHash: string, context: CreateNodesContextV2): Record<string, ProjectGraphExternalNode>;
14
14
  /**
15
15
  * Parses lock file and maps dependencies and metadata to {@link LockFileGraph}
16
16
  */
@@ -11,7 +11,7 @@ import {
11
11
  getLockFileNodes,
12
12
  lockFileExists
13
13
  } from "../../chunk-ABE7UOMX.mjs";
14
- import "../../chunk-LOFMB5G3.mjs";
14
+ import "../../chunk-IPWUJVZZ.mjs";
15
15
  export {
16
16
  LOCK_FILES,
17
17
  NPM_LOCK_FILE,
@@ -1,3 +1,5 @@
1
+ import { NxJsonConfiguration } from '@nx/devkit';
2
+
1
3
  /**
2
4
  * The values provided in the `base.json` (this package's shared nx.json configuration) file's {@link NxJsonConfiguration.namedInputs} section.
3
5
  */
@@ -18,33 +20,7 @@ declare const NAMED_INPUTS: {
18
20
  /**
19
21
  * The values provided in the `base.json` (this package's shared nx.json configuration) file's {@link NxJsonConfiguration.release} section.
20
22
  */
21
- declare const RELEASE: {
22
- readonly groups: {
23
- readonly packages: {
24
- readonly projects: readonly ["packages/*", "crates/*"];
25
- readonly projectsRelationship: "independent";
26
- readonly releaseTagPattern: "{projectName}@{version}";
27
- readonly changelog: {
28
- readonly entryWhenNoChanges: false;
29
- readonly renderOptions: {
30
- readonly authors: false;
31
- readonly commitReferences: true;
32
- readonly versionTitleDate: true;
33
- };
34
- };
35
- readonly version: {
36
- readonly groupPreVersionCommand: "pnpm build";
37
- readonly generator: "@storm-software/workspace-tools:release-version";
38
- readonly currentVersionResolver: "git-tag";
39
- readonly specifierSource: "conventional-commits";
40
- readonly generatorOptions: {
41
- readonly currentVersionResolver: "git-tag";
42
- readonly specifierSource: "conventional-commits";
43
- };
44
- };
45
- };
46
- };
47
- };
23
+ declare const RELEASE: NxJsonConfiguration["release"];
48
24
  /**
49
25
  * Looks up the actual input string using the provided {@link namedInputs}, merges with the {@link currentInputs}, ensures no duplicates and sorts the result alphabetically.
50
26
  *
@@ -1,3 +1,5 @@
1
+ import { NxJsonConfiguration } from '@nx/devkit';
2
+
1
3
  /**
2
4
  * The values provided in the `base.json` (this package's shared nx.json configuration) file's {@link NxJsonConfiguration.namedInputs} section.
3
5
  */
@@ -18,33 +20,7 @@ declare const NAMED_INPUTS: {
18
20
  /**
19
21
  * The values provided in the `base.json` (this package's shared nx.json configuration) file's {@link NxJsonConfiguration.release} section.
20
22
  */
21
- declare const RELEASE: {
22
- readonly groups: {
23
- readonly packages: {
24
- readonly projects: readonly ["packages/*", "crates/*"];
25
- readonly projectsRelationship: "independent";
26
- readonly releaseTagPattern: "{projectName}@{version}";
27
- readonly changelog: {
28
- readonly entryWhenNoChanges: false;
29
- readonly renderOptions: {
30
- readonly authors: false;
31
- readonly commitReferences: true;
32
- readonly versionTitleDate: true;
33
- };
34
- };
35
- readonly version: {
36
- readonly groupPreVersionCommand: "pnpm build";
37
- readonly generator: "@storm-software/workspace-tools:release-version";
38
- readonly currentVersionResolver: "git-tag";
39
- readonly specifierSource: "conventional-commits";
40
- readonly generatorOptions: {
41
- readonly currentVersionResolver: "git-tag";
42
- readonly specifierSource: "conventional-commits";
43
- };
44
- };
45
- };
46
- };
47
- };
23
+ declare const RELEASE: NxJsonConfiguration["release"];
48
24
  /**
49
25
  * Looks up the actual input string using the provided {@link namedInputs}, merges with the {@link currentInputs}, ensures no duplicates and sorts the result alphabetically.
50
26
  *
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkIBTPJDV6js = require('../../chunk-IBTPJDV6.js');
5
+ var _chunkN3YCERS6js = require('../../chunk-N3YCERS6.js');
6
6
 
7
7
 
8
8
 
9
9
 
10
- exports.NAMED_INPUTS = _chunkIBTPJDV6js.NAMED_INPUTS; exports.RELEASE = _chunkIBTPJDV6js.RELEASE; exports.withNamedInputs = _chunkIBTPJDV6js.withNamedInputs;
10
+ exports.NAMED_INPUTS = _chunkN3YCERS6js.NAMED_INPUTS; exports.RELEASE = _chunkN3YCERS6js.RELEASE; exports.withNamedInputs = _chunkN3YCERS6js.withNamedInputs;
@@ -2,8 +2,8 @@ import {
2
2
  NAMED_INPUTS,
3
3
  RELEASE,
4
4
  withNamedInputs
5
- } from "../../chunk-2LY7DGBH.mjs";
6
- import "../../chunk-LOFMB5G3.mjs";
5
+ } from "../../chunk-OV33RACH.mjs";
6
+ import "../../chunk-IPWUJVZZ.mjs";
7
7
  export {
8
8
  NAMED_INPUTS,
9
9
  RELEASE,
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk7QY4X73Cjs = require('../../chunk-7QY4X73C.js');
6
- require('../../chunk-452FQZ3B.js');
5
+ var _chunkZP4B44CQjs = require('../../chunk-ZP4B44CQ.js');
6
+ require('../../chunk-JWFGGMYQ.js');
7
7
  require('../../chunk-AX3RSZT7.js');
8
8
  require('../../chunk-2CDSXWFA.js');
9
9
  require('../../chunk-G2L3EEEO.js');
@@ -11,4 +11,4 @@ require('../../chunk-G2L3EEEO.js');
11
11
 
12
12
 
13
13
 
14
- exports.PackageManagerTypes = _chunk7QY4X73Cjs.PackageManagerTypes; exports.addPackageJsonGitHead = _chunk7QY4X73Cjs.addPackageJsonGitHead; exports.getPackageInfo = _chunk7QY4X73Cjs.getPackageInfo;
14
+ exports.PackageManagerTypes = _chunkZP4B44CQjs.PackageManagerTypes; exports.addPackageJsonGitHead = _chunkZP4B44CQjs.addPackageJsonGitHead; exports.getPackageInfo = _chunkZP4B44CQjs.getPackageInfo;
@@ -2,12 +2,12 @@ import {
2
2
  PackageManagerTypes,
3
3
  addPackageJsonGitHead,
4
4
  getPackageInfo
5
- } from "../../chunk-UCXAD2SG.mjs";
6
- import "../../chunk-SVIG7SR3.mjs";
5
+ } from "../../chunk-6PVCCKX4.mjs";
6
+ import "../../chunk-X2SLQ73Q.mjs";
7
7
  import "../../chunk-F66XEAID.mjs";
8
8
  import "../../chunk-V44DYGWX.mjs";
9
9
  import "../../chunk-C26A6BXG.mjs";
10
- import "../../chunk-LOFMB5G3.mjs";
10
+ import "../../chunk-IPWUJVZZ.mjs";
11
11
  export {
12
12
  PackageManagerTypes,
13
13
  addPackageJsonGitHead,
@@ -1,4 +1,4 @@
1
- import { ProjectConfiguration, CreateNodesContext } from '@nx/devkit';
1
+ import { ProjectConfiguration, CreateNodesContextV2 } from '@nx/devkit';
2
2
  import { PackageJson } from 'pkg-types';
3
3
 
4
4
  declare function getProjectPlatform(project: ProjectConfiguration, ignoreTags?: boolean): "node" | "neutral" | "browser" | "worker";
@@ -15,6 +15,6 @@ declare function getProjectConfigFromProjectRoot(projectRoot: string, packageJso
15
15
  * @returns The project root directory or null if not found.
16
16
  */
17
17
  declare function getProjectRoot(configPath: string, workspaceRoot: string): string | null;
18
- declare function getRoot(projectRoot: string, context: CreateNodesContext): string;
18
+ declare function getRoot(projectRoot: string, context: CreateNodesContextV2): string;
19
19
 
20
20
  export { getProjectConfigFromProjectJsonPath, getProjectConfigFromProjectRoot, getProjectPlatform, getProjectRoot, getRoot };
@@ -1,4 +1,4 @@
1
- import { ProjectConfiguration, CreateNodesContext } from '@nx/devkit';
1
+ import { ProjectConfiguration, CreateNodesContextV2 } from '@nx/devkit';
2
2
  import { PackageJson } from 'pkg-types';
3
3
 
4
4
  declare function getProjectPlatform(project: ProjectConfiguration, ignoreTags?: boolean): "node" | "neutral" | "browser" | "worker";
@@ -15,6 +15,6 @@ declare function getProjectConfigFromProjectRoot(projectRoot: string, packageJso
15
15
  * @returns The project root directory or null if not found.
16
16
  */
17
17
  declare function getProjectRoot(configPath: string, workspaceRoot: string): string | null;
18
- declare function getRoot(projectRoot: string, context: CreateNodesContext): string;
18
+ declare function getRoot(projectRoot: string, context: CreateNodesContextV2): string;
19
19
 
20
20
  export { getProjectConfigFromProjectJsonPath, getProjectConfigFromProjectRoot, getProjectPlatform, getProjectRoot, getRoot };
@@ -6,7 +6,7 @@ import {
6
6
  getRoot
7
7
  } from "../../chunk-4RYLWWPW.mjs";
8
8
  import "../../chunk-F66XEAID.mjs";
9
- import "../../chunk-LOFMB5G3.mjs";
9
+ import "../../chunk-IPWUJVZZ.mjs";
10
10
  export {
11
11
  getProjectConfigFromProjectJsonPath,
12
12
  getProjectConfigFromProjectRoot,
@@ -8,7 +8,7 @@ import {
8
8
  isEqualProjectTag,
9
9
  setDefaultProjectTags
10
10
  } from "../../chunk-F66XEAID.mjs";
11
- import "../../chunk-LOFMB5G3.mjs";
11
+ import "../../chunk-IPWUJVZZ.mjs";
12
12
  export {
13
13
  ProjectTagConstants,
14
14
  addPluginProjectTag,
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Get the version of a crate from the registry.
3
+ *
4
+ * @param name - The name of the crate
5
+ * @param tag - The tag of the crate
6
+ * @param registry - The registry URL
7
+ * @returns The version of the crate from the registry
8
+ */
9
+ declare const getCrateRegistryVersion: (name: string, tag?: string, registry?: string) => Promise<string>;
10
+
11
+ export { getCrateRegistryVersion };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Get the version of a crate from the registry.
3
+ *
4
+ * @param name - The name of the crate
5
+ * @param tag - The tag of the crate
6
+ * @param registry - The registry URL
7
+ * @returns The version of the crate from the registry
8
+ */
9
+ declare const getCrateRegistryVersion: (name: string, tag?: string, registry?: string) => Promise<string>;
10
+
11
+ export { getCrateRegistryVersion };
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkANHKV7HZjs = require('../../chunk-ANHKV7HZ.js');
4
+
5
+
6
+ exports.getCrateRegistryVersion = _chunkANHKV7HZjs.getCrateRegistryVersion;
@@ -0,0 +1,7 @@
1
+ import {
2
+ getCrateRegistryVersion
3
+ } from "../../chunk-EGI64HQ2.mjs";
4
+ import "../../chunk-IPWUJVZZ.mjs";
5
+ export {
6
+ getCrateRegistryVersion
7
+ };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTypiaTransform
3
3
  } from "../../chunk-KR72GKIT.mjs";
4
- import "../../chunk-LOFMB5G3.mjs";
4
+ import "../../chunk-IPWUJVZZ.mjs";
5
5
  export {
6
6
  getTypiaTransform
7
7
  };
@@ -18,7 +18,7 @@ import {
18
18
  typescriptVersion,
19
19
  verdaccioVersion
20
20
  } from "../../chunk-QC5ON3X4.mjs";
21
- import "../../chunk-LOFMB5G3.mjs";
21
+ import "../../chunk-IPWUJVZZ.mjs";
22
22
  export {
23
23
  eslintVersion,
24
24
  lintStagedVersion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.292.15",
3
+ "version": "1.292.18",
4
4
  "description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -143,6 +143,34 @@
143
143
  "default": "./dist/src/base/*.js"
144
144
  }
145
145
  },
146
+ "./release": {
147
+ "import": {
148
+ "types": "./dist/src/release/index.d.mts",
149
+ "default": "./dist/src/release/index.mjs"
150
+ },
151
+ "require": {
152
+ "types": "./dist/src/release/index.d.ts",
153
+ "default": "./dist/src/release/index.js"
154
+ },
155
+ "default": {
156
+ "types": "./dist/src/release/index.d.ts",
157
+ "default": "./dist/src/release/index.js"
158
+ }
159
+ },
160
+ "./release/*": {
161
+ "import": {
162
+ "types": "./dist/src/release/*.d.mts",
163
+ "default": "./dist/src/release/*.mjs"
164
+ },
165
+ "require": {
166
+ "types": "./dist/src/release/*.d.ts",
167
+ "default": "./dist/src/release/*.js"
168
+ },
169
+ "default": {
170
+ "types": "./dist/src/release/*.d.ts",
171
+ "default": "./dist/src/release/*.js"
172
+ }
173
+ },
146
174
  "./executors/*/untyped": {
147
175
  "import": {
148
176
  "types": "./dist/src/executors/*/untyped.d.mts",
@@ -193,8 +221,8 @@
193
221
  ],
194
222
  "peerDependencies": {
195
223
  "markdownlint-cli2": "^0.17.2",
196
- "nx": "^21.4.1",
197
- "prettier": "^3.5.1"
224
+ "nx": "^22.0.2",
225
+ "prettier": "^3.6.2"
198
226
  },
199
227
  "peerDependenciesMeta": {
200
228
  "markdownlint-cli2": { "optional": false },
@@ -203,35 +231,36 @@
203
231
  },
204
232
  "dependencies": {
205
233
  "@ltd/j-toml": "1.38.0",
206
- "@microsoft/api-extractor": "^7.48.1",
207
- "@nx/devkit": "^21.4.1",
234
+ "@microsoft/api-extractor": "^7.54.0",
235
+ "@nx/devkit": "^22.0.2",
236
+ "@nx/js": "^22.0.2",
208
237
  "@samchon/openapi": "^2.5.3",
209
238
  "@size-limit/esbuild": "11.1.4",
210
239
  "@size-limit/esbuild-why": "11.1.4",
211
240
  "@size-limit/file": "11.1.4",
212
- "@storm-software/esbuild": "^0.53.15",
213
- "@storm-software/npm-tools": "^0.5.15",
214
- "@storm-software/pnpm-tools": "^0.6.15",
215
- "@storm-software/prettier": "^0.57.15",
216
- "@storm-software/tsdown": "^0.45.15",
217
- "@storm-software/unbuild": "^0.57.15",
241
+ "@storm-software/esbuild": "^0.53.18",
242
+ "@storm-software/npm-tools": "^0.5.18",
243
+ "@storm-software/pnpm-tools": "^0.6.18",
244
+ "@storm-software/prettier": "^0.57.18",
245
+ "@storm-software/tsdown": "^0.45.18",
246
+ "@storm-software/unbuild": "^0.57.18",
218
247
  "fs-extra": "11.2.0",
219
- "glob": "^11.0.1",
220
- "jiti": "^2.4.2",
248
+ "glob": "^11.0.3",
249
+ "jiti": "2.4.2",
221
250
  "markdownlint-cli2": "^0.17.2",
222
251
  "micromatch": "^4.0.8",
223
252
  "semver": "7.6.2",
224
253
  "size-limit": "11.1.4",
225
- "typia": "^7.5.0",
254
+ "typia": "^7.6.4",
226
255
  "untyped": "^1.5.2",
227
- "zod": "^4.1.11"
256
+ "zod": "^4.1.12"
228
257
  },
229
258
  "devDependencies": {
230
259
  "@types/micromatch": "^4.0.10",
231
- "@types/node": "^22.10.2",
260
+ "@types/node": "^22.19.0",
232
261
  "@types/semver": "7.5.8",
233
262
  "defu": "6.1.4",
234
- "nx": "^21.4.1",
263
+ "nx": "^22.0.2",
235
264
  "pkg-types": "^1.3.1",
236
265
  "tsup": "8.4.0",
237
266
  "typescript": "^5.9.3"
@@ -239,5 +268,5 @@
239
268
  "publishConfig": { "access": "public" },
240
269
  "executors": "./executors.json",
241
270
  "generators": "./generators.json",
242
- "gitHead": "99cbe99b61fdfd4950fefc959a347ab232e788da"
271
+ "gitHead": "4ff7ccead93c470ebb8b9ad5fcd7e70f3a122cbf"
243
272
  }
@@ -1,73 +0,0 @@
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
-
3
- var _chunkDSDE2UL5js = require('./chunk-DSDE2UL5.js');
4
-
5
- // ../npm-tools/src/constants.ts
6
- var DEFAULT_NPM_REGISTRY = "https://registry.npmjs.org";
7
- var DEFAULT_GITHUB_REGISTRY = "https://npm.pkg.github.com";
8
- var LATEST_NPM_TAG = "latest";
9
- var DEFAULT_NPM_TAG = LATEST_NPM_TAG;
10
-
11
- // ../npm-tools/src/helpers/get-registry.ts
12
- var _child_process = require('child_process');
13
- async function getRegistry() {
14
- return new Promise((resolve, reject) => {
15
- _child_process.exec.call(void 0, "npm config get registry", (error, stdout, stderr) => {
16
- if (error) {
17
- return reject(error);
18
- }
19
- if (stderr) {
20
- return reject(stderr);
21
- }
22
- return resolve(stdout.trim());
23
- });
24
- });
25
- }
26
- async function getNpmRegistry() {
27
- if (process.env.STORM_REGISTRY_NPM) {
28
- return process.env.STORM_REGISTRY_NPM;
29
- }
30
- const workspaceConfig = await _chunkDSDE2UL5js.getConfig.call(void 0, );
31
- if (_optionalChain([workspaceConfig, 'optionalAccess', _ => _.registry, 'optionalAccess', _2 => _2.npm])) {
32
- return _optionalChain([workspaceConfig, 'optionalAccess', _3 => _3.registry, 'optionalAccess', _4 => _4.npm]);
33
- }
34
- return DEFAULT_NPM_REGISTRY;
35
- }
36
- async function getGitHubRegistry() {
37
- if (process.env.STORM_REGISTRY_GITHUB) {
38
- return process.env.STORM_REGISTRY_GITHUB;
39
- }
40
- const workspaceConfig = await _chunkDSDE2UL5js.getConfig.call(void 0, );
41
- if (_optionalChain([workspaceConfig, 'optionalAccess', _5 => _5.registry, 'optionalAccess', _6 => _6.github])) {
42
- return _optionalChain([workspaceConfig, 'optionalAccess', _7 => _7.registry, 'optionalAccess', _8 => _8.github]);
43
- }
44
- return DEFAULT_GITHUB_REGISTRY;
45
- }
46
-
47
- // ../npm-tools/src/helpers/get-version.ts
48
-
49
- async function getVersion(packageName, tag = DEFAULT_NPM_TAG, options = {}) {
50
- const { registry = await getRegistry() } = options;
51
- return new Promise((resolve, reject) => {
52
- _child_process.exec.call(void 0,
53
- `npm view ${packageName} version --registry=${registry} --tag=${tag}`,
54
- (error, stdout, stderr) => {
55
- if (error) {
56
- return reject(error);
57
- }
58
- if (stderr) {
59
- return reject(stderr);
60
- }
61
- return resolve(stdout.trim());
62
- }
63
- );
64
- });
65
- }
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
- exports.DEFAULT_NPM_TAG = DEFAULT_NPM_TAG; exports.getRegistry = getRegistry; exports.getNpmRegistry = getNpmRegistry; exports.getGitHubRegistry = getGitHubRegistry; exports.getVersion = getVersion;
@@ -1,73 +0,0 @@
1
- import {
2
- getConfig
3
- } from "./chunk-NOTQLVZP.mjs";
4
-
5
- // ../npm-tools/src/constants.ts
6
- var DEFAULT_NPM_REGISTRY = "https://registry.npmjs.org";
7
- var DEFAULT_GITHUB_REGISTRY = "https://npm.pkg.github.com";
8
- var LATEST_NPM_TAG = "latest";
9
- var DEFAULT_NPM_TAG = LATEST_NPM_TAG;
10
-
11
- // ../npm-tools/src/helpers/get-registry.ts
12
- import { exec } from "node:child_process";
13
- async function getRegistry() {
14
- return new Promise((resolve, reject) => {
15
- exec("npm config get registry", (error, stdout, stderr) => {
16
- if (error) {
17
- return reject(error);
18
- }
19
- if (stderr) {
20
- return reject(stderr);
21
- }
22
- return resolve(stdout.trim());
23
- });
24
- });
25
- }
26
- async function getNpmRegistry() {
27
- if (process.env.STORM_REGISTRY_NPM) {
28
- return process.env.STORM_REGISTRY_NPM;
29
- }
30
- const workspaceConfig = await getConfig();
31
- if (workspaceConfig?.registry?.npm) {
32
- return workspaceConfig?.registry?.npm;
33
- }
34
- return DEFAULT_NPM_REGISTRY;
35
- }
36
- async function getGitHubRegistry() {
37
- if (process.env.STORM_REGISTRY_GITHUB) {
38
- return process.env.STORM_REGISTRY_GITHUB;
39
- }
40
- const workspaceConfig = await getConfig();
41
- if (workspaceConfig?.registry?.github) {
42
- return workspaceConfig?.registry?.github;
43
- }
44
- return DEFAULT_GITHUB_REGISTRY;
45
- }
46
-
47
- // ../npm-tools/src/helpers/get-version.ts
48
- import { exec as exec2 } from "node:child_process";
49
- async function getVersion(packageName, tag = DEFAULT_NPM_TAG, options = {}) {
50
- const { registry = await getRegistry() } = options;
51
- return new Promise((resolve, reject) => {
52
- exec2(
53
- `npm view ${packageName} version --registry=${registry} --tag=${tag}`,
54
- (error, stdout, stderr) => {
55
- if (error) {
56
- return reject(error);
57
- }
58
- if (stderr) {
59
- return reject(stderr);
60
- }
61
- return resolve(stdout.trim());
62
- }
63
- );
64
- });
65
- }
66
-
67
- export {
68
- DEFAULT_NPM_TAG,
69
- getRegistry,
70
- getNpmRegistry,
71
- getGitHubRegistry,
72
- getVersion
73
- };