@storm-software/config-tools 1.41.2 → 1.41.3
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 +12 -0
- package/index.cjs +6 -6
- package/index.js +6 -6
- package/meta.cjs.json +1 -1
- package/meta.esm.json +1 -1
- package/package.json +1 -1
- package/utilities/logger.cjs +6 -6
- package/utilities/logger.js +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 1.41.3 (2024-04-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **config-tools:** Resolved issue applying default config ([8e1403b3](https://github.com/storm-software/storm-ops/commit/8e1403b3))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
1
13
|
## 1.41.2 (2024-04-26)
|
|
2
14
|
|
|
3
15
|
|
package/index.cjs
CHANGED
|
@@ -72167,7 +72167,7 @@ var StormConfigSchema = z2.object({
|
|
|
72167
72167
|
namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
72168
72168
|
organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
72169
72169
|
repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
72170
|
-
license: z2.string().trim().default("Apache
|
|
72170
|
+
license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
|
|
72171
72171
|
homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
|
|
72172
72172
|
branch: z2.string().trim().default("main").describe("The branch of the workspace"),
|
|
72173
72173
|
preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
@@ -72249,7 +72249,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
72249
72249
|
var DEFAULT_STORM_CONFIG = {
|
|
72250
72250
|
name: "storm",
|
|
72251
72251
|
namespace: "storm-software",
|
|
72252
|
-
license: "Apache
|
|
72252
|
+
license: "Apache 2.0",
|
|
72253
72253
|
homepage: "https://stormsoftware.com",
|
|
72254
72254
|
owner: "@storm-software/development",
|
|
72255
72255
|
worker: "stormie-bot",
|
|
@@ -72528,10 +72528,10 @@ var getStopwatch = (name) => {
|
|
|
72528
72528
|
};
|
|
72529
72529
|
};
|
|
72530
72530
|
var formatLogMessage = (message, prefix = "-") => {
|
|
72531
|
-
return
|
|
72532
|
-
|
|
72533
|
-
${formatLogMessage(message[key], `${prefix}-`)
|
|
72534
|
-
).join("\n") : message
|
|
72531
|
+
return `
|
|
72532
|
+
${typeof message === "string" ? message : typeof message === "object" ? Object.keys(message).map(
|
|
72533
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(message[key], `${prefix}-`) : message[key]}`
|
|
72534
|
+
).join("\n") : message}`;
|
|
72535
72535
|
};
|
|
72536
72536
|
var _isFunction = (value2) => {
|
|
72537
72537
|
try {
|
package/index.js
CHANGED
|
@@ -72125,7 +72125,7 @@ var StormConfigSchema = z2.object({
|
|
|
72125
72125
|
namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
72126
72126
|
organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
72127
72127
|
repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
72128
|
-
license: z2.string().trim().default("Apache
|
|
72128
|
+
license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
|
|
72129
72129
|
homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
|
|
72130
72130
|
branch: z2.string().trim().default("main").describe("The branch of the workspace"),
|
|
72131
72131
|
preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
@@ -72207,7 +72207,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
72207
72207
|
var DEFAULT_STORM_CONFIG = {
|
|
72208
72208
|
name: "storm",
|
|
72209
72209
|
namespace: "storm-software",
|
|
72210
|
-
license: "Apache
|
|
72210
|
+
license: "Apache 2.0",
|
|
72211
72211
|
homepage: "https://stormsoftware.com",
|
|
72212
72212
|
owner: "@storm-software/development",
|
|
72213
72213
|
worker: "stormie-bot",
|
|
@@ -72486,10 +72486,10 @@ var getStopwatch = (name) => {
|
|
|
72486
72486
|
};
|
|
72487
72487
|
};
|
|
72488
72488
|
var formatLogMessage = (message, prefix = "-") => {
|
|
72489
|
-
return
|
|
72490
|
-
|
|
72491
|
-
${formatLogMessage(message[key], `${prefix}-`)
|
|
72492
|
-
).join("\n") : message
|
|
72489
|
+
return `
|
|
72490
|
+
${typeof message === "string" ? message : typeof message === "object" ? Object.keys(message).map(
|
|
72491
|
+
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(message[key], `${prefix}-`) : message[key]}`
|
|
72492
|
+
).join("\n") : message}`;
|
|
72493
72493
|
};
|
|
72494
72494
|
var _isFunction = (value2) => {
|
|
72495
72495
|
try {
|