@storm-software/esbuild 0.45.9 → 0.45.10

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.
Files changed (42) hide show
  1. package/README.md +1 -1
  2. package/dist/assets.cjs +4 -4
  3. package/dist/assets.js +3 -3
  4. package/dist/build.cjs +11 -11
  5. package/dist/build.js +10 -10
  6. package/dist/{chunk-4UCSWAYL.cjs → chunk-2JMFLXH3.cjs} +28 -28
  7. package/dist/{chunk-JPZ25OGN.cjs → chunk-3JFDE22F.cjs} +22 -22
  8. package/dist/{chunk-G5UIJPDD.js → chunk-3KAQDHXL.js} +2 -2
  9. package/dist/{chunk-AJHP5LOA.js → chunk-3YVOWCAB.js} +1 -1
  10. package/dist/{chunk-6LRS4DYX.cjs → chunk-6L3YNXKR.cjs} +6 -6
  11. package/dist/{chunk-VS6CDXH5.js → chunk-DIL4WQTJ.js} +7 -7
  12. package/dist/{chunk-24MAAJ23.cjs → chunk-F2NJ73NZ.cjs} +3 -3
  13. package/dist/{chunk-4BLTG225.js → chunk-ILM53PNV.js} +1 -1
  14. package/dist/{chunk-BKOUQVED.js → chunk-KJK3P5UO.js} +1 -1
  15. package/dist/{chunk-EZI7IWCO.cjs → chunk-QL4ZOUN7.cjs} +3 -3
  16. package/dist/{chunk-G4SJWWJB.cjs → chunk-RET46WWD.cjs} +3 -3
  17. package/dist/{chunk-LVJIYUGI.js → chunk-SAG2CV6H.js} +2 -2
  18. package/dist/{chunk-XX2GNHNI.js → chunk-SS4BBXDD.js} +1 -1
  19. package/dist/{chunk-Z2W5FM4B.js → chunk-SS6CH5JE.js} +2 -2
  20. package/dist/{chunk-VJOUBIZH.js → chunk-TOMSZL2Z.js} +1 -1
  21. package/dist/{chunk-CNQNTV4A.cjs → chunk-UFQFYP6V.cjs} +10 -10
  22. package/dist/{chunk-B6E7GJXU.js → chunk-VILCU64S.js} +3 -3
  23. package/dist/{chunk-HBIJ4J5R.cjs → chunk-VMF7XRRH.cjs} +84 -84
  24. package/dist/{chunk-ZMPH4C3L.cjs → chunk-VUTUHYN5.cjs} +5 -5
  25. package/dist/{chunk-NJO2B5FC.cjs → chunk-XYMSPNIE.cjs} +3 -3
  26. package/dist/clean.cjs +3 -3
  27. package/dist/clean.js +2 -2
  28. package/dist/config.cjs +4 -4
  29. package/dist/config.js +3 -3
  30. package/dist/context.cjs +5 -5
  31. package/dist/context.js +4 -4
  32. package/dist/index.cjs +11 -11
  33. package/dist/index.js +10 -10
  34. package/dist/package-json.cjs +4 -4
  35. package/dist/package-json.js +3 -3
  36. package/dist/plugins/deps-check.cjs +3 -3
  37. package/dist/plugins/deps-check.js +2 -2
  38. package/dist/tsup.cjs +3 -3
  39. package/dist/tsup.js +2 -2
  40. package/dist/watch.cjs +3 -3
  41. package/dist/watch.js +1 -1
  42. package/package.json +4 -4
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkNJO2B5FCcjs = require('./chunk-NJO2B5FC.cjs');
3
+ var _chunkXYMSPNIEcjs = require('./chunk-XYMSPNIE.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunk4UCSWAYLcjs = require('./chunk-4UCSWAYL.cjs');
7
+ var _chunk2JMFLXH3cjs = require('./chunk-2JMFLXH3.cjs');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkHBIJ4J5Rcjs = require('./chunk-HBIJ4J5R.cjs');
12
+ var _chunkVMF7XRRHcjs = require('./chunk-VMF7XRRH.cjs');
13
13
 
14
14
 
15
15
  var _chunkREAX6FSOcjs = require('./chunk-REAX6FSO.cjs');
@@ -33,11 +33,11 @@ async function resolveContext(userOptions) {
33
33
  if (!workspaceRoot) {
34
34
  throw new Error("Cannot find Nx workspace root");
35
35
  }
36
- const workspaceConfig = await _chunk4UCSWAYLcjs.getWorkspaceConfig.call(void 0, true, {
36
+ const workspaceConfig = await _chunk2JMFLXH3cjs.getWorkspaceConfig.call(void 0, true, {
37
37
  workspaceRoot: workspaceRoot.dir
38
38
  });
39
- _chunkHBIJ4J5Rcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
40
- const stopwatch = _chunkHBIJ4J5Rcjs.getStopwatch.call(void 0, "Build options resolution");
39
+ _chunkVMF7XRRHcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
40
+ const stopwatch = _chunkVMF7XRRHcjs.getStopwatch.call(void 0, "Build options resolution");
41
41
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
42
42
  exitOnError: true
43
43
  });
@@ -58,7 +58,7 @@ async function resolveContext(userOptions) {
58
58
  "The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
59
59
  );
60
60
  }
61
- const options = _defu2.default.call(void 0, userOptions, _chunkNJO2B5FCcjs.DEFAULT_BUILD_OPTIONS);
61
+ const options = _defu2.default.call(void 0, userOptions, _chunkXYMSPNIEcjs.DEFAULT_BUILD_OPTIONS);
62
62
  options.name ??= projectName;
63
63
  const packageJsonPath = _chunkREAX6FSOcjs.joinPaths.call(void 0,
64
64
  workspaceRoot.dir,
@@ -68,7 +68,7 @@ async function resolveContext(userOptions) {
68
68
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
69
69
  throw new Error("Cannot find package.json configuration");
70
70
  }
71
- const env = _chunk4UCSWAYLcjs.getEnv.call(void 0, "esbuild", options);
71
+ const env = _chunk2JMFLXH3cjs.getEnv.call(void 0, "esbuild", options);
72
72
  const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
73
73
  const resolvedOptions = {
74
74
  ...options,
@@ -107,10 +107,10 @@ async function resolveContext(userOptions) {
107
107
  };
108
108
  context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
109
109
  if (context.options.verbose) {
110
- _chunkHBIJ4J5Rcjs.writeDebug.call(void 0,
110
+ _chunkVMF7XRRHcjs.writeDebug.call(void 0,
111
111
  ` \u2699\uFE0F Build options resolved:
112
112
 
113
- ${_chunkHBIJ4J5Rcjs.formatLogMessage.call(void 0, context.options)}`,
113
+ ${_chunkVMF7XRRHcjs.formatLogMessage.call(void 0, context.options)}`,
114
114
  workspaceConfig
115
115
  );
116
116
  }
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  DEFAULT_BUILD_OPTIONS
3
- } from "./chunk-XX2GNHNI.js";
3
+ } from "./chunk-SS4BBXDD.js";
4
4
  import {
5
5
  getEnv,
6
6
  getWorkspaceConfig
7
- } from "./chunk-AJHP5LOA.js";
7
+ } from "./chunk-3YVOWCAB.js";
8
8
  import {
9
9
  formatLogMessage,
10
10
  getStopwatch,
11
11
  writeDebug
12
- } from "./chunk-G5UIJPDD.js";
12
+ } from "./chunk-3KAQDHXL.js";
13
13
  import {
14
14
  joinPaths
15
15
  } from "./chunk-A7I6K5HC.js";
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
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(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
4
  var _chunkREAX6FSOcjs = require('./chunk-REAX6FSO.cjs');
@@ -68,22 +68,22 @@ _chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
68
68
 
69
69
  // ../config/src/schema.ts
70
70
  _chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
71
- var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
72
- var DarkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
73
- var LightColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
74
- var BrandColorSchema = _zod2.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");
75
- var AlternateColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
76
- var AccentColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
77
- var LinkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
78
- var HelpColorSchema = _zod2.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");
79
- var SuccessColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
80
- var InfoColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
81
- var WarningColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
82
- var DangerColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
83
- var FatalColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
84
- var PositiveColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
85
- var NegativeColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
86
- var DarkThemeColorConfigSchema = _zod2.default.object({
71
+ var _v4 = require('zod/v4'); var z = _interopRequireWildcard(_v4);
72
+ 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");
73
+ 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");
74
+ 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");
75
+ 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");
76
+ 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");
77
+ 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");
78
+ 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");
79
+ 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");
80
+ 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");
81
+ 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");
82
+ 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");
83
+ var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
84
+ 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");
85
+ 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");
86
+ var DarkThemeColorConfigSchema = z.object({
87
87
  foreground: LightColorSchema,
88
88
  background: DarkColorSchema,
89
89
  brand: BrandColorSchema,
@@ -99,7 +99,7 @@ var DarkThemeColorConfigSchema = _zod2.default.object({
99
99
  positive: PositiveColorSchema,
100
100
  negative: NegativeColorSchema
101
101
  });
102
- var LightThemeColorConfigSchema = _zod2.default.object({
102
+ var LightThemeColorConfigSchema = z.object({
103
103
  foreground: DarkColorSchema,
104
104
  background: LightColorSchema,
105
105
  brand: BrandColorSchema,
@@ -115,11 +115,11 @@ var LightThemeColorConfigSchema = _zod2.default.object({
115
115
  positive: PositiveColorSchema,
116
116
  negative: NegativeColorSchema
117
117
  });
118
- var MultiThemeColorConfigSchema = _zod2.default.object({
118
+ var MultiThemeColorConfigSchema = z.object({
119
119
  dark: DarkThemeColorConfigSchema,
120
120
  light: LightThemeColorConfigSchema
121
121
  });
122
- var SingleThemeColorConfigSchema = _zod2.default.object({
122
+ var SingleThemeColorConfigSchema = z.object({
123
123
  dark: DarkColorSchema,
124
124
  light: LightColorSchema,
125
125
  brand: BrandColorSchema,
@@ -135,8 +135,8 @@ var SingleThemeColorConfigSchema = _zod2.default.object({
135
135
  positive: PositiveColorSchema,
136
136
  negative: NegativeColorSchema
137
137
  });
138
- var RegistryUrlConfigSchema = _zod2.default.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
139
- var RegistryConfigSchema = _zod2.default.object({
138
+ var RegistryUrlConfigSchema = z.string().trim().toLowerCase().url().optional().describe("A remote registry URL used to publish distributable packages");
139
+ var RegistryConfigSchema = z.object({
140
140
  github: RegistryUrlConfigSchema,
141
141
  npm: RegistryUrlConfigSchema,
142
142
  cargo: RegistryUrlConfigSchema,
@@ -146,122 +146,122 @@ var RegistryConfigSchema = _zod2.default.object({
146
146
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
147
147
  MultiThemeColorConfigSchema
148
148
  ).describe("Colors used for various workspace elements");
149
- var ColorConfigMapSchema = _zod2.default.union([
150
- _zod2.default.object({ base: ColorConfigSchema }),
151
- _zod2.default.record(_zod2.default.string(), ColorConfigSchema)
149
+ var ColorConfigMapSchema = z.union([
150
+ z.object({ base: ColorConfigSchema }),
151
+ z.record(z.string(), ColorConfigSchema)
152
152
  ]);
153
- var ExtendsItemSchema = _zod2.default.string().trim().describe(
153
+ var ExtendsItemSchema = z.string().trim().describe(
154
154
  "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."
155
155
  );
156
156
  var ExtendsSchema = ExtendsItemSchema.or(
157
- _zod2.default.array(ExtendsItemSchema)
157
+ z.array(ExtendsItemSchema)
158
158
  ).describe(
159
159
  "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."
160
160
  );
161
- var WorkspaceBotConfigSchema = _zod2.default.object({
162
- name: _zod2.default.string().trim().default("stormie-bot").describe(
161
+ var WorkspaceBotConfigSchema = z.object({
162
+ name: z.string().trim().default("stormie-bot").describe(
163
163
  "The workspace bot user's name (this is the bot that will be used to perform various tasks)"
164
164
  ),
165
- email: _zod2.default.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
165
+ email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
166
166
  }).describe(
167
167
  "The workspace's bot user's config used to automated various operations tasks"
168
168
  );
169
- var WorkspaceReleaseConfigSchema = _zod2.default.object({
170
- banner: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
169
+ var WorkspaceReleaseConfigSchema = z.object({
170
+ banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe(
171
171
  "A URL to a banner image used to display the workspace's release"
172
172
  ),
173
- header: _zod2.default.string().trim().optional().describe(
173
+ header: z.string().trim().optional().describe(
174
174
  "A header message appended to the start of the workspace's release notes"
175
175
  ),
176
- footer: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
176
+ footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe(
177
177
  "A footer message appended to the end of the workspace's release notes"
178
178
  )
179
179
  }).describe("The workspace's release config used during the release process");
180
- var WorkspaceAccountConfigSchema = _zod2.default.object({
181
- twitter: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
182
- discord: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
183
- telegram: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
184
- slack: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
185
- medium: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
186
- github: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
180
+ var WorkspaceAccountConfigSchema = z.object({
181
+ twitter: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
182
+ discord: z.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
183
+ telegram: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
184
+ slack: z.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
185
+ medium: z.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
186
+ github: z.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
187
187
  }).describe(
188
188
  "The workspace's account config used to store various social media links"
189
189
  );
190
- var WorkspaceDirectoryConfigSchema = _zod2.default.object({
191
- cache: _zod2.default.string().trim().optional().describe(
190
+ var WorkspaceDirectoryConfigSchema = z.object({
191
+ cache: z.string().trim().optional().describe(
192
192
  "The directory used to store the environment's cached file data"
193
193
  ),
194
- data: _zod2.default.string().trim().optional().describe("The directory used to store the environment's data files"),
195
- config: _zod2.default.string().trim().optional().describe(
194
+ data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
195
+ config: z.string().trim().optional().describe(
196
196
  "The directory used to store the environment's configuration files"
197
197
  ),
198
- temp: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
199
- log: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
200
- build: _zod2.default.string().trim().default("dist").describe(
198
+ temp: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
199
+ log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
200
+ build: z.string().trim().default("dist").describe(
201
201
  "The directory used to store the workspace's distributable files after a build (relative to the workspace root)"
202
202
  )
203
203
  }).describe(
204
204
  "Various directories used by the workspace to store data, cache, and configuration files"
205
205
  );
206
- var errorConfigSchema = _zod2.default.object({
207
- codesFile: _zod2.default.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
208
- url: _zod2.default.string().trim().url().optional().describe(
206
+ var errorConfigSchema = z.object({
207
+ codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
208
+ url: z.string().trim().url().optional().describe(
209
209
  "A URL to a page that looks up the workspace's error messages given a specific error code"
210
210
  )
211
211
  }).describe("The workspace's error config used during the error process");
212
- var organizationConfigSchema = _zod2.default.object({
213
- name: _zod2.default.string().trim().describe("The name of the organization"),
214
- description: _zod2.default.string().trim().optional().describe("A description of the organization"),
215
- logo: _zod2.default.string().trim().url().optional().describe("A URL to the organization's logo image"),
216
- icon: _zod2.default.string().trim().url().optional().describe("A URL to the organization's icon image"),
217
- url: _zod2.default.string().trim().url().optional().describe(
212
+ var organizationConfigSchema = z.object({
213
+ name: z.string().trim().describe("The name of the organization"),
214
+ description: z.string().trim().optional().describe("A description of the organization"),
215
+ logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
216
+ icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
217
+ url: z.string().trim().url().optional().describe(
218
218
  "A URL to a page that provides more information about the organization"
219
219
  )
220
220
  }).describe("The workspace's organization details");
221
- var stormWorkspaceConfigSchema = _zod2.default.object({
222
- $schema: _zod2.default.string().trim().default(
221
+ var stormWorkspaceConfigSchema = z.object({
222
+ $schema: z.string().trim().default(
223
223
  "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
224
224
  ).optional().nullish().describe(
225
225
  "The URL to the JSON schema file that describes the Storm configuration file"
226
226
  ),
227
227
  extends: ExtendsSchema.optional(),
228
- name: _zod2.default.string().trim().toLowerCase().optional().describe(
228
+ name: z.string().trim().toLowerCase().optional().describe(
229
229
  "The name of the service/package/scope using this configuration"
230
230
  ),
231
- namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
232
- organization: organizationConfigSchema.or(_zod2.default.string().trim().describe("The organization of the workspace")).optional().describe(
231
+ namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
232
+ organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
233
233
  "The organization of the workspace. This can be a string or an object containing the organization's details"
234
234
  ),
235
- repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
236
- license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
237
- homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
238
- docs: _zod2.default.string().trim().url().optional().describe("The documentation site for the workspace"),
239
- portal: _zod2.default.string().trim().url().optional().describe("The development portal site for the workspace"),
240
- licensing: _zod2.default.string().trim().url().optional().describe("The licensing site for the workspace"),
241
- contact: _zod2.default.string().trim().url().optional().describe("The contact site for the workspace"),
242
- support: _zod2.default.string().trim().url().optional().describe(
235
+ repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
236
+ license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
237
+ homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
238
+ docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
239
+ portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
240
+ licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
241
+ contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
242
+ support: z.string().trim().url().optional().describe(
243
243
  "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
244
244
  ),
245
- branch: _zod2.default.string().trim().default("main").describe("The branch of the workspace"),
246
- preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
247
- owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
245
+ branch: z.string().trim().default("main").describe("The branch of the workspace"),
246
+ preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
247
+ owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
248
248
  bot: WorkspaceBotConfigSchema,
249
249
  release: WorkspaceReleaseConfigSchema,
250
250
  account: WorkspaceAccountConfigSchema,
251
251
  error: errorConfigSchema,
252
- mode: _zod2.default.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
253
- workspaceRoot: _zod2.default.string().trim().describe("The root directory of the workspace"),
254
- externalPackagePatterns: _zod2.default.array(_zod2.default.string()).default([]).describe(
252
+ mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
253
+ workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
254
+ externalPackagePatterns: z.array(z.string()).default([]).describe(
255
255
  "The build will use these package patterns to determine if they should be external to the bundle"
256
256
  ),
257
- skipCache: _zod2.default.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
257
+ skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
258
258
  directories: WorkspaceDirectoryConfigSchema,
259
- packageManager: _zod2.default.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
259
+ packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
260
260
  "The JavaScript/TypeScript package manager used by the repository"
261
261
  ),
262
- timezone: _zod2.default.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
263
- locale: _zod2.default.string().trim().default("en-US").describe("The default locale of the workspace"),
264
- logLevel: _zod2.default.enum([
262
+ timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
263
+ locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
264
+ logLevel: z.enum([
265
265
  "silent",
266
266
  "fatal",
267
267
  "error",
@@ -274,17 +274,17 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
274
274
  ]).default("info").describe(
275
275
  "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`)."
276
276
  ),
277
- skipConfigLogging: _zod2.default.boolean().optional().describe(
277
+ skipConfigLogging: z.boolean().optional().describe(
278
278
  "Should the logging of the current Storm Workspace configuration be skipped?"
279
279
  ),
280
280
  registry: RegistryConfigSchema,
281
- configFile: _zod2.default.string().trim().nullable().default(null).describe(
281
+ configFile: z.string().trim().nullable().default(null).describe(
282
282
  "The filepath of the Storm config. When this field is null, no config file was found in the current workspace."
283
283
  ),
284
284
  colors: ColorConfigSchema.or(ColorConfigMapSchema).describe(
285
285
  "Storm theme config values used for styling various package elements"
286
286
  ),
287
- extensions: _zod2.default.record(_zod2.default.any()).optional().default({}).describe("Configuration of each used extension")
287
+ extensions: z.record(z.string(), z.any()).optional().default({}).describe("Configuration of each used extension")
288
288
  }).describe(
289
289
  "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."
290
290
  );
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk4UCSWAYLcjs = require('./chunk-4UCSWAYL.cjs');
3
+ var _chunk2JMFLXH3cjs = require('./chunk-2JMFLXH3.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunkHBIJ4J5Rcjs = require('./chunk-HBIJ4J5R.cjs');
7
+ var _chunkVMF7XRRHcjs = require('./chunk-VMF7XRRH.cjs');
8
8
 
9
9
 
10
10
  var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
@@ -13,12 +13,12 @@ var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
13
13
  _chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
14
14
  async function copyBuildAssets(context) {
15
15
  if (!_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) && _optionalChain([context, 'access', _4 => _4.options, 'access', _5 => _5.assets, 'optionalAccess', _6 => _6.length])) {
16
- _chunkHBIJ4J5Rcjs.writeDebug.call(void 0,
16
+ _chunkVMF7XRRHcjs.writeDebug.call(void 0,
17
17
  ` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
18
18
  context.workspaceConfig
19
19
  );
20
- const stopwatch = _chunkHBIJ4J5Rcjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
21
- await _chunk4UCSWAYLcjs.copyAssets.call(void 0,
20
+ const stopwatch = _chunkVMF7XRRHcjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
21
+ await _chunk2JMFLXH3cjs.copyAssets.call(void 0,
22
22
  context.workspaceConfig,
23
23
  _nullishCoalesce(context.options.assets, () => ( [])),
24
24
  context.outputPath,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4UCSWAYLcjs = require('./chunk-4UCSWAYL.cjs');
3
+ var _chunk2JMFLXH3cjs = require('./chunk-2JMFLXH3.cjs');
4
4
 
5
5
 
6
6
  var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
@@ -44,8 +44,8 @@ var DEFAULT_BUILD_OPTIONS = {
44
44
  ".woff2": "file"
45
45
  },
46
46
  banner: {
47
- js: _chunk4UCSWAYLcjs.DEFAULT_COMPILED_BANNER,
48
- css: _chunk4UCSWAYLcjs.DEFAULT_COMPILED_BANNER
47
+ js: _chunk2JMFLXH3cjs.DEFAULT_COMPILED_BANNER,
48
+ css: _chunk2JMFLXH3cjs.DEFAULT_COMPILED_BANNER
49
49
  }
50
50
  };
51
51
 
package/dist/clean.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEZI7IWCOcjs = require('./chunk-EZI7IWCO.cjs');
5
- require('./chunk-HBIJ4J5R.cjs');
4
+ var _chunkQL4ZOUN7cjs = require('./chunk-QL4ZOUN7.cjs');
5
+ require('./chunk-VMF7XRRH.cjs');
6
6
  require('./chunk-REAX6FSO.cjs');
7
7
  require('./chunk-4ICWACJM.cjs');
8
8
 
9
9
 
10
10
 
11
- exports.clean = _chunkEZI7IWCOcjs.clean; exports.cleanDirectories = _chunkEZI7IWCOcjs.cleanDirectories;
11
+ exports.clean = _chunkQL4ZOUN7cjs.clean; exports.cleanDirectories = _chunkQL4ZOUN7cjs.cleanDirectories;
package/dist/clean.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clean,
3
3
  cleanDirectories
4
- } from "./chunk-BKOUQVED.js";
5
- import "./chunk-G5UIJPDD.js";
4
+ } from "./chunk-KJK3P5UO.js";
5
+ import "./chunk-3KAQDHXL.js";
6
6
  import "./chunk-A7I6K5HC.js";
7
7
  import "./chunk-GL7N7ANS.js";
8
8
  export {
package/dist/config.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkNJO2B5FCcjs = require('./chunk-NJO2B5FC.cjs');
4
- require('./chunk-4UCSWAYL.cjs');
5
- require('./chunk-HBIJ4J5R.cjs');
3
+ var _chunkXYMSPNIEcjs = require('./chunk-XYMSPNIE.cjs');
4
+ require('./chunk-2JMFLXH3.cjs');
5
+ require('./chunk-VMF7XRRH.cjs');
6
6
  require('./chunk-REAX6FSO.cjs');
7
7
  require('./chunk-4ICWACJM.cjs');
8
8
 
9
9
 
10
- exports.DEFAULT_BUILD_OPTIONS = _chunkNJO2B5FCcjs.DEFAULT_BUILD_OPTIONS;
10
+ exports.DEFAULT_BUILD_OPTIONS = _chunkXYMSPNIEcjs.DEFAULT_BUILD_OPTIONS;
package/dist/config.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DEFAULT_BUILD_OPTIONS
3
- } from "./chunk-XX2GNHNI.js";
4
- import "./chunk-AJHP5LOA.js";
5
- import "./chunk-G5UIJPDD.js";
3
+ } from "./chunk-SS4BBXDD.js";
4
+ import "./chunk-3YVOWCAB.js";
5
+ import "./chunk-3KAQDHXL.js";
6
6
  import "./chunk-A7I6K5HC.js";
7
7
  import "./chunk-GL7N7ANS.js";
8
8
  export {
package/dist/context.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCNQNTV4Acjs = require('./chunk-CNQNTV4A.cjs');
4
- require('./chunk-NJO2B5FC.cjs');
5
- require('./chunk-4UCSWAYL.cjs');
6
- require('./chunk-HBIJ4J5R.cjs');
3
+ var _chunkUFQFYP6Vcjs = require('./chunk-UFQFYP6V.cjs');
4
+ require('./chunk-XYMSPNIE.cjs');
5
+ require('./chunk-2JMFLXH3.cjs');
6
+ require('./chunk-VMF7XRRH.cjs');
7
7
  require('./chunk-REAX6FSO.cjs');
8
8
  require('./chunk-4ICWACJM.cjs');
9
9
 
10
10
 
11
- exports.resolveContext = _chunkCNQNTV4Acjs.resolveContext;
11
+ exports.resolveContext = _chunkUFQFYP6Vcjs.resolveContext;
package/dist/context.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveContext
3
- } from "./chunk-B6E7GJXU.js";
4
- import "./chunk-XX2GNHNI.js";
5
- import "./chunk-AJHP5LOA.js";
6
- import "./chunk-G5UIJPDD.js";
3
+ } from "./chunk-VILCU64S.js";
4
+ import "./chunk-SS4BBXDD.js";
5
+ import "./chunk-3YVOWCAB.js";
6
+ import "./chunk-3KAQDHXL.js";
7
7
  import "./chunk-A7I6K5HC.js";
8
8
  import "./chunk-GL7N7ANS.js";
9
9
  export {
package/dist/index.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-JCXAR46G.cjs');
2
2
 
3
3
 
4
- var _chunkJPZ25OGNcjs = require('./chunk-JPZ25OGN.cjs');
5
- require('./chunk-24MAAJ23.cjs');
6
- require('./chunk-ZMPH4C3L.cjs');
7
- require('./chunk-EZI7IWCO.cjs');
8
- require('./chunk-CNQNTV4A.cjs');
9
- require('./chunk-NJO2B5FC.cjs');
10
- require('./chunk-6LRS4DYX.cjs');
11
- require('./chunk-4UCSWAYL.cjs');
12
- require('./chunk-G4SJWWJB.cjs');
13
- require('./chunk-HBIJ4J5R.cjs');
4
+ var _chunk3JFDE22Fcjs = require('./chunk-3JFDE22F.cjs');
5
+ require('./chunk-F2NJ73NZ.cjs');
6
+ require('./chunk-VUTUHYN5.cjs');
7
+ require('./chunk-QL4ZOUN7.cjs');
8
+ require('./chunk-UFQFYP6V.cjs');
9
+ require('./chunk-XYMSPNIE.cjs');
10
+ require('./chunk-6L3YNXKR.cjs');
11
+ require('./chunk-2JMFLXH3.cjs');
12
+ require('./chunk-RET46WWD.cjs');
13
+ require('./chunk-VMF7XRRH.cjs');
14
14
  require('./chunk-REAX6FSO.cjs');
15
15
 
16
16
 
@@ -20,4 +20,4 @@ var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
20
20
  _chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
21
21
 
22
22
 
23
- exports.build = _chunkJPZ25OGNcjs.build;
23
+ exports.build = _chunk3JFDE22Fcjs.build;
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import "./chunk-45F6WZFO.js";
2
2
  import {
3
3
  build
4
- } from "./chunk-VS6CDXH5.js";
5
- import "./chunk-VJOUBIZH.js";
6
- import "./chunk-Z2W5FM4B.js";
7
- import "./chunk-BKOUQVED.js";
8
- import "./chunk-B6E7GJXU.js";
9
- import "./chunk-XX2GNHNI.js";
10
- import "./chunk-LVJIYUGI.js";
11
- import "./chunk-AJHP5LOA.js";
12
- import "./chunk-4BLTG225.js";
13
- import "./chunk-G5UIJPDD.js";
4
+ } from "./chunk-DIL4WQTJ.js";
5
+ import "./chunk-TOMSZL2Z.js";
6
+ import "./chunk-SS6CH5JE.js";
7
+ import "./chunk-KJK3P5UO.js";
8
+ import "./chunk-VILCU64S.js";
9
+ import "./chunk-SS4BBXDD.js";
10
+ import "./chunk-SAG2CV6H.js";
11
+ import "./chunk-3YVOWCAB.js";
12
+ import "./chunk-ILM53PNV.js";
13
+ import "./chunk-3KAQDHXL.js";
14
14
  import "./chunk-A7I6K5HC.js";
15
15
  import {
16
16
  init_esm_shims
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk6LRS4DYXcjs = require('./chunk-6LRS4DYX.cjs');
4
- require('./chunk-4UCSWAYL.cjs');
5
- require('./chunk-HBIJ4J5R.cjs');
3
+ var _chunk6L3YNXKRcjs = require('./chunk-6L3YNXKR.cjs');
4
+ require('./chunk-2JMFLXH3.cjs');
5
+ require('./chunk-VMF7XRRH.cjs');
6
6
  require('./chunk-REAX6FSO.cjs');
7
7
  require('./chunk-4ICWACJM.cjs');
8
8
 
9
9
 
10
- exports.generatePackageJson = _chunk6LRS4DYXcjs.generatePackageJson;
10
+ exports.generatePackageJson = _chunk6L3YNXKRcjs.generatePackageJson;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  generatePackageJson
3
- } from "./chunk-LVJIYUGI.js";
4
- import "./chunk-AJHP5LOA.js";
5
- import "./chunk-G5UIJPDD.js";
3
+ } from "./chunk-SAG2CV6H.js";
4
+ import "./chunk-3YVOWCAB.js";
5
+ import "./chunk-3KAQDHXL.js";
6
6
  import "./chunk-A7I6K5HC.js";
7
7
  import "./chunk-GL7N7ANS.js";
8
8
  export {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk24MAAJ23cjs = require('../chunk-24MAAJ23.cjs');
4
- require('../chunk-HBIJ4J5R.cjs');
3
+ var _chunkF2NJ73NZcjs = require('../chunk-F2NJ73NZ.cjs');
4
+ require('../chunk-VMF7XRRH.cjs');
5
5
  require('../chunk-REAX6FSO.cjs');
6
6
  require('../chunk-4ICWACJM.cjs');
7
7
 
8
8
 
9
- exports.depsCheckPlugin = _chunk24MAAJ23cjs.depsCheckPlugin;
9
+ exports.depsCheckPlugin = _chunkF2NJ73NZcjs.depsCheckPlugin;