@storm-software/config 1.75.0 → 1.76.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 +19 -1
- package/index.cjs +4 -2
- package/index.js +4 -2
- package/meta.cjs.json +3 -3
- package/meta.esm.json +3 -3
- package/package.json +1 -1
- package/presets/base.json +0 -1
- package/presets/bun.json +55 -0
- package/presets/pnpm.json +55 -0
- package/schemas/storm.schema.json +4 -4
- package/src/define-config.d.ts +1 -1
- package/src/schema.d.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,26 @@
|
|
|
1
|
+
## 1.76.0 (2024-12-19)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **config:** Renamed the `env` config parameter to `envName` ([5903bc5e](https://github.com/storm-software/storm-ops/commit/5903bc5e))
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **terraform-modules:** Resolved issue with old `env` configuration parameter name ([7b738364](https://github.com/storm-software/storm-ops/commit/7b738364))
|
|
10
|
+
|
|
11
|
+
## 1.75.1 (2024-12-19)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- **workspace-tools:** Resolved issue with TypeScript library generator
|
|
16
|
+
([f1968e8d](https://github.com/storm-software/storm-ops/commit/f1968e8d))
|
|
17
|
+
|
|
1
18
|
## 1.75.0 (2024-12-18)
|
|
2
19
|
|
|
3
20
|
### Features
|
|
4
21
|
|
|
5
|
-
- **config:** Added environment directory parameters to `StormConfig` schema
|
|
22
|
+
- **config:** Added environment directory parameters to `StormConfig` schema
|
|
23
|
+
([3a1ef41a](https://github.com/storm-software/storm-ops/commit/3a1ef41a))
|
|
6
24
|
|
|
7
25
|
## 1.74.0 (2024-12-18)
|
|
8
26
|
|
package/index.cjs
CHANGED
|
@@ -4068,7 +4068,7 @@ var StormConfigSchema = z.object({
|
|
|
4068
4068
|
worker: z.string().trim().default("Stormie-Bot").describe(
|
|
4069
4069
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
4070
4070
|
),
|
|
4071
|
-
|
|
4071
|
+
envName: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment name for the package"),
|
|
4072
4072
|
workspaceRoot: z.string().trim().default("").describe("The root directory of the workspace"),
|
|
4073
4073
|
packageDirectory: z.string().trim().optional().describe("The root directory of the package"),
|
|
4074
4074
|
externalPackagePatterns: z.array(z.string()).default([]).describe(
|
|
@@ -4089,7 +4089,9 @@ var StormConfigSchema = z.object({
|
|
|
4089
4089
|
runtimeVersion: z.string().trim().regex(
|
|
4090
4090
|
/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
|
|
4091
4091
|
).default("1.0.0").describe("The global version of the Storm runtime"),
|
|
4092
|
-
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("
|
|
4092
|
+
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
|
|
4093
|
+
"The JavaScript/TypeScript package manager used by the repository"
|
|
4094
|
+
),
|
|
4093
4095
|
timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
|
|
4094
4096
|
locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
|
|
4095
4097
|
logLevel: z.enum([
|
package/index.js
CHANGED
|
@@ -4030,7 +4030,7 @@ var StormConfigSchema = z.object({
|
|
|
4030
4030
|
worker: z.string().trim().default("Stormie-Bot").describe(
|
|
4031
4031
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
4032
4032
|
),
|
|
4033
|
-
|
|
4033
|
+
envName: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment name for the package"),
|
|
4034
4034
|
workspaceRoot: z.string().trim().default("").describe("The root directory of the workspace"),
|
|
4035
4035
|
packageDirectory: z.string().trim().optional().describe("The root directory of the package"),
|
|
4036
4036
|
externalPackagePatterns: z.array(z.string()).default([]).describe(
|
|
@@ -4051,7 +4051,9 @@ var StormConfigSchema = z.object({
|
|
|
4051
4051
|
runtimeVersion: z.string().trim().regex(
|
|
4052
4052
|
/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
|
|
4053
4053
|
).default("1.0.0").describe("The global version of the Storm runtime"),
|
|
4054
|
-
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("
|
|
4054
|
+
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
|
|
4055
|
+
"The JavaScript/TypeScript package manager used by the repository"
|
|
4056
|
+
),
|
|
4055
4057
|
timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
|
|
4056
4058
|
locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
|
|
4057
4059
|
logLevel: z.enum([
|
package/meta.cjs.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"format": "esm"
|
|
17
17
|
},
|
|
18
18
|
"packages/config/src/schema.ts": {
|
|
19
|
-
"bytes":
|
|
19
|
+
"bytes": 11868,
|
|
20
20
|
"imports": [
|
|
21
21
|
{
|
|
22
22
|
"path": "node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs",
|
|
@@ -82,13 +82,13 @@
|
|
|
82
82
|
"bytesInOutput": 116969
|
|
83
83
|
},
|
|
84
84
|
"packages/config/src/schema.ts": {
|
|
85
|
-
"bytesInOutput":
|
|
85
|
+
"bytesInOutput": 9829
|
|
86
86
|
},
|
|
87
87
|
"packages/config/src/types.ts": {
|
|
88
88
|
"bytesInOutput": 197
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
|
-
"bytes":
|
|
91
|
+
"bytes": 129085
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
package/meta.esm.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"format": "esm"
|
|
17
17
|
},
|
|
18
18
|
"packages/config/src/schema.ts": {
|
|
19
|
-
"bytes":
|
|
19
|
+
"bytes": 11868,
|
|
20
20
|
"imports": [
|
|
21
21
|
{
|
|
22
22
|
"path": "node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs",
|
|
@@ -97,13 +97,13 @@
|
|
|
97
97
|
"bytesInOutput": 116969
|
|
98
98
|
},
|
|
99
99
|
"packages/config/src/schema.ts": {
|
|
100
|
-
"bytesInOutput":
|
|
100
|
+
"bytesInOutput": 9829
|
|
101
101
|
},
|
|
102
102
|
"packages/config/src/types.ts": {
|
|
103
103
|
"bytesInOutput": 197
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
|
-
"bytes":
|
|
106
|
+
"bytes": 127782
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.76.0",
|
|
4
4
|
"description": "Configuration management tools and schemas for Storm Software projects, providing a standardized approach to handle project settings and presets.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
package/presets/base.json
CHANGED
package/presets/bun.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"organization": "storm-software",
|
|
3
|
+
"owner": "@storm-software/admin",
|
|
4
|
+
"timezone": "America/New_York",
|
|
5
|
+
"locale": "en-US",
|
|
6
|
+
"logLevel": "info",
|
|
7
|
+
"skipCache": false,
|
|
8
|
+
"buildDirectory": "dist",
|
|
9
|
+
"outputDirectory": "node_modules/.storm",
|
|
10
|
+
"packageManager": "bun",
|
|
11
|
+
"externalPackagePatterns": ["@storm-software/"],
|
|
12
|
+
"registry": {
|
|
13
|
+
"github": "https://npm.pkg.github.com",
|
|
14
|
+
"npm": "https://registry.npmjs.org",
|
|
15
|
+
"cargo": "https://crates.io",
|
|
16
|
+
"cyclone": "https://registry.cyclone-ui.com/components",
|
|
17
|
+
"container": "https://hub.docker.com"
|
|
18
|
+
},
|
|
19
|
+
"colors": {
|
|
20
|
+
"light": {
|
|
21
|
+
"background": "#fafafa",
|
|
22
|
+
"foreground": "#1d1e22",
|
|
23
|
+
"brand": "#1fb2a6",
|
|
24
|
+
"alternate": "#db2777",
|
|
25
|
+
"help": "#5C4EE5",
|
|
26
|
+
"success": "#087f5b",
|
|
27
|
+
"info": "#0550ae",
|
|
28
|
+
"warning": "#e3b341",
|
|
29
|
+
"danger": "#a40e26",
|
|
30
|
+
"positive": "#22c55e",
|
|
31
|
+
"negative": "#dc2626"
|
|
32
|
+
},
|
|
33
|
+
"dark": {
|
|
34
|
+
"background": "#1d1e22",
|
|
35
|
+
"foreground": "#cbd5e1",
|
|
36
|
+
"brand": "#1fb2a6",
|
|
37
|
+
"alternate": "#db2777",
|
|
38
|
+
"help": "#818cf8",
|
|
39
|
+
"success": "#12B66A",
|
|
40
|
+
"info": "#0070E0",
|
|
41
|
+
"warning": "#f3d371",
|
|
42
|
+
"danger": "#D8314A",
|
|
43
|
+
"positive": "#22c55e",
|
|
44
|
+
"negative": "#dc2626"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"extensions": {
|
|
48
|
+
"telemetry": {
|
|
49
|
+
"fileName": "storm",
|
|
50
|
+
"fileExtension": "log",
|
|
51
|
+
"path": "tmp/storm/logs",
|
|
52
|
+
"stacktrace": true
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"organization": "storm-software",
|
|
3
|
+
"owner": "@storm-software/admin",
|
|
4
|
+
"timezone": "America/New_York",
|
|
5
|
+
"locale": "en-US",
|
|
6
|
+
"logLevel": "info",
|
|
7
|
+
"skipCache": false,
|
|
8
|
+
"buildDirectory": "dist",
|
|
9
|
+
"outputDirectory": "node_modules/.storm",
|
|
10
|
+
"packageManager": "pnpm",
|
|
11
|
+
"externalPackagePatterns": ["@storm-software/"],
|
|
12
|
+
"registry": {
|
|
13
|
+
"github": "https://npm.pkg.github.com",
|
|
14
|
+
"npm": "https://registry.npmjs.org",
|
|
15
|
+
"cargo": "https://crates.io",
|
|
16
|
+
"cyclone": "https://registry.cyclone-ui.com/components",
|
|
17
|
+
"container": "https://hub.docker.com"
|
|
18
|
+
},
|
|
19
|
+
"colors": {
|
|
20
|
+
"light": {
|
|
21
|
+
"background": "#fafafa",
|
|
22
|
+
"foreground": "#1d1e22",
|
|
23
|
+
"brand": "#1fb2a6",
|
|
24
|
+
"alternate": "#db2777",
|
|
25
|
+
"help": "#5C4EE5",
|
|
26
|
+
"success": "#087f5b",
|
|
27
|
+
"info": "#0550ae",
|
|
28
|
+
"warning": "#e3b341",
|
|
29
|
+
"danger": "#a40e26",
|
|
30
|
+
"positive": "#22c55e",
|
|
31
|
+
"negative": "#dc2626"
|
|
32
|
+
},
|
|
33
|
+
"dark": {
|
|
34
|
+
"background": "#1d1e22",
|
|
35
|
+
"foreground": "#cbd5e1",
|
|
36
|
+
"brand": "#1fb2a6",
|
|
37
|
+
"alternate": "#db2777",
|
|
38
|
+
"help": "#818cf8",
|
|
39
|
+
"success": "#12B66A",
|
|
40
|
+
"info": "#0070E0",
|
|
41
|
+
"warning": "#f3d371",
|
|
42
|
+
"danger": "#D8314A",
|
|
43
|
+
"positive": "#22c55e",
|
|
44
|
+
"negative": "#dc2626"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"extensions": {
|
|
48
|
+
"telemetry": {
|
|
49
|
+
"fileName": "storm",
|
|
50
|
+
"fileExtension": "log",
|
|
51
|
+
"path": "tmp/storm/logs",
|
|
52
|
+
"stacktrace": true
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
"default": "Stormie-Bot",
|
|
78
78
|
"description": "The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
79
79
|
},
|
|
80
|
-
"
|
|
80
|
+
"envName": {
|
|
81
81
|
"type": "string",
|
|
82
82
|
"enum": ["development", "staging", "production"],
|
|
83
83
|
"default": "production",
|
|
84
|
-
"description": "The current runtime environment
|
|
84
|
+
"description": "The current runtime environment name for the package"
|
|
85
85
|
},
|
|
86
86
|
"workspaceRoot": {
|
|
87
87
|
"type": "string",
|
|
@@ -144,8 +144,8 @@
|
|
|
144
144
|
"packageManager": {
|
|
145
145
|
"type": "string",
|
|
146
146
|
"enum": ["npm", "yarn", "pnpm", "bun"],
|
|
147
|
-
"default": "
|
|
148
|
-
"description": "The package manager used by the repository"
|
|
147
|
+
"default": "npm",
|
|
148
|
+
"description": "The JavaScript/TypeScript package manager used by the repository"
|
|
149
149
|
},
|
|
150
150
|
"timezone": {
|
|
151
151
|
"type": "string",
|
package/src/define-config.d.ts
CHANGED
|
@@ -168,7 +168,7 @@ export declare const defineConfig: (input: StormConfigInput) => {
|
|
|
168
168
|
preid?: string | undefined;
|
|
169
169
|
owner?: string | undefined;
|
|
170
170
|
worker?: string | undefined;
|
|
171
|
-
|
|
171
|
+
envName?: "development" | "staging" | "production" | undefined;
|
|
172
172
|
workspaceRoot?: string | undefined;
|
|
173
173
|
packageDirectory?: string | undefined;
|
|
174
174
|
externalPackagePatterns?: string[] | undefined;
|
package/src/schema.d.ts
CHANGED
|
@@ -1055,7 +1055,7 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
1055
1055
|
preid: z.ZodOptional<z.ZodString>;
|
|
1056
1056
|
owner: z.ZodDefault<z.ZodString>;
|
|
1057
1057
|
worker: z.ZodDefault<z.ZodString>;
|
|
1058
|
-
|
|
1058
|
+
envName: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
|
|
1059
1059
|
workspaceRoot: z.ZodDefault<z.ZodString>;
|
|
1060
1060
|
packageDirectory: z.ZodOptional<z.ZodString>;
|
|
1061
1061
|
externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1819,7 +1819,7 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
1819
1819
|
branch: string;
|
|
1820
1820
|
owner: string;
|
|
1821
1821
|
worker: string;
|
|
1822
|
-
|
|
1822
|
+
envName: "development" | "staging" | "production";
|
|
1823
1823
|
workspaceRoot: string;
|
|
1824
1824
|
externalPackagePatterns: string[];
|
|
1825
1825
|
skipCache: boolean;
|
|
@@ -2162,7 +2162,7 @@ export declare const StormConfigSchema: z.ZodObject<{
|
|
|
2162
2162
|
preid?: string | undefined;
|
|
2163
2163
|
owner?: string | undefined;
|
|
2164
2164
|
worker?: string | undefined;
|
|
2165
|
-
|
|
2165
|
+
envName?: "development" | "staging" | "production" | undefined;
|
|
2166
2166
|
workspaceRoot?: string | undefined;
|
|
2167
2167
|
packageDirectory?: string | undefined;
|
|
2168
2168
|
externalPackagePatterns?: string[] | undefined;
|