@storm-software/config-tools 1.116.0 → 1.118.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.
- package/CHANGELOG.md +15 -1
- package/index.cjs +6 -0
- package/index.js +5 -0
- package/meta.cjs.json +4 -4
- package/meta.esm.json +4 -3
- package/package.json +1 -1
- package/src/utilities/get-log-level.d.ts +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
|
+
## 1.118.0 (2024-12-23)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **workspace-tools:** Added the `storm-software/typescript/tsup` plugin ([8e74c512](https://github.com/storm-software/storm-ops/commit/8e74c512))
|
|
6
|
+
|
|
7
|
+
## 1.117.0 (2024-12-22)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- **esbuild:** Added copy-assets and reporting build steps
|
|
12
|
+
([d8372730](https://github.com/storm-software/storm-ops/commit/d8372730))
|
|
13
|
+
|
|
1
14
|
## 1.116.0 (2024-12-19)
|
|
2
15
|
|
|
3
16
|
### Features
|
|
4
17
|
|
|
5
|
-
- **config:** Renamed the `env` config parameter to `envName`
|
|
18
|
+
- **config:** Renamed the `env` config parameter to `envName`
|
|
19
|
+
([5903bc5e](https://github.com/storm-software/storm-ops/commit/5903bc5e))
|
|
6
20
|
|
|
7
21
|
## 1.115.0 (2024-12-18)
|
|
8
22
|
|
package/index.cjs
CHANGED
|
@@ -60880,6 +60880,7 @@ __export(src_exports, {
|
|
|
60880
60880
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
60881
60881
|
getStopwatch: () => getStopwatch,
|
|
60882
60882
|
handleProcess: () => handleProcess,
|
|
60883
|
+
isVerbose: () => isVerbose,
|
|
60883
60884
|
loadStormConfig: () => loadStormConfig,
|
|
60884
60885
|
removeExtension: () => removeExtension,
|
|
60885
60886
|
run: () => run,
|
|
@@ -66626,6 +66627,10 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
66626
66627
|
}
|
|
66627
66628
|
return LogLevelLabel.INFO;
|
|
66628
66629
|
};
|
|
66630
|
+
var isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
66631
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
66632
|
+
return logLevel <= LogLevel.DEBUG;
|
|
66633
|
+
};
|
|
66629
66634
|
|
|
66630
66635
|
// packages/config-tools/src/utilities/logger.ts
|
|
66631
66636
|
var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
@@ -67436,6 +67441,7 @@ ${formatLogMessage(config)}`,
|
|
|
67436
67441
|
getLogLevelLabel,
|
|
67437
67442
|
getStopwatch,
|
|
67438
67443
|
handleProcess,
|
|
67444
|
+
isVerbose,
|
|
67439
67445
|
loadStormConfig,
|
|
67440
67446
|
removeExtension,
|
|
67441
67447
|
run,
|
package/index.js
CHANGED
|
@@ -66583,6 +66583,10 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
66583
66583
|
}
|
|
66584
66584
|
return LogLevelLabel.INFO;
|
|
66585
66585
|
};
|
|
66586
|
+
var isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
66587
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
66588
|
+
return logLevel <= LogLevel.DEBUG;
|
|
66589
|
+
};
|
|
66586
66590
|
|
|
66587
66591
|
// packages/config-tools/src/utilities/logger.ts
|
|
66588
66592
|
var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
|
|
@@ -67392,6 +67396,7 @@ export {
|
|
|
67392
67396
|
getLogLevelLabel,
|
|
67393
67397
|
getStopwatch,
|
|
67394
67398
|
handleProcess,
|
|
67399
|
+
isVerbose,
|
|
67395
67400
|
loadStormConfig,
|
|
67396
67401
|
removeExtension,
|
|
67397
67402
|
run,
|
package/meta.cjs.json
CHANGED
|
@@ -3437,7 +3437,7 @@
|
|
|
3437
3437
|
"format": "esm"
|
|
3438
3438
|
},
|
|
3439
3439
|
"packages/config-tools/src/utilities/get-log-level.ts": {
|
|
3440
|
-
"bytes":
|
|
3440
|
+
"bytes": 1859,
|
|
3441
3441
|
"imports": [
|
|
3442
3442
|
{
|
|
3443
3443
|
"path": "packages/config-tools/src/types.ts",
|
|
@@ -5097,7 +5097,7 @@
|
|
|
5097
5097
|
"bytesInOutput": 5964
|
|
5098
5098
|
},
|
|
5099
5099
|
"packages/config-tools/src/index.ts": {
|
|
5100
|
-
"bytesInOutput":
|
|
5100
|
+
"bytesInOutput": 1801
|
|
5101
5101
|
},
|
|
5102
5102
|
"node_modules/.pnpm/c12@2.0.0-beta.2/node_modules/c12/dist/shared/c12.cwi6FO2_.mjs": {
|
|
5103
5103
|
"bytesInOutput": 11878
|
|
@@ -5163,7 +5163,7 @@
|
|
|
5163
5163
|
"bytesInOutput": 297
|
|
5164
5164
|
},
|
|
5165
5165
|
"packages/config-tools/src/utilities/get-log-level.ts": {
|
|
5166
|
-
"bytesInOutput":
|
|
5166
|
+
"bytesInOutput": 1292
|
|
5167
5167
|
},
|
|
5168
5168
|
"packages/config-tools/src/utilities/logger.ts": {
|
|
5169
5169
|
"bytesInOutput": 5805
|
|
@@ -5190,7 +5190,7 @@
|
|
|
5190
5190
|
"bytesInOutput": 0
|
|
5191
5191
|
}
|
|
5192
5192
|
},
|
|
5193
|
-
"bytes":
|
|
5193
|
+
"bytes": 4163386
|
|
5194
5194
|
},
|
|
5195
5195
|
"dist/packages/config-tools/utilities/find-workspace-root.cjs": {
|
|
5196
5196
|
"imports": [
|
package/meta.esm.json
CHANGED
|
@@ -3437,7 +3437,7 @@
|
|
|
3437
3437
|
"format": "esm"
|
|
3438
3438
|
},
|
|
3439
3439
|
"packages/config-tools/src/utilities/get-log-level.ts": {
|
|
3440
|
-
"bytes":
|
|
3440
|
+
"bytes": 1859,
|
|
3441
3441
|
"imports": [
|
|
3442
3442
|
{
|
|
3443
3443
|
"path": "packages/config-tools/src/types.ts",
|
|
@@ -4763,6 +4763,7 @@
|
|
|
4763
4763
|
"getLogLevelLabel",
|
|
4764
4764
|
"getStopwatch",
|
|
4765
4765
|
"handleProcess",
|
|
4766
|
+
"isVerbose",
|
|
4766
4767
|
"loadStormConfig",
|
|
4767
4768
|
"removeExtension",
|
|
4768
4769
|
"run",
|
|
@@ -5203,7 +5204,7 @@
|
|
|
5203
5204
|
"bytesInOutput": 297
|
|
5204
5205
|
},
|
|
5205
5206
|
"packages/config-tools/src/utilities/get-log-level.ts": {
|
|
5206
|
-
"bytesInOutput":
|
|
5207
|
+
"bytesInOutput": 1292
|
|
5207
5208
|
},
|
|
5208
5209
|
"packages/config-tools/src/utilities/logger.ts": {
|
|
5209
5210
|
"bytesInOutput": 5805
|
|
@@ -5233,7 +5234,7 @@
|
|
|
5233
5234
|
"bytesInOutput": 0
|
|
5234
5235
|
}
|
|
5235
5236
|
},
|
|
5236
|
-
"bytes":
|
|
5237
|
+
"bytes": 4157804
|
|
5237
5238
|
},
|
|
5238
5239
|
"dist/packages/config-tools/utilities/find-workspace-root.js": {
|
|
5239
5240
|
"imports": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.118.0",
|
|
4
4
|
"description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -13,3 +13,10 @@ export declare const getLogLevel: (label?: string) => LogLevel;
|
|
|
13
13
|
* @returns The log level label
|
|
14
14
|
*/
|
|
15
15
|
export declare const getLogLevelLabel: (logLevel?: number) => LogLevelLabel;
|
|
16
|
+
/**
|
|
17
|
+
* Check if the log level is verbose
|
|
18
|
+
*
|
|
19
|
+
* @param label - The log level label to check
|
|
20
|
+
* @returns True if the log level is verbose
|
|
21
|
+
*/
|
|
22
|
+
export declare const isVerbose: (label?: string | LogLevel) => boolean;
|