@storm-software/config-tools 1.114.1 → 1.115.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 +6 -0
- package/index.cjs +17 -4
- package/index.js +17 -4
- package/meta.cjs.json +5 -5
- package/meta.esm.json +5 -5
- package/package.json +1 -1
- package/utilities/logger.cjs +17 -4
- package/utilities/logger.js +17 -4
package/CHANGELOG.md
CHANGED
package/index.cjs
CHANGED
|
@@ -66360,7 +66360,12 @@ var StormConfigSchema = z3.object({
|
|
|
66360
66360
|
extends: z3.string().trim().optional().describe(
|
|
66361
66361
|
"The path to a base JSON file to use as a configuration preset file"
|
|
66362
66362
|
),
|
|
66363
|
-
|
|
66363
|
+
isRoot: z3.boolean().optional().describe(
|
|
66364
|
+
"A flag indicating if the current configuration is the set in the root of the workspace"
|
|
66365
|
+
),
|
|
66366
|
+
name: z3.string().trim().toLowerCase().optional().describe(
|
|
66367
|
+
"The name of the service/package/scope using this configuration"
|
|
66368
|
+
),
|
|
66364
66369
|
namespace: z3.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
66365
66370
|
organization: z3.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
66366
66371
|
repository: z3.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
@@ -66370,7 +66375,7 @@ var StormConfigSchema = z3.object({
|
|
|
66370
66375
|
licensing: z3.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
|
|
66371
66376
|
branch: z3.string().trim().default("main").describe("The branch of the workspace"),
|
|
66372
66377
|
preid: z3.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
66373
|
-
owner: z3.string().trim().default("@storm-software/
|
|
66378
|
+
owner: z3.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
66374
66379
|
worker: z3.string().trim().default("Stormie-Bot").describe(
|
|
66375
66380
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
66376
66381
|
),
|
|
@@ -66381,7 +66386,15 @@ var StormConfigSchema = z3.object({
|
|
|
66381
66386
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
66382
66387
|
),
|
|
66383
66388
|
skipCache: z3.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
66384
|
-
cacheDirectory: z3.string().trim().
|
|
66389
|
+
cacheDirectory: z3.string().trim().optional().describe(
|
|
66390
|
+
"The directory used to store the environment's cached file data"
|
|
66391
|
+
),
|
|
66392
|
+
dataDirectory: z3.string().trim().optional().describe("The directory used to store the environment's data files"),
|
|
66393
|
+
configDirectory: z3.string().trim().optional().describe(
|
|
66394
|
+
"The directory used to store the environment's configuration files"
|
|
66395
|
+
),
|
|
66396
|
+
tempDirectory: z3.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
66397
|
+
logDirectory: z3.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
66385
66398
|
buildDirectory: z3.string().trim().default("dist").describe("The build directory for the workspace"),
|
|
66386
66399
|
outputDirectory: z3.string().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
66387
66400
|
runtimeVersion: z3.string().trim().regex(
|
|
@@ -66399,7 +66412,7 @@ var StormConfigSchema = z3.object({
|
|
|
66399
66412
|
"debug",
|
|
66400
66413
|
"trace",
|
|
66401
66414
|
"all"
|
|
66402
|
-
]).default("
|
|
66415
|
+
]).default("info").describe(
|
|
66403
66416
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
66404
66417
|
),
|
|
66405
66418
|
cloudflareAccountId: z3.string().trim().toLowerCase().length(32).regex(/^([0-9a-fA-F]{32})$/i).nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
package/index.js
CHANGED
|
@@ -66317,7 +66317,12 @@ var StormConfigSchema = z3.object({
|
|
|
66317
66317
|
extends: z3.string().trim().optional().describe(
|
|
66318
66318
|
"The path to a base JSON file to use as a configuration preset file"
|
|
66319
66319
|
),
|
|
66320
|
-
|
|
66320
|
+
isRoot: z3.boolean().optional().describe(
|
|
66321
|
+
"A flag indicating if the current configuration is the set in the root of the workspace"
|
|
66322
|
+
),
|
|
66323
|
+
name: z3.string().trim().toLowerCase().optional().describe(
|
|
66324
|
+
"The name of the service/package/scope using this configuration"
|
|
66325
|
+
),
|
|
66321
66326
|
namespace: z3.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
66322
66327
|
organization: z3.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
66323
66328
|
repository: z3.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
@@ -66327,7 +66332,7 @@ var StormConfigSchema = z3.object({
|
|
|
66327
66332
|
licensing: z3.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
|
|
66328
66333
|
branch: z3.string().trim().default("main").describe("The branch of the workspace"),
|
|
66329
66334
|
preid: z3.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
66330
|
-
owner: z3.string().trim().default("@storm-software/
|
|
66335
|
+
owner: z3.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
66331
66336
|
worker: z3.string().trim().default("Stormie-Bot").describe(
|
|
66332
66337
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
66333
66338
|
),
|
|
@@ -66338,7 +66343,15 @@ var StormConfigSchema = z3.object({
|
|
|
66338
66343
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
66339
66344
|
),
|
|
66340
66345
|
skipCache: z3.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
66341
|
-
cacheDirectory: z3.string().trim().
|
|
66346
|
+
cacheDirectory: z3.string().trim().optional().describe(
|
|
66347
|
+
"The directory used to store the environment's cached file data"
|
|
66348
|
+
),
|
|
66349
|
+
dataDirectory: z3.string().trim().optional().describe("The directory used to store the environment's data files"),
|
|
66350
|
+
configDirectory: z3.string().trim().optional().describe(
|
|
66351
|
+
"The directory used to store the environment's configuration files"
|
|
66352
|
+
),
|
|
66353
|
+
tempDirectory: z3.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
66354
|
+
logDirectory: z3.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
66342
66355
|
buildDirectory: z3.string().trim().default("dist").describe("The build directory for the workspace"),
|
|
66343
66356
|
outputDirectory: z3.string().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
66344
66357
|
runtimeVersion: z3.string().trim().regex(
|
|
@@ -66356,7 +66369,7 @@ var StormConfigSchema = z3.object({
|
|
|
66356
66369
|
"debug",
|
|
66357
66370
|
"trace",
|
|
66358
66371
|
"all"
|
|
66359
|
-
]).default("
|
|
66372
|
+
]).default("info").describe(
|
|
66360
66373
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
66361
66374
|
),
|
|
66362
66375
|
cloudflareAccountId: z3.string().trim().toLowerCase().length(32).regex(/^([0-9a-fA-F]{32})$/i).nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
package/meta.cjs.json
CHANGED
|
@@ -3359,7 +3359,7 @@
|
|
|
3359
3359
|
"format": "esm"
|
|
3360
3360
|
},
|
|
3361
3361
|
"packages/config/src/schema.ts": {
|
|
3362
|
-
"bytes":
|
|
3362
|
+
"bytes": 11821,
|
|
3363
3363
|
"imports": [
|
|
3364
3364
|
{
|
|
3365
3365
|
"path": "node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs",
|
|
@@ -5151,7 +5151,7 @@
|
|
|
5151
5151
|
"bytesInOutput": 117366
|
|
5152
5152
|
},
|
|
5153
5153
|
"packages/config/src/schema.ts": {
|
|
5154
|
-
"bytesInOutput":
|
|
5154
|
+
"bytesInOutput": 9852
|
|
5155
5155
|
},
|
|
5156
5156
|
"packages/config/src/types.ts": {
|
|
5157
5157
|
"bytesInOutput": 197
|
|
@@ -5190,7 +5190,7 @@
|
|
|
5190
5190
|
"bytesInOutput": 0
|
|
5191
5191
|
}
|
|
5192
5192
|
},
|
|
5193
|
-
"bytes":
|
|
5193
|
+
"bytes": 4163172
|
|
5194
5194
|
},
|
|
5195
5195
|
"dist/packages/config-tools/utilities/find-workspace-root.cjs": {
|
|
5196
5196
|
"imports": [
|
|
@@ -5337,7 +5337,7 @@
|
|
|
5337
5337
|
"bytesInOutput": 116969
|
|
5338
5338
|
},
|
|
5339
5339
|
"packages/config/src/schema.ts": {
|
|
5340
|
-
"bytesInOutput":
|
|
5340
|
+
"bytesInOutput": 9790
|
|
5341
5341
|
},
|
|
5342
5342
|
"packages/config-tools/src/utilities/get-default-config.ts": {
|
|
5343
5343
|
"bytesInOutput": 638
|
|
@@ -5346,7 +5346,7 @@
|
|
|
5346
5346
|
"bytesInOutput": 468
|
|
5347
5347
|
}
|
|
5348
5348
|
},
|
|
5349
|
-
"bytes":
|
|
5349
|
+
"bytes": 186731
|
|
5350
5350
|
}
|
|
5351
5351
|
}
|
|
5352
5352
|
}
|
package/meta.esm.json
CHANGED
|
@@ -3359,7 +3359,7 @@
|
|
|
3359
3359
|
"format": "esm"
|
|
3360
3360
|
},
|
|
3361
3361
|
"packages/config/src/schema.ts": {
|
|
3362
|
-
"bytes":
|
|
3362
|
+
"bytes": 11821,
|
|
3363
3363
|
"imports": [
|
|
3364
3364
|
{
|
|
3365
3365
|
"path": "node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs",
|
|
@@ -5191,7 +5191,7 @@
|
|
|
5191
5191
|
"bytesInOutput": 117366
|
|
5192
5192
|
},
|
|
5193
5193
|
"packages/config/src/schema.ts": {
|
|
5194
|
-
"bytesInOutput":
|
|
5194
|
+
"bytesInOutput": 9852
|
|
5195
5195
|
},
|
|
5196
5196
|
"packages/config/src/types.ts": {
|
|
5197
5197
|
"bytesInOutput": 197
|
|
@@ -5233,7 +5233,7 @@
|
|
|
5233
5233
|
"bytesInOutput": 0
|
|
5234
5234
|
}
|
|
5235
5235
|
},
|
|
5236
|
-
"bytes":
|
|
5236
|
+
"bytes": 4157620
|
|
5237
5237
|
},
|
|
5238
5238
|
"dist/packages/config-tools/utilities/find-workspace-root.js": {
|
|
5239
5239
|
"imports": [
|
|
@@ -5394,7 +5394,7 @@
|
|
|
5394
5394
|
"bytesInOutput": 116969
|
|
5395
5395
|
},
|
|
5396
5396
|
"packages/config/src/schema.ts": {
|
|
5397
|
-
"bytesInOutput":
|
|
5397
|
+
"bytesInOutput": 9790
|
|
5398
5398
|
},
|
|
5399
5399
|
"packages/config-tools/src/utilities/get-default-config.ts": {
|
|
5400
5400
|
"bytesInOutput": 638
|
|
@@ -5406,7 +5406,7 @@
|
|
|
5406
5406
|
"bytesInOutput": 5793
|
|
5407
5407
|
}
|
|
5408
5408
|
},
|
|
5409
|
-
"bytes":
|
|
5409
|
+
"bytes": 186248
|
|
5410
5410
|
}
|
|
5411
5411
|
}
|
|
5412
5412
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.115.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",
|
package/utilities/logger.cjs
CHANGED
|
@@ -5650,7 +5650,12 @@ var StormConfigSchema = z.object({
|
|
|
5650
5650
|
extends: z.string().trim().optional().describe(
|
|
5651
5651
|
"The path to a base JSON file to use as a configuration preset file"
|
|
5652
5652
|
),
|
|
5653
|
-
|
|
5653
|
+
isRoot: z.boolean().optional().describe(
|
|
5654
|
+
"A flag indicating if the current configuration is the set in the root of the workspace"
|
|
5655
|
+
),
|
|
5656
|
+
name: z.string().trim().toLowerCase().optional().describe(
|
|
5657
|
+
"The name of the service/package/scope using this configuration"
|
|
5658
|
+
),
|
|
5654
5659
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
5655
5660
|
organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
5656
5661
|
repository: z.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
@@ -5660,7 +5665,7 @@ var StormConfigSchema = z.object({
|
|
|
5660
5665
|
licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
|
|
5661
5666
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
5662
5667
|
preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
5663
|
-
owner: z.string().trim().default("@storm-software/
|
|
5668
|
+
owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
5664
5669
|
worker: z.string().trim().default("Stormie-Bot").describe(
|
|
5665
5670
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
5666
5671
|
),
|
|
@@ -5671,7 +5676,15 @@ var StormConfigSchema = z.object({
|
|
|
5671
5676
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
5672
5677
|
),
|
|
5673
5678
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
5674
|
-
cacheDirectory: z.string().trim().
|
|
5679
|
+
cacheDirectory: z.string().trim().optional().describe(
|
|
5680
|
+
"The directory used to store the environment's cached file data"
|
|
5681
|
+
),
|
|
5682
|
+
dataDirectory: z.string().trim().optional().describe("The directory used to store the environment's data files"),
|
|
5683
|
+
configDirectory: z.string().trim().optional().describe(
|
|
5684
|
+
"The directory used to store the environment's configuration files"
|
|
5685
|
+
),
|
|
5686
|
+
tempDirectory: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
5687
|
+
logDirectory: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
5675
5688
|
buildDirectory: z.string().trim().default("dist").describe("The build directory for the workspace"),
|
|
5676
5689
|
outputDirectory: z.string().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
5677
5690
|
runtimeVersion: z.string().trim().regex(
|
|
@@ -5689,7 +5702,7 @@ var StormConfigSchema = z.object({
|
|
|
5689
5702
|
"debug",
|
|
5690
5703
|
"trace",
|
|
5691
5704
|
"all"
|
|
5692
|
-
]).default("
|
|
5705
|
+
]).default("info").describe(
|
|
5693
5706
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
5694
5707
|
),
|
|
5695
5708
|
cloudflareAccountId: z.string().trim().toLowerCase().length(32).regex(/^([0-9a-fA-F]{32})$/i).nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|
package/utilities/logger.js
CHANGED
|
@@ -5634,7 +5634,12 @@ var StormConfigSchema = z.object({
|
|
|
5634
5634
|
extends: z.string().trim().optional().describe(
|
|
5635
5635
|
"The path to a base JSON file to use as a configuration preset file"
|
|
5636
5636
|
),
|
|
5637
|
-
|
|
5637
|
+
isRoot: z.boolean().optional().describe(
|
|
5638
|
+
"A flag indicating if the current configuration is the set in the root of the workspace"
|
|
5639
|
+
),
|
|
5640
|
+
name: z.string().trim().toLowerCase().optional().describe(
|
|
5641
|
+
"The name of the service/package/scope using this configuration"
|
|
5642
|
+
),
|
|
5638
5643
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
5639
5644
|
organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
5640
5645
|
repository: z.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
@@ -5644,7 +5649,7 @@ var StormConfigSchema = z.object({
|
|
|
5644
5649
|
licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
|
|
5645
5650
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
5646
5651
|
preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
5647
|
-
owner: z.string().trim().default("@storm-software/
|
|
5652
|
+
owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
5648
5653
|
worker: z.string().trim().default("Stormie-Bot").describe(
|
|
5649
5654
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
5650
5655
|
),
|
|
@@ -5655,7 +5660,15 @@ var StormConfigSchema = z.object({
|
|
|
5655
5660
|
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
5656
5661
|
),
|
|
5657
5662
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
5658
|
-
cacheDirectory: z.string().trim().
|
|
5663
|
+
cacheDirectory: z.string().trim().optional().describe(
|
|
5664
|
+
"The directory used to store the environment's cached file data"
|
|
5665
|
+
),
|
|
5666
|
+
dataDirectory: z.string().trim().optional().describe("The directory used to store the environment's data files"),
|
|
5667
|
+
configDirectory: z.string().trim().optional().describe(
|
|
5668
|
+
"The directory used to store the environment's configuration files"
|
|
5669
|
+
),
|
|
5670
|
+
tempDirectory: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
5671
|
+
logDirectory: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
5659
5672
|
buildDirectory: z.string().trim().default("dist").describe("The build directory for the workspace"),
|
|
5660
5673
|
outputDirectory: z.string().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
5661
5674
|
runtimeVersion: z.string().trim().regex(
|
|
@@ -5673,7 +5686,7 @@ var StormConfigSchema = z.object({
|
|
|
5673
5686
|
"debug",
|
|
5674
5687
|
"trace",
|
|
5675
5688
|
"all"
|
|
5676
|
-
]).default("
|
|
5689
|
+
]).default("info").describe(
|
|
5677
5690
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
5678
5691
|
),
|
|
5679
5692
|
cloudflareAccountId: z.string().trim().toLowerCase().length(32).regex(/^([0-9a-fA-F]{32})$/i).nullable().default(null).describe("The default Cloudflare account ID of the workspace"),
|