@storm-software/config-tools 1.169.7 → 1.170.0

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 (78) hide show
  1. package/README.md +1 -1
  2. package/bin/config.cjs +50 -11
  3. package/bin/config.js +56 -17
  4. package/dist/{chunk-WITKEKZ5.js → chunk-26BPJW3I.js} +12 -9
  5. package/dist/{chunk-BYLFGW3E.cjs → chunk-26LV7S6Z.cjs} +9 -9
  6. package/dist/{chunk-BJ2W75ZO.cjs → chunk-2CVNUZFW.cjs} +22 -19
  7. package/dist/{chunk-XBNXWUW3.cjs → chunk-2IEYYP2I.cjs} +2 -2
  8. package/dist/{chunk-JX5NLB4S.js → chunk-4KZ3BMNG.js} +44 -10
  9. package/dist/{chunk-GIXUQACB.cjs → chunk-4PAEA5KV.cjs} +44 -10
  10. package/dist/{chunk-J2LCTMCI.cjs → chunk-4VJPNKRP.cjs} +9 -9
  11. package/dist/{chunk-D2H6Y42I.cjs → chunk-5XVUNKW6.cjs} +3 -0
  12. package/dist/{chunk-QXXXAJVP.cjs → chunk-6LO4SCE6.cjs} +3 -2
  13. package/dist/{chunk-BAWQ37NK.js → chunk-6YK3KZIF.js} +1 -1
  14. package/dist/{chunk-3TLEBPG2.cjs → chunk-7BVMJTE2.cjs} +9 -9
  15. package/dist/{chunk-QDJMKPQQ.js → chunk-7OSBTSCE.js} +1 -1
  16. package/dist/{chunk-7V5ZWT3O.js → chunk-BKQBZMGO.js} +1 -0
  17. package/dist/{chunk-7HCUD67D.cjs → chunk-BMDGKEGP.cjs} +3 -3
  18. package/dist/{chunk-7SIKKF62.cjs → chunk-DX767CQS.cjs} +2 -2
  19. package/dist/{chunk-56NGBR4S.cjs → chunk-E5XT5FVB.cjs} +3 -2
  20. package/dist/{chunk-H425P7G5.cjs → chunk-F7MZXFL2.cjs} +3 -0
  21. package/dist/{chunk-G6IQUR2B.js → chunk-FRM3M54F.js} +1 -1
  22. package/dist/{chunk-PORZT4W3.js → chunk-JRKB77S5.js} +1 -1
  23. package/dist/{chunk-H2GU4JMJ.cjs → chunk-KX7CIRN3.cjs} +3 -3
  24. package/dist/{chunk-MU2JW35A.js → chunk-MN6CU3TR.js} +14 -11
  25. package/dist/{chunk-JYKZS46U.cjs → chunk-MNLUPWAB.cjs} +5 -5
  26. package/dist/{chunk-IYQC7ESZ.js → chunk-NUOCEMFW.js} +1 -1
  27. package/dist/{chunk-FCWF3I34.cjs → chunk-OD7DEEL5.cjs} +9 -9
  28. package/dist/{chunk-SA3JCBON.js → chunk-OUYYXBZX.js} +4 -4
  29. package/dist/{chunk-LEJKESBR.cjs → chunk-QWVC3UD5.cjs} +3 -3
  30. package/dist/{chunk-LDDYJHK5.cjs → chunk-RJVVMUQK.cjs} +22 -19
  31. package/dist/{chunk-GMHWE7ZI.js → chunk-STYJJA3M.js} +1 -1
  32. package/dist/{chunk-XS7LVKAI.js → chunk-TCSDVRRN.js} +6 -3
  33. package/dist/{chunk-BISNOW2V.cjs → chunk-TGDG6POD.cjs} +2 -2
  34. package/dist/{chunk-5ZIDRDGG.js → chunk-TRI5HQQN.js} +6 -3
  35. package/dist/{chunk-ELNIDXR5.js → chunk-U74E4EM6.js} +1 -1
  36. package/dist/{chunk-Q6MCB3G2.cjs → chunk-UPV2R6VP.cjs} +3 -3
  37. package/dist/{chunk-4DF7JJF3.js → chunk-VSPBZRTR.js} +1 -1
  38. package/dist/{chunk-YGCYQLTS.js → chunk-WT2BVWII.js} +1 -1
  39. package/dist/{chunk-XO6ICAFH.js → chunk-XT2XO7TR.js} +1 -1
  40. package/dist/{chunk-QJUAU656.js → chunk-YPBNOKK2.js} +3 -3
  41. package/dist/{chunk-RSKVXFI5.js → chunk-Z3RQ7QQH.js} +1 -0
  42. package/dist/config-file/get-config-file.cjs +7 -7
  43. package/dist/config-file/get-config-file.js +6 -6
  44. package/dist/config-file/index.cjs +7 -7
  45. package/dist/config-file/index.js +6 -6
  46. package/dist/create-storm-config.cjs +10 -10
  47. package/dist/create-storm-config.js +9 -9
  48. package/dist/env/get-env.cjs +2 -2
  49. package/dist/env/get-env.js +1 -1
  50. package/dist/env/index.cjs +3 -3
  51. package/dist/env/index.js +2 -2
  52. package/dist/env/set-env.cjs +2 -2
  53. package/dist/env/set-env.js +1 -1
  54. package/dist/get-config.cjs +11 -11
  55. package/dist/get-config.js +10 -10
  56. package/dist/index.cjs +13 -11
  57. package/dist/index.d.cts +1 -1
  58. package/dist/index.d.ts +1 -1
  59. package/dist/index.js +14 -12
  60. package/dist/logger/console.cjs +3 -3
  61. package/dist/logger/console.js +2 -2
  62. package/dist/logger/create-logger.cjs +4 -4
  63. package/dist/logger/create-logger.js +3 -3
  64. package/dist/logger/index.cjs +4 -4
  65. package/dist/logger/index.js +3 -3
  66. package/dist/utilities/get-default-config.cjs +4 -2
  67. package/dist/utilities/get-default-config.d.cts +9 -4
  68. package/dist/utilities/get-default-config.d.ts +9 -4
  69. package/dist/utilities/get-default-config.js +5 -3
  70. package/dist/utilities/index.cjs +8 -6
  71. package/dist/utilities/index.d.cts +1 -1
  72. package/dist/utilities/index.d.ts +1 -1
  73. package/dist/utilities/index.js +9 -7
  74. package/dist/utilities/process-handler.cjs +4 -4
  75. package/dist/utilities/process-handler.js +3 -3
  76. package/dist/utilities/toml.cjs +5 -5
  77. package/dist/utilities/toml.js +4 -4
  78. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -2,24 +2,24 @@ import {
2
2
  getConfig,
3
3
  getWorkspaceConfig,
4
4
  tryGetWorkspaceConfig
5
- } from "./chunk-BAWQ37NK.js";
5
+ } from "./chunk-NUOCEMFW.js";
6
6
  import {
7
7
  createConfigExtension,
8
8
  createStormWorkspaceConfig,
9
9
  loadStormWorkspaceConfig,
10
10
  tryLoadStormWorkspaceConfig
11
- } from "./chunk-WITKEKZ5.js";
11
+ } from "./chunk-26BPJW3I.js";
12
12
  import "./chunk-SABD7NYM.js";
13
13
  import {
14
14
  getConfigFile,
15
15
  getConfigFileByName
16
- } from "./chunk-XO6ICAFH.js";
16
+ } from "./chunk-XT2XO7TR.js";
17
17
  import "./chunk-3EVEDCXL.js";
18
18
  import {
19
19
  exitWithError,
20
20
  exitWithSuccess,
21
21
  handleProcess
22
- } from "./chunk-ELNIDXR5.js";
22
+ } from "./chunk-U74E4EM6.js";
23
23
  import {
24
24
  LARGE_BUFFER,
25
25
  run,
@@ -31,7 +31,7 @@ import {
31
31
  parseCargoToml,
32
32
  parseCargoTomlWithTree,
33
33
  stringifyCargoToml
34
- } from "./chunk-PORZT4W3.js";
34
+ } from "./chunk-JRKB77S5.js";
35
35
  import {
36
36
  applyWorkspaceBaseTokens,
37
37
  applyWorkspaceProjectTokens,
@@ -45,7 +45,7 @@ import {
45
45
  import "./chunk-XIA6NF6N.js";
46
46
  import {
47
47
  createLogger
48
- } from "./chunk-QDJMKPQQ.js";
48
+ } from "./chunk-WT2BVWII.js";
49
49
  import {
50
50
  formatLogMessage,
51
51
  getLogFn,
@@ -58,11 +58,12 @@ import {
58
58
  writeSystem,
59
59
  writeTrace,
60
60
  writeWarning
61
- } from "./chunk-QJUAU656.js";
61
+ } from "./chunk-OUYYXBZX.js";
62
62
  import {
63
63
  DEFAULT_COLOR_CONFIG,
64
- getDefaultConfig
65
- } from "./chunk-JX5NLB4S.js";
64
+ applyDefaultConfig,
65
+ getPackageJsonConfig
66
+ } from "./chunk-4KZ3BMNG.js";
66
67
  import {
67
68
  findWorkspaceRoot,
68
69
  findWorkspaceRootSafe
@@ -84,11 +85,11 @@ import "./chunk-GSK6EGCB.js";
84
85
  import {
85
86
  setConfigEnv,
86
87
  setExtensionEnv
87
- } from "./chunk-XS7LVKAI.js";
88
+ } from "./chunk-TRI5HQQN.js";
88
89
  import {
89
90
  getConfigEnv,
90
91
  getExtensionEnv
91
- } from "./chunk-RSKVXFI5.js";
92
+ } from "./chunk-Z3RQ7QQH.js";
92
93
  import {
93
94
  basename,
94
95
  correctPaths,
@@ -120,6 +121,7 @@ export {
120
121
  LARGE_BUFFER,
121
122
  LogLevel,
122
123
  LogLevelLabel,
124
+ applyDefaultConfig,
123
125
  applyWorkspaceBaseTokens,
124
126
  applyWorkspaceProjectTokens,
125
127
  applyWorkspaceTokens,
@@ -144,11 +146,11 @@ export {
144
146
  getConfigEnv,
145
147
  getConfigFile,
146
148
  getConfigFileByName,
147
- getDefaultConfig,
148
149
  getExtensionEnv,
149
150
  getLogFn,
150
151
  getLogLevel,
151
152
  getLogLevelLabel,
153
+ getPackageJsonConfig,
152
154
  getStopwatch,
153
155
  getWorkspaceConfig,
154
156
  handleProcess,
@@ -10,8 +10,8 @@
10
10
 
11
11
 
12
12
 
13
- var _chunk7SIKKF62cjs = require('../chunk-7SIKKF62.cjs');
14
- require('../chunk-GIXUQACB.cjs');
13
+ var _chunkDX767CQScjs = require('../chunk-DX767CQS.cjs');
14
+ require('../chunk-4PAEA5KV.cjs');
15
15
  require('../chunk-AEZINHEA.cjs');
16
16
  require('../chunk-RKGXITNB.cjs');
17
17
  require('../chunk-NS5PJ2RM.cjs');
@@ -33,4 +33,4 @@ require('../chunk-C5OTFOQB.cjs');
33
33
 
34
34
 
35
35
 
36
- exports.formatLogMessage = _chunk7SIKKF62cjs.formatLogMessage; exports.getLogFn = _chunk7SIKKF62cjs.getLogFn; exports.getStopwatch = _chunk7SIKKF62cjs.getStopwatch; exports.writeDebug = _chunk7SIKKF62cjs.writeDebug; exports.writeError = _chunk7SIKKF62cjs.writeError; exports.writeFatal = _chunk7SIKKF62cjs.writeFatal; exports.writeInfo = _chunk7SIKKF62cjs.writeInfo; exports.writeSuccess = _chunk7SIKKF62cjs.writeSuccess; exports.writeSystem = _chunk7SIKKF62cjs.writeSystem; exports.writeTrace = _chunk7SIKKF62cjs.writeTrace; exports.writeWarning = _chunk7SIKKF62cjs.writeWarning;
36
+ exports.formatLogMessage = _chunkDX767CQScjs.formatLogMessage; exports.getLogFn = _chunkDX767CQScjs.getLogFn; exports.getStopwatch = _chunkDX767CQScjs.getStopwatch; exports.writeDebug = _chunkDX767CQScjs.writeDebug; exports.writeError = _chunkDX767CQScjs.writeError; exports.writeFatal = _chunkDX767CQScjs.writeFatal; exports.writeInfo = _chunkDX767CQScjs.writeInfo; exports.writeSuccess = _chunkDX767CQScjs.writeSuccess; exports.writeSystem = _chunkDX767CQScjs.writeSystem; exports.writeTrace = _chunkDX767CQScjs.writeTrace; exports.writeWarning = _chunkDX767CQScjs.writeWarning;
@@ -10,8 +10,8 @@ import {
10
10
  writeSystem,
11
11
  writeTrace,
12
12
  writeWarning
13
- } from "../chunk-QJUAU656.js";
14
- import "../chunk-JX5NLB4S.js";
13
+ } from "../chunk-OUYYXBZX.js";
14
+ import "../chunk-4KZ3BMNG.js";
15
15
  import "../chunk-VLWSWYG7.js";
16
16
  import "../chunk-RWBPUJIZ.js";
17
17
  import "../chunk-T3MUE32G.js";
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkJ2LCTMCIcjs = require('../chunk-J2LCTMCI.cjs');
4
- require('../chunk-7SIKKF62.cjs');
5
- require('../chunk-GIXUQACB.cjs');
3
+ var _chunk26LV7S6Zcjs = require('../chunk-26LV7S6Z.cjs');
4
+ require('../chunk-DX767CQS.cjs');
5
+ require('../chunk-4PAEA5KV.cjs');
6
6
  require('../chunk-AEZINHEA.cjs');
7
7
  require('../chunk-RKGXITNB.cjs');
8
8
  require('../chunk-NS5PJ2RM.cjs');
@@ -14,4 +14,4 @@ require('../chunk-7BZWQZUV.cjs');
14
14
  require('../chunk-C5OTFOQB.cjs');
15
15
 
16
16
 
17
- exports.createLogger = _chunkJ2LCTMCIcjs.createLogger;
17
+ exports.createLogger = _chunk26LV7S6Zcjs.createLogger;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createLogger
3
- } from "../chunk-QDJMKPQQ.js";
4
- import "../chunk-QJUAU656.js";
5
- import "../chunk-JX5NLB4S.js";
3
+ } from "../chunk-WT2BVWII.js";
4
+ import "../chunk-OUYYXBZX.js";
5
+ import "../chunk-4KZ3BMNG.js";
6
6
  import "../chunk-VLWSWYG7.js";
7
7
  import "../chunk-RWBPUJIZ.js";
8
8
  import "../chunk-T3MUE32G.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-6D6DEG6Z.cjs');
2
2
 
3
3
 
4
- var _chunkJ2LCTMCIcjs = require('../chunk-J2LCTMCI.cjs');
4
+ var _chunk26LV7S6Zcjs = require('../chunk-26LV7S6Z.cjs');
5
5
 
6
6
 
7
7
 
@@ -14,8 +14,8 @@ var _chunkJ2LCTMCIcjs = require('../chunk-J2LCTMCI.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunk7SIKKF62cjs = require('../chunk-7SIKKF62.cjs');
18
- require('../chunk-GIXUQACB.cjs');
17
+ var _chunkDX767CQScjs = require('../chunk-DX767CQS.cjs');
18
+ require('../chunk-4PAEA5KV.cjs');
19
19
  require('../chunk-AEZINHEA.cjs');
20
20
  require('../chunk-RKGXITNB.cjs');
21
21
 
@@ -57,4 +57,4 @@ require('../chunk-C5OTFOQB.cjs');
57
57
 
58
58
 
59
59
 
60
- exports.CONSOLE_ICONS = _chunkPSHJQ2NPcjs.CONSOLE_ICONS; exports.createLogger = _chunkJ2LCTMCIcjs.createLogger; exports.formatLogMessage = _chunk7SIKKF62cjs.formatLogMessage; exports.formatTimestamp = _chunkQNDF3RQLcjs.formatTimestamp; exports.getChalk = _chunkNS5PJ2RMcjs.getChalk; exports.getLogFn = _chunk7SIKKF62cjs.getLogFn; exports.getLogLevel = _chunk7BZWQZUVcjs.getLogLevel; exports.getLogLevelLabel = _chunk7BZWQZUVcjs.getLogLevelLabel; exports.getStopwatch = _chunk7SIKKF62cjs.getStopwatch; exports.isUnicodeSupported = _chunkPLLCZVZOcjs.isUnicodeSupported; exports.isVerbose = _chunk7BZWQZUVcjs.isVerbose; exports.writeDebug = _chunk7SIKKF62cjs.writeDebug; exports.writeError = _chunk7SIKKF62cjs.writeError; exports.writeFatal = _chunk7SIKKF62cjs.writeFatal; exports.writeInfo = _chunk7SIKKF62cjs.writeInfo; exports.writeSuccess = _chunk7SIKKF62cjs.writeSuccess; exports.writeSystem = _chunk7SIKKF62cjs.writeSystem; exports.writeTrace = _chunk7SIKKF62cjs.writeTrace; exports.writeWarning = _chunk7SIKKF62cjs.writeWarning;
60
+ exports.CONSOLE_ICONS = _chunkPSHJQ2NPcjs.CONSOLE_ICONS; exports.createLogger = _chunk26LV7S6Zcjs.createLogger; exports.formatLogMessage = _chunkDX767CQScjs.formatLogMessage; exports.formatTimestamp = _chunkQNDF3RQLcjs.formatTimestamp; exports.getChalk = _chunkNS5PJ2RMcjs.getChalk; exports.getLogFn = _chunkDX767CQScjs.getLogFn; exports.getLogLevel = _chunk7BZWQZUVcjs.getLogLevel; exports.getLogLevelLabel = _chunk7BZWQZUVcjs.getLogLevelLabel; exports.getStopwatch = _chunkDX767CQScjs.getStopwatch; exports.isUnicodeSupported = _chunkPLLCZVZOcjs.isUnicodeSupported; exports.isVerbose = _chunk7BZWQZUVcjs.isVerbose; exports.writeDebug = _chunkDX767CQScjs.writeDebug; exports.writeError = _chunkDX767CQScjs.writeError; exports.writeFatal = _chunkDX767CQScjs.writeFatal; exports.writeInfo = _chunkDX767CQScjs.writeInfo; exports.writeSuccess = _chunkDX767CQScjs.writeSuccess; exports.writeSystem = _chunkDX767CQScjs.writeSystem; exports.writeTrace = _chunkDX767CQScjs.writeTrace; exports.writeWarning = _chunkDX767CQScjs.writeWarning;
@@ -1,7 +1,7 @@
1
1
  import "../chunk-XIA6NF6N.js";
2
2
  import {
3
3
  createLogger
4
- } from "../chunk-QDJMKPQQ.js";
4
+ } from "../chunk-WT2BVWII.js";
5
5
  import {
6
6
  formatLogMessage,
7
7
  getLogFn,
@@ -14,8 +14,8 @@ import {
14
14
  writeSystem,
15
15
  writeTrace,
16
16
  writeWarning
17
- } from "../chunk-QJUAU656.js";
18
- import "../chunk-JX5NLB4S.js";
17
+ } from "../chunk-OUYYXBZX.js";
18
+ import "../chunk-4KZ3BMNG.js";
19
19
  import "../chunk-VLWSWYG7.js";
20
20
  import "../chunk-RWBPUJIZ.js";
21
21
  import {
@@ -1,11 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkGIXUQACBcjs = require('../chunk-GIXUQACB.cjs');
4
+
5
+ var _chunk4PAEA5KVcjs = require('../chunk-4PAEA5KV.cjs');
5
6
  require('../chunk-AEZINHEA.cjs');
6
7
  require('../chunk-RKGXITNB.cjs');
7
8
  require('../chunk-4JREL2GQ.cjs');
8
9
 
9
10
 
10
11
 
11
- exports.DEFAULT_COLOR_CONFIG = _chunkGIXUQACBcjs.DEFAULT_COLOR_CONFIG; exports.getDefaultConfig = _chunkGIXUQACBcjs.getDefaultConfig;
12
+
13
+ exports.DEFAULT_COLOR_CONFIG = _chunk4PAEA5KVcjs.DEFAULT_COLOR_CONFIG; exports.applyDefaultConfig = _chunk4PAEA5KVcjs.applyDefaultConfig; exports.getPackageJsonConfig = _chunk4PAEA5KVcjs.getPackageJsonConfig;
@@ -9,8 +9,13 @@ declare const DEFAULT_COLOR_CONFIG: ColorConfig;
9
9
  *
10
10
  * @returns The default Storm config values
11
11
  */
12
- declare const getDefaultConfig: (root?: string) => Promise<Pick<StormWorkspaceConfig, "workspaceRoot" | "name" | "namespace" | "repository" | "license" | "homepage" | "docs" | "licensing"> & {
13
- error: Partial<StormWorkspaceConfig["error"]>;
14
- }>;
12
+ declare function getPackageJsonConfig(root?: string): Promise<Pick<StormWorkspaceConfig, "workspaceRoot" | "name" | "namespace" | "repository" | "license" | "homepage" | "support">>;
13
+ /**
14
+ * Apply default config values to the given config object
15
+ *
16
+ * @param config - The config object to apply defaults to
17
+ * @returns The config object with defaults applied
18
+ */
19
+ declare function applyDefaultConfig(config: Partial<StormWorkspaceConfig>): Partial<StormWorkspaceConfig>;
15
20
 
16
- export { DEFAULT_COLOR_CONFIG, getDefaultConfig };
21
+ export { DEFAULT_COLOR_CONFIG, applyDefaultConfig, getPackageJsonConfig };
@@ -9,8 +9,13 @@ declare const DEFAULT_COLOR_CONFIG: ColorConfig;
9
9
  *
10
10
  * @returns The default Storm config values
11
11
  */
12
- declare const getDefaultConfig: (root?: string) => Promise<Pick<StormWorkspaceConfig, "workspaceRoot" | "name" | "namespace" | "repository" | "license" | "homepage" | "docs" | "licensing"> & {
13
- error: Partial<StormWorkspaceConfig["error"]>;
14
- }>;
12
+ declare function getPackageJsonConfig(root?: string): Promise<Pick<StormWorkspaceConfig, "workspaceRoot" | "name" | "namespace" | "repository" | "license" | "homepage" | "support">>;
13
+ /**
14
+ * Apply default config values to the given config object
15
+ *
16
+ * @param config - The config object to apply defaults to
17
+ * @returns The config object with defaults applied
18
+ */
19
+ declare function applyDefaultConfig(config: Partial<StormWorkspaceConfig>): Partial<StormWorkspaceConfig>;
15
20
 
16
- export { DEFAULT_COLOR_CONFIG, getDefaultConfig };
21
+ export { DEFAULT_COLOR_CONFIG, applyDefaultConfig, getPackageJsonConfig };
@@ -1,11 +1,13 @@
1
1
  import {
2
2
  DEFAULT_COLOR_CONFIG,
3
- getDefaultConfig
4
- } from "../chunk-JX5NLB4S.js";
3
+ applyDefaultConfig,
4
+ getPackageJsonConfig
5
+ } from "../chunk-4KZ3BMNG.js";
5
6
  import "../chunk-VLWSWYG7.js";
6
7
  import "../chunk-RWBPUJIZ.js";
7
8
  import "../chunk-FRR2ZRWD.js";
8
9
  export {
9
10
  DEFAULT_COLOR_CONFIG,
10
- getDefaultConfig
11
+ applyDefaultConfig,
12
+ getPackageJsonConfig
11
13
  };
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkFCWF3I34cjs = require('../chunk-FCWF3I34.cjs');
6
+ var _chunk7BVMJTE2cjs = require('../chunk-7BVMJTE2.cjs');
7
7
 
8
8
 
9
9
 
@@ -15,7 +15,7 @@ var _chunkZGLOKOL3cjs = require('../chunk-ZGLOKOL3.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkXBNXWUW3cjs = require('../chunk-XBNXWUW3.cjs');
18
+ var _chunkTGDG6PODcjs = require('../chunk-TGDG6POD.cjs');
19
19
 
20
20
 
21
21
 
@@ -27,12 +27,13 @@ var _chunkAQ2NOVJFcjs = require('../chunk-AQ2NOVJF.cjs');
27
27
 
28
28
  var _chunkT4ZMKMEGcjs = require('../chunk-T4ZMKMEG.cjs');
29
29
  require('../chunk-6D6DEG6Z.cjs');
30
- require('../chunk-J2LCTMCI.cjs');
31
- require('../chunk-7SIKKF62.cjs');
30
+ require('../chunk-26LV7S6Z.cjs');
31
+ require('../chunk-DX767CQS.cjs');
32
32
 
33
33
 
34
34
 
35
- var _chunkGIXUQACBcjs = require('../chunk-GIXUQACB.cjs');
35
+
36
+ var _chunk4PAEA5KVcjs = require('../chunk-4PAEA5KV.cjs');
36
37
 
37
38
 
38
39
 
@@ -96,4 +97,5 @@ require('../chunk-C5OTFOQB.cjs');
96
97
 
97
98
 
98
99
 
99
- exports.DEFAULT_COLOR_CONFIG = _chunkGIXUQACBcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunkZGLOKOL3cjs.LARGE_BUFFER; exports.applyWorkspaceBaseTokens = _chunkAQ2NOVJFcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkAQ2NOVJFcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkAQ2NOVJFcjs.applyWorkspaceTokens; exports.basename = _chunk4JREL2GQcjs.basename; exports.correctPaths = _chunk4JREL2GQcjs.correctPaths; exports.dirname = _chunk4JREL2GQcjs.dirname; exports.exitWithError = _chunkFCWF3I34cjs.exitWithError; exports.exitWithSuccess = _chunkFCWF3I34cjs.exitWithSuccess; exports.extname = _chunk4JREL2GQcjs.extname; exports.findFileName = _chunkT4ZMKMEGcjs.findFileName; exports.findFilePath = _chunkT4ZMKMEGcjs.findFilePath; exports.findWorkspaceRoot = _chunkAEZINHEAcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkAEZINHEAcjs.findWorkspaceRootSafe; exports.format = _chunk4JREL2GQcjs.format; exports.getDefaultConfig = _chunkGIXUQACBcjs.getDefaultConfig; exports.handleProcess = _chunkFCWF3I34cjs.handleProcess; exports.isAbsolute = _chunk4JREL2GQcjs.isAbsolute; exports.joinPaths = _chunk4JREL2GQcjs.joinPaths; exports.modifyCargoNestedTable = _chunkXBNXWUW3cjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkXBNXWUW3cjs.modifyCargoTable; exports.normalizeString = _chunk4JREL2GQcjs.normalizeString; exports.normalizeWindowsPath = _chunk4JREL2GQcjs.normalizeWindowsPath; exports.parse = _chunk4JREL2GQcjs.parse; exports.parseCargoToml = _chunkXBNXWUW3cjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkXBNXWUW3cjs.parseCargoTomlWithTree; exports.relative = _chunk4JREL2GQcjs.relative; exports.removeExtension = _chunkT4ZMKMEGcjs.removeExtension; exports.resolve = _chunk4JREL2GQcjs.resolve; exports.run = _chunkZGLOKOL3cjs.run; exports.runAsync = _chunkZGLOKOL3cjs.runAsync; exports.sep = _chunk4JREL2GQcjs.sep; exports.stringifyCargoToml = _chunkXBNXWUW3cjs.stringifyCargoToml; exports.toNamespacedPath = _chunk4JREL2GQcjs.toNamespacedPath;
100
+
101
+ exports.DEFAULT_COLOR_CONFIG = _chunk4PAEA5KVcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunkZGLOKOL3cjs.LARGE_BUFFER; exports.applyDefaultConfig = _chunk4PAEA5KVcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkAQ2NOVJFcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkAQ2NOVJFcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkAQ2NOVJFcjs.applyWorkspaceTokens; exports.basename = _chunk4JREL2GQcjs.basename; exports.correctPaths = _chunk4JREL2GQcjs.correctPaths; exports.dirname = _chunk4JREL2GQcjs.dirname; exports.exitWithError = _chunk7BVMJTE2cjs.exitWithError; exports.exitWithSuccess = _chunk7BVMJTE2cjs.exitWithSuccess; exports.extname = _chunk4JREL2GQcjs.extname; exports.findFileName = _chunkT4ZMKMEGcjs.findFileName; exports.findFilePath = _chunkT4ZMKMEGcjs.findFilePath; exports.findWorkspaceRoot = _chunkAEZINHEAcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkAEZINHEAcjs.findWorkspaceRootSafe; exports.format = _chunk4JREL2GQcjs.format; exports.getPackageJsonConfig = _chunk4PAEA5KVcjs.getPackageJsonConfig; exports.handleProcess = _chunk7BVMJTE2cjs.handleProcess; exports.isAbsolute = _chunk4JREL2GQcjs.isAbsolute; exports.joinPaths = _chunk4JREL2GQcjs.joinPaths; exports.modifyCargoNestedTable = _chunkTGDG6PODcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkTGDG6PODcjs.modifyCargoTable; exports.normalizeString = _chunk4JREL2GQcjs.normalizeString; exports.normalizeWindowsPath = _chunk4JREL2GQcjs.normalizeWindowsPath; exports.parse = _chunk4JREL2GQcjs.parse; exports.parseCargoToml = _chunkTGDG6PODcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkTGDG6PODcjs.parseCargoTomlWithTree; exports.relative = _chunk4JREL2GQcjs.relative; exports.removeExtension = _chunkT4ZMKMEGcjs.removeExtension; exports.resolve = _chunk4JREL2GQcjs.resolve; exports.run = _chunkZGLOKOL3cjs.run; exports.runAsync = _chunkZGLOKOL3cjs.runAsync; exports.sep = _chunk4JREL2GQcjs.sep; exports.stringifyCargoToml = _chunkTGDG6PODcjs.stringifyCargoToml; exports.toNamespacedPath = _chunk4JREL2GQcjs.toNamespacedPath;
@@ -2,7 +2,7 @@ export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTo
2
2
  export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from './correct-paths.cjs';
3
3
  export { FindFileNameOptions, findFileName, findFilePath, removeExtension } from './file-path-utils.cjs';
4
4
  export { findWorkspaceRoot, findWorkspaceRootSafe } from './find-workspace-root.cjs';
5
- export { DEFAULT_COLOR_CONFIG, getDefaultConfig } from './get-default-config.cjs';
5
+ export { DEFAULT_COLOR_CONFIG, applyDefaultConfig, getPackageJsonConfig } from './get-default-config.cjs';
6
6
  export { exitWithError, exitWithSuccess, handleProcess } from './process-handler.cjs';
7
7
  export { IOType, LARGE_BUFFER, StdioOptions, run, runAsync } from './run.cjs';
8
8
  export { CargoMetadata, CargoToml, Dep, DepKind, Dependency, Docs, Docs2, Features, Metadata, Metadata2, Node, Package, Resolve, Rs, Rs2, Target, Tree, modifyCargoNestedTable, modifyCargoTable, parseCargoToml, parseCargoTomlWithTree, stringifyCargoToml } from './toml.cjs';
@@ -2,7 +2,7 @@ export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTo
2
2
  export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from './correct-paths.js';
3
3
  export { FindFileNameOptions, findFileName, findFilePath, removeExtension } from './file-path-utils.js';
4
4
  export { findWorkspaceRoot, findWorkspaceRootSafe } from './find-workspace-root.js';
5
- export { DEFAULT_COLOR_CONFIG, getDefaultConfig } from './get-default-config.js';
5
+ export { DEFAULT_COLOR_CONFIG, applyDefaultConfig, getPackageJsonConfig } from './get-default-config.js';
6
6
  export { exitWithError, exitWithSuccess, handleProcess } from './process-handler.js';
7
7
  export { IOType, LARGE_BUFFER, StdioOptions, run, runAsync } from './run.js';
8
8
  export { CargoMetadata, CargoToml, Dep, DepKind, Dependency, Docs, Docs2, Features, Metadata, Metadata2, Node, Package, Resolve, Rs, Rs2, Target, Tree, modifyCargoNestedTable, modifyCargoTable, parseCargoToml, parseCargoTomlWithTree, stringifyCargoToml } from './toml.js';
@@ -3,7 +3,7 @@ import {
3
3
  exitWithError,
4
4
  exitWithSuccess,
5
5
  handleProcess
6
- } from "../chunk-ELNIDXR5.js";
6
+ } from "../chunk-U74E4EM6.js";
7
7
  import {
8
8
  LARGE_BUFFER,
9
9
  run,
@@ -15,7 +15,7 @@ import {
15
15
  parseCargoToml,
16
16
  parseCargoTomlWithTree,
17
17
  stringifyCargoToml
18
- } from "../chunk-PORZT4W3.js";
18
+ } from "../chunk-JRKB77S5.js";
19
19
  import {
20
20
  applyWorkspaceBaseTokens,
21
21
  applyWorkspaceProjectTokens,
@@ -27,12 +27,13 @@ import {
27
27
  removeExtension
28
28
  } from "../chunk-42TCRG4H.js";
29
29
  import "../chunk-XIA6NF6N.js";
30
- import "../chunk-QDJMKPQQ.js";
31
- import "../chunk-QJUAU656.js";
30
+ import "../chunk-WT2BVWII.js";
31
+ import "../chunk-OUYYXBZX.js";
32
32
  import {
33
33
  DEFAULT_COLOR_CONFIG,
34
- getDefaultConfig
35
- } from "../chunk-JX5NLB4S.js";
34
+ applyDefaultConfig,
35
+ getPackageJsonConfig
36
+ } from "../chunk-4KZ3BMNG.js";
36
37
  import {
37
38
  findWorkspaceRoot,
38
39
  findWorkspaceRootSafe
@@ -63,6 +64,7 @@ import "../chunk-3QAWRU2B.js";
63
64
  export {
64
65
  DEFAULT_COLOR_CONFIG,
65
66
  LARGE_BUFFER,
67
+ applyDefaultConfig,
66
68
  applyWorkspaceBaseTokens,
67
69
  applyWorkspaceProjectTokens,
68
70
  applyWorkspaceTokens,
@@ -77,7 +79,7 @@ export {
77
79
  findWorkspaceRoot,
78
80
  findWorkspaceRootSafe,
79
81
  format,
80
- getDefaultConfig,
82
+ getPackageJsonConfig,
81
83
  handleProcess,
82
84
  isAbsolute,
83
85
  joinPaths,
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkFCWF3I34cjs = require('../chunk-FCWF3I34.cjs');
6
- require('../chunk-7SIKKF62.cjs');
7
- require('../chunk-GIXUQACB.cjs');
5
+ var _chunk7BVMJTE2cjs = require('../chunk-7BVMJTE2.cjs');
6
+ require('../chunk-DX767CQS.cjs');
7
+ require('../chunk-4PAEA5KV.cjs');
8
8
  require('../chunk-AEZINHEA.cjs');
9
9
  require('../chunk-RKGXITNB.cjs');
10
10
  require('../chunk-NS5PJ2RM.cjs');
@@ -18,4 +18,4 @@ require('../chunk-C5OTFOQB.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.exitWithError = _chunkFCWF3I34cjs.exitWithError; exports.exitWithSuccess = _chunkFCWF3I34cjs.exitWithSuccess; exports.handleProcess = _chunkFCWF3I34cjs.handleProcess;
21
+ exports.exitWithError = _chunk7BVMJTE2cjs.exitWithError; exports.exitWithSuccess = _chunk7BVMJTE2cjs.exitWithSuccess; exports.handleProcess = _chunk7BVMJTE2cjs.handleProcess;
@@ -2,9 +2,9 @@ import {
2
2
  exitWithError,
3
3
  exitWithSuccess,
4
4
  handleProcess
5
- } from "../chunk-ELNIDXR5.js";
6
- import "../chunk-QJUAU656.js";
7
- import "../chunk-JX5NLB4S.js";
5
+ } from "../chunk-U74E4EM6.js";
6
+ import "../chunk-OUYYXBZX.js";
7
+ import "../chunk-4KZ3BMNG.js";
8
8
  import "../chunk-VLWSWYG7.js";
9
9
  import "../chunk-RWBPUJIZ.js";
10
10
  import "../chunk-T3MUE32G.js";
@@ -4,11 +4,11 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkXBNXWUW3cjs = require('../chunk-XBNXWUW3.cjs');
7
+ var _chunkTGDG6PODcjs = require('../chunk-TGDG6POD.cjs');
8
8
  require('../chunk-6D6DEG6Z.cjs');
9
- require('../chunk-J2LCTMCI.cjs');
10
- require('../chunk-7SIKKF62.cjs');
11
- require('../chunk-GIXUQACB.cjs');
9
+ require('../chunk-26LV7S6Z.cjs');
10
+ require('../chunk-DX767CQS.cjs');
11
+ require('../chunk-4PAEA5KV.cjs');
12
12
  require('../chunk-AEZINHEA.cjs');
13
13
  require('../chunk-RKGXITNB.cjs');
14
14
  require('../chunk-NS5PJ2RM.cjs');
@@ -24,4 +24,4 @@ require('../chunk-C5OTFOQB.cjs');
24
24
 
25
25
 
26
26
 
27
- exports.modifyCargoNestedTable = _chunkXBNXWUW3cjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkXBNXWUW3cjs.modifyCargoTable; exports.parseCargoToml = _chunkXBNXWUW3cjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkXBNXWUW3cjs.parseCargoTomlWithTree; exports.stringifyCargoToml = _chunkXBNXWUW3cjs.stringifyCargoToml;
27
+ exports.modifyCargoNestedTable = _chunkTGDG6PODcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkTGDG6PODcjs.modifyCargoTable; exports.parseCargoToml = _chunkTGDG6PODcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkTGDG6PODcjs.parseCargoTomlWithTree; exports.stringifyCargoToml = _chunkTGDG6PODcjs.stringifyCargoToml;
@@ -4,11 +4,11 @@ import {
4
4
  parseCargoToml,
5
5
  parseCargoTomlWithTree,
6
6
  stringifyCargoToml
7
- } from "../chunk-PORZT4W3.js";
7
+ } from "../chunk-JRKB77S5.js";
8
8
  import "../chunk-XIA6NF6N.js";
9
- import "../chunk-QDJMKPQQ.js";
10
- import "../chunk-QJUAU656.js";
11
- import "../chunk-JX5NLB4S.js";
9
+ import "../chunk-WT2BVWII.js";
10
+ import "../chunk-OUYYXBZX.js";
11
+ import "../chunk-4KZ3BMNG.js";
12
12
  import "../chunk-VLWSWYG7.js";
13
13
  import "../chunk-RWBPUJIZ.js";
14
14
  import "../chunk-T3MUE32G.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.169.7",
3
+ "version": "1.170.0",
4
4
  "type": "module",
5
5
  "description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
6
6
  "repository": {
@@ -219,7 +219,7 @@
219
219
  ],
220
220
  "dependencies": {
221
221
  "@ltd/j-toml": "1.38.0",
222
- "@storm-software/config": "^1.119.7",
222
+ "@storm-software/config": "^1.120.0",
223
223
  "c12": "^2.0.0-beta.2",
224
224
  "chalk": "^4.1.2",
225
225
  "commander": "^12.1.0",