@storm-software/config-tools 1.190.60 → 1.190.62

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.
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-7PV6L7I7.cjs');
2
2
 
3
3
 
4
- var _chunkCRYHT4W3cjs = require('../chunk-CRYHT4W3.cjs');
4
+ var _chunk3OJJ5GLGcjs = require('../chunk-3OJJ5GLG.cjs');
5
5
 
6
6
 
7
7
 
@@ -16,25 +16,25 @@ var _chunkCRYHT4W3cjs = require('../chunk-CRYHT4W3.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkAE67VUIVcjs = require('../chunk-AE67VUIV.cjs');
19
+ var _chunkKJSYROBScjs = require('../chunk-KJSYROBS.cjs');
20
20
  require('../chunk-L4YHJZ6Q.cjs');
21
21
 
22
22
 
23
- var _chunkWQJYIPSLcjs = require('../chunk-WQJYIPSL.cjs');
23
+ var _chunkLOY6ICHZcjs = require('../chunk-LOY6ICHZ.cjs');
24
24
 
25
25
 
26
+ var _chunkEC2KPWRGcjs = require('../chunk-EC2KPWRG.cjs');
26
27
 
27
28
 
28
- var _chunkJWLDCEBZcjs = require('../chunk-JWLDCEBZ.cjs');
29
+ var _chunkDTGT4OI3cjs = require('../chunk-DTGT4OI3.cjs');
29
30
 
30
31
 
31
- var _chunkLOY6ICHZcjs = require('../chunk-LOY6ICHZ.cjs');
32
+ var _chunkWQJYIPSLcjs = require('../chunk-WQJYIPSL.cjs');
32
33
 
33
34
 
34
- var _chunkEC2KPWRGcjs = require('../chunk-EC2KPWRG.cjs');
35
35
 
36
36
 
37
- var _chunkDTGT4OI3cjs = require('../chunk-DTGT4OI3.cjs');
37
+ var _chunkJWLDCEBZcjs = require('../chunk-JWLDCEBZ.cjs');
38
38
  require('../chunk-7QBTVNMR.cjs');
39
39
 
40
40
 
@@ -58,4 +58,4 @@ require('../chunk-7QBTVNMR.cjs');
58
58
 
59
59
 
60
60
 
61
- exports.CONSOLE_ICONS = _chunkEC2KPWRGcjs.CONSOLE_ICONS; exports.brandIcon = _chunkAE67VUIVcjs.brandIcon; exports.createLogger = _chunkCRYHT4W3cjs.createLogger; exports.formatLogMessage = _chunkAE67VUIVcjs.formatLogMessage; exports.formatTimestamp = _chunkWQJYIPSLcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getLogFn = _chunkAE67VUIVcjs.getLogFn; exports.getLogLevel = _chunkJWLDCEBZcjs.getLogLevel; exports.getLogLevelLabel = _chunkJWLDCEBZcjs.getLogLevelLabel; exports.getStopwatch = _chunkAE67VUIVcjs.getStopwatch; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunkJWLDCEBZcjs.isVerbose; exports.writeDebug = _chunkAE67VUIVcjs.writeDebug; exports.writeError = _chunkAE67VUIVcjs.writeError; exports.writeFatal = _chunkAE67VUIVcjs.writeFatal; exports.writeInfo = _chunkAE67VUIVcjs.writeInfo; exports.writePerformance = _chunkAE67VUIVcjs.writePerformance; exports.writeSuccess = _chunkAE67VUIVcjs.writeSuccess; exports.writeSystem = _chunkAE67VUIVcjs.writeSystem; exports.writeTrace = _chunkAE67VUIVcjs.writeTrace; exports.writeWarning = _chunkAE67VUIVcjs.writeWarning;
61
+ exports.CONSOLE_ICONS = _chunkEC2KPWRGcjs.CONSOLE_ICONS; exports.brandIcon = _chunkKJSYROBScjs.brandIcon; exports.createLogger = _chunk3OJJ5GLGcjs.createLogger; exports.formatLogMessage = _chunkKJSYROBScjs.formatLogMessage; exports.formatTimestamp = _chunkWQJYIPSLcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getLogFn = _chunkKJSYROBScjs.getLogFn; exports.getLogLevel = _chunkJWLDCEBZcjs.getLogLevel; exports.getLogLevelLabel = _chunkJWLDCEBZcjs.getLogLevelLabel; exports.getStopwatch = _chunkKJSYROBScjs.getStopwatch; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunkJWLDCEBZcjs.isVerbose; exports.writeDebug = _chunkKJSYROBScjs.writeDebug; exports.writeError = _chunkKJSYROBScjs.writeError; exports.writeFatal = _chunkKJSYROBScjs.writeFatal; exports.writeInfo = _chunkKJSYROBScjs.writeInfo; exports.writePerformance = _chunkKJSYROBScjs.writePerformance; exports.writeSuccess = _chunkKJSYROBScjs.writeSuccess; exports.writeSystem = _chunkKJSYROBScjs.writeSystem; exports.writeTrace = _chunkKJSYROBScjs.writeTrace; exports.writeWarning = _chunkKJSYROBScjs.writeWarning;
@@ -1,7 +1,7 @@
1
1
  import "../chunk-RRKB32OH.js";
2
2
  import {
3
3
  createLogger
4
- } from "../chunk-FD5DOAZT.js";
4
+ } from "../chunk-JO6BB3JX.js";
5
5
  import {
6
6
  brandIcon,
7
7
  formatLogMessage,
@@ -16,16 +16,8 @@ import {
16
16
  writeSystem,
17
17
  writeTrace,
18
18
  writeWarning
19
- } from "../chunk-EN32U2DR.js";
19
+ } from "../chunk-ZG3KCER4.js";
20
20
  import "../chunk-5DQF4GNF.js";
21
- import {
22
- formatTimestamp
23
- } from "../chunk-JZAYHDV3.js";
24
- import {
25
- getLogLevel,
26
- getLogLevelLabel,
27
- isVerbose
28
- } from "../chunk-SXPH7ILL.js";
29
21
  import {
30
22
  getChalk
31
23
  } from "../chunk-HVVJHTFS.js";
@@ -35,6 +27,14 @@ import {
35
27
  import {
36
28
  isUnicodeSupported
37
29
  } from "../chunk-G2MK47WL.js";
30
+ import {
31
+ formatTimestamp
32
+ } from "../chunk-JZAYHDV3.js";
33
+ import {
34
+ getLogLevel,
35
+ getLogLevelLabel,
36
+ isVerbose
37
+ } from "../chunk-SXPH7ILL.js";
38
38
  import "../chunk-RALMUN5C.js";
39
39
  export {
40
40
  CONSOLE_ICONS,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkJD6HWZRHcjs = require('../chunk-JD6HWZRH.cjs');
6
+ var _chunk4E64DBBWcjs = require('../chunk-4E64DBBW.cjs');
7
7
 
8
8
 
9
9
 
@@ -15,7 +15,7 @@ var _chunk6Y623TCScjs = require('../chunk-6Y623TCS.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkHORH3XFVcjs = require('../chunk-HORH3XFV.cjs');
18
+ var _chunkTMCFJIGGcjs = require('../chunk-TMCFJIGG.cjs');
19
19
 
20
20
 
21
21
 
@@ -36,14 +36,17 @@ var _chunkCFXT4ZAWcjs = require('../chunk-CFXT4ZAW.cjs');
36
36
  var _chunk3CNCDDWZcjs = require('../chunk-3CNCDDWZ.cjs');
37
37
  require('../chunk-NJFLUTGH.cjs');
38
38
  require('../chunk-7PV6L7I7.cjs');
39
- require('../chunk-CRYHT4W3.cjs');
40
- require('../chunk-AE67VUIV.cjs');
39
+ require('../chunk-3OJJ5GLG.cjs');
40
+ require('../chunk-KJSYROBS.cjs');
41
41
 
42
42
 
43
43
 
44
44
 
45
45
 
46
46
  var _chunkL4YHJZ6Qcjs = require('../chunk-L4YHJZ6Q.cjs');
47
+ require('../chunk-LOY6ICHZ.cjs');
48
+ require('../chunk-EC2KPWRG.cjs');
49
+ require('../chunk-DTGT4OI3.cjs');
47
50
  require('../chunk-WQJYIPSL.cjs');
48
51
 
49
52
 
@@ -62,9 +65,6 @@ require('../chunk-WQJYIPSL.cjs');
62
65
 
63
66
  var _chunkBDATZ3UBcjs = require('../chunk-BDATZ3UB.cjs');
64
67
  require('../chunk-JWLDCEBZ.cjs');
65
- require('../chunk-LOY6ICHZ.cjs');
66
- require('../chunk-EC2KPWRG.cjs');
67
- require('../chunk-DTGT4OI3.cjs');
68
68
  require('../chunk-7QBTVNMR.cjs');
69
69
 
70
70
 
@@ -106,4 +106,4 @@ require('../chunk-7QBTVNMR.cjs');
106
106
 
107
107
 
108
108
 
109
- exports.DEFAULT_COLOR_CONFIG = _chunkL4YHJZ6Qcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6Y623TCScjs.LARGE_BUFFER; exports.applyDefaultConfig = _chunkCFXT4ZAWcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkEMO3BY53cjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkEMO3BY53cjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkEMO3BY53cjs.applyWorkspaceTokens; exports.basename = _chunkBDATZ3UBcjs.basename; exports.correctPaths = _chunkBDATZ3UBcjs.correctPaths; exports.dirname = _chunkBDATZ3UBcjs.dirname; exports.exitWithError = _chunkJD6HWZRHcjs.exitWithError; exports.exitWithSuccess = _chunkJD6HWZRHcjs.exitWithSuccess; exports.extname = _chunkBDATZ3UBcjs.extname; exports.findFileName = _chunk2WBD2G3Ecjs.findFileName; exports.findFilePath = _chunk2WBD2G3Ecjs.findFilePath; exports.findWorkspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunk3CNCDDWZcjs.findWorkspaceRootSafe; exports.format = _chunkBDATZ3UBcjs.format; exports.getColor = _chunkL4YHJZ6Qcjs.getColor; exports.getColors = _chunkL4YHJZ6Qcjs.getColors; exports.getGradient = _chunkL4YHJZ6Qcjs.getGradient; exports.getPackageJsonConfig = _chunkCFXT4ZAWcjs.getPackageJsonConfig; exports.handleProcess = _chunkJD6HWZRHcjs.handleProcess; exports.isAbsolute = _chunkBDATZ3UBcjs.isAbsolute; exports.joinPaths = _chunkBDATZ3UBcjs.joinPaths; exports.modifyCargoNestedTable = _chunkHORH3XFVcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkHORH3XFVcjs.modifyCargoTable; exports.normalizeString = _chunkBDATZ3UBcjs.normalizeString; exports.normalizeWindowsPath = _chunkBDATZ3UBcjs.normalizeWindowsPath; exports.parse = _chunkBDATZ3UBcjs.parse; exports.parseCargoToml = _chunkHORH3XFVcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkHORH3XFVcjs.parseCargoTomlWithTree; exports.relative = _chunkBDATZ3UBcjs.relative; exports.removeExtension = _chunk2WBD2G3Ecjs.removeExtension; exports.resolve = _chunkBDATZ3UBcjs.resolve; exports.run = _chunk6Y623TCScjs.run; exports.runAsync = _chunk6Y623TCScjs.runAsync; exports.sep = _chunkBDATZ3UBcjs.sep; exports.stringifyCargoToml = _chunkHORH3XFVcjs.stringifyCargoToml; exports.toNamespacedPath = _chunkBDATZ3UBcjs.toNamespacedPath;
109
+ exports.DEFAULT_COLOR_CONFIG = _chunkL4YHJZ6Qcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunk6Y623TCScjs.LARGE_BUFFER; exports.applyDefaultConfig = _chunkCFXT4ZAWcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkEMO3BY53cjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkEMO3BY53cjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkEMO3BY53cjs.applyWorkspaceTokens; exports.basename = _chunkBDATZ3UBcjs.basename; exports.correctPaths = _chunkBDATZ3UBcjs.correctPaths; exports.dirname = _chunkBDATZ3UBcjs.dirname; exports.exitWithError = _chunk4E64DBBWcjs.exitWithError; exports.exitWithSuccess = _chunk4E64DBBWcjs.exitWithSuccess; exports.extname = _chunkBDATZ3UBcjs.extname; exports.findFileName = _chunk2WBD2G3Ecjs.findFileName; exports.findFilePath = _chunk2WBD2G3Ecjs.findFilePath; exports.findWorkspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunk3CNCDDWZcjs.findWorkspaceRootSafe; exports.format = _chunkBDATZ3UBcjs.format; exports.getColor = _chunkL4YHJZ6Qcjs.getColor; exports.getColors = _chunkL4YHJZ6Qcjs.getColors; exports.getGradient = _chunkL4YHJZ6Qcjs.getGradient; exports.getPackageJsonConfig = _chunkCFXT4ZAWcjs.getPackageJsonConfig; exports.handleProcess = _chunk4E64DBBWcjs.handleProcess; exports.isAbsolute = _chunkBDATZ3UBcjs.isAbsolute; exports.joinPaths = _chunkBDATZ3UBcjs.joinPaths; exports.modifyCargoNestedTable = _chunkTMCFJIGGcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkTMCFJIGGcjs.modifyCargoTable; exports.normalizeString = _chunkBDATZ3UBcjs.normalizeString; exports.normalizeWindowsPath = _chunkBDATZ3UBcjs.normalizeWindowsPath; exports.parse = _chunkBDATZ3UBcjs.parse; exports.parseCargoToml = _chunkTMCFJIGGcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkTMCFJIGGcjs.parseCargoTomlWithTree; exports.relative = _chunkBDATZ3UBcjs.relative; exports.removeExtension = _chunk2WBD2G3Ecjs.removeExtension; exports.resolve = _chunkBDATZ3UBcjs.resolve; exports.run = _chunk6Y623TCScjs.run; exports.runAsync = _chunk6Y623TCScjs.runAsync; exports.sep = _chunkBDATZ3UBcjs.sep; exports.stringifyCargoToml = _chunkTMCFJIGGcjs.stringifyCargoToml; exports.toNamespacedPath = _chunkBDATZ3UBcjs.toNamespacedPath;
@@ -3,7 +3,7 @@ import {
3
3
  exitWithError,
4
4
  exitWithSuccess,
5
5
  handleProcess
6
- } from "../chunk-JRW4X7KP.js";
6
+ } from "../chunk-FSE2VOFE.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-VT3MJ4WU.js";
18
+ } from "../chunk-TFZRTTJ5.js";
19
19
  import {
20
20
  applyWorkspaceBaseTokens,
21
21
  applyWorkspaceProjectTokens,
@@ -36,14 +36,17 @@ import {
36
36
  } from "../chunk-LF3SAK2O.js";
37
37
  import "../chunk-RUKM6FCF.js";
38
38
  import "../chunk-RRKB32OH.js";
39
- import "../chunk-FD5DOAZT.js";
40
- import "../chunk-EN32U2DR.js";
39
+ import "../chunk-JO6BB3JX.js";
40
+ import "../chunk-ZG3KCER4.js";
41
41
  import {
42
42
  DEFAULT_COLOR_CONFIG,
43
43
  getColor,
44
44
  getColors,
45
45
  getGradient
46
46
  } from "../chunk-5DQF4GNF.js";
47
+ import "../chunk-HVVJHTFS.js";
48
+ import "../chunk-ZFNAUMQS.js";
49
+ import "../chunk-G2MK47WL.js";
47
50
  import "../chunk-JZAYHDV3.js";
48
51
  import {
49
52
  basename,
@@ -62,9 +65,6 @@ import {
62
65
  toNamespacedPath
63
66
  } from "../chunk-V3GMJ4TX.js";
64
67
  import "../chunk-SXPH7ILL.js";
65
- import "../chunk-HVVJHTFS.js";
66
- import "../chunk-ZFNAUMQS.js";
67
- import "../chunk-G2MK47WL.js";
68
68
  import "../chunk-RALMUN5C.js";
69
69
  export {
70
70
  DEFAULT_COLOR_CONFIG,
@@ -2,17 +2,17 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJD6HWZRHcjs = require('../chunk-JD6HWZRH.cjs');
6
- require('../chunk-AE67VUIV.cjs');
5
+ var _chunk4E64DBBWcjs = require('../chunk-4E64DBBW.cjs');
6
+ require('../chunk-KJSYROBS.cjs');
7
7
  require('../chunk-L4YHJZ6Q.cjs');
8
- require('../chunk-WQJYIPSL.cjs');
9
- require('../chunk-JWLDCEBZ.cjs');
10
8
  require('../chunk-LOY6ICHZ.cjs');
11
9
  require('../chunk-EC2KPWRG.cjs');
12
10
  require('../chunk-DTGT4OI3.cjs');
11
+ require('../chunk-WQJYIPSL.cjs');
12
+ require('../chunk-JWLDCEBZ.cjs');
13
13
  require('../chunk-7QBTVNMR.cjs');
14
14
 
15
15
 
16
16
 
17
17
 
18
- exports.exitWithError = _chunkJD6HWZRHcjs.exitWithError; exports.exitWithSuccess = _chunkJD6HWZRHcjs.exitWithSuccess; exports.handleProcess = _chunkJD6HWZRHcjs.handleProcess;
18
+ exports.exitWithError = _chunk4E64DBBWcjs.exitWithError; exports.exitWithSuccess = _chunk4E64DBBWcjs.exitWithSuccess; exports.handleProcess = _chunk4E64DBBWcjs.handleProcess;
@@ -2,14 +2,14 @@ import {
2
2
  exitWithError,
3
3
  exitWithSuccess,
4
4
  handleProcess
5
- } from "../chunk-JRW4X7KP.js";
6
- import "../chunk-EN32U2DR.js";
5
+ } from "../chunk-FSE2VOFE.js";
6
+ import "../chunk-ZG3KCER4.js";
7
7
  import "../chunk-5DQF4GNF.js";
8
- import "../chunk-JZAYHDV3.js";
9
- import "../chunk-SXPH7ILL.js";
10
8
  import "../chunk-HVVJHTFS.js";
11
9
  import "../chunk-ZFNAUMQS.js";
12
10
  import "../chunk-G2MK47WL.js";
11
+ import "../chunk-JZAYHDV3.js";
12
+ import "../chunk-SXPH7ILL.js";
13
13
  import "../chunk-RALMUN5C.js";
14
14
  export {
15
15
  exitWithError,
@@ -4,16 +4,16 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkHORH3XFVcjs = require('../chunk-HORH3XFV.cjs');
7
+ var _chunkTMCFJIGGcjs = require('../chunk-TMCFJIGG.cjs');
8
8
  require('../chunk-7PV6L7I7.cjs');
9
- require('../chunk-CRYHT4W3.cjs');
10
- require('../chunk-AE67VUIV.cjs');
9
+ require('../chunk-3OJJ5GLG.cjs');
10
+ require('../chunk-KJSYROBS.cjs');
11
11
  require('../chunk-L4YHJZ6Q.cjs');
12
- require('../chunk-WQJYIPSL.cjs');
13
- require('../chunk-JWLDCEBZ.cjs');
14
12
  require('../chunk-LOY6ICHZ.cjs');
15
13
  require('../chunk-EC2KPWRG.cjs');
16
14
  require('../chunk-DTGT4OI3.cjs');
15
+ require('../chunk-WQJYIPSL.cjs');
16
+ require('../chunk-JWLDCEBZ.cjs');
17
17
  require('../chunk-7QBTVNMR.cjs');
18
18
 
19
19
 
@@ -21,4 +21,4 @@ require('../chunk-7QBTVNMR.cjs');
21
21
 
22
22
 
23
23
 
24
- exports.modifyCargoNestedTable = _chunkHORH3XFVcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkHORH3XFVcjs.modifyCargoTable; exports.parseCargoToml = _chunkHORH3XFVcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkHORH3XFVcjs.parseCargoTomlWithTree; exports.stringifyCargoToml = _chunkHORH3XFVcjs.stringifyCargoToml;
24
+ exports.modifyCargoNestedTable = _chunkTMCFJIGGcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkTMCFJIGGcjs.modifyCargoTable; exports.parseCargoToml = _chunkTMCFJIGGcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkTMCFJIGGcjs.parseCargoTomlWithTree; exports.stringifyCargoToml = _chunkTMCFJIGGcjs.stringifyCargoToml;
@@ -4,16 +4,16 @@ import {
4
4
  parseCargoToml,
5
5
  parseCargoTomlWithTree,
6
6
  stringifyCargoToml
7
- } from "../chunk-VT3MJ4WU.js";
7
+ } from "../chunk-TFZRTTJ5.js";
8
8
  import "../chunk-RRKB32OH.js";
9
- import "../chunk-FD5DOAZT.js";
10
- import "../chunk-EN32U2DR.js";
9
+ import "../chunk-JO6BB3JX.js";
10
+ import "../chunk-ZG3KCER4.js";
11
11
  import "../chunk-5DQF4GNF.js";
12
- import "../chunk-JZAYHDV3.js";
13
- import "../chunk-SXPH7ILL.js";
14
12
  import "../chunk-HVVJHTFS.js";
15
13
  import "../chunk-ZFNAUMQS.js";
16
14
  import "../chunk-G2MK47WL.js";
15
+ import "../chunk-JZAYHDV3.js";
16
+ import "../chunk-SXPH7ILL.js";
17
17
  import "../chunk-RALMUN5C.js";
18
18
  export {
19
19
  modifyCargoNestedTable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.190.60",
3
+ "version": "1.190.62",
4
4
  "private": false,
5
5
  "description": "A package containing various utilities to support custom workspace configurations and environment management for Storm Software projects, including configuration file handling, environment variable management, and logging utilities.",
6
6
  "keywords": [
@@ -212,7 +212,7 @@
212
212
  "files": ["dist/**/*"],
213
213
  "dependencies": {
214
214
  "@ltd/j-toml": "1.38.0",
215
- "@storm-software/config": "^1.137.92",
215
+ "@storm-software/config": "^1.137.94",
216
216
  "c12": "^2.0.4",
217
217
  "chalk": "^4.1.2",
218
218
  "commander": "^12.1.0",
@@ -230,5 +230,5 @@
230
230
  "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" },
231
231
  "peerDependenciesMeta": { "zod": { "optional": false } },
232
232
  "publishConfig": { "access": "public" },
233
- "gitHead": "5c9b163eb1ed4b84c22b2f5d85d27786d215cf95"
233
+ "gitHead": "b6da2d24e56e885c36947d4888e1a6380c1907b8"
234
234
  }
@@ -1,92 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
-
3
- var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
4
-
5
-
6
- var _chunkAE67VUIVcjs = require('./chunk-AE67VUIV.cjs');
7
-
8
-
9
- var _chunkBDATZ3UBcjs = require('./chunk-BDATZ3UB.cjs');
10
-
11
- // src/config-file/get-config-file.ts
12
- var _c12 = require('c12');
13
- var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
14
- var getConfigFileByName = async (fileName, filePath, options = {}) => {
15
- const workspacePath = filePath || _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, filePath);
16
- const configs = await Promise.all([
17
- _c12.loadConfig.call(void 0, {
18
- cwd: workspacePath,
19
- packageJson: true,
20
- name: fileName,
21
- envName: _optionalChain([fileName, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]),
22
- jitiOptions: {
23
- debug: false,
24
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkBDATZ3UBcjs.joinPaths.call(void 0,
25
- process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
26
- "jiti"
27
- )
28
- },
29
- ...options
30
- }),
31
- _c12.loadConfig.call(void 0, {
32
- cwd: workspacePath,
33
- packageJson: true,
34
- name: fileName,
35
- envName: _optionalChain([fileName, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]),
36
- jitiOptions: {
37
- debug: false,
38
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkBDATZ3UBcjs.joinPaths.call(void 0,
39
- process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
40
- "jiti"
41
- )
42
- },
43
- configFile: fileName,
44
- ...options
45
- })
46
- ]);
47
- return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
48
- };
49
- var getConfigFile = async (filePath, additionalFileNames = []) => {
50
- const workspacePath = filePath ? filePath : _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, filePath);
51
- const result = await getConfigFileByName("storm-workspace", workspacePath);
52
- let config = result.config;
53
- const configFile = result.configFile;
54
- if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
55
- _chunkAE67VUIVcjs.writeTrace.call(void 0,
56
- `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
57
- {
58
- logLevel: "all"
59
- }
60
- );
61
- }
62
- if (additionalFileNames && additionalFileNames.length > 0) {
63
- const results = await Promise.all(
64
- additionalFileNames.map(
65
- (fileName) => getConfigFileByName(fileName, workspacePath)
66
- )
67
- );
68
- for (const result2 of results) {
69
- if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
70
- if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
71
- _chunkAE67VUIVcjs.writeTrace.call(void 0,
72
- `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
73
- {
74
- logLevel: "all"
75
- }
76
- );
77
- }
78
- config = _defu2.default.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
79
- }
80
- }
81
- }
82
- if (!config || Object.keys(config).length === 0) {
83
- return void 0;
84
- }
85
- config.configFile = configFile;
86
- return config;
87
- };
88
-
89
-
90
-
91
-
92
- exports.getConfigFileByName = getConfigFileByName; exports.getConfigFile = getConfigFile;
@@ -1,92 +0,0 @@
1
- import {
2
- findWorkspaceRoot
3
- } from "./chunk-LF3SAK2O.js";
4
- import {
5
- writeTrace
6
- } from "./chunk-EN32U2DR.js";
7
- import {
8
- joinPaths
9
- } from "./chunk-V3GMJ4TX.js";
10
-
11
- // src/config-file/get-config-file.ts
12
- import { loadConfig } from "c12";
13
- import defu from "defu";
14
- var getConfigFileByName = async (fileName, filePath, options = {}) => {
15
- const workspacePath = filePath || findWorkspaceRoot(filePath);
16
- const configs = await Promise.all([
17
- loadConfig({
18
- cwd: workspacePath,
19
- packageJson: true,
20
- name: fileName,
21
- envName: fileName?.toUpperCase(),
22
- jitiOptions: {
23
- debug: false,
24
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(
25
- process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
26
- "jiti"
27
- )
28
- },
29
- ...options
30
- }),
31
- loadConfig({
32
- cwd: workspacePath,
33
- packageJson: true,
34
- name: fileName,
35
- envName: fileName?.toUpperCase(),
36
- jitiOptions: {
37
- debug: false,
38
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(
39
- process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
40
- "jiti"
41
- )
42
- },
43
- configFile: fileName,
44
- ...options
45
- })
46
- ]);
47
- return defu(configs[0] ?? {}, configs[1] ?? {});
48
- };
49
- var getConfigFile = async (filePath, additionalFileNames = []) => {
50
- const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
51
- const result = await getConfigFileByName("storm-workspace", workspacePath);
52
- let config = result.config;
53
- const configFile = result.configFile;
54
- if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
55
- writeTrace(
56
- `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
57
- {
58
- logLevel: "all"
59
- }
60
- );
61
- }
62
- if (additionalFileNames && additionalFileNames.length > 0) {
63
- const results = await Promise.all(
64
- additionalFileNames.map(
65
- (fileName) => getConfigFileByName(fileName, workspacePath)
66
- )
67
- );
68
- for (const result2 of results) {
69
- if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
70
- if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
71
- writeTrace(
72
- `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
73
- {
74
- logLevel: "all"
75
- }
76
- );
77
- }
78
- config = defu(result2.config ?? {}, config ?? {});
79
- }
80
- }
81
- }
82
- if (!config || Object.keys(config).length === 0) {
83
- return void 0;
84
- }
85
- config.configFile = configFile;
86
- return config;
87
- };
88
-
89
- export {
90
- getConfigFileByName,
91
- getConfigFile
92
- };