@storm-software/unbuild 0.49.20 → 0.49.22

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/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.49.19-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.49.21-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/bin/unbuild.cjs CHANGED
@@ -23,7 +23,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
23
  ));
24
24
 
25
25
  // ../config/src/schema.ts
26
- var import_zod = __toESM(require("zod"), 1);
26
+ var z = __toESM(require("zod/v4"), 1);
27
27
 
28
28
  // ../config/src/constants.ts
29
29
  var STORM_DEFAULT_DOCS = "https://stormsoftware.com/docs";
@@ -48,21 +48,21 @@ If this sounds interesting, and you would like to help us in creating the next g
48
48
  var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
49
49
 
50
50
  // ../config/src/schema.ts
51
- var DarkColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
52
- var LightColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
53
- var BrandColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
54
- var AlternateColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
55
- var AccentColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
56
- var LinkColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
57
- var HelpColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
58
- var SuccessColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
59
- var InfoColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
60
- var WarningColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
61
- var DangerColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
62
- var FatalColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
63
- var PositiveColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
64
- var NegativeColorSchema = import_zod.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
65
- var DarkThemeColorConfigSchema = import_zod.default.object({
51
+ var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
52
+ 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");
53
+ var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
54
+ var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
55
+ 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");
56
+ var LinkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
57
+ var HelpColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
58
+ var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
59
+ var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
60
+ var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
61
+ var DangerColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
62
+ var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
63
+ var PositiveColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
64
+ var NegativeColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
65
+ var DarkThemeColorConfigSchema = z.object({
66
66
  foreground: LightColorSchema,
67
67
  background: DarkColorSchema,
68
68
  brand: BrandColorSchema,
@@ -78,7 +78,7 @@ var DarkThemeColorConfigSchema = import_zod.default.object({
78
78
  positive: PositiveColorSchema,
79
79
  negative: NegativeColorSchema
80
80
  });
81
- var LightThemeColorConfigSchema = import_zod.default.object({
81
+ var LightThemeColorConfigSchema = z.object({
82
82
  foreground: DarkColorSchema,
83
83
  background: LightColorSchema,
84
84
  brand: BrandColorSchema,
@@ -94,11 +94,11 @@ var LightThemeColorConfigSchema = import_zod.default.object({
94
94
  positive: PositiveColorSchema,
95
95
  negative: NegativeColorSchema
96
96
  });
97
- var MultiThemeColorConfigSchema = import_zod.default.object({
97
+ var MultiThemeColorConfigSchema = z.object({
98
98
  dark: DarkThemeColorConfigSchema,
99
99
  light: LightThemeColorConfigSchema
100
100
  });
101
- var SingleThemeColorConfigSchema = import_zod.default.object({
101
+ var SingleThemeColorConfigSchema = z.object({
102
102
  dark: DarkColorSchema,
103
103
  light: LightColorSchema,
104
104
  brand: BrandColorSchema,
@@ -114,8 +114,8 @@ var SingleThemeColorConfigSchema = import_zod.default.object({
114
114
  positive: PositiveColorSchema,
115
115
  negative: NegativeColorSchema
116
116
  });
117
- var RegistryUrlConfigSchema = import_zod.default.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
118
- var RegistryConfigSchema = import_zod.default.object({
117
+ var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
118
+ var RegistryConfigSchema = z.object({
119
119
  github: RegistryUrlConfigSchema,
120
120
  npm: RegistryUrlConfigSchema,
121
121
  cargo: RegistryUrlConfigSchema,
@@ -125,122 +125,122 @@ var RegistryConfigSchema = import_zod.default.object({
125
125
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
126
126
  MultiThemeColorConfigSchema
127
127
  ).describe("Colors used for various workspace elements");
128
- var ColorConfigMapSchema = import_zod.default.union([
129
- import_zod.default.object({ base: ColorConfigSchema }),
130
- import_zod.default.record(import_zod.default.string(), ColorConfigSchema)
128
+ var ColorConfigMapSchema = z.union([
129
+ z.object({ base: ColorConfigSchema }),
130
+ z.record(z.string(), ColorConfigSchema)
131
131
  ]);
132
- var ExtendsItemSchema = import_zod.default.string().trim().describe(
132
+ var ExtendsItemSchema = z.string().trim().describe(
133
133
  "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
134
134
  );
135
135
  var ExtendsSchema = ExtendsItemSchema.or(
136
- import_zod.default.array(ExtendsItemSchema)
136
+ z.array(ExtendsItemSchema)
137
137
  ).describe(
138
138
  "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
139
139
  );
140
- var WorkspaceBotConfigSchema = import_zod.default.object({
141
- name: import_zod.default.string().trim().default("stormie-bot").describe(
140
+ var WorkspaceBotConfigSchema = z.object({
141
+ name: z.string().trim().default("stormie-bot").describe(
142
142
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
143
143
  ),
144
- email: import_zod.default.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
144
+ email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
145
145
  }).describe(
146
146
  "The workspace's bot user's config used to automated various operations tasks"
147
147
  );
148
- var WorkspaceReleaseConfigSchema = import_zod.default.object({
149
- banner: import_zod.default.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
148
+ var WorkspaceReleaseConfigSchema = z.object({
149
+ banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
150
150
  "A URL to a banner image used to display the workspace's release"
151
151
  ),
152
- header: import_zod.default.string().trim().optional().describe(
152
+ header: z.string().trim().optional().describe(
153
153
  "A header message appended to the start of the workspace's release notes"
154
154
  ),
155
- footer: import_zod.default.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
155
+ footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
156
156
  "A footer message appended to the end of the workspace's release notes"
157
157
  )
158
158
  }).describe("The workspace's release config used during the release process");
159
- var WorkspaceAccountConfigSchema = import_zod.default.object({
160
- twitter: import_zod.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
161
- discord: import_zod.default.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
162
- telegram: import_zod.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
163
- slack: import_zod.default.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
164
- medium: import_zod.default.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
165
- github: import_zod.default.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
159
+ var WorkspaceAccountConfigSchema = z.object({
160
+ twitter: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
161
+ discord: z.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
162
+ telegram: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
163
+ slack: z.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
164
+ medium: z.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
165
+ github: z.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
166
166
  }).describe(
167
167
  "The workspace's account config used to store various social media links"
168
168
  );
169
- var WorkspaceDirectoryConfigSchema = import_zod.default.object({
170
- cache: import_zod.default.string().trim().optional().describe(
169
+ var WorkspaceDirectoryConfigSchema = z.object({
170
+ cache: z.string().trim().optional().describe(
171
171
  "The directory used to store the environment's cached file data"
172
172
  ),
173
- data: import_zod.default.string().trim().optional().describe("The directory used to store the environment's data files"),
174
- config: import_zod.default.string().trim().optional().describe(
173
+ data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
174
+ config: z.string().trim().optional().describe(
175
175
  "The directory used to store the environment's configuration files"
176
176
  ),
177
- temp: import_zod.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
178
- log: import_zod.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
179
- build: import_zod.default.string().trim().default("dist").describe(
177
+ temp: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
178
+ log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
179
+ build: z.string().trim().default("dist").describe(
180
180
  "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
181
181
  )
182
182
  }).describe(
183
183
  "Various directories used by the workspace to store data, cache, and configuration files"
184
184
  );
185
- var errorConfigSchema = import_zod.default.object({
186
- codesFile: import_zod.default.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
187
- url: import_zod.default.string().trim().url().optional().describe(
185
+ var errorConfigSchema = z.object({
186
+ codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
187
+ url: z.string().trim().url().optional().describe(
188
188
  "A URL to a page that looks up the workspace's error messages given a specific error code"
189
189
  )
190
190
  }).describe("The workspace's error config used during the error process");
191
- var organizationConfigSchema = import_zod.default.object({
192
- name: import_zod.default.string().trim().describe("The name of the organization"),
193
- description: import_zod.default.string().trim().optional().describe("A description of the organization"),
194
- logo: import_zod.default.string().trim().url().optional().describe("A URL to the organization's logo image"),
195
- icon: import_zod.default.string().trim().url().optional().describe("A URL to the organization's icon image"),
196
- url: import_zod.default.string().trim().url().optional().describe(
191
+ var organizationConfigSchema = z.object({
192
+ name: z.string().trim().describe("The name of the organization"),
193
+ description: z.string().trim().optional().describe("A description of the organization"),
194
+ logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
195
+ icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
196
+ url: z.string().trim().url().optional().describe(
197
197
  "A URL to a page that provides more information about the organization"
198
198
  )
199
199
  }).describe("The workspace's organization details");
200
- var stormWorkspaceConfigSchema = import_zod.default.object({
201
- $schema: import_zod.default.string().trim().default(
202
- "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
203
- ).optional().nullish().describe(
204
- "The URL to the JSON schema file that describes the Storm configuration file"
200
+ var stormWorkspaceConfigSchema = z.object({
201
+ $schema: z.string().trim().default(
202
+ "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
203
+ ).describe(
204
+ "The URL or file path to the JSON schema file that describes the Storm configuration file"
205
205
  ),
206
206
  extends: ExtendsSchema.optional(),
207
- name: import_zod.default.string().trim().toLowerCase().optional().describe(
207
+ name: z.string().trim().toLowerCase().optional().describe(
208
208
  "The name of the service/package/scope using this configuration"
209
209
  ),
210
- namespace: import_zod.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
211
- organization: organizationConfigSchema.or(import_zod.default.string().trim().describe("The organization of the workspace")).optional().describe(
210
+ namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
211
+ organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
212
212
  "The organization of the workspace. This can be a string or an object containing the organization's details"
213
213
  ),
214
- repository: import_zod.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
215
- license: import_zod.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
216
- homepage: import_zod.default.string().trim().url().optional().describe("The homepage of the workspace"),
217
- docs: import_zod.default.string().trim().url().optional().describe("The documentation site for the workspace"),
218
- portal: import_zod.default.string().trim().url().optional().describe("The development portal site for the workspace"),
219
- licensing: import_zod.default.string().trim().url().optional().describe("The licensing site for the workspace"),
220
- contact: import_zod.default.string().trim().url().optional().describe("The contact site for the workspace"),
221
- support: import_zod.default.string().trim().url().optional().describe(
214
+ repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
215
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
216
+ homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
217
+ docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
218
+ portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
219
+ licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
220
+ contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
221
+ support: z.string().trim().url().optional().describe(
222
222
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
223
223
  ),
224
- branch: import_zod.default.string().trim().default("main").describe("The branch of the workspace"),
225
- preid: import_zod.default.string().optional().describe("A tag specifying the version pre-release identifier"),
226
- owner: import_zod.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
224
+ branch: z.string().trim().default("main").describe("The branch of the workspace"),
225
+ preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
226
+ owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
227
227
  bot: WorkspaceBotConfigSchema,
228
228
  release: WorkspaceReleaseConfigSchema,
229
229
  account: WorkspaceAccountConfigSchema,
230
230
  error: errorConfigSchema,
231
- mode: import_zod.default.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
232
- workspaceRoot: import_zod.default.string().trim().describe("The root directory of the workspace"),
233
- externalPackagePatterns: import_zod.default.array(import_zod.default.string()).default([]).describe(
231
+ mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
232
+ workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
233
+ externalPackagePatterns: z.array(z.string()).default([]).describe(
234
234
  "The build will use these package patterns to determine if they should be external to the bundle"
235
235
  ),
236
- skipCache: import_zod.default.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
236
+ skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
237
237
  directories: WorkspaceDirectoryConfigSchema,
238
- packageManager: import_zod.default.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
238
+ packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
239
239
  "The JavaScript/TypeScript package manager used by the repository"
240
240
  ),
241
- timezone: import_zod.default.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
242
- locale: import_zod.default.string().trim().default("en-US").describe("The default locale of the workspace"),
243
- logLevel: import_zod.default.enum([
241
+ timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
242
+ locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
243
+ logLevel: z.enum([
244
244
  "silent",
245
245
  "fatal",
246
246
  "error",
@@ -253,17 +253,17 @@ var stormWorkspaceConfigSchema = import_zod.default.object({
253
253
  ]).default("info").describe(
254
254
  "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`)."
255
255
  ),
256
- skipConfigLogging: import_zod.default.boolean().optional().describe(
256
+ skipConfigLogging: z.boolean().optional().describe(
257
257
  "Should the logging of the current Storm Workspace configuration be skipped?"
258
258
  ),
259
259
  registry: RegistryConfigSchema,
260
- configFile: import_zod.default.string().trim().nullable().default(null).describe(
260
+ configFile: z.string().trim().nullable().default(null).describe(
261
261
  "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
262
262
  ),
263
263
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
264
264
  "Storm theme config values used for styling various package elements"
265
265
  ),
266
- extensions: import_zod.default.record(import_zod.default.any()).optional().default({}).describe("Configuration of each used extension")
266
+ extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
267
267
  }).describe(
268
268
  "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
269
269
  );
package/bin/unbuild.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // ../config/src/schema.ts
4
- import z from "zod";
4
+ import * as z from "zod/v4";
5
5
 
6
6
  // ../config/src/constants.ts
7
7
  var STORM_DEFAULT_DOCS = "https://stormsoftware.com/docs";
@@ -177,9 +177,9 @@ var organizationConfigSchema = z.object({
177
177
  }).describe("The workspace's organization details");
178
178
  var stormWorkspaceConfigSchema = z.object({
179
179
  $schema: z.string().trim().default(
180
- "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
181
- ).optional().nullish().describe(
182
- "The URL to the JSON schema file that describes the Storm configuration file"
180
+ "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
181
+ ).describe(
182
+ "The URL or file path to the JSON schema file that describes the Storm configuration file"
183
183
  ),
184
184
  extends: ExtendsSchema.optional(),
185
185
  name: z.string().trim().toLowerCase().optional().describe(
@@ -241,7 +241,7 @@ var stormWorkspaceConfigSchema = z.object({
241
241
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
242
242
  "Storm theme config values used for styling various package elements"
243
243
  ),
244
- extensions: z.record(z.any()).optional().default({}).describe("Configuration of each used extension")
244
+ extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
245
245
  }).describe(
246
246
  "Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
247
247
  );
package/dist/build.cjs CHANGED
@@ -5,12 +5,12 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkBTDRKHZ7cjs = require('./chunk-BTDRKHZ7.cjs');
9
- require('./chunk-WQRP7RFG.cjs');
10
- require('./chunk-5KSZPECX.cjs');
11
- require('./chunk-EBK4LG6G.cjs');
12
- require('./chunk-RHWAAYTP.cjs');
13
- require('./chunk-ITDJSVVD.cjs');
8
+ var _chunkMXO4DPC3cjs = require('./chunk-MXO4DPC3.cjs');
9
+ require('./chunk-NUTDHZCY.cjs');
10
+ require('./chunk-ZUY6OKYD.cjs');
11
+ require('./chunk-2EHWQBM6.cjs');
12
+ require('./chunk-55IJBY6E.cjs');
13
+ require('./chunk-FJ4P7D4Z.cjs');
14
14
  require('./chunk-OBGZSXTJ.cjs');
15
15
 
16
16
 
@@ -19,4 +19,4 @@ require('./chunk-OBGZSXTJ.cjs');
19
19
 
20
20
 
21
21
 
22
- exports.build = _chunkBTDRKHZ7cjs.build; exports.cleanOutputPath = _chunkBTDRKHZ7cjs.cleanOutputPath; exports.copyBuildAssets = _chunkBTDRKHZ7cjs.copyBuildAssets; exports.executeUnbuild = _chunkBTDRKHZ7cjs.executeUnbuild; exports.generatePackageJson = _chunkBTDRKHZ7cjs.generatePackageJson; exports.resolveOptions = _chunkBTDRKHZ7cjs.resolveOptions;
22
+ exports.build = _chunkMXO4DPC3cjs.build; exports.cleanOutputPath = _chunkMXO4DPC3cjs.cleanOutputPath; exports.copyBuildAssets = _chunkMXO4DPC3cjs.copyBuildAssets; exports.executeUnbuild = _chunkMXO4DPC3cjs.executeUnbuild; exports.generatePackageJson = _chunkMXO4DPC3cjs.generatePackageJson; exports.resolveOptions = _chunkMXO4DPC3cjs.resolveOptions;
package/dist/build.js CHANGED
@@ -5,12 +5,12 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-BDV5MV3H.js";
9
- import "./chunk-XCKBXSSE.js";
10
- import "./chunk-BFAVTD5J.js";
11
- import "./chunk-TYDZFEKV.js";
12
- import "./chunk-AYPPKQ5S.js";
13
- import "./chunk-F3GBAO3P.js";
8
+ } from "./chunk-WP255ZFB.js";
9
+ import "./chunk-ZYVSQC3E.js";
10
+ import "./chunk-SCS5MDFW.js";
11
+ import "./chunk-RKSSRYAB.js";
12
+ import "./chunk-D6PWYWHA.js";
13
+ import "./chunk-M77AMZJI.js";
14
14
  import "./chunk-3RG5ZIWI.js";
15
15
  export {
16
16
  build,
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkITDJSVVDcjs = require('./chunk-ITDJSVVD.cjs');
3
+ var _chunkFJ4P7D4Zcjs = require('./chunk-FJ4P7D4Z.cjs');
4
4
 
5
5
  // src/plugins/on-error.ts
6
6
  var onErrorPlugin = (options) => ({
7
7
  name: "storm:on-error",
8
8
  buildEnd(error) {
9
9
  if (error) {
10
- _chunkITDJSVVDcjs.writeError.call(void 0,
10
+ _chunkFJ4P7D4Zcjs.writeError.call(void 0,
11
11
  `The following errors occurred during the build:
12
12
  ${error ? error.message : "Unknown build error"}
13
13
 
@@ -18,7 +18,7 @@ ${error ? error.message : "Unknown build error"}
18
18
  }
19
19
  },
20
20
  renderError(error) {
21
- _chunkITDJSVVDcjs.writeError.call(void 0,
21
+ _chunkFJ4P7D4Zcjs.writeError.call(void 0,
22
22
  `The following errors occurred during the build:
23
23
  ${error ? error.message : "Unknown build error"}
24
24
 
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkITDJSVVDcjs = require('./chunk-ITDJSVVD.cjs');
3
+ var _chunkFJ4P7D4Zcjs = require('./chunk-FJ4P7D4Z.cjs');
4
4
 
5
5
  // src/plugins/tsc.ts
6
6
 
@@ -45,7 +45,7 @@ async function createTsCompilerOptions(config, tsConfigPath, projectRoot, depend
45
45
  declaration: true,
46
46
  paths: _buildablelibsutils.computeCompilerOptionsPaths.call(void 0, tsConfig, _nullishCoalesce(dependencies, () => ( [])))
47
47
  };
48
- _chunkITDJSVVDcjs.writeTrace.call(void 0, compilerOptions, config);
48
+ _chunkFJ4P7D4Zcjs.writeTrace.call(void 0, compilerOptions, config);
49
49
  return compilerOptions;
50
50
  }
51
51
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeTrace
3
- } from "./chunk-F3GBAO3P.js";
3
+ } from "./chunk-M77AMZJI.js";
4
4
 
5
5
  // src/plugins/tsc.ts
6
6
  import {