@storm-software/config-tools 1.190.60 → 1.190.61
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.
- package/dist/config-file/get-config-file.cjs +9 -9
- package/dist/config-file/get-config-file.js +8 -8
- package/dist/config-file/index.cjs +9 -9
- package/dist/config-file/index.js +8 -8
- package/dist/create-storm-config.cjs +12 -12
- package/dist/create-storm-config.js +11 -11
- package/dist/get-config.cjs +13 -13
- package/dist/get-config.js +12 -12
- package/dist/index.cjs +23 -23
- package/dist/index.js +25 -25
- package/dist/logger/console.cjs +4 -4
- package/dist/logger/console.js +3 -3
- package/dist/logger/create-logger.cjs +5 -5
- package/dist/logger/create-logger.js +4 -4
- package/dist/logger/index.cjs +8 -8
- package/dist/logger/index.js +10 -10
- package/dist/utilities/index.cjs +8 -8
- package/dist/utilities/index.js +7 -7
- package/dist/utilities/process-handler.cjs +5 -5
- package/dist/utilities/process-handler.js +4 -4
- package/dist/utilities/toml.cjs +6 -6
- package/dist/utilities/toml.js +5 -5
- package/package.json +3 -3
- package/dist/chunk-552GCC6P.cjs +0 -92
- package/dist/chunk-7UEOVCKZ.js +0 -92
- package/dist/chunk-AE67VUIV.cjs +0 -947
- package/dist/chunk-CRYHT4W3.cjs +0 -35
- package/dist/chunk-EN32U2DR.js +0 -947
- package/dist/chunk-FD5DOAZT.js +0 -35
- package/dist/chunk-HORH3XFV.cjs +0 -47
- package/dist/chunk-IASBTY6Z.js +0 -165
- package/dist/chunk-JD6HWZRH.cjs +0 -55
- package/dist/chunk-JRW4X7KP.js +0 -55
- package/dist/chunk-L6MSRILP.js +0 -40
- package/dist/chunk-PWW56TRR.cjs +0 -165
- package/dist/chunk-VT3MJ4WU.js +0 -47
- package/dist/chunk-ZV4DCRSW.cjs +0 -40
package/dist/logger/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-7PV6L7I7.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
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
|
|
19
|
+
var _chunkKJSYROBScjs = require('../chunk-KJSYROBS.cjs');
|
|
20
20
|
require('../chunk-L4YHJZ6Q.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkLOY6ICHZcjs = require('../chunk-LOY6ICHZ.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
+
var _chunkEC2KPWRGcjs = require('../chunk-EC2KPWRG.cjs');
|
|
26
27
|
|
|
27
28
|
|
|
28
|
-
var
|
|
29
|
+
var _chunkDTGT4OI3cjs = require('../chunk-DTGT4OI3.cjs');
|
|
29
30
|
|
|
30
31
|
|
|
31
|
-
var
|
|
32
|
+
var _chunkWQJYIPSLcjs = require('../chunk-WQJYIPSL.cjs');
|
|
32
33
|
|
|
33
34
|
|
|
34
|
-
var _chunkEC2KPWRGcjs = require('../chunk-EC2KPWRG.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
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 =
|
|
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;
|
package/dist/logger/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-RRKB32OH.js";
|
|
2
2
|
import {
|
|
3
3
|
createLogger
|
|
4
|
-
} from "../chunk-
|
|
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-
|
|
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,
|
package/dist/utilities/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
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
|
|
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-
|
|
40
|
-
require('../chunk-
|
|
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 =
|
|
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;
|
package/dist/utilities/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
exitWithError,
|
|
4
4
|
exitWithSuccess,
|
|
5
5
|
handleProcess
|
|
6
|
-
} from "../chunk-
|
|
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-
|
|
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-
|
|
40
|
-
import "../chunk-
|
|
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
|
|
6
|
-
require('../chunk-
|
|
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 =
|
|
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-
|
|
6
|
-
import "../chunk-
|
|
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,
|
package/dist/utilities/toml.cjs
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkTMCFJIGGcjs = require('../chunk-TMCFJIGG.cjs');
|
|
8
8
|
require('../chunk-7PV6L7I7.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
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 =
|
|
24
|
+
exports.modifyCargoNestedTable = _chunkTMCFJIGGcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkTMCFJIGGcjs.modifyCargoTable; exports.parseCargoToml = _chunkTMCFJIGGcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkTMCFJIGGcjs.parseCargoTomlWithTree; exports.stringifyCargoToml = _chunkTMCFJIGGcjs.stringifyCargoToml;
|
package/dist/utilities/toml.js
CHANGED
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
parseCargoToml,
|
|
5
5
|
parseCargoTomlWithTree,
|
|
6
6
|
stringifyCargoToml
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-TFZRTTJ5.js";
|
|
8
8
|
import "../chunk-RRKB32OH.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
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.
|
|
3
|
+
"version": "1.190.61",
|
|
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.
|
|
215
|
+
"@storm-software/config": "^1.137.93",
|
|
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": "
|
|
233
|
+
"gitHead": "ade45f9094482001d24bbd6778a45eee59afc076"
|
|
234
234
|
}
|
package/dist/chunk-552GCC6P.cjs
DELETED
|
@@ -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;
|
package/dist/chunk-7UEOVCKZ.js
DELETED
|
@@ -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
|
-
};
|