@storm-software/config-tools 1.30.4 → 1.30.5

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## 1.30.5 (2024-03-01)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Use tsc to build package ([05780f07](https://github.com/storm-software/storm-ops/commit/05780f07))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
1
13
  ## 1.30.4 (2024-02-27)
2
14
 
3
15
 
package/declarations.d.ts CHANGED
@@ -210,4 +210,43 @@ declare const LARGE_BUFFER: number;
210
210
  declare function run(config: StormConfig, command: string, cwd: string = config.workspaceRoot): any;
211
211
  export { run };
212
212
 
213
+ declare function getLogLevel(label?: string): LogLevel;
214
+ export { getLogLevel };
215
+
216
+ declare function getLogLevelLabel(logLevel: number): LogLevelLabel;
217
+ export { getLogLevelLabel };
218
+
219
+ export type LogLevel = 0 | 10 | 20 | 30 | 35 | 40 | 60 | 70 | 100;
220
+ export const LogLevel = {
221
+ SILENT: 0 as LogLevel,
222
+ FATAL: 10 as LogLevel,
223
+ ERROR: 20 as LogLevel,
224
+ WARN: 30 as LogLevel,
225
+ SUCCESS: 35 as LogLevel,
226
+ INFO: 40 as LogLevel,
227
+ DEBUG: 60 as LogLevel,
228
+ TRACE: 70 as LogLevel,
229
+ ALL: 100 as LogLevel
230
+ } as const;
231
+
232
+ export type LogLevelLabel =
233
+ | "silent"
234
+ | "fatal"
235
+ | "error"
236
+ | "warn"
237
+ | "info"
238
+ | "debug"
239
+ | "trace"
240
+ | "all";
241
+ export const LogLevelLabel = {
242
+ SILENT: "silent" as LogLevelLabel,
243
+ FATAL: "fatal" as LogLevelLabel,
244
+ ERROR: "error" as LogLevelLabel,
245
+ WARN: "warn" as LogLevelLabel,
246
+ INFO: "info" as LogLevelLabel,
247
+ DEBUG: "debug" as LogLevelLabel,
248
+ TRACE: "trace" as LogLevelLabel,
249
+ ALL: "all" as LogLevelLabel
250
+ } as const;
251
+
213
252
  declare module "fs-extra/esm" {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.30.4",
3
+ "version": "1.30.5",
4
4
  "private": false,
5
5
  "description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
6
6
  "repository": {