@storm-software/unbuild 0.49.44 → 0.49.46

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.42-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.44-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 z = __toESM(require("zod/v4"), 1);
26
+ var z = __toESM(require("zod"), 1);
27
27
 
28
28
  // ../config/src/constants.ts
29
29
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
@@ -113,7 +113,7 @@ var SingleThemeColorConfigSchema = z.object({
113
113
  positive: PositiveColorSchema,
114
114
  negative: NegativeColorSchema
115
115
  });
116
- var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
116
+ var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
117
117
  var RegistryConfigSchema = z.object({
118
118
  github: RegistryUrlConfigSchema,
119
119
  npm: RegistryUrlConfigSchema,
@@ -140,7 +140,7 @@ var WorkspaceBotConfigSchema = z.object({
140
140
  name: z.string().trim().default("stormie-bot").describe(
141
141
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
142
142
  ),
143
- email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
143
+ email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
144
144
  }).describe(
145
145
  "The workspace's bot user's config used to automated various operations tasks"
146
146
  );
@@ -183,19 +183,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
183
183
  );
184
184
  var errorConfigSchema = z.object({
185
185
  codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
186
- url: z.string().trim().url().optional().describe(
186
+ url: z.url().optional().describe(
187
187
  "A URL to a page that looks up the workspace's error messages given a specific error code"
188
188
  )
189
189
  }).describe("The workspace's error config used during the error process");
190
190
  var organizationConfigSchema = z.object({
191
191
  name: z.string().trim().describe("The name of the organization"),
192
192
  description: z.string().trim().optional().describe("A description of the organization"),
193
- logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
194
- icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
195
- url: z.string().trim().url().optional().describe(
193
+ logo: z.url().optional().describe("A URL to the organization's logo image"),
194
+ icon: z.url().optional().describe("A URL to the organization's icon image"),
195
+ url: z.url().optional().describe(
196
196
  "A URL to a page that provides more information about the organization"
197
197
  )
198
198
  }).describe("The workspace's organization details");
199
+ var MODE_OPTIONS = ["development", "staging", "production"];
199
200
  var stormWorkspaceConfigSchema = z.object({
200
201
  $schema: z.string().trim().default(
201
202
  "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
@@ -212,12 +213,12 @@ var stormWorkspaceConfigSchema = z.object({
212
213
  ),
213
214
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
214
215
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
215
- homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
216
- docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
217
- portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
218
- licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
219
- contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
220
- support: z.string().trim().url().optional().describe(
216
+ homepage: z.url().optional().describe("The homepage of the workspace"),
217
+ docs: z.url().optional().describe("The documentation site for the workspace"),
218
+ portal: z.url().optional().describe("The development portal site for the workspace"),
219
+ licensing: z.url().optional().describe("The licensing site for the workspace"),
220
+ contact: z.url().optional().describe("The contact site for the workspace"),
221
+ support: z.url().optional().describe(
221
222
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
222
223
  ),
223
224
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
@@ -227,7 +228,7 @@ var stormWorkspaceConfigSchema = z.object({
227
228
  release: WorkspaceReleaseConfigSchema,
228
229
  socials: WorkspaceSocialsConfigSchema,
229
230
  error: errorConfigSchema,
230
- mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
231
+ mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
231
232
  workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
232
233
  skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
233
234
  directories: WorkspaceDirectoryConfigSchema,
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 * as z from "zod/v4";
4
+ import * as z from "zod";
5
5
 
6
6
  // ../config/src/constants.ts
7
7
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
@@ -91,7 +91,7 @@ var SingleThemeColorConfigSchema = z.object({
91
91
  positive: PositiveColorSchema,
92
92
  negative: NegativeColorSchema
93
93
  });
94
- var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
94
+ var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
95
95
  var RegistryConfigSchema = z.object({
96
96
  github: RegistryUrlConfigSchema,
97
97
  npm: RegistryUrlConfigSchema,
@@ -118,7 +118,7 @@ var WorkspaceBotConfigSchema = z.object({
118
118
  name: z.string().trim().default("stormie-bot").describe(
119
119
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
120
120
  ),
121
- email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
121
+ email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
122
122
  }).describe(
123
123
  "The workspace's bot user's config used to automated various operations tasks"
124
124
  );
@@ -161,19 +161,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
161
161
  );
162
162
  var errorConfigSchema = z.object({
163
163
  codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
164
- url: z.string().trim().url().optional().describe(
164
+ url: z.url().optional().describe(
165
165
  "A URL to a page that looks up the workspace's error messages given a specific error code"
166
166
  )
167
167
  }).describe("The workspace's error config used during the error process");
168
168
  var organizationConfigSchema = z.object({
169
169
  name: z.string().trim().describe("The name of the organization"),
170
170
  description: z.string().trim().optional().describe("A description of the organization"),
171
- logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
172
- icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
173
- url: z.string().trim().url().optional().describe(
171
+ logo: z.url().optional().describe("A URL to the organization's logo image"),
172
+ icon: z.url().optional().describe("A URL to the organization's icon image"),
173
+ url: z.url().optional().describe(
174
174
  "A URL to a page that provides more information about the organization"
175
175
  )
176
176
  }).describe("The workspace's organization details");
177
+ var MODE_OPTIONS = ["development", "staging", "production"];
177
178
  var stormWorkspaceConfigSchema = z.object({
178
179
  $schema: z.string().trim().default(
179
180
  "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
@@ -190,12 +191,12 @@ var stormWorkspaceConfigSchema = z.object({
190
191
  ),
191
192
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
192
193
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
193
- homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
194
- docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
195
- portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
196
- licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
197
- contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
198
- support: z.string().trim().url().optional().describe(
194
+ homepage: z.url().optional().describe("The homepage of the workspace"),
195
+ docs: z.url().optional().describe("The documentation site for the workspace"),
196
+ portal: z.url().optional().describe("The development portal site for the workspace"),
197
+ licensing: z.url().optional().describe("The licensing site for the workspace"),
198
+ contact: z.url().optional().describe("The contact site for the workspace"),
199
+ support: z.url().optional().describe(
199
200
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
200
201
  ),
201
202
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
@@ -205,7 +206,7 @@ var stormWorkspaceConfigSchema = z.object({
205
206
  release: WorkspaceReleaseConfigSchema,
206
207
  socials: WorkspaceSocialsConfigSchema,
207
208
  error: errorConfigSchema,
208
- mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
209
+ mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
209
210
  workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
210
211
  skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
211
212
  directories: WorkspaceDirectoryConfigSchema,
package/dist/build.cjs CHANGED
@@ -5,12 +5,12 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkJTL64DIVcjs = require('./chunk-JTL64DIV.cjs');
9
- require('./chunk-DGJFFRFH.cjs');
10
- require('./chunk-5LIOQAOY.cjs');
11
- require('./chunk-XNEAB4RQ.cjs');
12
- require('./chunk-SGP6BUJQ.cjs');
13
- require('./chunk-WLUG56XM.cjs');
8
+ var _chunk3WPI2LULcjs = require('./chunk-3WPI2LUL.cjs');
9
+ require('./chunk-WSPD5TWC.cjs');
10
+ require('./chunk-GYTRVRQJ.cjs');
11
+ require('./chunk-A4MFYPJN.cjs');
12
+ require('./chunk-YODGKUIC.cjs');
13
+ require('./chunk-AS3CHHHX.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 = _chunkJTL64DIVcjs.build; exports.cleanOutputPath = _chunkJTL64DIVcjs.cleanOutputPath; exports.copyBuildAssets = _chunkJTL64DIVcjs.copyBuildAssets; exports.executeUnbuild = _chunkJTL64DIVcjs.executeUnbuild; exports.generatePackageJson = _chunkJTL64DIVcjs.generatePackageJson; exports.resolveOptions = _chunkJTL64DIVcjs.resolveOptions;
22
+ exports.build = _chunk3WPI2LULcjs.build; exports.cleanOutputPath = _chunk3WPI2LULcjs.cleanOutputPath; exports.copyBuildAssets = _chunk3WPI2LULcjs.copyBuildAssets; exports.executeUnbuild = _chunk3WPI2LULcjs.executeUnbuild; exports.generatePackageJson = _chunk3WPI2LULcjs.generatePackageJson; exports.resolveOptions = _chunk3WPI2LULcjs.resolveOptions;
package/dist/build.js CHANGED
@@ -5,12 +5,12 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-VT6DJF6W.js";
9
- import "./chunk-ILCF5AV5.js";
10
- import "./chunk-6ZKWJ5VK.js";
11
- import "./chunk-IX57XUC6.js";
12
- import "./chunk-TWJO45XW.js";
13
- import "./chunk-TPCOWOWK.js";
8
+ } from "./chunk-NLH4D6OZ.js";
9
+ import "./chunk-WUSF3WE6.js";
10
+ import "./chunk-HUPRNKOU.js";
11
+ import "./chunk-A344TKTC.js";
12
+ import "./chunk-X5NCLQHD.js";
13
+ import "./chunk-FWLSKHOW.js";
14
14
  import "./chunk-3RG5ZIWI.js";
15
15
  export {
16
16
  build,