@storm-software/config-tools 1.74.0 → 1.75.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 +7 -0
- package/README.md +1 -1
- package/index.cjs +34 -3
- package/index.js +34 -3
- package/meta.cjs.json +1 -1
- package/meta.esm.json +1 -1
- package/package.json +1 -1
- package/utilities/logger.cjs +10 -3
- package/utilities/logger.js +10 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.75.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
|
@@ -1640,6 +1640,11 @@ var getChalk = () => {
|
|
|
1640
1640
|
return _chalk;
|
|
1641
1641
|
};
|
|
1642
1642
|
|
|
1643
|
+
// packages/config/src/constants.ts
|
|
1644
|
+
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
1645
|
+
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
1646
|
+
var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
|
|
1647
|
+
|
|
1643
1648
|
// node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
|
|
1644
1649
|
var util;
|
|
1645
1650
|
(function(util2) {
|
|
@@ -5557,7 +5562,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
5557
5562
|
// packages/config/src/schema.ts
|
|
5558
5563
|
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
|
|
5559
5564
|
var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
5560
|
-
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
5565
|
+
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
5561
5566
|
var Brand2ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
|
|
5562
5567
|
var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
5563
5568
|
var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
@@ -5640,8 +5645,10 @@ var StormConfigSchema = z.object({
|
|
|
5640
5645
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
5641
5646
|
organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
5642
5647
|
repository: z.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
5643
|
-
license: z.string().trim().default("Apache
|
|
5644
|
-
homepage: z.string().trim().url().default(
|
|
5648
|
+
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
5649
|
+
homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
|
|
5650
|
+
docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
|
|
5651
|
+
licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
|
|
5645
5652
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
5646
5653
|
preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
5647
5654
|
owner: z.string().trim().default("@storm-software/development").describe("The owner of the package"),
|
package/utilities/logger.js
CHANGED
|
@@ -1624,6 +1624,11 @@ var getChalk = () => {
|
|
|
1624
1624
|
return _chalk;
|
|
1625
1625
|
};
|
|
1626
1626
|
|
|
1627
|
+
// packages/config/src/constants.ts
|
|
1628
|
+
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
1629
|
+
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
1630
|
+
var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
|
|
1631
|
+
|
|
1627
1632
|
// node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
|
|
1628
1633
|
var util;
|
|
1629
1634
|
(function(util2) {
|
|
@@ -5541,7 +5546,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
5541
5546
|
// packages/config/src/schema.ts
|
|
5542
5547
|
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
|
|
5543
5548
|
var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
5544
|
-
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#
|
|
5549
|
+
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
5545
5550
|
var Brand2ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
|
|
5546
5551
|
var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
5547
5552
|
var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
@@ -5624,8 +5629,10 @@ var StormConfigSchema = z.object({
|
|
|
5624
5629
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
5625
5630
|
organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
5626
5631
|
repository: z.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
5627
|
-
license: z.string().trim().default("Apache
|
|
5628
|
-
homepage: z.string().trim().url().default(
|
|
5632
|
+
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
5633
|
+
homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
|
|
5634
|
+
docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
|
|
5635
|
+
licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
|
|
5629
5636
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
5630
5637
|
preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
5631
5638
|
owner: z.string().trim().default("@storm-software/development").describe("The owner of the package"),
|