@storm-software/workspace-tools 1.296.66 → 1.296.69

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 (183) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-JSF2U5XJ.mjs → chunk-5HFH7JXU.mjs} +1 -1
  3. package/dist/chunk-6JPLZS7V.js +63 -0
  4. package/dist/{chunk-33X22YHZ.js → chunk-6SGLYIAR.js} +38 -62
  5. package/dist/{chunk-7GR34ULJ.mjs → chunk-DWFH4BRZ.mjs} +1 -1
  6. package/dist/{chunk-HHIEI52S.mjs → chunk-F2YQJNBF.mjs} +1 -1
  7. package/dist/{chunk-ZLMX7HR5.mjs → chunk-LWUEYMYK.mjs} +1 -1
  8. package/dist/chunk-NVQEK4YA.mjs +63 -0
  9. package/dist/{chunk-PVNPMJZX.mjs → chunk-QJ7X75J7.mjs} +18 -42
  10. package/dist/chunk-QTRRVFW3.js +646 -0
  11. package/dist/{chunk-26UFEUQD.mjs → chunk-TCAUYQGJ.mjs} +1 -1
  12. package/dist/chunk-WCG3YZT5.mjs +646 -0
  13. package/dist/{executor-C5219i5t.d.ts → executor-Bvhe30H9.d.mts} +1 -1
  14. package/dist/{executor-DadFjUp3.d.mts → executor-Bvhe30H9.d.ts} +1 -1
  15. package/dist/{executor-CIWrRfZk.d.ts → executor-ByqK10v5.d.mts} +1 -1
  16. package/dist/{executor-CG97uTCS.d.mts → executor-ByqK10v5.d.ts} +1 -1
  17. package/dist/{executor-k7EKIXAK.d.ts → executor-CfRFawOI.d.mts} +1 -1
  18. package/dist/{executor-CMTGEhxz.d.mts → executor-CfRFawOI.d.ts} +1 -1
  19. package/dist/{executor-DwZoSq9d.d.mts → executor-DGBYJ2e9.d.mts} +2 -2
  20. package/dist/{executor-ClfwHhlC.d.ts → executor-DGBYJ2e9.d.ts} +2 -2
  21. package/dist/{executor-Dy3y0dK8.d.ts → executor-DnAgSSQo.d.mts} +1 -1
  22. package/dist/{executor-BvyV-AUf.d.mts → executor-DnAgSSQo.d.ts} +1 -1
  23. package/dist/{executor-J46dd9vs.d.ts → executor-gZ6drqad.d.mts} +1 -1
  24. package/dist/{executor-BIJn8SVe.d.mts → executor-gZ6drqad.d.ts} +1 -1
  25. package/dist/executors.d.mts +8 -9
  26. package/dist/executors.d.ts +8 -9
  27. package/dist/executors.js +6 -7
  28. package/dist/executors.mjs +9 -10
  29. package/dist/{generator-pH8SQ4XZ.d.ts → generator-B84zOfal.d.ts} +1 -1
  30. package/dist/{generator-DKHHWoGN.d.mts → generator-B8e9I6Mc.d.mts} +1 -1
  31. package/dist/{generator-COkrr-Oe.d.ts → generator-BC0IbdKh.d.ts} +2 -2
  32. package/dist/{generator-B5dG5dVY.d.ts → generator-BIDPDi0P.d.ts} +2 -2
  33. package/dist/{generator-Dmk05ap8.d.mts → generator-BS0iminO.d.mts} +2 -2
  34. package/dist/{generator-CXLEWJAF.d.ts → generator-Bg8GF2dN.d.mts} +2 -2
  35. package/dist/{generator-RLXG3OeQ.d.ts → generator-CPtINS_d.d.mts} +2 -2
  36. package/dist/{generator-C3dM_v6y.d.mts → generator-D7IL5mT3.d.ts} +2 -2
  37. package/dist/{generator-BKQGstaG.d.mts → generator-DZxxv_h5.d.mts} +2 -2
  38. package/dist/{generator-OpEc9gcp.d.mts → generator-Dq3a21FT.d.ts} +2 -2
  39. package/dist/generators.d.mts +9 -10
  40. package/dist/generators.d.ts +9 -10
  41. package/dist/generators.mjs +5 -5
  42. package/dist/index.d.mts +17 -16
  43. package/dist/index.d.ts +17 -16
  44. package/dist/index.js +6 -7
  45. package/dist/index.mjs +13 -14
  46. package/dist/src/base/base-executor.d.mts +3 -5
  47. package/dist/src/base/base-executor.d.ts +3 -5
  48. package/dist/src/base/base-executor.mjs +1 -1
  49. package/dist/src/base/base-executor.untyped.mjs +1 -1
  50. package/dist/src/base/base-generator.d.mts +3 -5
  51. package/dist/src/base/base-generator.d.ts +3 -5
  52. package/dist/src/base/base-generator.mjs +1 -1
  53. package/dist/src/base/base-generator.untyped.mjs +1 -1
  54. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  55. package/dist/src/base/index.d.mts +3 -5
  56. package/dist/src/base/index.d.ts +3 -5
  57. package/dist/src/base/index.mjs +1 -1
  58. package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
  59. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  60. package/dist/src/executors/cargo-build/executor.mjs +1 -1
  61. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  62. package/dist/src/executors/cargo-check/executor.mjs +1 -1
  63. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  64. package/dist/src/executors/cargo-clippy/executor.mjs +1 -1
  65. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  66. package/dist/src/executors/cargo-doc/executor.mjs +1 -1
  67. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  68. package/dist/src/executors/cargo-format/executor.mjs +1 -1
  69. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  70. package/dist/src/executors/cargo-publish/executor.mjs +1 -1
  71. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  72. package/dist/src/executors/clean-package/executor.d.mts +1 -3
  73. package/dist/src/executors/clean-package/executor.d.ts +1 -3
  74. package/dist/src/executors/clean-package/executor.mjs +1 -1
  75. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  76. package/dist/src/executors/esbuild/executor.d.mts +2 -4
  77. package/dist/src/executors/esbuild/executor.d.ts +2 -4
  78. package/dist/src/executors/esbuild/executor.js +2 -3
  79. package/dist/src/executors/esbuild/executor.mjs +2 -3
  80. package/dist/src/executors/esbuild/untyped.mjs +1 -1
  81. package/dist/src/executors/napi/executor.d.mts +2 -4
  82. package/dist/src/executors/napi/executor.d.ts +2 -4
  83. package/dist/src/executors/napi/executor.mjs +1 -1
  84. package/dist/src/executors/napi/untyped.mjs +1 -1
  85. package/dist/src/executors/npm-publish/executor.js +2 -2
  86. package/dist/src/executors/npm-publish/executor.mjs +2 -2
  87. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  88. package/dist/src/executors/size-limit/executor.d.mts +2 -4
  89. package/dist/src/executors/size-limit/executor.d.ts +2 -4
  90. package/dist/src/executors/size-limit/executor.mjs +1 -1
  91. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  92. package/dist/src/executors/tsdown/executor.d.mts +2 -4
  93. package/dist/src/executors/tsdown/executor.d.ts +2 -4
  94. package/dist/src/executors/tsdown/executor.js +2 -3
  95. package/dist/src/executors/tsdown/executor.mjs +2 -3
  96. package/dist/src/executors/tsdown/untyped.mjs +1 -1
  97. package/dist/src/executors/typia/executor.d.mts +2 -4
  98. package/dist/src/executors/typia/executor.d.ts +2 -4
  99. package/dist/src/executors/typia/executor.mjs +1 -1
  100. package/dist/src/executors/typia/untyped.mjs +1 -1
  101. package/dist/src/executors/unbuild/executor.d.mts +2 -4
  102. package/dist/src/executors/unbuild/executor.d.ts +2 -4
  103. package/dist/src/executors/unbuild/executor.mjs +1 -1
  104. package/dist/src/executors/unbuild/untyped.mjs +1 -1
  105. package/dist/src/generators/browser-library/generator.d.mts +4 -6
  106. package/dist/src/generators/browser-library/generator.d.ts +4 -6
  107. package/dist/src/generators/browser-library/generator.mjs +2 -2
  108. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  109. package/dist/src/generators/config-schema/generator.d.mts +4 -5
  110. package/dist/src/generators/config-schema/generator.d.ts +4 -5
  111. package/dist/src/generators/config-schema/generator.mjs +1 -1
  112. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  113. package/dist/src/generators/init/init.mjs +1 -1
  114. package/dist/src/generators/init/untyped.mjs +1 -1
  115. package/dist/src/generators/neutral-library/generator.d.mts +4 -6
  116. package/dist/src/generators/neutral-library/generator.d.ts +4 -6
  117. package/dist/src/generators/neutral-library/generator.mjs +2 -2
  118. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  119. package/dist/src/generators/node-library/generator.d.mts +4 -6
  120. package/dist/src/generators/node-library/generator.d.ts +4 -6
  121. package/dist/src/generators/node-library/generator.mjs +2 -2
  122. package/dist/src/generators/node-library/untyped.mjs +1 -1
  123. package/dist/src/generators/preset/generator.d.mts +4 -6
  124. package/dist/src/generators/preset/generator.d.ts +4 -6
  125. package/dist/src/generators/preset/generator.mjs +2 -2
  126. package/dist/src/generators/preset/untyped.mjs +1 -1
  127. package/dist/src/plugins/rust/cargo-toml.mjs +1 -1
  128. package/dist/src/plugins/rust/index.mjs +1 -1
  129. package/dist/src/plugins/typescript/index.d.mts +3 -5
  130. package/dist/src/plugins/typescript/index.d.ts +3 -5
  131. package/dist/src/plugins/typescript/index.mjs +1 -1
  132. package/dist/src/plugins/typescript/tsdown.d.mts +3 -5
  133. package/dist/src/plugins/typescript/tsdown.d.ts +3 -5
  134. package/dist/src/plugins/typescript/tsdown.mjs +1 -1
  135. package/dist/src/plugins/typescript/tsup.d.mts +3 -5
  136. package/dist/src/plugins/typescript/tsup.d.ts +3 -5
  137. package/dist/src/plugins/typescript/tsup.mjs +1 -1
  138. package/dist/src/plugins/typescript/untyped-schema.mjs +1 -1
  139. package/dist/src/release/index.d.mts +2 -3
  140. package/dist/src/release/index.d.ts +2 -3
  141. package/dist/src/release/index.mjs +1 -1
  142. package/dist/src/release/js-version-actions.d.mts +1 -3
  143. package/dist/src/release/js-version-actions.d.ts +1 -3
  144. package/dist/src/release/js-version-actions.mjs +1 -1
  145. package/dist/src/release/rust-version-actions.d.mts +1 -3
  146. package/dist/src/release/rust-version-actions.d.ts +1 -3
  147. package/dist/src/release/rust-version-actions.mjs +1 -1
  148. package/dist/src/types.d.mts +77 -6
  149. package/dist/src/types.d.ts +77 -6
  150. package/dist/src/types.mjs +1 -1
  151. package/dist/src/utils/apply-workspace-tokens.mjs +1 -1
  152. package/dist/src/utils/cargo.mjs +1 -1
  153. package/dist/src/utils/create-cli-options.mjs +1 -1
  154. package/dist/src/utils/get-project-configurations.mjs +1 -1
  155. package/dist/src/utils/github.d.mts +1 -3
  156. package/dist/src/utils/github.d.ts +1 -3
  157. package/dist/src/utils/github.mjs +1 -1
  158. package/dist/src/utils/index.d.mts +4 -5
  159. package/dist/src/utils/index.d.ts +4 -5
  160. package/dist/src/utils/index.mjs +1 -1
  161. package/dist/src/utils/lock-file.mjs +1 -1
  162. package/dist/src/utils/nx-json.mjs +1 -1
  163. package/dist/src/utils/package-helpers.mjs +1 -1
  164. package/dist/src/utils/plugin-helpers.mjs +1 -1
  165. package/dist/src/utils/project-tags.d.mts +3 -57
  166. package/dist/src/utils/project-tags.d.ts +3 -57
  167. package/dist/src/utils/project-tags.mjs +1 -1
  168. package/dist/src/utils/registry-helpers.mjs +1 -1
  169. package/dist/src/utils/typia-transform.mjs +1 -1
  170. package/dist/src/utils/versions.mjs +1 -1
  171. package/package.json +11 -11
  172. package/dist/chunk-BCJOE7LL.mjs +0 -469
  173. package/dist/chunk-CX7LLOXP.js +0 -363
  174. package/dist/chunk-F4NO6JZL.mjs +0 -319
  175. package/dist/chunk-MI4DOBNH.js +0 -319
  176. package/dist/chunk-TFGZLFCS.mjs +0 -363
  177. package/dist/chunk-UCM45E6T.js +0 -469
  178. package/dist/types-CHANfFBa.d.ts +0 -77
  179. package/dist/types-D2zxYEAh.d.mts +0 -41
  180. package/dist/types-D2zxYEAh.d.ts +0 -41
  181. package/dist/types-DI57BUsw.d.mts +0 -243
  182. package/dist/types-DI57BUsw.d.ts +0 -243
  183. package/dist/types-E53OUdCr.d.mts +0 -77
@@ -1,11 +1,9 @@
1
1
  import { ProjectGraphProjectNode, Tree } from '@nx/devkit';
2
2
  import JsVersionActions from '@nx/js/src/release/version-actions';
3
- import { S as StormWorkspaceConfig } from '../../types-DI57BUsw.mjs';
3
+ import { StormWorkspaceConfig } from '@storm-software/config/types';
4
4
  import { ReleaseGroupWithName } from 'nx/src/command-line/release/config/filter-release-groups';
5
5
  import { FinalConfigForProject } from 'nx/src/command-line/release/utils/release-graph';
6
6
  import { NxReleaseVersionConfiguration } from 'nx/src/config/nx-json';
7
- import 'zod';
8
- import 'zod/v4/mini';
9
7
 
10
8
  /**
11
9
  * Custom JavaScript/TypeScript version actions for packages inside a Storm workspace.
@@ -1,11 +1,9 @@
1
1
  import { ProjectGraphProjectNode, Tree } from '@nx/devkit';
2
2
  import JsVersionActions from '@nx/js/src/release/version-actions';
3
- import { S as StormWorkspaceConfig } from '../../types-DI57BUsw.js';
3
+ import { StormWorkspaceConfig } from '@storm-software/config/types';
4
4
  import { ReleaseGroupWithName } from 'nx/src/command-line/release/config/filter-release-groups';
5
5
  import { FinalConfigForProject } from 'nx/src/command-line/release/utils/release-graph';
6
6
  import { NxReleaseVersionConfiguration } from 'nx/src/config/nx-json';
7
- import 'zod';
8
- import 'zod/v4/mini';
9
7
 
10
8
  /**
11
9
  * Custom JavaScript/TypeScript version actions for packages inside a Storm workspace.
@@ -5,7 +5,7 @@ import "../../chunk-JGXYRLRO.mjs";
5
5
  import "../../chunk-45CW7OJB.mjs";
6
6
  import "../../chunk-3J2CP54B.mjs";
7
7
  import "../../chunk-TBW5MCN6.mjs";
8
- import "../../chunk-7GR34ULJ.mjs";
8
+ import "../../chunk-DWFH4BRZ.mjs";
9
9
  export {
10
10
  StormJsVersionActions as default
11
11
  };
@@ -1,11 +1,9 @@
1
1
  import { ProjectGraphProjectNode, Tree, ProjectGraph } from '@nx/devkit';
2
- import { S as StormWorkspaceConfig } from '../../types-DI57BUsw.mjs';
2
+ import { StormWorkspaceConfig } from '@storm-software/config';
3
3
  import { VersionActions } from 'nx/release';
4
4
  import { ReleaseGroupWithName } from 'nx/src/command-line/release/config/filter-release-groups';
5
5
  import { FinalConfigForProject } from 'nx/src/command-line/release/utils/release-graph';
6
6
  import { NxReleaseVersionConfiguration } from 'nx/src/config/nx-json';
7
- import 'zod';
8
- import 'zod/v4/mini';
9
7
 
10
8
  /**
11
9
  * Custom Rust version actions for crates inside a Storm workspace.
@@ -1,11 +1,9 @@
1
1
  import { ProjectGraphProjectNode, Tree, ProjectGraph } from '@nx/devkit';
2
- import { S as StormWorkspaceConfig } from '../../types-DI57BUsw.js';
2
+ import { StormWorkspaceConfig } from '@storm-software/config';
3
3
  import { VersionActions } from 'nx/release';
4
4
  import { ReleaseGroupWithName } from 'nx/src/command-line/release/config/filter-release-groups';
5
5
  import { FinalConfigForProject } from 'nx/src/command-line/release/utils/release-graph';
6
6
  import { NxReleaseVersionConfiguration } from 'nx/src/config/nx-json';
7
- import 'zod';
8
- import 'zod/v4/mini';
9
7
 
10
8
  /**
11
9
  * Custom Rust version actions for crates inside a Storm workspace.
@@ -7,7 +7,7 @@ import "../../chunk-JGXYRLRO.mjs";
7
7
  import "../../chunk-45CW7OJB.mjs";
8
8
  import "../../chunk-3J2CP54B.mjs";
9
9
  import "../../chunk-TBW5MCN6.mjs";
10
- import "../../chunk-7GR34ULJ.mjs";
10
+ import "../../chunk-DWFH4BRZ.mjs";
11
11
  export {
12
12
  StormRustVersionActions as default
13
13
  };
@@ -1,6 +1,77 @@
1
- import '../types-DI57BUsw.mjs';
2
- import 'tsup';
3
- export { B as BaseExecutorOptions, a as BaseExecutorResult, b as BaseGeneratorOptions, c as BaseGeneratorResult, d as BaseTypescriptPluginOptions, e as BaseWorkspaceToolOptions, f as BuildOptions, E as Entry, T as TsupContext, g as TypescriptProjectLinkingType, W as WorkspaceToolHooks } from '../types-E53OUdCr.mjs';
4
- export { P as ProjectTagDistStyleValue, a as ProjectTagLanguageValue, b as ProjectTagPlatformValue, c as ProjectTagRegistryValue, d as ProjectTagTypeValue, e as ProjectTagVariant } from '../types-D2zxYEAh.mjs';
5
- import 'zod';
6
- import 'zod/v4/mini';
1
+ import { StormWorkspaceConfig } from '@storm-software/config';
2
+ import { Options } from 'tsup';
3
+ export * from '@storm-software/package-constants/types';
4
+
5
+ // Generated by @storm-software/untyped
6
+ // Do not edit this file directly
7
+
8
+ interface BaseExecutorSchema {
9
+ /**
10
+ * Output Path
11
+ *
12
+ * The output path for the build
13
+ *
14
+ *
15
+ * @format path
16
+ */
17
+ outputPath?: string,
18
+ }
19
+
20
+ // Generated by @storm-software/untyped
21
+ // Do not edit this file directly
22
+
23
+ interface BaseGeneratorSchema {
24
+ /**
25
+ * Directory
26
+ *
27
+ * The directory to create the library in
28
+ *
29
+ */
30
+ directory?: string,
31
+ }
32
+
33
+ declare enum TypescriptProjectLinkingType {
34
+ ALIAS = "alias",
35
+ REFERENCE = "reference"
36
+ }
37
+ interface BaseTypescriptPluginOptions {
38
+ /**
39
+ * The project linking type to use for TypeScript projects.
40
+ *
41
+ * @see https://nx.dev/docs/concepts/typescript-project-linking
42
+ * @see https://nx.dev/docs/technologies/typescript/guides/switch-to-workspaces-project-references
43
+ *
44
+ * @defaultValue "reference"
45
+ */
46
+ projectLinks?: TypescriptProjectLinkingType;
47
+ }
48
+ interface TsupContext {
49
+ projectRoot: string;
50
+ sourceRoot: string;
51
+ projectName: string;
52
+ main: string;
53
+ }
54
+ type BuildOptions = Options;
55
+ type Entry = string | string[] | Record<string, string>;
56
+ interface WorkspaceToolHooks<TSchema = any> {
57
+ applyDefaultOptions?: (options: Partial<TSchema>, config?: StormWorkspaceConfig) => Promise<TSchema> | TSchema;
58
+ preProcess?: (options: TSchema, config?: StormWorkspaceConfig) => Promise<void> | void;
59
+ postProcess?: (config?: StormWorkspaceConfig) => Promise<void> | void;
60
+ }
61
+ interface BaseWorkspaceToolOptions<TSchema = any> {
62
+ skipReadingConfig?: boolean;
63
+ hooks?: WorkspaceToolHooks<TSchema>;
64
+ }
65
+ type BaseExecutorOptions<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = BaseWorkspaceToolOptions<TExecutorSchema>;
66
+ interface BaseExecutorResult {
67
+ error?: Error;
68
+ success?: boolean;
69
+ }
70
+ type BaseGeneratorOptions<TGeneratorSchema extends BaseGeneratorSchema = BaseGeneratorSchema> = BaseWorkspaceToolOptions<TGeneratorSchema>;
71
+ interface BaseGeneratorResult extends Record<string, any> {
72
+ error?: Error;
73
+ success?: boolean;
74
+ data?: any;
75
+ }
76
+
77
+ export { type BaseExecutorOptions, type BaseExecutorResult, type BaseExecutorSchema, type BaseGeneratorOptions, type BaseGeneratorResult, type BaseGeneratorSchema, type BaseTypescriptPluginOptions, type BaseWorkspaceToolOptions, type BuildOptions, type Entry, type TsupContext, TypescriptProjectLinkingType, type WorkspaceToolHooks };
@@ -1,6 +1,77 @@
1
- import '../types-DI57BUsw.js';
2
- import 'tsup';
3
- export { B as BaseExecutorOptions, a as BaseExecutorResult, b as BaseGeneratorOptions, c as BaseGeneratorResult, d as BaseTypescriptPluginOptions, e as BaseWorkspaceToolOptions, f as BuildOptions, E as Entry, T as TsupContext, g as TypescriptProjectLinkingType, W as WorkspaceToolHooks } from '../types-CHANfFBa.js';
4
- export { P as ProjectTagDistStyleValue, a as ProjectTagLanguageValue, b as ProjectTagPlatformValue, c as ProjectTagRegistryValue, d as ProjectTagTypeValue, e as ProjectTagVariant } from '../types-D2zxYEAh.js';
5
- import 'zod';
6
- import 'zod/v4/mini';
1
+ import { StormWorkspaceConfig } from '@storm-software/config';
2
+ import { Options } from 'tsup';
3
+ export * from '@storm-software/package-constants/types';
4
+
5
+ // Generated by @storm-software/untyped
6
+ // Do not edit this file directly
7
+
8
+ interface BaseExecutorSchema {
9
+ /**
10
+ * Output Path
11
+ *
12
+ * The output path for the build
13
+ *
14
+ *
15
+ * @format path
16
+ */
17
+ outputPath?: string,
18
+ }
19
+
20
+ // Generated by @storm-software/untyped
21
+ // Do not edit this file directly
22
+
23
+ interface BaseGeneratorSchema {
24
+ /**
25
+ * Directory
26
+ *
27
+ * The directory to create the library in
28
+ *
29
+ */
30
+ directory?: string,
31
+ }
32
+
33
+ declare enum TypescriptProjectLinkingType {
34
+ ALIAS = "alias",
35
+ REFERENCE = "reference"
36
+ }
37
+ interface BaseTypescriptPluginOptions {
38
+ /**
39
+ * The project linking type to use for TypeScript projects.
40
+ *
41
+ * @see https://nx.dev/docs/concepts/typescript-project-linking
42
+ * @see https://nx.dev/docs/technologies/typescript/guides/switch-to-workspaces-project-references
43
+ *
44
+ * @defaultValue "reference"
45
+ */
46
+ projectLinks?: TypescriptProjectLinkingType;
47
+ }
48
+ interface TsupContext {
49
+ projectRoot: string;
50
+ sourceRoot: string;
51
+ projectName: string;
52
+ main: string;
53
+ }
54
+ type BuildOptions = Options;
55
+ type Entry = string | string[] | Record<string, string>;
56
+ interface WorkspaceToolHooks<TSchema = any> {
57
+ applyDefaultOptions?: (options: Partial<TSchema>, config?: StormWorkspaceConfig) => Promise<TSchema> | TSchema;
58
+ preProcess?: (options: TSchema, config?: StormWorkspaceConfig) => Promise<void> | void;
59
+ postProcess?: (config?: StormWorkspaceConfig) => Promise<void> | void;
60
+ }
61
+ interface BaseWorkspaceToolOptions<TSchema = any> {
62
+ skipReadingConfig?: boolean;
63
+ hooks?: WorkspaceToolHooks<TSchema>;
64
+ }
65
+ type BaseExecutorOptions<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = BaseWorkspaceToolOptions<TExecutorSchema>;
66
+ interface BaseExecutorResult {
67
+ error?: Error;
68
+ success?: boolean;
69
+ }
70
+ type BaseGeneratorOptions<TGeneratorSchema extends BaseGeneratorSchema = BaseGeneratorSchema> = BaseWorkspaceToolOptions<TGeneratorSchema>;
71
+ interface BaseGeneratorResult extends Record<string, any> {
72
+ error?: Error;
73
+ success?: boolean;
74
+ data?: any;
75
+ }
76
+
77
+ export { type BaseExecutorOptions, type BaseExecutorResult, type BaseExecutorSchema, type BaseGeneratorOptions, type BaseGeneratorResult, type BaseGeneratorSchema, type BaseTypescriptPluginOptions, type BaseWorkspaceToolOptions, type BuildOptions, type Entry, type TsupContext, TypescriptProjectLinkingType, type WorkspaceToolHooks };
@@ -7,7 +7,7 @@ import {
7
7
  ProjectTagVariant,
8
8
  TypescriptProjectLinkingType
9
9
  } from "../chunk-5OS7GV5T.mjs";
10
- import "../chunk-7GR34ULJ.mjs";
10
+ import "../chunk-DWFH4BRZ.mjs";
11
11
  export {
12
12
  ProjectTagDistStyleValue,
13
13
  ProjectTagLanguageValue,
@@ -3,7 +3,7 @@ import {
3
3
  } from "../../chunk-UBVTASOE.mjs";
4
4
  import "../../chunk-3J2CP54B.mjs";
5
5
  import "../../chunk-TBW5MCN6.mjs";
6
- import "../../chunk-7GR34ULJ.mjs";
6
+ import "../../chunk-DWFH4BRZ.mjs";
7
7
  export {
8
8
  applyWorkspaceExecutorTokens
9
9
  };
@@ -11,7 +11,7 @@ import {
11
11
  } from "../../chunk-C3G4MZGP.mjs";
12
12
  import "../../chunk-UA33NH5O.mjs";
13
13
  import "../../chunk-45CW7OJB.mjs";
14
- import "../../chunk-7GR34ULJ.mjs";
14
+ import "../../chunk-DWFH4BRZ.mjs";
15
15
  export {
16
16
  INVALID_CARGO_ARGS,
17
17
  buildCargoCommand,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createCliOptions
3
3
  } from "../../chunk-W2C5IGWW.mjs";
4
- import "../../chunk-7GR34ULJ.mjs";
4
+ import "../../chunk-DWFH4BRZ.mjs";
5
5
  export {
6
6
  createCliOptions
7
7
  };
@@ -4,7 +4,7 @@ import {
4
4
  } from "../../chunk-AH7KAAQJ.mjs";
5
5
  import "../../chunk-3J2CP54B.mjs";
6
6
  import "../../chunk-TBW5MCN6.mjs";
7
- import "../../chunk-7GR34ULJ.mjs";
7
+ import "../../chunk-DWFH4BRZ.mjs";
8
8
  export {
9
9
  getProjectConfiguration,
10
10
  getProjectConfigurations
@@ -1,6 +1,4 @@
1
- import { S as StormWorkspaceConfig } from '../../types-DI57BUsw.mjs';
2
- import 'zod';
3
- import 'zod/v4/mini';
1
+ import { StormWorkspaceConfig } from '@storm-software/config';
4
2
 
5
3
  interface GitHubTools {
6
4
  error(message: string): void;
@@ -1,6 +1,4 @@
1
- import { S as StormWorkspaceConfig } from '../../types-DI57BUsw.js';
2
- import 'zod';
3
- import 'zod/v4/mini';
1
+ import { StormWorkspaceConfig } from '@storm-software/config';
4
2
 
5
3
  interface GitHubTools {
6
4
  error(message: string): void;
@@ -2,7 +2,7 @@ import {
2
2
  getGitHubTools
3
3
  } from "../../chunk-54BBSJHK.mjs";
4
4
  import "../../chunk-TBW5MCN6.mjs";
5
- import "../../chunk-7GR34ULJ.mjs";
5
+ import "../../chunk-DWFH4BRZ.mjs";
6
6
  export {
7
7
  getGitHubTools
8
8
  };
@@ -7,17 +7,16 @@ export { LOCK_FILES, NPM_LOCK_FILE, NPM_LOCK_PATH, PNPM_LOCK_FILE, PNPM_LOCK_PAT
7
7
  export { NAMED_INPUTS, RELEASE, withNamedInputs } from './nx-json.mjs';
8
8
  export { PackageInfo, PackageManagerType, PackageManagerTypes, addPackageJsonGitHead, getPackageInfo } from './package-helpers.mjs';
9
9
  export { getProjectConfigFromProjectJsonPath, getProjectConfigFromProjectRoot, getProjectPlatform, getProjectRoot, getRoot } from './plugin-helpers.mjs';
10
- export { ProjectTagConstants, addPluginProjectTag, addProjectTag, formatProjectTag, getProjectTag, hasProjectTag, isEqualProjectTag, setDefaultProjectTags } from './project-tags.mjs';
10
+ export { addPluginProjectTag, addProjectTag, setDefaultProjectTags } from './project-tags.mjs';
11
11
  export { getTypiaTransform } from './typia-transform.mjs';
12
12
  export { eslintVersion, lintStagedVersion, nodeVersion, nxVersion, pnpmVersion, prettierPackageJsonVersion, prettierPrismaVersion, prettierVersion, semanticReleaseVersion, swcCliVersion, swcCoreVersion, swcHelpersVersion, swcNodeVersion, tsLibVersion, tsupVersion, typesNodeVersion, typescriptVersion, verdaccioVersion } from './versions.mjs';
13
+ export * from '@storm-software/package-constants/tags';
13
14
  import '@nx/devkit';
14
15
  import '@storm-software/config-tools';
15
16
  import '@storm-software/config-tools/utilities/toml';
16
17
  import 'node:child_process';
17
- import '../../types-DI57BUsw.mjs';
18
- import 'zod';
19
- import 'zod/v4/mini';
18
+ import '@storm-software/config';
20
19
  import 'nx/src/utils/package-json';
21
20
  import 'pkg-types';
22
- import '../../types-D2zxYEAh.mjs';
21
+ import '@storm-software/package-constants/types';
23
22
  import 'typescript';
@@ -7,17 +7,16 @@ export { LOCK_FILES, NPM_LOCK_FILE, NPM_LOCK_PATH, PNPM_LOCK_FILE, PNPM_LOCK_PAT
7
7
  export { NAMED_INPUTS, RELEASE, withNamedInputs } from './nx-json.js';
8
8
  export { PackageInfo, PackageManagerType, PackageManagerTypes, addPackageJsonGitHead, getPackageInfo } from './package-helpers.js';
9
9
  export { getProjectConfigFromProjectJsonPath, getProjectConfigFromProjectRoot, getProjectPlatform, getProjectRoot, getRoot } from './plugin-helpers.js';
10
- export { ProjectTagConstants, addPluginProjectTag, addProjectTag, formatProjectTag, getProjectTag, hasProjectTag, isEqualProjectTag, setDefaultProjectTags } from './project-tags.js';
10
+ export { addPluginProjectTag, addProjectTag, setDefaultProjectTags } from './project-tags.js';
11
11
  export { getTypiaTransform } from './typia-transform.js';
12
12
  export { eslintVersion, lintStagedVersion, nodeVersion, nxVersion, pnpmVersion, prettierPackageJsonVersion, prettierPrismaVersion, prettierVersion, semanticReleaseVersion, swcCliVersion, swcCoreVersion, swcHelpersVersion, swcNodeVersion, tsLibVersion, tsupVersion, typesNodeVersion, typescriptVersion, verdaccioVersion } from './versions.js';
13
+ export * from '@storm-software/package-constants/tags';
13
14
  import '@nx/devkit';
14
15
  import '@storm-software/config-tools';
15
16
  import '@storm-software/config-tools/utilities/toml';
16
17
  import 'node:child_process';
17
- import '../../types-DI57BUsw.js';
18
- import 'zod';
19
- import 'zod/v4/mini';
18
+ import '@storm-software/config';
20
19
  import 'nx/src/utils/package-json';
21
20
  import 'pkg-types';
22
- import '../../types-D2zxYEAh.js';
21
+ import '@storm-software/package-constants/types';
23
22
  import 'typescript';
@@ -90,7 +90,7 @@ import {
90
90
  import "../../chunk-45CW7OJB.mjs";
91
91
  import "../../chunk-3J2CP54B.mjs";
92
92
  import "../../chunk-TBW5MCN6.mjs";
93
- import "../../chunk-7GR34ULJ.mjs";
93
+ import "../../chunk-DWFH4BRZ.mjs";
94
94
  export {
95
95
  INVALID_CARGO_ARGS,
96
96
  LOCK_FILES,
@@ -11,7 +11,7 @@ import {
11
11
  getLockFileNodes,
12
12
  lockFileExists
13
13
  } from "../../chunk-77B77QNY.mjs";
14
- import "../../chunk-7GR34ULJ.mjs";
14
+ import "../../chunk-DWFH4BRZ.mjs";
15
15
  export {
16
16
  LOCK_FILES,
17
17
  NPM_LOCK_FILE,
@@ -3,7 +3,7 @@ import {
3
3
  RELEASE,
4
4
  withNamedInputs
5
5
  } from "../../chunk-NNDVMJGY.mjs";
6
- import "../../chunk-7GR34ULJ.mjs";
6
+ import "../../chunk-DWFH4BRZ.mjs";
7
7
  export {
8
8
  NAMED_INPUTS,
9
9
  RELEASE,
@@ -7,7 +7,7 @@ import "../../chunk-UA33NH5O.mjs";
7
7
  import "../../chunk-2GQSCZ3J.mjs";
8
8
  import "../../chunk-45CW7OJB.mjs";
9
9
  import "../../chunk-TBW5MCN6.mjs";
10
- import "../../chunk-7GR34ULJ.mjs";
10
+ import "../../chunk-DWFH4BRZ.mjs";
11
11
  export {
12
12
  PackageManagerTypes,
13
13
  addPackageJsonGitHead,
@@ -6,7 +6,7 @@ import {
6
6
  getRoot
7
7
  } from "../../chunk-K4QMCCQB.mjs";
8
8
  import "../../chunk-2GQSCZ3J.mjs";
9
- import "../../chunk-7GR34ULJ.mjs";
9
+ import "../../chunk-DWFH4BRZ.mjs";
10
10
  export {
11
11
  getProjectConfigFromProjectJsonPath,
12
12
  getProjectConfigFromProjectRoot,
@@ -1,60 +1,6 @@
1
1
  import { ProjectConfiguration } from '@nx/devkit';
2
- import { e as ProjectTagVariant, a as ProjectTagLanguageValue, d as ProjectTagTypeValue, P as ProjectTagDistStyleValue, b as ProjectTagPlatformValue, c as ProjectTagRegistryValue } from '../../types-D2zxYEAh.mjs';
3
-
4
- declare const ProjectTagConstants: {
5
- readonly Language: {
6
- readonly TAG_ID: ProjectTagVariant;
7
- readonly TYPESCRIPT: ProjectTagLanguageValue;
8
- readonly RUST: ProjectTagLanguageValue;
9
- };
10
- readonly ProjectType: {
11
- readonly TAG_ID: ProjectTagVariant;
12
- readonly LIBRARY: ProjectTagTypeValue;
13
- readonly APPLICATION: ProjectTagTypeValue;
14
- };
15
- readonly ProjectLinking: {
16
- readonly TAG_ID: ProjectTagVariant;
17
- readonly REFERENCE: string;
18
- readonly ALIAS: string;
19
- };
20
- readonly DistStyle: {
21
- readonly TAG_ID: ProjectTagVariant;
22
- readonly NORMAL: ProjectTagDistStyleValue;
23
- readonly CLEAN: ProjectTagDistStyleValue;
24
- };
25
- readonly Provider: {
26
- readonly TAG_ID: ProjectTagVariant;
27
- };
28
- readonly Platform: {
29
- readonly TAG_ID: ProjectTagVariant;
30
- readonly NODE: ProjectTagPlatformValue;
31
- readonly BROWSER: ProjectTagPlatformValue;
32
- readonly NEUTRAL: ProjectTagPlatformValue;
33
- readonly WORKER: ProjectTagPlatformValue;
34
- };
35
- readonly Registry: {
36
- readonly TAG_ID: ProjectTagVariant;
37
- readonly CARGO: ProjectTagRegistryValue;
38
- readonly NPM: ProjectTagRegistryValue;
39
- readonly CONTAINER: ProjectTagRegistryValue;
40
- readonly CYCLONE: ProjectTagRegistryValue;
41
- };
42
- readonly Plugin: {
43
- readonly TAG_ID: ProjectTagVariant;
44
- };
45
- readonly Builder: {
46
- readonly TAG_ID: ProjectTagVariant;
47
- readonly TSC: ProjectTagLanguageValue;
48
- readonly TSUP: ProjectTagLanguageValue;
49
- readonly TSDOWN: ProjectTagLanguageValue;
50
- readonly VITE: ProjectTagLanguageValue;
51
- readonly ROLLDOWN: ProjectTagLanguageValue;
52
- };
53
- };
54
- declare const formatProjectTag: (variant: ProjectTagVariant, value: string) => string;
55
- declare const hasProjectTag: (project: any, variant: ProjectTagVariant) => any;
56
- declare const getProjectTag: (project: any, variant: ProjectTagVariant) => string | undefined;
57
- declare const isEqualProjectTag: (project: any, variant: ProjectTagVariant, value: string) => boolean;
2
+ import { ProjectTagVariant } from '@storm-software/package-constants/types';
3
+ export * from '@storm-software/package-constants/tags';
58
4
 
59
5
  declare const addProjectTag: (project: ProjectConfiguration, variant: ProjectTagVariant, value: string, options?: {
60
6
  overwrite?: boolean;
@@ -62,4 +8,4 @@ declare const addProjectTag: (project: ProjectConfiguration, variant: ProjectTag
62
8
  declare const addPluginProjectTag: (project: ProjectConfiguration, plugin: string) => void;
63
9
  declare const setDefaultProjectTags: (project: ProjectConfiguration, plugin?: string) => void;
64
10
 
65
- export { ProjectTagConstants, addPluginProjectTag, addProjectTag, formatProjectTag, getProjectTag, hasProjectTag, isEqualProjectTag, setDefaultProjectTags };
11
+ export { addPluginProjectTag, addProjectTag, setDefaultProjectTags };
@@ -1,60 +1,6 @@
1
1
  import { ProjectConfiguration } from '@nx/devkit';
2
- import { e as ProjectTagVariant, a as ProjectTagLanguageValue, d as ProjectTagTypeValue, P as ProjectTagDistStyleValue, b as ProjectTagPlatformValue, c as ProjectTagRegistryValue } from '../../types-D2zxYEAh.js';
3
-
4
- declare const ProjectTagConstants: {
5
- readonly Language: {
6
- readonly TAG_ID: ProjectTagVariant;
7
- readonly TYPESCRIPT: ProjectTagLanguageValue;
8
- readonly RUST: ProjectTagLanguageValue;
9
- };
10
- readonly ProjectType: {
11
- readonly TAG_ID: ProjectTagVariant;
12
- readonly LIBRARY: ProjectTagTypeValue;
13
- readonly APPLICATION: ProjectTagTypeValue;
14
- };
15
- readonly ProjectLinking: {
16
- readonly TAG_ID: ProjectTagVariant;
17
- readonly REFERENCE: string;
18
- readonly ALIAS: string;
19
- };
20
- readonly DistStyle: {
21
- readonly TAG_ID: ProjectTagVariant;
22
- readonly NORMAL: ProjectTagDistStyleValue;
23
- readonly CLEAN: ProjectTagDistStyleValue;
24
- };
25
- readonly Provider: {
26
- readonly TAG_ID: ProjectTagVariant;
27
- };
28
- readonly Platform: {
29
- readonly TAG_ID: ProjectTagVariant;
30
- readonly NODE: ProjectTagPlatformValue;
31
- readonly BROWSER: ProjectTagPlatformValue;
32
- readonly NEUTRAL: ProjectTagPlatformValue;
33
- readonly WORKER: ProjectTagPlatformValue;
34
- };
35
- readonly Registry: {
36
- readonly TAG_ID: ProjectTagVariant;
37
- readonly CARGO: ProjectTagRegistryValue;
38
- readonly NPM: ProjectTagRegistryValue;
39
- readonly CONTAINER: ProjectTagRegistryValue;
40
- readonly CYCLONE: ProjectTagRegistryValue;
41
- };
42
- readonly Plugin: {
43
- readonly TAG_ID: ProjectTagVariant;
44
- };
45
- readonly Builder: {
46
- readonly TAG_ID: ProjectTagVariant;
47
- readonly TSC: ProjectTagLanguageValue;
48
- readonly TSUP: ProjectTagLanguageValue;
49
- readonly TSDOWN: ProjectTagLanguageValue;
50
- readonly VITE: ProjectTagLanguageValue;
51
- readonly ROLLDOWN: ProjectTagLanguageValue;
52
- };
53
- };
54
- declare const formatProjectTag: (variant: ProjectTagVariant, value: string) => string;
55
- declare const hasProjectTag: (project: any, variant: ProjectTagVariant) => any;
56
- declare const getProjectTag: (project: any, variant: ProjectTagVariant) => string | undefined;
57
- declare const isEqualProjectTag: (project: any, variant: ProjectTagVariant, value: string) => boolean;
2
+ import { ProjectTagVariant } from '@storm-software/package-constants/types';
3
+ export * from '@storm-software/package-constants/tags';
58
4
 
59
5
  declare const addProjectTag: (project: ProjectConfiguration, variant: ProjectTagVariant, value: string, options?: {
60
6
  overwrite?: boolean;
@@ -62,4 +8,4 @@ declare const addProjectTag: (project: ProjectConfiguration, variant: ProjectTag
62
8
  declare const addPluginProjectTag: (project: ProjectConfiguration, plugin: string) => void;
63
9
  declare const setDefaultProjectTags: (project: ProjectConfiguration, plugin?: string) => void;
64
10
 
65
- export { ProjectTagConstants, addPluginProjectTag, addProjectTag, formatProjectTag, getProjectTag, hasProjectTag, isEqualProjectTag, setDefaultProjectTags };
11
+ export { addPluginProjectTag, addProjectTag, setDefaultProjectTags };
@@ -8,7 +8,7 @@ import {
8
8
  isEqualProjectTag,
9
9
  setDefaultProjectTags
10
10
  } from "../../chunk-2GQSCZ3J.mjs";
11
- import "../../chunk-7GR34ULJ.mjs";
11
+ import "../../chunk-DWFH4BRZ.mjs";
12
12
  export {
13
13
  ProjectTagConstants,
14
14
  addPluginProjectTag,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getCrateRegistryVersion
3
3
  } from "../../chunk-EGI64HQ2.mjs";
4
- import "../../chunk-7GR34ULJ.mjs";
4
+ import "../../chunk-DWFH4BRZ.mjs";
5
5
  export {
6
6
  getCrateRegistryVersion
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTypiaTransform
3
3
  } from "../../chunk-KR72GKIT.mjs";
4
- import "../../chunk-7GR34ULJ.mjs";
4
+ import "../../chunk-DWFH4BRZ.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-7GR34ULJ.mjs";
21
+ import "../../chunk-DWFH4BRZ.mjs";
22
22
  export {
23
23
  eslintVersion,
24
24
  lintStagedVersion,