@storm-software/unbuild 0.49.44 → 0.49.45

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.
@@ -291,7 +291,7 @@ var SingleThemeColorConfigSchema = z.object({
291
291
  positive: PositiveColorSchema,
292
292
  negative: NegativeColorSchema
293
293
  });
294
- var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
294
+ var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
295
295
  var RegistryConfigSchema = z.object({
296
296
  github: RegistryUrlConfigSchema,
297
297
  npm: RegistryUrlConfigSchema,
@@ -318,7 +318,7 @@ var WorkspaceBotConfigSchema = z.object({
318
318
  name: z.string().trim().default("stormie-bot").describe(
319
319
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
320
320
  ),
321
- email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
321
+ email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
322
322
  }).describe(
323
323
  "The workspace's bot user's config used to automated various operations tasks"
324
324
  );
@@ -361,19 +361,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
361
361
  );
362
362
  var errorConfigSchema = z.object({
363
363
  codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
364
- url: z.string().trim().url().optional().describe(
364
+ url: z.url().optional().describe(
365
365
  "A URL to a page that looks up the workspace's error messages given a specific error code"
366
366
  )
367
367
  }).describe("The workspace's error config used during the error process");
368
368
  var organizationConfigSchema = z.object({
369
369
  name: z.string().trim().describe("The name of the organization"),
370
370
  description: z.string().trim().optional().describe("A description of the organization"),
371
- logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
372
- icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
373
- url: z.string().trim().url().optional().describe(
371
+ logo: z.url().optional().describe("A URL to the organization's logo image"),
372
+ icon: z.url().optional().describe("A URL to the organization's icon image"),
373
+ url: z.url().optional().describe(
374
374
  "A URL to a page that provides more information about the organization"
375
375
  )
376
376
  }).describe("The workspace's organization details");
377
+ var MODE_OPTIONS = ["development", "staging", "production"];
377
378
  var stormWorkspaceConfigSchema = z.object({
378
379
  $schema: z.string().trim().default(
379
380
  "https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
@@ -390,12 +391,12 @@ var stormWorkspaceConfigSchema = z.object({
390
391
  ),
391
392
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
392
393
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
393
- homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
394
- docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
395
- portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
396
- licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
397
- contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
398
- support: z.string().trim().url().optional().describe(
394
+ homepage: z.url().optional().describe("The homepage of the workspace"),
395
+ docs: z.url().optional().describe("The documentation site for the workspace"),
396
+ portal: z.url().optional().describe("The development portal site for the workspace"),
397
+ licensing: z.url().optional().describe("The licensing site for the workspace"),
398
+ contact: z.url().optional().describe("The contact site for the workspace"),
399
+ support: z.url().optional().describe(
399
400
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
400
401
  ),
401
402
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
@@ -405,7 +406,7 @@ var stormWorkspaceConfigSchema = z.object({
405
406
  release: WorkspaceReleaseConfigSchema,
406
407
  socials: WorkspaceSocialsConfigSchema,
407
408
  error: errorConfigSchema,
408
- mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
409
+ mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
409
410
  workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
410
411
  skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
411
412
  directories: WorkspaceDirectoryConfigSchema,
package/dist/clean.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkDGJFFRFHcjs = require('./chunk-DGJFFRFH.cjs');
5
- require('./chunk-WLUG56XM.cjs');
4
+ var _chunk54EG7SKFcjs = require('./chunk-54EG7SKF.cjs');
5
+ require('./chunk-ZT6C6XEL.cjs');
6
6
  require('./chunk-OBGZSXTJ.cjs');
7
7
 
8
8
 
9
9
 
10
- exports.clean = _chunkDGJFFRFHcjs.clean; exports.cleanDirectories = _chunkDGJFFRFHcjs.cleanDirectories;
10
+ exports.clean = _chunk54EG7SKFcjs.clean; exports.cleanDirectories = _chunk54EG7SKFcjs.cleanDirectories;
package/dist/clean.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clean,
3
3
  cleanDirectories
4
- } from "./chunk-ILCF5AV5.js";
5
- import "./chunk-TPCOWOWK.js";
4
+ } from "./chunk-H5FYDIRN.js";
5
+ import "./chunk-5XUMKFT5.js";
6
6
  import "./chunk-3RG5ZIWI.js";
7
7
  export {
8
8
  clean,
package/dist/index.cjs CHANGED
@@ -5,19 +5,19 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkJTL64DIVcjs = require('./chunk-JTL64DIV.cjs');
8
+ var _chunkX4VXBY3Dcjs = require('./chunk-X4VXBY3D.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkDGJFFRFHcjs = require('./chunk-DGJFFRFH.cjs');
12
+ var _chunk54EG7SKFcjs = require('./chunk-54EG7SKF.cjs');
13
13
  require('./chunk-SFZRYJZ2.cjs');
14
- require('./chunk-5LIOQAOY.cjs');
15
- require('./chunk-XNEAB4RQ.cjs');
14
+ require('./chunk-PCQ64N2Q.cjs');
15
+ require('./chunk-BZNI2S2Q.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkSGP6BUJQcjs = require('./chunk-SGP6BUJQ.cjs');
20
- require('./chunk-WLUG56XM.cjs');
19
+ var _chunk3VPYTMTWcjs = require('./chunk-3VPYTMTW.cjs');
20
+ require('./chunk-ZT6C6XEL.cjs');
21
21
  require('./chunk-OBGZSXTJ.cjs');
22
22
 
23
23
 
@@ -30,4 +30,4 @@ require('./chunk-OBGZSXTJ.cjs');
30
30
 
31
31
 
32
32
 
33
- exports.build = _chunkJTL64DIVcjs.build; exports.clean = _chunkDGJFFRFHcjs.clean; exports.cleanDirectories = _chunkDGJFFRFHcjs.cleanDirectories; exports.cleanOutputPath = _chunkJTL64DIVcjs.cleanOutputPath; exports.copyBuildAssets = _chunkJTL64DIVcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkSGP6BUJQcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkJTL64DIVcjs.executeUnbuild; exports.generatePackageJson = _chunkJTL64DIVcjs.generatePackageJson; exports.loadConfig = _chunkSGP6BUJQcjs.loadConfig; exports.resolveOptions = _chunkJTL64DIVcjs.resolveOptions;
33
+ exports.build = _chunkX4VXBY3Dcjs.build; exports.clean = _chunk54EG7SKFcjs.clean; exports.cleanDirectories = _chunk54EG7SKFcjs.cleanDirectories; exports.cleanOutputPath = _chunkX4VXBY3Dcjs.cleanOutputPath; exports.copyBuildAssets = _chunkX4VXBY3Dcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunk3VPYTMTWcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkX4VXBY3Dcjs.executeUnbuild; exports.generatePackageJson = _chunkX4VXBY3Dcjs.generatePackageJson; exports.loadConfig = _chunk3VPYTMTWcjs.loadConfig; exports.resolveOptions = _chunkX4VXBY3Dcjs.resolveOptions;
package/dist/index.js CHANGED
@@ -5,19 +5,19 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-VT6DJF6W.js";
8
+ } from "./chunk-A7SWPWEN.js";
9
9
  import {
10
10
  clean,
11
11
  cleanDirectories
12
- } from "./chunk-ILCF5AV5.js";
12
+ } from "./chunk-H5FYDIRN.js";
13
13
  import "./chunk-GGNOJ77I.js";
14
- import "./chunk-6ZKWJ5VK.js";
15
- import "./chunk-IX57XUC6.js";
14
+ import "./chunk-ODWQ5IQY.js";
15
+ import "./chunk-IY4HAK7O.js";
16
16
  import {
17
17
  createTsCompilerOptions,
18
18
  loadConfig
19
- } from "./chunk-TWJO45XW.js";
20
- import "./chunk-TPCOWOWK.js";
19
+ } from "./chunk-53SRQU7L.js";
20
+ import "./chunk-5XUMKFT5.js";
21
21
  import "./chunk-3RG5ZIWI.js";
22
22
  export {
23
23
  build,
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk5LIOQAOYcjs = require('../chunk-5LIOQAOY.cjs');
4
- require('../chunk-WLUG56XM.cjs');
3
+ var _chunkPCQ64N2Qcjs = require('../chunk-PCQ64N2Q.cjs');
4
+ require('../chunk-ZT6C6XEL.cjs');
5
5
  require('../chunk-OBGZSXTJ.cjs');
6
6
 
7
7
 
8
- exports.analyzePlugin = _chunk5LIOQAOYcjs.analyzePlugin;
8
+ exports.analyzePlugin = _chunkPCQ64N2Qcjs.analyzePlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  analyzePlugin
3
- } from "../chunk-6ZKWJ5VK.js";
4
- import "../chunk-TPCOWOWK.js";
3
+ } from "../chunk-ODWQ5IQY.js";
4
+ import "../chunk-5XUMKFT5.js";
5
5
  import "../chunk-3RG5ZIWI.js";
6
6
  export {
7
7
  analyzePlugin
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkXNEAB4RQcjs = require('../chunk-XNEAB4RQ.cjs');
4
- require('../chunk-WLUG56XM.cjs');
3
+ var _chunkBZNI2S2Qcjs = require('../chunk-BZNI2S2Q.cjs');
4
+ require('../chunk-ZT6C6XEL.cjs');
5
5
  require('../chunk-OBGZSXTJ.cjs');
6
6
 
7
7
 
8
- exports.onErrorPlugin = _chunkXNEAB4RQcjs.onErrorPlugin;
8
+ exports.onErrorPlugin = _chunkBZNI2S2Qcjs.onErrorPlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  onErrorPlugin
3
- } from "../chunk-IX57XUC6.js";
4
- import "../chunk-TPCOWOWK.js";
3
+ } from "../chunk-IY4HAK7O.js";
4
+ import "../chunk-5XUMKFT5.js";
5
5
  import "../chunk-3RG5ZIWI.js";
6
6
  export {
7
7
  onErrorPlugin
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSGP6BUJQcjs = require('../chunk-SGP6BUJQ.cjs');
4
- require('../chunk-WLUG56XM.cjs');
3
+ var _chunk3VPYTMTWcjs = require('../chunk-3VPYTMTW.cjs');
4
+ require('../chunk-ZT6C6XEL.cjs');
5
5
  require('../chunk-OBGZSXTJ.cjs');
6
6
 
7
7
 
8
- exports.tscPlugin = _chunkSGP6BUJQcjs.tscPlugin;
8
+ exports.tscPlugin = _chunk3VPYTMTWcjs.tscPlugin;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  tscPlugin
3
- } from "../chunk-TWJO45XW.js";
4
- import "../chunk-TPCOWOWK.js";
3
+ } from "../chunk-53SRQU7L.js";
4
+ import "../chunk-5XUMKFT5.js";
5
5
  import "../chunk-3RG5ZIWI.js";
6
6
  export {
7
7
  tscPlugin
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/unbuild",
3
- "version": "0.49.44",
3
+ "version": "0.49.45",
4
4
  "type": "module",
5
5
  "description": "A package containing `unbuild` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -148,8 +148,8 @@
148
148
  },
149
149
  "dependencies": {
150
150
  "@storm-software/build-tools": "^0.151.22",
151
- "@storm-software/config": "^1.125.8",
152
- "@storm-software/config-tools": "^1.176.9",
151
+ "@storm-software/config": "^1.125.9",
152
+ "@storm-software/config-tools": "^1.176.10",
153
153
  "commander": "^12.1.0",
154
154
  "defu": "6.1.4",
155
155
  "esbuild": "^0.25.0",
@@ -171,5 +171,5 @@
171
171
  },
172
172
  "publishConfig": { "access": "public" },
173
173
  "sideEffects": false,
174
- "gitHead": "a8ed9927e278fdcef751286a496cea6a4727208a"
174
+ "gitHead": "ceaae9b6ba69f4bca0927a4d2e3084ee5fc4e71a"
175
175
  }