@storm-software/config-tools 1.190.21 → 1.190.22
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-5OYYSFK5.cjs +0 -40
- package/dist/chunk-7YIRETM2.cjs +0 -165
- package/dist/chunk-BUB7FBXA.js +0 -55
- package/dist/chunk-CBM6ZRFO.js +0 -35
- package/dist/chunk-DPHVF4QR.cjs +0 -35
- package/dist/chunk-DW5363CG.js +0 -165
- package/dist/chunk-FOAMXVC2.cjs +0 -47
- package/dist/chunk-JLLNUKG7.cjs +0 -55
- package/dist/chunk-KKF5NXBI.js +0 -40
- package/dist/chunk-NT26TB4H.js +0 -92
- package/dist/chunk-O76J367J.js +0 -947
- package/dist/chunk-SN6BVPYU.cjs +0 -92
- package/dist/chunk-T35FQNUH.cjs +0 -947
- package/dist/chunk-TAD4S6KA.js +0 -47
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 _chunkIMRWBPKBcjs = require('../chunk-IMRWBPKB.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -16,25 +16,25 @@ var _chunkDPHVF4QRcjs = require('../chunk-DPHVF4QR.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkBF4MDUTRcjs = require('../chunk-BF4MDUTR.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 = _chunkBF4MDUTRcjs.brandIcon; exports.createLogger = _chunkIMRWBPKBcjs.createLogger; exports.formatLogMessage = _chunkBF4MDUTRcjs.formatLogMessage; exports.formatTimestamp = _chunkWQJYIPSLcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getLogFn = _chunkBF4MDUTRcjs.getLogFn; exports.getLogLevel = _chunkJWLDCEBZcjs.getLogLevel; exports.getLogLevelLabel = _chunkJWLDCEBZcjs.getLogLevelLabel; exports.getStopwatch = _chunkBF4MDUTRcjs.getStopwatch; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunkJWLDCEBZcjs.isVerbose; exports.writeDebug = _chunkBF4MDUTRcjs.writeDebug; exports.writeError = _chunkBF4MDUTRcjs.writeError; exports.writeFatal = _chunkBF4MDUTRcjs.writeFatal; exports.writeInfo = _chunkBF4MDUTRcjs.writeInfo; exports.writePerformance = _chunkBF4MDUTRcjs.writePerformance; exports.writeSuccess = _chunkBF4MDUTRcjs.writeSuccess; exports.writeSystem = _chunkBF4MDUTRcjs.writeSystem; exports.writeTrace = _chunkBF4MDUTRcjs.writeTrace; exports.writeWarning = _chunkBF4MDUTRcjs.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-TLZTD7WU.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-4IHL3E5M.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 _chunkGXRAHLKTcjs = require('../chunk-GXRAHLKT.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 _chunkH7J7UFAVcjs = require('../chunk-H7J7UFAV.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-IMRWBPKB.cjs');
|
|
40
|
+
require('../chunk-BF4MDUTR.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 = _chunkGXRAHLKTcjs.exitWithError; exports.exitWithSuccess = _chunkGXRAHLKTcjs.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 = _chunkGXRAHLKTcjs.handleProcess; exports.isAbsolute = _chunkBDATZ3UBcjs.isAbsolute; exports.joinPaths = _chunkBDATZ3UBcjs.joinPaths; exports.modifyCargoNestedTable = _chunkH7J7UFAVcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkH7J7UFAVcjs.modifyCargoTable; exports.normalizeString = _chunkBDATZ3UBcjs.normalizeString; exports.normalizeWindowsPath = _chunkBDATZ3UBcjs.normalizeWindowsPath; exports.parse = _chunkBDATZ3UBcjs.parse; exports.parseCargoToml = _chunkH7J7UFAVcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkH7J7UFAVcjs.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 = _chunkH7J7UFAVcjs.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-MNUSVN5B.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-C47DWQVX.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-TLZTD7WU.js";
|
|
40
|
+
import "../chunk-4IHL3E5M.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 _chunkGXRAHLKTcjs = require('../chunk-GXRAHLKT.cjs');
|
|
6
|
+
require('../chunk-BF4MDUTR.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 = _chunkGXRAHLKTcjs.exitWithError; exports.exitWithSuccess = _chunkGXRAHLKTcjs.exitWithSuccess; exports.handleProcess = _chunkGXRAHLKTcjs.handleProcess;
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
exitWithError,
|
|
3
3
|
exitWithSuccess,
|
|
4
4
|
handleProcess
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-MNUSVN5B.js";
|
|
6
|
+
import "../chunk-4IHL3E5M.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 _chunkH7J7UFAVcjs = require('../chunk-H7J7UFAV.cjs');
|
|
8
8
|
require('../chunk-7PV6L7I7.cjs');
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-IMRWBPKB.cjs');
|
|
10
|
+
require('../chunk-BF4MDUTR.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 = _chunkH7J7UFAVcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkH7J7UFAVcjs.modifyCargoTable; exports.parseCargoToml = _chunkH7J7UFAVcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkH7J7UFAVcjs.parseCargoTomlWithTree; exports.stringifyCargoToml = _chunkH7J7UFAVcjs.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-C47DWQVX.js";
|
|
8
8
|
import "../chunk-RRKB32OH.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-TLZTD7WU.js";
|
|
10
|
+
import "../chunk-4IHL3E5M.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.22",
|
|
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.54",
|
|
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": "c746662eaee78e61935b7e38f88d17c714e5ac57"
|
|
234
234
|
}
|
package/dist/chunk-5OYYSFK5.cjs
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunk7YIRETM2cjs = require('./chunk-7YIRETM2.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
|
|
8
|
-
|
|
9
|
-
// src/get-config.ts
|
|
10
|
-
function getConfig(workspaceRoot, skipLogs = false) {
|
|
11
|
-
return _chunk7YIRETM2cjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
|
|
12
|
-
}
|
|
13
|
-
function getWorkspaceConfig(skipLogs = true, options = {}) {
|
|
14
|
-
let workspaceRoot = options.workspaceRoot;
|
|
15
|
-
if (!workspaceRoot) {
|
|
16
|
-
workspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, options.cwd);
|
|
17
|
-
}
|
|
18
|
-
return getConfig(workspaceRoot, skipLogs);
|
|
19
|
-
}
|
|
20
|
-
async function tryGetWorkspaceConfig(skipLogs = true, options = {}) {
|
|
21
|
-
try {
|
|
22
|
-
let workspaceRoot = options.workspaceRoot;
|
|
23
|
-
if (!workspaceRoot) {
|
|
24
|
-
workspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, options.cwd);
|
|
25
|
-
}
|
|
26
|
-
return _chunk7YIRETM2cjs.tryLoadStormWorkspaceConfig.call(void 0,
|
|
27
|
-
workspaceRoot,
|
|
28
|
-
skipLogs,
|
|
29
|
-
options.useDefault
|
|
30
|
-
);
|
|
31
|
-
} catch (e) {
|
|
32
|
-
return void 0;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
exports.getConfig = getConfig; exports.getWorkspaceConfig = getWorkspaceConfig; exports.tryGetWorkspaceConfig = tryGetWorkspaceConfig;
|
package/dist/chunk-7YIRETM2.cjs
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkB2CQPVVLcjs = require('./chunk-B2CQPVVL.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunkNHILCONIcjs = require('./chunk-NHILCONI.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var _chunkSN6BVPYUcjs = require('./chunk-SN6BVPYU.cjs');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var _chunkCFXT4ZAWcjs = require('./chunk-CFXT4ZAW.cjs');
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
var _chunkT35FQNUHcjs = require('./chunk-T35FQNUH.cjs');
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var _chunkBDATZ3UBcjs = require('./chunk-BDATZ3UB.cjs');
|
|
26
|
-
|
|
27
|
-
// src/create-storm-config.ts
|
|
28
|
-
var _schema = require('@storm-software/config/schema');
|
|
29
|
-
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
30
|
-
var _fs = require('fs');
|
|
31
|
-
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
32
|
-
var _static_cache = void 0;
|
|
33
|
-
var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, skipLogs = false, useDefault = true) => {
|
|
34
|
-
let result;
|
|
35
|
-
if (!_optionalChain([_static_cache, 'optionalAccess', _ => _.data]) || !_optionalChain([_static_cache, 'optionalAccess', _2 => _2.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
36
|
-
let _workspaceRoot = workspaceRoot;
|
|
37
|
-
if (!_workspaceRoot) {
|
|
38
|
-
_workspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, );
|
|
39
|
-
}
|
|
40
|
-
const configEnv = _chunkNHILCONIcjs.getConfigEnv.call(void 0, );
|
|
41
|
-
const configFile = await _chunkSN6BVPYUcjs.getConfigFile.call(void 0, _workspaceRoot);
|
|
42
|
-
if (!configFile) {
|
|
43
|
-
if (!skipLogs) {
|
|
44
|
-
_chunkT35FQNUHcjs.writeWarning.call(void 0,
|
|
45
|
-
"No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
|
|
46
|
-
{ logLevel: "all" }
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
if (useDefault === false) {
|
|
50
|
-
return void 0;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
const defaultConfig = await _chunkCFXT4ZAWcjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
54
|
-
const configInput = _defu2.default.call(void 0,
|
|
55
|
-
configEnv,
|
|
56
|
-
configFile,
|
|
57
|
-
defaultConfig
|
|
58
|
-
);
|
|
59
|
-
if (!configInput.variant) {
|
|
60
|
-
configInput.variant = _fs.existsSync.call(void 0, _chunkBDATZ3UBcjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkBDATZ3UBcjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkBDATZ3UBcjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkBDATZ3UBcjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
61
|
-
}
|
|
62
|
-
try {
|
|
63
|
-
const parseResult = await Promise.resolve(
|
|
64
|
-
_schema.workspaceConfigSchema._zod.parse(
|
|
65
|
-
{ value: configInput, issues: [] },
|
|
66
|
-
{ async: true }
|
|
67
|
-
)
|
|
68
|
-
);
|
|
69
|
-
result = _chunkCFXT4ZAWcjs.applyDefaultConfig.call(void 0, parseResult.value);
|
|
70
|
-
result.workspaceRoot ??= _workspaceRoot;
|
|
71
|
-
} catch (error) {
|
|
72
|
-
throw new Error(
|
|
73
|
-
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _3 => _3.message]) ? `: ${error.message}` : ""}
|
|
74
|
-
|
|
75
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkT35FQNUHcjs.formatLogMessage.call(void 0,
|
|
76
|
-
configInput
|
|
77
|
-
)}`,
|
|
78
|
-
{
|
|
79
|
-
cause: error
|
|
80
|
-
}
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
} else {
|
|
84
|
-
result = _static_cache.data;
|
|
85
|
-
}
|
|
86
|
-
if (schema && extensionName) {
|
|
87
|
-
result.extensions = {
|
|
88
|
-
...result.extensions,
|
|
89
|
-
[extensionName]: createConfigExtension(extensionName, schema)
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
_static_cache = {
|
|
93
|
-
timestamp: Date.now(),
|
|
94
|
-
data: result
|
|
95
|
-
};
|
|
96
|
-
return result;
|
|
97
|
-
};
|
|
98
|
-
var createConfigExtension = (extensionName, schema) => {
|
|
99
|
-
const extension_cache_key = { extensionName };
|
|
100
|
-
if (_extension_cache.has(extension_cache_key)) {
|
|
101
|
-
return _extension_cache.get(extension_cache_key);
|
|
102
|
-
}
|
|
103
|
-
let extension = _chunkNHILCONIcjs.getExtensionEnv.call(void 0, extensionName);
|
|
104
|
-
if (schema) {
|
|
105
|
-
extension = schema.parse(extension);
|
|
106
|
-
}
|
|
107
|
-
_extension_cache.set(extension_cache_key, extension);
|
|
108
|
-
return extension;
|
|
109
|
-
};
|
|
110
|
-
var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
111
|
-
const config = await createStormWorkspaceConfig(
|
|
112
|
-
void 0,
|
|
113
|
-
void 0,
|
|
114
|
-
workspaceRoot,
|
|
115
|
-
skipLogs,
|
|
116
|
-
true
|
|
117
|
-
);
|
|
118
|
-
_chunkB2CQPVVLcjs.setConfigEnv.call(void 0, config);
|
|
119
|
-
if (!skipLogs && !config.skipConfigLogging) {
|
|
120
|
-
_chunkT35FQNUHcjs.writeTrace.call(void 0,
|
|
121
|
-
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
122
|
-
${_chunkT35FQNUHcjs.formatLogMessage.call(void 0, config)}`,
|
|
123
|
-
config
|
|
124
|
-
);
|
|
125
|
-
}
|
|
126
|
-
return config;
|
|
127
|
-
};
|
|
128
|
-
var tryLoadStormWorkspaceConfig = async (workspaceRoot, skipLogs = true, useDefault = false) => {
|
|
129
|
-
try {
|
|
130
|
-
const config = await createStormWorkspaceConfig(
|
|
131
|
-
void 0,
|
|
132
|
-
void 0,
|
|
133
|
-
workspaceRoot,
|
|
134
|
-
skipLogs,
|
|
135
|
-
useDefault
|
|
136
|
-
);
|
|
137
|
-
if (!config) {
|
|
138
|
-
return void 0;
|
|
139
|
-
}
|
|
140
|
-
_chunkB2CQPVVLcjs.setConfigEnv.call(void 0, config);
|
|
141
|
-
if (!skipLogs && !config.skipConfigLogging) {
|
|
142
|
-
_chunkT35FQNUHcjs.writeTrace.call(void 0,
|
|
143
|
-
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
144
|
-
${_chunkT35FQNUHcjs.formatLogMessage.call(void 0, config)}`,
|
|
145
|
-
config
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
return config;
|
|
149
|
-
} catch (error) {
|
|
150
|
-
if (!skipLogs) {
|
|
151
|
-
_chunkT35FQNUHcjs.writeWarning.call(void 0,
|
|
152
|
-
`\u26A0\uFE0F Failed to load Storm Workspace configuration: ${error}`,
|
|
153
|
-
{ logLevel: "all" }
|
|
154
|
-
);
|
|
155
|
-
}
|
|
156
|
-
return void 0;
|
|
157
|
-
}
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
exports.createStormWorkspaceConfig = createStormWorkspaceConfig; exports.createConfigExtension = createConfigExtension; exports.loadStormWorkspaceConfig = loadStormWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = tryLoadStormWorkspaceConfig;
|
package/dist/chunk-BUB7FBXA.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
writeError,
|
|
3
|
-
writeFatal,
|
|
4
|
-
writeSuccess,
|
|
5
|
-
writeTrace
|
|
6
|
-
} from "./chunk-O76J367J.js";
|
|
7
|
-
|
|
8
|
-
// src/utilities/process-handler.ts
|
|
9
|
-
var exitWithError = (config) => {
|
|
10
|
-
writeFatal("Exiting script with an error status...", config);
|
|
11
|
-
process.exit(1);
|
|
12
|
-
};
|
|
13
|
-
var exitWithSuccess = (config) => {
|
|
14
|
-
writeSuccess("Script completed successfully. Exiting...", config);
|
|
15
|
-
process.exit(0);
|
|
16
|
-
};
|
|
17
|
-
var handleProcess = (config) => {
|
|
18
|
-
writeTrace(
|
|
19
|
-
`Using the following arguments to process the script: ${process.argv.join(", ")}`,
|
|
20
|
-
config
|
|
21
|
-
);
|
|
22
|
-
process.on("unhandledRejection", (error) => {
|
|
23
|
-
writeError(
|
|
24
|
-
`An Unhandled Rejection occurred while running the program: ${error}`,
|
|
25
|
-
config
|
|
26
|
-
);
|
|
27
|
-
exitWithError(config);
|
|
28
|
-
});
|
|
29
|
-
process.on("uncaughtException", (error) => {
|
|
30
|
-
writeError(
|
|
31
|
-
`An Uncaught Exception occurred while running the program: ${error.message}
|
|
32
|
-
Stacktrace: ${error.stack}`,
|
|
33
|
-
config
|
|
34
|
-
);
|
|
35
|
-
exitWithError(config);
|
|
36
|
-
});
|
|
37
|
-
process.on("SIGTERM", (signal) => {
|
|
38
|
-
writeError(`The program terminated with signal code: ${signal}`, config);
|
|
39
|
-
exitWithError(config);
|
|
40
|
-
});
|
|
41
|
-
process.on("SIGINT", (signal) => {
|
|
42
|
-
writeError(`The program terminated with signal code: ${signal}`, config);
|
|
43
|
-
exitWithError(config);
|
|
44
|
-
});
|
|
45
|
-
process.on("SIGHUP", (signal) => {
|
|
46
|
-
writeError(`The program terminated with signal code: ${signal}`, config);
|
|
47
|
-
exitWithError(config);
|
|
48
|
-
});
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export {
|
|
52
|
-
exitWithError,
|
|
53
|
-
exitWithSuccess,
|
|
54
|
-
handleProcess
|
|
55
|
-
};
|
package/dist/chunk-CBM6ZRFO.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getLogFn,
|
|
3
|
-
getStopwatch
|
|
4
|
-
} from "./chunk-O76J367J.js";
|
|
5
|
-
import {
|
|
6
|
-
LogLevel
|
|
7
|
-
} from "./chunk-RALMUN5C.js";
|
|
8
|
-
|
|
9
|
-
// src/logger/create-logger.ts
|
|
10
|
-
import chalk from "chalk";
|
|
11
|
-
async function createLogger(config) {
|
|
12
|
-
const writeFatal = getLogFn(LogLevel.FATAL, config, { chalk });
|
|
13
|
-
const writeError = getLogFn(LogLevel.ERROR, config, { chalk });
|
|
14
|
-
const writeWarning = getLogFn(LogLevel.WARN, config, { chalk });
|
|
15
|
-
const writeInfo = getLogFn(LogLevel.INFO, config, { chalk });
|
|
16
|
-
const writeSuccess = getLogFn(LogLevel.SUCCESS, config, { chalk });
|
|
17
|
-
const writeDebug = getLogFn(LogLevel.DEBUG, config, { chalk });
|
|
18
|
-
const writePerformance = getLogFn(LogLevel.PERFORMANCE, config, { chalk });
|
|
19
|
-
const writeTrace = getLogFn(LogLevel.TRACE, config, { chalk });
|
|
20
|
-
return {
|
|
21
|
-
fatal: writeFatal,
|
|
22
|
-
error: writeError,
|
|
23
|
-
warning: writeWarning,
|
|
24
|
-
info: writeInfo,
|
|
25
|
-
success: writeSuccess,
|
|
26
|
-
performance: writePerformance,
|
|
27
|
-
debug: writeDebug,
|
|
28
|
-
trace: writeTrace,
|
|
29
|
-
getStopwatch
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export {
|
|
34
|
-
createLogger
|
|
35
|
-
};
|
package/dist/chunk-DPHVF4QR.cjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkT35FQNUHcjs = require('./chunk-T35FQNUH.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var _chunk7QBTVNMRcjs = require('./chunk-7QBTVNMR.cjs');
|
|
8
|
-
|
|
9
|
-
// src/logger/create-logger.ts
|
|
10
|
-
var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
|
|
11
|
-
async function createLogger(config) {
|
|
12
|
-
const writeFatal = _chunkT35FQNUHcjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.FATAL, config, { chalk: _chalk2.default });
|
|
13
|
-
const writeError = _chunkT35FQNUHcjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.ERROR, config, { chalk: _chalk2.default });
|
|
14
|
-
const writeWarning = _chunkT35FQNUHcjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.WARN, config, { chalk: _chalk2.default });
|
|
15
|
-
const writeInfo = _chunkT35FQNUHcjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.INFO, config, { chalk: _chalk2.default });
|
|
16
|
-
const writeSuccess = _chunkT35FQNUHcjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.SUCCESS, config, { chalk: _chalk2.default });
|
|
17
|
-
const writeDebug = _chunkT35FQNUHcjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.DEBUG, config, { chalk: _chalk2.default });
|
|
18
|
-
const writePerformance = _chunkT35FQNUHcjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.PERFORMANCE, config, { chalk: _chalk2.default });
|
|
19
|
-
const writeTrace = _chunkT35FQNUHcjs.getLogFn.call(void 0, _chunk7QBTVNMRcjs.LogLevel.TRACE, config, { chalk: _chalk2.default });
|
|
20
|
-
return {
|
|
21
|
-
fatal: writeFatal,
|
|
22
|
-
error: writeError,
|
|
23
|
-
warning: writeWarning,
|
|
24
|
-
info: writeInfo,
|
|
25
|
-
success: writeSuccess,
|
|
26
|
-
performance: writePerformance,
|
|
27
|
-
debug: writeDebug,
|
|
28
|
-
trace: writeTrace,
|
|
29
|
-
getStopwatch: _chunkT35FQNUHcjs.getStopwatch
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
exports.createLogger = createLogger;
|