@storm-software/config-tools 1.119.0 → 1.130.2

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 (157) hide show
  1. package/README.md +1 -1
  2. package/dist/chunk-4IYEDNYJ.mjs +426 -0
  3. package/dist/chunk-5QZ7AV2J.js +27 -0
  4. package/dist/chunk-64RYHF5D.mjs +51 -0
  5. package/dist/chunk-66ACWURQ.mjs +125 -0
  6. package/dist/chunk-6OYLNZFT.mjs +169 -0
  7. package/dist/chunk-6SJLAEJ3.js +70 -0
  8. package/dist/chunk-6WPG3DXV.js +32 -0
  9. package/dist/chunk-7KVSSDMX.mjs +545 -0
  10. package/dist/chunk-7XY63NME.js +44 -0
  11. package/dist/chunk-A7VLTBS6.mjs +271 -0
  12. package/dist/chunk-BS5OC5E6.js +426 -0
  13. package/dist/chunk-E3IN3SQD.mjs +6 -0
  14. package/dist/chunk-FW22KPOW.mjs +27 -0
  15. package/dist/chunk-GIZ23UUE.js +189 -0
  16. package/dist/chunk-GOQAHXJF.mjs +28 -0
  17. package/dist/chunk-H6XXDZ7A.js +28 -0
  18. package/dist/chunk-HCF3QA4H.js +102 -0
  19. package/dist/chunk-JDK3PXQR.js +545 -0
  20. package/dist/chunk-K6TQN2LZ.js +6 -0
  21. package/dist/chunk-LKZSRXS7.js +169 -0
  22. package/dist/chunk-MGI2M3SX.js +6 -0
  23. package/dist/chunk-N32EGEJB.js +90 -0
  24. package/dist/chunk-N4BRCEYB.js +27 -0
  25. package/dist/chunk-OXK45X3L.js +125 -0
  26. package/dist/chunk-PEHVR33I.js +67 -0
  27. package/dist/chunk-PQNCKJAR.js +271 -0
  28. package/dist/chunk-PVPSTJNJ.mjs +90 -0
  29. package/dist/chunk-QHVHX67K.js +6 -0
  30. package/dist/chunk-QUVGIEZZ.mjs +6 -0
  31. package/dist/chunk-RAWSXKTG.mjs +189 -0
  32. package/dist/chunk-SJO5XZQA.js +6 -0
  33. package/dist/chunk-TEKFJAJJ.mjs +70 -0
  34. package/dist/chunk-TTCXDK6S.mjs +27 -0
  35. package/dist/chunk-UCUOC6LA.mjs +70 -0
  36. package/dist/chunk-VQLOUFMG.mjs +32 -0
  37. package/dist/chunk-WRFJFYOU.mjs +51 -0
  38. package/dist/chunk-WXOSG64C.js +70 -0
  39. package/dist/chunk-WXYJGX4C.mjs +6 -0
  40. package/dist/chunk-X6VIYUJR.mjs +6 -0
  41. package/dist/chunk-XJEQHMOE.js +49 -0
  42. package/dist/chunk-XLMGW4ZW.mjs +67 -0
  43. package/dist/chunk-XXHENMLT.mjs +44 -0
  44. package/dist/chunk-Z2EXWNIQ.mjs +102 -0
  45. package/dist/chunk-ZVXEYJQO.js +51 -0
  46. package/dist/config-file/get-config-file.d.mts +20 -0
  47. package/dist/config-file/get-config-file.d.ts +20 -0
  48. package/dist/config-file/get-config-file.js +23 -0
  49. package/dist/config-file/get-config-file.mjs +23 -0
  50. package/dist/config-file/index.d.mts +4 -0
  51. package/dist/config-file/index.d.ts +4 -0
  52. package/dist/config-file/index.js +24 -0
  53. package/dist/config-file/index.mjs +24 -0
  54. package/dist/create-storm-config.d.mts +29 -0
  55. package/dist/create-storm-config.d.ts +29 -0
  56. package/dist/create-storm-config.js +30 -0
  57. package/dist/create-storm-config.mjs +30 -0
  58. package/dist/env/get-env.d.mts +19 -0
  59. package/dist/env/get-env.d.ts +19 -0
  60. package/dist/env/get-env.js +13 -0
  61. package/dist/env/get-env.mjs +13 -0
  62. package/dist/env/index.d.mts +5 -0
  63. package/dist/env/index.d.ts +5 -0
  64. package/dist/env/index.js +20 -0
  65. package/dist/env/index.mjs +20 -0
  66. package/{src/env/get-env.d.ts → dist/env/set-env.d.mts} +7 -4
  67. package/{src → dist}/env/set-env.d.ts +7 -3
  68. package/dist/env/set-env.js +12 -0
  69. package/dist/env/set-env.mjs +12 -0
  70. package/dist/index.d.mts +19 -0
  71. package/dist/index.d.ts +19 -0
  72. package/dist/index.js +132 -0
  73. package/dist/index.mjs +132 -0
  74. package/dist/logger/chalk.d.mts +25 -0
  75. package/{src/utilities → dist/logger}/chalk.d.ts +4 -2
  76. package/dist/logger/chalk.js +7 -0
  77. package/dist/logger/chalk.mjs +7 -0
  78. package/dist/logger/console.d.mts +82 -0
  79. package/{src/utilities/logger.d.ts → dist/logger/console.d.ts} +18 -14
  80. package/dist/logger/console.js +35 -0
  81. package/dist/logger/console.mjs +35 -0
  82. package/dist/logger/get-log-level.d.mts +27 -0
  83. package/{src/utilities → dist/logger}/get-log-level.d.ts +9 -4
  84. package/dist/logger/get-log-level.js +12 -0
  85. package/dist/logger/get-log-level.mjs +12 -0
  86. package/dist/logger/index.d.mts +6 -0
  87. package/dist/logger/index.d.ts +6 -0
  88. package/dist/logger/index.js +46 -0
  89. package/dist/logger/index.mjs +46 -0
  90. package/dist/types-DGWqy1xb.d.mts +1395 -0
  91. package/dist/types-DGWqy1xb.d.ts +1395 -0
  92. package/dist/types.d.mts +40 -0
  93. package/{src → dist}/types.d.ts +14 -7
  94. package/dist/types.js +9 -0
  95. package/dist/types.mjs +9 -0
  96. package/dist/utilities/apply-workspace-tokens.d.mts +9 -0
  97. package/dist/utilities/apply-workspace-tokens.d.ts +9 -0
  98. package/dist/utilities/apply-workspace-tokens.js +14 -0
  99. package/dist/utilities/apply-workspace-tokens.mjs +14 -0
  100. package/dist/utilities/correct-paths.d.mts +19 -0
  101. package/dist/utilities/correct-paths.d.ts +19 -0
  102. package/dist/utilities/correct-paths.js +9 -0
  103. package/dist/utilities/correct-paths.mjs +9 -0
  104. package/dist/utilities/file-path-utils.d.mts +4 -0
  105. package/dist/utilities/file-path-utils.d.ts +4 -0
  106. package/dist/utilities/file-path-utils.js +9 -0
  107. package/dist/utilities/file-path-utils.mjs +9 -0
  108. package/dist/utilities/find-up.d.mts +6 -0
  109. package/dist/utilities/find-up.d.ts +6 -0
  110. package/dist/utilities/find-up.js +7 -0
  111. package/dist/utilities/find-up.mjs +7 -0
  112. package/dist/utilities/find-workspace-root.d.mts +16 -0
  113. package/{src → dist}/utilities/find-workspace-root.d.ts +4 -2
  114. package/dist/utilities/find-workspace-root.js +11 -0
  115. package/dist/utilities/find-workspace-root.mjs +11 -0
  116. package/dist/utilities/get-default-config.d.mts +15 -0
  117. package/dist/utilities/get-default-config.d.ts +15 -0
  118. package/dist/utilities/get-default-config.js +13 -0
  119. package/dist/utilities/get-default-config.mjs +13 -0
  120. package/dist/utilities/index.d.mts +11 -0
  121. package/dist/utilities/index.d.ts +11 -0
  122. package/dist/utilities/index.js +58 -0
  123. package/dist/utilities/index.mjs +58 -0
  124. package/dist/utilities/process-handler.d.mts +8 -0
  125. package/dist/utilities/process-handler.d.ts +8 -0
  126. package/dist/utilities/process-handler.js +20 -0
  127. package/dist/utilities/process-handler.mjs +20 -0
  128. package/dist/utilities/run.d.mts +36 -0
  129. package/dist/utilities/run.d.ts +36 -0
  130. package/dist/utilities/run.js +11 -0
  131. package/dist/utilities/run.mjs +11 -0
  132. package/package.json +1 -24
  133. package/CHANGELOG.md +0 -3122
  134. package/declarations.d.ts +0 -304
  135. package/index.cjs +0 -67508
  136. package/index.js +0 -67463
  137. package/meta.cjs.json +0 -5352
  138. package/meta.esm.json +0 -5413
  139. package/src/config-file/get-config-file.d.ts +0 -16
  140. package/src/config-file/index.d.ts +0 -1
  141. package/src/create-storm-config.d.ts +0 -26
  142. package/src/env/index.d.ts +0 -2
  143. package/src/index.d.ts +0 -13
  144. package/src/utilities/apply-workspace-tokens.d.ts +0 -4
  145. package/src/utilities/correct-paths.d.ts +0 -1
  146. package/src/utilities/file-path-utils.d.ts +0 -2
  147. package/src/utilities/find-up.d.ts +0 -4
  148. package/src/utilities/get-default-config.d.ts +0 -15
  149. package/src/utilities/index.d.ts +0 -10
  150. package/src/utilities/process-handler.d.ts +0 -4
  151. package/src/utilities/run.d.ts +0 -18
  152. package/utilities/chalk.cjs +0 -1610
  153. package/utilities/chalk.js +0 -1605
  154. package/utilities/find-workspace-root.cjs +0 -118
  155. package/utilities/find-workspace-root.js +0 -91
  156. package/utilities/logger.cjs +0 -5914
  157. package/utilities/logger.js +0 -5897
@@ -0,0 +1,40 @@
1
+ import { S as StormConfig } from './types-DGWqy1xb.mjs';
2
+ import 'zod';
3
+
4
+ type LogLevel = 0 | 10 | 20 | 30 | 35 | 40 | 60 | 70 | 100;
5
+ declare const LogLevel: {
6
+ readonly SILENT: LogLevel;
7
+ readonly FATAL: LogLevel;
8
+ readonly ERROR: LogLevel;
9
+ readonly WARN: LogLevel;
10
+ readonly SUCCESS: LogLevel;
11
+ readonly INFO: LogLevel;
12
+ readonly DEBUG: LogLevel;
13
+ readonly TRACE: LogLevel;
14
+ readonly ALL: LogLevel;
15
+ };
16
+ type LogLevelLabel = "silent" | "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "all";
17
+ declare const LogLevelLabel: {
18
+ readonly SILENT: LogLevelLabel;
19
+ readonly FATAL: LogLevelLabel;
20
+ readonly ERROR: LogLevelLabel;
21
+ readonly WARN: LogLevelLabel;
22
+ readonly INFO: LogLevelLabel;
23
+ readonly DEBUG: LogLevelLabel;
24
+ readonly TRACE: LogLevelLabel;
25
+ readonly ALL: LogLevelLabel;
26
+ };
27
+ interface BaseTokenizerOptions {
28
+ workspaceRoot?: string;
29
+ config?: StormConfig;
30
+ }
31
+ interface ProjectTokenizerOptions extends BaseTokenizerOptions {
32
+ projectRoot?: string;
33
+ projectName?: string;
34
+ sourceRoot?: string;
35
+ }
36
+ type DeepPartial<T> = {
37
+ [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
38
+ };
39
+
40
+ export { type BaseTokenizerOptions, type DeepPartial, LogLevel, LogLevelLabel, type ProjectTokenizerOptions };
@@ -1,6 +1,8 @@
1
- import type { StormConfig } from "@storm-software/config";
2
- export type LogLevel = 0 | 10 | 20 | 30 | 35 | 40 | 60 | 70 | 100;
3
- export declare const LogLevel: {
1
+ import { S as StormConfig } from './types-DGWqy1xb.js';
2
+ import 'zod';
3
+
4
+ type LogLevel = 0 | 10 | 20 | 30 | 35 | 40 | 60 | 70 | 100;
5
+ declare const LogLevel: {
4
6
  readonly SILENT: LogLevel;
5
7
  readonly FATAL: LogLevel;
6
8
  readonly ERROR: LogLevel;
@@ -11,8 +13,8 @@ export declare const LogLevel: {
11
13
  readonly TRACE: LogLevel;
12
14
  readonly ALL: LogLevel;
13
15
  };
14
- export type LogLevelLabel = "silent" | "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "all";
15
- export declare const LogLevelLabel: {
16
+ type LogLevelLabel = "silent" | "fatal" | "error" | "warn" | "info" | "debug" | "trace" | "all";
17
+ declare const LogLevelLabel: {
16
18
  readonly SILENT: LogLevelLabel;
17
19
  readonly FATAL: LogLevelLabel;
18
20
  readonly ERROR: LogLevelLabel;
@@ -22,12 +24,17 @@ export declare const LogLevelLabel: {
22
24
  readonly TRACE: LogLevelLabel;
23
25
  readonly ALL: LogLevelLabel;
24
26
  };
25
- export interface BaseTokenizerOptions {
27
+ interface BaseTokenizerOptions {
26
28
  workspaceRoot?: string;
27
29
  config?: StormConfig;
28
30
  }
29
- export interface ProjectTokenizerOptions extends BaseTokenizerOptions {
31
+ interface ProjectTokenizerOptions extends BaseTokenizerOptions {
30
32
  projectRoot?: string;
31
33
  projectName?: string;
32
34
  sourceRoot?: string;
33
35
  }
36
+ type DeepPartial<T> = {
37
+ [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
38
+ };
39
+
40
+ export { type BaseTokenizerOptions, type DeepPartial, LogLevel, LogLevelLabel, type ProjectTokenizerOptions };
package/dist/types.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunk6WPG3DXVjs = require('./chunk-6WPG3DXV.js');
5
+ require('./chunk-XJEQHMOE.js');
6
+
7
+
8
+
9
+ exports.LogLevel = _chunk6WPG3DXVjs.LogLevel; exports.LogLevelLabel = _chunk6WPG3DXVjs.LogLevelLabel;
package/dist/types.mjs ADDED
@@ -0,0 +1,9 @@
1
+ import {
2
+ LogLevel,
3
+ LogLevelLabel
4
+ } from "./chunk-VQLOUFMG.mjs";
5
+ import "./chunk-WRFJFYOU.mjs";
6
+ export {
7
+ LogLevel,
8
+ LogLevelLabel
9
+ };
@@ -0,0 +1,9 @@
1
+ import { BaseTokenizerOptions, ProjectTokenizerOptions } from '../types.mjs';
2
+ import '../types-DGWqy1xb.mjs';
3
+ import 'zod';
4
+
5
+ declare const applyWorkspaceBaseTokens: (option: string, tokenizerOptions: BaseTokenizerOptions) => Promise<string>;
6
+ declare const applyWorkspaceProjectTokens: (option: string, tokenizerOptions: ProjectTokenizerOptions) => Promise<string>;
7
+ declare const applyWorkspaceTokens: <TConfig extends BaseTokenizerOptions = BaseTokenizerOptions>(options: Record<string, any>, config: TConfig, tokenizerFn: (option: string, config: TConfig) => string | Promise<string>) => Promise<Record<string, any>>;
8
+
9
+ export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTokens };
@@ -0,0 +1,9 @@
1
+ import { BaseTokenizerOptions, ProjectTokenizerOptions } from '../types.js';
2
+ import '../types-DGWqy1xb.js';
3
+ import 'zod';
4
+
5
+ declare const applyWorkspaceBaseTokens: (option: string, tokenizerOptions: BaseTokenizerOptions) => Promise<string>;
6
+ declare const applyWorkspaceProjectTokens: (option: string, tokenizerOptions: ProjectTokenizerOptions) => Promise<string>;
7
+ declare const applyWorkspaceTokens: <TConfig extends BaseTokenizerOptions = BaseTokenizerOptions>(options: Record<string, any>, config: TConfig, tokenizerFn: (option: string, config: TConfig) => string | Promise<string>) => Promise<Record<string, any>>;
8
+
9
+ export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTokens };
@@ -0,0 +1,14 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunkPEHVR33Ijs = require('../chunk-PEHVR33I.js');
6
+ require('../chunk-6SJLAEJ3.js');
7
+ require('../chunk-N4BRCEYB.js');
8
+ require('../chunk-H6XXDZ7A.js');
9
+ require('../chunk-XJEQHMOE.js');
10
+
11
+
12
+
13
+
14
+ exports.applyWorkspaceBaseTokens = _chunkPEHVR33Ijs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkPEHVR33Ijs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkPEHVR33Ijs.applyWorkspaceTokens;
@@ -0,0 +1,14 @@
1
+ import {
2
+ applyWorkspaceBaseTokens,
3
+ applyWorkspaceProjectTokens,
4
+ applyWorkspaceTokens
5
+ } from "../chunk-XLMGW4ZW.mjs";
6
+ import "../chunk-TEKFJAJJ.mjs";
7
+ import "../chunk-TTCXDK6S.mjs";
8
+ import "../chunk-GOQAHXJF.mjs";
9
+ import "../chunk-WRFJFYOU.mjs";
10
+ export {
11
+ applyWorkspaceBaseTokens,
12
+ applyWorkspaceProjectTokens,
13
+ applyWorkspaceTokens
14
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Corrects any inconsistencies in the path's separators
3
+ *
4
+ * @param path - The path to correct
5
+ * @returns The corrected path
6
+ */
7
+ declare const correctPaths: (path?: string) => string;
8
+ /**
9
+ * Join multiple path segments together
10
+ *
11
+ * @remarks
12
+ * This function also corrects any inconsistencies in the path's separators
13
+ *
14
+ * @param paths - The path segments to join
15
+ * @returns The joined path
16
+ */
17
+ declare const joinPaths: (...paths: string[]) => string;
18
+
19
+ export { correctPaths, joinPaths };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Corrects any inconsistencies in the path's separators
3
+ *
4
+ * @param path - The path to correct
5
+ * @returns The corrected path
6
+ */
7
+ declare const correctPaths: (path?: string) => string;
8
+ /**
9
+ * Join multiple path segments together
10
+ *
11
+ * @remarks
12
+ * This function also corrects any inconsistencies in the path's separators
13
+ *
14
+ * @param paths - The path segments to join
15
+ * @returns The joined path
16
+ */
17
+ declare const joinPaths: (...paths: string[]) => string;
18
+
19
+ export { correctPaths, joinPaths };
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkH6XXDZ7Ajs = require('../chunk-H6XXDZ7A.js');
5
+ require('../chunk-XJEQHMOE.js');
6
+
7
+
8
+
9
+ exports.correctPaths = _chunkH6XXDZ7Ajs.correctPaths; exports.joinPaths = _chunkH6XXDZ7Ajs.joinPaths;
@@ -0,0 +1,9 @@
1
+ import {
2
+ correctPaths,
3
+ joinPaths
4
+ } from "../chunk-GOQAHXJF.mjs";
5
+ import "../chunk-WRFJFYOU.mjs";
6
+ export {
7
+ correctPaths,
8
+ joinPaths
9
+ };
@@ -0,0 +1,4 @@
1
+ declare const removeExtension: (filePath?: string) => string;
2
+ declare function findFileName(filePath: string): string;
3
+
4
+ export { findFileName, removeExtension };
@@ -0,0 +1,4 @@
1
+ declare const removeExtension: (filePath?: string) => string;
2
+ declare function findFileName(filePath: string): string;
3
+
4
+ export { findFileName, removeExtension };
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunk5QZ7AV2Jjs = require('../chunk-5QZ7AV2J.js');
5
+ require('../chunk-XJEQHMOE.js');
6
+
7
+
8
+
9
+ exports.findFileName = _chunk5QZ7AV2Jjs.findFileName; exports.removeExtension = _chunk5QZ7AV2Jjs.removeExtension;
@@ -0,0 +1,9 @@
1
+ import {
2
+ findFileName,
3
+ removeExtension
4
+ } from "../chunk-FW22KPOW.mjs";
5
+ import "../chunk-WRFJFYOU.mjs";
6
+ export {
7
+ findFileName,
8
+ removeExtension
9
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Gets the nearest "node_modules" folder by walking up from start path.
3
+ */
4
+ declare function findFolderUp(startPath: string, endFileNames: string[]): string | undefined;
5
+
6
+ export { findFolderUp };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Gets the nearest "node_modules" folder by walking up from start path.
3
+ */
4
+ declare function findFolderUp(startPath: string, endFileNames: string[]): string | undefined;
5
+
6
+ export { findFolderUp };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkN4BRCEYBjs = require('../chunk-N4BRCEYB.js');
4
+ require('../chunk-XJEQHMOE.js');
5
+
6
+
7
+ exports.findFolderUp = _chunkN4BRCEYBjs.findFolderUp;
@@ -0,0 +1,7 @@
1
+ import {
2
+ findFolderUp
3
+ } from "../chunk-TTCXDK6S.mjs";
4
+ import "../chunk-WRFJFYOU.mjs";
5
+ export {
6
+ findFolderUp
7
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Find the monorepo root directory, searching upwards from `path`.
3
+ *
4
+ * @param pathInsideMonorepo - The path inside the monorepo to start searching from
5
+ * @returns The monorepo root directory
6
+ */
7
+ declare function findWorkspaceRootSafe(pathInsideMonorepo?: string): string | undefined;
8
+ /**
9
+ * Find the monorepo root directory, searching upwards from `path`.
10
+ *
11
+ * @param pathInsideMonorepo - The path inside the monorepo to start searching from
12
+ * @returns The monorepo root directory
13
+ */
14
+ declare function findWorkspaceRoot(pathInsideMonorepo?: string): string;
15
+
16
+ export { findWorkspaceRoot, findWorkspaceRootSafe };
@@ -4,11 +4,13 @@
4
4
  * @param pathInsideMonorepo - The path inside the monorepo to start searching from
5
5
  * @returns The monorepo root directory
6
6
  */
7
- export declare function findWorkspaceRootSafe(pathInsideMonorepo?: string): string | undefined;
7
+ declare function findWorkspaceRootSafe(pathInsideMonorepo?: string): string | undefined;
8
8
  /**
9
9
  * Find the monorepo root directory, searching upwards from `path`.
10
10
  *
11
11
  * @param pathInsideMonorepo - The path inside the monorepo to start searching from
12
12
  * @returns The monorepo root directory
13
13
  */
14
- export declare function findWorkspaceRoot(pathInsideMonorepo?: string): string;
14
+ declare function findWorkspaceRoot(pathInsideMonorepo?: string): string;
15
+
16
+ export { findWorkspaceRoot, findWorkspaceRootSafe };
@@ -0,0 +1,11 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunk6SJLAEJ3js = require('../chunk-6SJLAEJ3.js');
5
+ require('../chunk-N4BRCEYB.js');
6
+ require('../chunk-H6XXDZ7A.js');
7
+ require('../chunk-XJEQHMOE.js');
8
+
9
+
10
+
11
+ exports.findWorkspaceRoot = _chunk6SJLAEJ3js.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunk6SJLAEJ3js.findWorkspaceRootSafe;
@@ -0,0 +1,11 @@
1
+ import {
2
+ findWorkspaceRoot,
3
+ findWorkspaceRootSafe
4
+ } from "../chunk-TEKFJAJJ.mjs";
5
+ import "../chunk-TTCXDK6S.mjs";
6
+ import "../chunk-GOQAHXJF.mjs";
7
+ import "../chunk-WRFJFYOU.mjs";
8
+ export {
9
+ findWorkspaceRoot,
10
+ findWorkspaceRootSafe
11
+ };
@@ -0,0 +1,15 @@
1
+ import { C as ColorConfig, S as StormConfig } from '../types-DGWqy1xb.mjs';
2
+ import 'zod';
3
+
4
+ /**
5
+ * Storm theme config values used for styling various workspace elements
6
+ */
7
+ declare const DEFAULT_COLOR_CONFIG: ColorConfig;
8
+ /**
9
+ * Get the default Storm config values used during various dev-ops processes
10
+ *
11
+ * @returns The default Storm config values
12
+ */
13
+ declare const getDefaultConfig: (root?: string) => Pick<StormConfig, "workspaceRoot" | "name" | "namespace" | "repository" | "license" | "homepage" | "docs" | "licensing">;
14
+
15
+ export { DEFAULT_COLOR_CONFIG, getDefaultConfig };
@@ -0,0 +1,15 @@
1
+ import { C as ColorConfig, S as StormConfig } from '../types-DGWqy1xb.js';
2
+ import 'zod';
3
+
4
+ /**
5
+ * Storm theme config values used for styling various workspace elements
6
+ */
7
+ declare const DEFAULT_COLOR_CONFIG: ColorConfig;
8
+ /**
9
+ * Get the default Storm config values used during various dev-ops processes
10
+ *
11
+ * @returns The default Storm config values
12
+ */
13
+ declare const getDefaultConfig: (root?: string) => Pick<StormConfig, "workspaceRoot" | "name" | "namespace" | "repository" | "license" | "homepage" | "docs" | "licensing">;
14
+
15
+ export { DEFAULT_COLOR_CONFIG, getDefaultConfig };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkN32EGEJBjs = require('../chunk-N32EGEJB.js');
5
+ require('../chunk-6SJLAEJ3.js');
6
+ require('../chunk-N4BRCEYB.js');
7
+ require('../chunk-GIZ23UUE.js');
8
+ require('../chunk-H6XXDZ7A.js');
9
+ require('../chunk-XJEQHMOE.js');
10
+
11
+
12
+
13
+ exports.DEFAULT_COLOR_CONFIG = _chunkN32EGEJBjs.DEFAULT_COLOR_CONFIG; exports.getDefaultConfig = _chunkN32EGEJBjs.getDefaultConfig;
@@ -0,0 +1,13 @@
1
+ import {
2
+ DEFAULT_COLOR_CONFIG,
3
+ getDefaultConfig
4
+ } from "../chunk-PVPSTJNJ.mjs";
5
+ import "../chunk-TEKFJAJJ.mjs";
6
+ import "../chunk-TTCXDK6S.mjs";
7
+ import "../chunk-RAWSXKTG.mjs";
8
+ import "../chunk-GOQAHXJF.mjs";
9
+ import "../chunk-WRFJFYOU.mjs";
10
+ export {
11
+ DEFAULT_COLOR_CONFIG,
12
+ getDefaultConfig
13
+ };
@@ -0,0 +1,11 @@
1
+ export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTokens } from './apply-workspace-tokens.mjs';
2
+ export { correctPaths, joinPaths } from './correct-paths.mjs';
3
+ export { findFileName, removeExtension } from './file-path-utils.mjs';
4
+ export { findWorkspaceRoot, findWorkspaceRootSafe } from './find-workspace-root.mjs';
5
+ export { DEFAULT_COLOR_CONFIG, getDefaultConfig } from './get-default-config.mjs';
6
+ export { exitWithError, exitWithSuccess, handleProcess } from './process-handler.mjs';
7
+ export { IOType, LARGE_BUFFER, StdioOptions, run, runAsync } from './run.mjs';
8
+ import '../types.mjs';
9
+ import '../types-DGWqy1xb.mjs';
10
+ import 'zod';
11
+ import 'child_process';
@@ -0,0 +1,11 @@
1
+ export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTokens } from './apply-workspace-tokens.js';
2
+ export { correctPaths, joinPaths } from './correct-paths.js';
3
+ export { findFileName, removeExtension } from './file-path-utils.js';
4
+ export { findWorkspaceRoot, findWorkspaceRootSafe } from './find-workspace-root.js';
5
+ export { DEFAULT_COLOR_CONFIG, getDefaultConfig } from './get-default-config.js';
6
+ export { exitWithError, exitWithSuccess, handleProcess } from './process-handler.js';
7
+ export { IOType, LARGE_BUFFER, StdioOptions, run, runAsync } from './run.js';
8
+ import '../types.js';
9
+ import '../types-DGWqy1xb.js';
10
+ import 'zod';
11
+ import 'child_process';
@@ -0,0 +1,58 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-K6TQN2LZ.js');
2
+
3
+
4
+
5
+
6
+ var _chunkZVXEYJQOjs = require('../chunk-ZVXEYJQO.js');
7
+
8
+
9
+
10
+
11
+ var _chunk7XY63NMEjs = require('../chunk-7XY63NME.js');
12
+
13
+
14
+
15
+
16
+ var _chunkPEHVR33Ijs = require('../chunk-PEHVR33I.js');
17
+
18
+
19
+
20
+ var _chunk5QZ7AV2Jjs = require('../chunk-5QZ7AV2J.js');
21
+ require('../chunk-OXK45X3L.js');
22
+
23
+
24
+
25
+ var _chunkN32EGEJBjs = require('../chunk-N32EGEJB.js');
26
+
27
+
28
+
29
+ var _chunk6SJLAEJ3js = require('../chunk-6SJLAEJ3.js');
30
+ require('../chunk-N4BRCEYB.js');
31
+ require('../chunk-GIZ23UUE.js');
32
+ require('../chunk-WXOSG64C.js');
33
+
34
+
35
+
36
+ var _chunkH6XXDZ7Ajs = require('../chunk-H6XXDZ7A.js');
37
+ require('../chunk-6WPG3DXV.js');
38
+ require('../chunk-BS5OC5E6.js');
39
+ require('../chunk-XJEQHMOE.js');
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+ exports.DEFAULT_COLOR_CONFIG = _chunkN32EGEJBjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk7XY63NMEjs.LARGE_BUFFER; exports.applyWorkspaceBaseTokens = _chunkPEHVR33Ijs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkPEHVR33Ijs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkPEHVR33Ijs.applyWorkspaceTokens; exports.correctPaths = _chunkH6XXDZ7Ajs.correctPaths; exports.exitWithError = _chunkZVXEYJQOjs.exitWithError; exports.exitWithSuccess = _chunkZVXEYJQOjs.exitWithSuccess; exports.findFileName = _chunk5QZ7AV2Jjs.findFileName; exports.findWorkspaceRoot = _chunk6SJLAEJ3js.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunk6SJLAEJ3js.findWorkspaceRootSafe; exports.getDefaultConfig = _chunkN32EGEJBjs.getDefaultConfig; exports.handleProcess = _chunkZVXEYJQOjs.handleProcess; exports.joinPaths = _chunkH6XXDZ7Ajs.joinPaths; exports.removeExtension = _chunk5QZ7AV2Jjs.removeExtension; exports.run = _chunk7XY63NMEjs.run; exports.runAsync = _chunk7XY63NMEjs.runAsync;
@@ -0,0 +1,58 @@
1
+ import "../chunk-E3IN3SQD.mjs";
2
+ import {
3
+ exitWithError,
4
+ exitWithSuccess,
5
+ handleProcess
6
+ } from "../chunk-64RYHF5D.mjs";
7
+ import {
8
+ LARGE_BUFFER,
9
+ run,
10
+ runAsync
11
+ } from "../chunk-XXHENMLT.mjs";
12
+ import {
13
+ applyWorkspaceBaseTokens,
14
+ applyWorkspaceProjectTokens,
15
+ applyWorkspaceTokens
16
+ } from "../chunk-XLMGW4ZW.mjs";
17
+ import {
18
+ findFileName,
19
+ removeExtension
20
+ } from "../chunk-FW22KPOW.mjs";
21
+ import "../chunk-66ACWURQ.mjs";
22
+ import {
23
+ DEFAULT_COLOR_CONFIG,
24
+ getDefaultConfig
25
+ } from "../chunk-PVPSTJNJ.mjs";
26
+ import {
27
+ findWorkspaceRoot,
28
+ findWorkspaceRootSafe
29
+ } from "../chunk-TEKFJAJJ.mjs";
30
+ import "../chunk-TTCXDK6S.mjs";
31
+ import "../chunk-RAWSXKTG.mjs";
32
+ import "../chunk-UCUOC6LA.mjs";
33
+ import {
34
+ correctPaths,
35
+ joinPaths
36
+ } from "../chunk-GOQAHXJF.mjs";
37
+ import "../chunk-VQLOUFMG.mjs";
38
+ import "../chunk-4IYEDNYJ.mjs";
39
+ import "../chunk-WRFJFYOU.mjs";
40
+ export {
41
+ DEFAULT_COLOR_CONFIG,
42
+ LARGE_BUFFER,
43
+ applyWorkspaceBaseTokens,
44
+ applyWorkspaceProjectTokens,
45
+ applyWorkspaceTokens,
46
+ correctPaths,
47
+ exitWithError,
48
+ exitWithSuccess,
49
+ findFileName,
50
+ findWorkspaceRoot,
51
+ findWorkspaceRootSafe,
52
+ getDefaultConfig,
53
+ handleProcess,
54
+ joinPaths,
55
+ removeExtension,
56
+ run,
57
+ runAsync
58
+ };
@@ -0,0 +1,8 @@
1
+ import { S as StormConfig } from '../types-DGWqy1xb.mjs';
2
+ import 'zod';
3
+
4
+ declare const exitWithError: (config?: Partial<StormConfig>) => never;
5
+ declare const exitWithSuccess: (config?: Partial<StormConfig>) => never;
6
+ declare const handleProcess: (config?: Partial<StormConfig>) => void;
7
+
8
+ export { exitWithError, exitWithSuccess, handleProcess };
@@ -0,0 +1,8 @@
1
+ import { S as StormConfig } from '../types-DGWqy1xb.js';
2
+ import 'zod';
3
+
4
+ declare const exitWithError: (config?: Partial<StormConfig>) => never;
5
+ declare const exitWithSuccess: (config?: Partial<StormConfig>) => never;
6
+ declare const handleProcess: (config?: Partial<StormConfig>) => void;
7
+
8
+ export { exitWithError, exitWithSuccess, handleProcess };
@@ -0,0 +1,20 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunkZVXEYJQOjs = require('../chunk-ZVXEYJQO.js');
6
+ require('../chunk-OXK45X3L.js');
7
+ require('../chunk-N32EGEJB.js');
8
+ require('../chunk-6SJLAEJ3.js');
9
+ require('../chunk-N4BRCEYB.js');
10
+ require('../chunk-GIZ23UUE.js');
11
+ require('../chunk-WXOSG64C.js');
12
+ require('../chunk-H6XXDZ7A.js');
13
+ require('../chunk-6WPG3DXV.js');
14
+ require('../chunk-BS5OC5E6.js');
15
+ require('../chunk-XJEQHMOE.js');
16
+
17
+
18
+
19
+
20
+ exports.exitWithError = _chunkZVXEYJQOjs.exitWithError; exports.exitWithSuccess = _chunkZVXEYJQOjs.exitWithSuccess; exports.handleProcess = _chunkZVXEYJQOjs.handleProcess;
@@ -0,0 +1,20 @@
1
+ import {
2
+ exitWithError,
3
+ exitWithSuccess,
4
+ handleProcess
5
+ } from "../chunk-64RYHF5D.mjs";
6
+ import "../chunk-66ACWURQ.mjs";
7
+ import "../chunk-PVPSTJNJ.mjs";
8
+ import "../chunk-TEKFJAJJ.mjs";
9
+ import "../chunk-TTCXDK6S.mjs";
10
+ import "../chunk-RAWSXKTG.mjs";
11
+ import "../chunk-UCUOC6LA.mjs";
12
+ import "../chunk-GOQAHXJF.mjs";
13
+ import "../chunk-VQLOUFMG.mjs";
14
+ import "../chunk-4IYEDNYJ.mjs";
15
+ import "../chunk-WRFJFYOU.mjs";
16
+ export {
17
+ exitWithError,
18
+ exitWithSuccess,
19
+ handleProcess
20
+ };
@@ -0,0 +1,36 @@
1
+ import * as child_process from 'child_process';
2
+ import { S as StormConfig } from '../types-DGWqy1xb.mjs';
3
+ import 'zod';
4
+
5
+ declare const LARGE_BUFFER: number;
6
+ type IOType = "overlapped" | "pipe" | "ignore" | "inherit";
7
+ type StdioOptions = IOType | Array<IOType | "ipc" | number | null | undefined>;
8
+ /**
9
+ * Run a command line process
10
+ *
11
+ * @remarks
12
+ * A wrapper around `execSync` to run our command line processes
13
+ *
14
+ * @param config - The Storm configuration object
15
+ * @param command - The command to run
16
+ * @param cwd - The current working directory
17
+ * @param stdio - The standard input/output options
18
+ * @param env - The environment variables
19
+ * @returns The result of the command
20
+ */
21
+ declare const run: (config: StormConfig, command: string, cwd?: string, stdio?: StdioOptions, env?: NodeJS.ProcessEnv) => Buffer<ArrayBufferLike>;
22
+ /**
23
+ * Run an asynchronous command line process
24
+ *
25
+ * @remarks
26
+ * A wrapper around `exec` to run our command line processes
27
+ *
28
+ * @param config - The Storm configuration object
29
+ * @param command - The command to run
30
+ * @param cwd - The current working directory
31
+ * @param env - The environment variables
32
+ * @returns A promise with the result of the command
33
+ */
34
+ declare const runAsync: (config: StormConfig, command: string, cwd?: string, env?: NodeJS.ProcessEnv) => child_process.ChildProcess;
35
+
36
+ export { type IOType, LARGE_BUFFER, type StdioOptions, run, runAsync };