@storm-software/esbuild 0.31.18 → 0.31.19

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
@@ -3,7 +3,7 @@
3
3
  <!-- markdownlint-disable -->
4
4
 
5
5
 
6
- <div align="center"><img src="https://pub-761b436209f44a4d886487c917806c08.r2.dev/storm-banner.gif" width="100%" alt="Storm Software" /></div>
6
+ <div align="center"><img src="https://public.storm-cdn.com/storm-banner.gif" width="100%" alt="Storm Software" /></div>
7
7
  <br />
8
8
 
9
9
  <div align="center">
@@ -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.31.17-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.31.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)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -33,7 +33,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
33
33
  <!-- prettier-ignore-end -->
34
34
 
35
35
  <div align="center">
36
- <b>Be sure to ⭐ this repository on <a href="https://github.com/storm-software/storm-ops" target="_blank">GitHub</a> so you can keep up to date on any daily progress!</b>
36
+ <b>Be sure to ⭐ this <a href="https://github.com/storm-software/storm-ops" target="_blank">repository on GitHub</a> so you can keep up to date on any daily progress!</b>
37
37
  </div>
38
38
 
39
39
  <br />
@@ -226,7 +226,7 @@ specification. Contributions of any kind welcome!
226
226
  <br />
227
227
 
228
228
  <div align="center">
229
- <img src="https://pub-761b436209f44a4d886487c917806c08.r2.dev/logo-banner.png" width="100%" alt="Storm Software" />
229
+ <img src="https://public.storm-cdn.com/brand-banner.png" width="100%" alt="Storm Software" />
230
230
  </div>
231
231
  <br />
232
232
 
@@ -235,7 +235,7 @@ specification. Contributions of any kind welcome!
235
235
  </div>
236
236
 
237
237
  <div align="center">
238
- <b>Fingerprint:</b> 1BD2 7192 7770 2549 F4C9 F238 E6AD C420 DA5C 4C2D
238
+ <b>Fingerprint:</b> F47F 1853 BCAD DE9B 42C8 6316 9FDE EC95 47FE D106
239
239
  </div>
240
240
  <br />
241
241
 
@@ -258,9 +258,9 @@ channel!
258
258
 
259
259
  <br />
260
260
 
261
- <div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://pub-761b436209f44a4d886487c917806c08.r2.dev/icon-fill.png" alt="Storm Software" width="200px"/></a></div>
261
+ <div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/icon-fill.png" alt="Storm Software" width="200px"/></a></div>
262
262
  <br />
263
- <div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://pub-761b436209f44a4d886487c917806c08.r2.dev/visit-us-text.svg" alt="Visit us at stormsoftware.com" height="90px"/></a></div>
263
+ <div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/visit-us-text.svg" alt="Visit us at stormsoftware.com" height="90px"/></a></div>
264
264
 
265
265
  <br />
266
266
 
package/dist/build.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkJ7UVXBZRcjs = require('./chunk-J7UVXBZR.cjs');
5
- require('./chunk-5OVF7G64.cjs');
6
- require('./chunk-CWE2DVRL.cjs');
4
+ var _chunkKWCU6MTGcjs = require('./chunk-KWCU6MTG.cjs');
5
+ require('./chunk-ATQXZL2N.cjs');
6
+ require('./chunk-AGWKKDSC.cjs');
7
7
  require('./chunk-S6M44SSZ.cjs');
8
8
  require('./chunk-WRBUO7H6.cjs');
9
- require('./chunk-BLWAYYW3.cjs');
9
+ require('./chunk-UONT522M.cjs');
10
10
  require('./chunk-SSEYS7LI.cjs');
11
- require('./chunk-27CI4FOR.cjs');
12
- require('./chunk-HGSRUTIH.cjs');
13
- require('./chunk-4DMUOH4Z.cjs');
11
+ require('./chunk-YK3LK2JZ.cjs');
12
+ require('./chunk-FY4GMRVA.cjs');
13
+ require('./chunk-IQNPH4CN.cjs');
14
14
  require('./chunk-XITTOHOG.cjs');
15
15
  require('./chunk-CGFDQ5AJ.cjs');
16
16
  require('./chunk-EZGTDCYM.cjs');
@@ -18,4 +18,4 @@ require('./chunk-BGYQAVKQ.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.build = _chunkJ7UVXBZRcjs.build; exports.cleanOutputPath = _chunkJ7UVXBZRcjs.cleanOutputPath;
21
+ exports.build = _chunkKWCU6MTGcjs.build; exports.cleanOutputPath = _chunkKWCU6MTGcjs.cleanOutputPath;
package/dist/build.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-K5P4LJKO.js";
5
- import "./chunk-MQOPCGJB.js";
6
- import "./chunk-XKWAVCXW.js";
4
+ } from "./chunk-GQSWMSGM.js";
5
+ import "./chunk-QJ5VE3PG.js";
6
+ import "./chunk-YUFST2S3.js";
7
7
  import "./chunk-T5272PC2.js";
8
8
  import "./chunk-LYDEMC26.js";
9
- import "./chunk-BBZUTQQO.js";
9
+ import "./chunk-MP6USOJU.js";
10
10
  import "./chunk-Q3LOGZKI.js";
11
- import "./chunk-RBERCPFK.js";
12
- import "./chunk-KDIEZDDV.js";
13
- import "./chunk-VILSJXYM.js";
11
+ import "./chunk-NR55GSOK.js";
12
+ import "./chunk-ILLWUPTW.js";
13
+ import "./chunk-SGTMRJLZ.js";
14
14
  import "./chunk-YMTDVMD6.js";
15
15
  import "./chunk-YNQ45EAM.js";
16
16
  import "./chunk-GWG4HOQ6.js";
@@ -6,13 +6,13 @@ var _chunkS6M44SSZcjs = require('./chunk-S6M44SSZ.cjs');
6
6
  var _chunkWRBUO7H6cjs = require('./chunk-WRBUO7H6.cjs');
7
7
 
8
8
 
9
- var _chunkBLWAYYW3cjs = require('./chunk-BLWAYYW3.cjs');
9
+ var _chunkUONT522Mcjs = require('./chunk-UONT522M.cjs');
10
10
 
11
11
 
12
12
  var _chunkSSEYS7LIcjs = require('./chunk-SSEYS7LI.cjs');
13
13
 
14
14
 
15
- var _chunk27CI4FORcjs = require('./chunk-27CI4FOR.cjs');
15
+ var _chunkYK3LK2JZcjs = require('./chunk-YK3LK2JZ.cjs');
16
16
 
17
17
 
18
18
 
@@ -28,7 +28,7 @@ var _chunk27CI4FORcjs = require('./chunk-27CI4FOR.cjs');
28
28
 
29
29
 
30
30
 
31
- var _chunk4DMUOH4Zcjs = require('./chunk-4DMUOH4Z.cjs');
31
+ var _chunkIQNPH4CNcjs = require('./chunk-IQNPH4CN.cjs');
32
32
 
33
33
 
34
34
 
@@ -97,7 +97,7 @@ var copyAssets = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (co
97
97
  output: "src/"
98
98
  });
99
99
  }
100
- _chunk4DMUOH4Zcjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
100
+ _chunkIQNPH4CNcjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
101
101
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkXITTOHOGcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
102
102
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
103
103
  projectDir: projectRoot,
@@ -107,7 +107,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
107
107
  });
108
108
  await assetHandler.processAllAssetsOnce();
109
109
  if (includeSrc === true) {
110
- _chunk4DMUOH4Zcjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXITTOHOGcjs.joinPaths.call(void 0, outputPath, "src")}`, config);
110
+ _chunkIQNPH4CNcjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXITTOHOGcjs.joinPaths.call(void 0, outputPath, "src")}`, config);
111
111
  const files = await _glob.glob.call(void 0, [
112
112
  _chunkXITTOHOGcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
113
113
  _chunkXITTOHOGcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
@@ -146,7 +146,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
146
146
  }
147
147
  }
148
148
  if (localPackages.length > 0) {
149
- _chunk4DMUOH4Zcjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
149
+ _chunkIQNPH4CNcjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
150
150
  const projectJsonFile = await _promises.readFile.call(void 0, _chunkXITTOHOGcjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
151
151
  const projectJson = JSON.parse(projectJsonFile);
152
152
  const projectName2 = projectJson.name;
@@ -180,12 +180,12 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
180
180
  return ret;
181
181
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
182
182
  } else {
183
- _chunk4DMUOH4Zcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
183
+ _chunkIQNPH4CNcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
184
184
  }
185
185
  return packageJson;
186
186
  }, "addPackageDependencies");
187
187
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
188
- const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk4DMUOH4Zcjs.findWorkspaceRoot.call(void 0, );
188
+ const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkIQNPH4CNcjs.findWorkspaceRoot.call(void 0, );
189
189
  const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkXITTOHOGcjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
190
190
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
191
191
  packageJson.type ??= "module";
@@ -234,7 +234,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
234
234
  var _c12 = require('c12');
235
235
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
236
236
  var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
237
- const workspacePath = filePath || _chunk4DMUOH4Zcjs.findWorkspaceRoot.call(void 0, filePath);
237
+ const workspacePath = filePath || _chunkIQNPH4CNcjs.findWorkspaceRoot.call(void 0, filePath);
238
238
  const configs = await Promise.all([
239
239
  _c12.loadConfig.call(void 0, {
240
240
  cwd: workspacePath,
@@ -263,12 +263,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
263
263
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
264
264
  }, "getConfigFileByName");
265
265
  var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
266
- const workspacePath = filePath ? filePath : _chunk4DMUOH4Zcjs.findWorkspaceRoot.call(void 0, filePath);
266
+ const workspacePath = filePath ? filePath : _chunkIQNPH4CNcjs.findWorkspaceRoot.call(void 0, filePath);
267
267
  const result = await getConfigFileByName("storm-workspace", workspacePath);
268
268
  let config = result.config;
269
269
  const configFile = result.configFile;
270
270
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
271
- _chunk4DMUOH4Zcjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
271
+ _chunkIQNPH4CNcjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
272
272
  logLevel: "all"
273
273
  });
274
274
  }
@@ -277,7 +277,7 @@ var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
277
277
  for (const result2 of results) {
278
278
  if (_optionalChain([result2, 'optionalAccess', _24 => _24.config]) && _optionalChain([result2, 'optionalAccess', _25 => _25.configFile]) && Object.keys(result2.config).length > 0) {
279
279
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
280
- _chunk4DMUOH4Zcjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
280
+ _chunkIQNPH4CNcjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
281
281
  logLevel: "all"
282
282
  });
283
283
  }
@@ -322,12 +322,21 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
322
322
  header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
323
323
  footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
324
324
  },
325
+ account: {
326
+ twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
327
+ discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
328
+ telegram: process.env[`${prefix}ACCOUNT_TELEGRAM`] || void 0,
329
+ slack: process.env[`${prefix}ACCOUNT_SLACK`] || void 0,
330
+ medium: process.env[`${prefix}ACCOUNT_MEDIUM`] || void 0,
331
+ github: process.env[`${prefix}ACCOUNT_GITHUB`] || void 0
332
+ },
325
333
  organization: process.env[`${prefix}ORGANIZATION`] || void 0,
326
334
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
327
335
  license: process.env[`${prefix}LICENSE`] || void 0,
328
336
  homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
329
337
  docs: process.env[`${prefix}DOCS`] || void 0,
330
338
  licensing: process.env[`${prefix}LICENSING`] || void 0,
339
+ contact: process.env[`${prefix}CONTACT`] || void 0,
331
340
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
332
341
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
333
342
  configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkXITTOHOGcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
@@ -361,24 +370,24 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
361
370
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
362
371
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
363
372
  },
364
- logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunk4DMUOH4Zcjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
373
+ logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunkIQNPH4CNcjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
365
374
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
366
375
  };
367
- const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunk4DMUOH4Zcjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
376
+ const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkIQNPH4CNcjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
368
377
  config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
369
378
  ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
370
379
  return ret;
371
380
  }, {}) : getThemeColorConfigEnv(prefix);
372
- if (config.docs === _chunk4DMUOH4Zcjs.STORM_DEFAULT_DOCS) {
373
- if (config.homepage === _chunk4DMUOH4Zcjs.STORM_DEFAULT_HOMEPAGE) {
374
- config.docs = `${_chunk4DMUOH4Zcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
381
+ if (config.docs === _chunkIQNPH4CNcjs.STORM_DEFAULT_DOCS) {
382
+ if (config.homepage === _chunkIQNPH4CNcjs.STORM_DEFAULT_HOMEPAGE) {
383
+ config.docs = `${_chunkIQNPH4CNcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
375
384
  } else {
376
385
  config.docs = `${config.homepage}/docs`;
377
386
  }
378
387
  }
379
- if (config.licensing === _chunk4DMUOH4Zcjs.STORM_DEFAULT_LICENSING) {
380
- if (config.homepage === _chunk4DMUOH4Zcjs.STORM_DEFAULT_HOMEPAGE) {
381
- config.licensing = `${_chunk4DMUOH4Zcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
388
+ if (config.licensing === _chunkIQNPH4CNcjs.STORM_DEFAULT_LICENSING) {
389
+ if (config.homepage === _chunkIQNPH4CNcjs.STORM_DEFAULT_HOMEPAGE) {
390
+ config.licensing = `${_chunkIQNPH4CNcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
382
391
  } else {
383
392
  config.licensing = `${config.homepage}/docs`;
384
393
  }
@@ -491,6 +500,26 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
491
500
  process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
492
501
  process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
493
502
  }
503
+ if (config.account) {
504
+ if (config.account.twitter) {
505
+ process.env[`${prefix}ACCOUNT_TWITTER`] = config.account.twitter;
506
+ }
507
+ if (config.account.discord) {
508
+ process.env[`${prefix}ACCOUNT_DISCORD`] = config.account.discord;
509
+ }
510
+ if (config.account.telegram) {
511
+ process.env[`${prefix}ACCOUNT_TELEGRAM`] = config.account.telegram;
512
+ }
513
+ if (config.account.slack) {
514
+ process.env[`${prefix}ACCOUNT_SLACK`] = config.account.slack;
515
+ }
516
+ if (config.account.medium) {
517
+ process.env[`${prefix}ACCOUNT_MEDIUM`] = config.account.medium;
518
+ }
519
+ if (config.account.github) {
520
+ process.env[`${prefix}ACCOUNT_GITHUB`] = config.account.github;
521
+ }
522
+ }
494
523
  if (config.organization) {
495
524
  process.env[`${prefix}ORGANIZATION`] = config.organization;
496
525
  }
@@ -509,6 +538,9 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
509
538
  if (config.licensing) {
510
539
  process.env[`${prefix}LICENSING`] = config.licensing;
511
540
  }
541
+ if (config.contact) {
542
+ process.env[`${prefix}CONTACT`] = config.contact;
543
+ }
512
544
  if (config.timezone) {
513
545
  process.env[`${prefix}TIMEZONE`] = config.timezone;
514
546
  process.env.TZ = config.timezone;
@@ -599,8 +631,8 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
599
631
  if (config.logLevel) {
600
632
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
601
633
  process.env.LOG_LEVEL = String(config.logLevel);
602
- process.env.NX_VERBOSE_LOGGING = String(_chunk4DMUOH4Zcjs.getLogLevel.call(void 0, config.logLevel) >= _chunk4DMUOH4Zcjs.LogLevel.DEBUG ? true : false);
603
- process.env.RUST_BACKTRACE = _chunk4DMUOH4Zcjs.getLogLevel.call(void 0, config.logLevel) >= _chunk4DMUOH4Zcjs.LogLevel.DEBUG ? "full" : "none";
634
+ process.env.NX_VERBOSE_LOGGING = String(_chunkIQNPH4CNcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkIQNPH4CNcjs.LogLevel.DEBUG ? true : false);
635
+ process.env.RUST_BACKTRACE = _chunkIQNPH4CNcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkIQNPH4CNcjs.LogLevel.DEBUG ? "full" : "none";
604
636
  }
605
637
  if (config.skipConfigLogging !== void 0) {
606
638
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
@@ -718,17 +750,17 @@ var createStormConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, as
718
750
  if (!_optionalChain([_static_cache, 'optionalAccess', _48 => _48.data]) || !_optionalChain([_static_cache, 'optionalAccess', _49 => _49.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
719
751
  let _workspaceRoot = workspaceRoot;
720
752
  if (!_workspaceRoot) {
721
- _workspaceRoot = _chunk4DMUOH4Zcjs.findWorkspaceRoot.call(void 0, );
753
+ _workspaceRoot = _chunkIQNPH4CNcjs.findWorkspaceRoot.call(void 0, );
722
754
  }
723
755
  const configEnv = getConfigEnv();
724
- const defaultConfig = await _chunk4DMUOH4Zcjs.getDefaultConfig.call(void 0, _workspaceRoot);
756
+ const defaultConfig = await _chunkIQNPH4CNcjs.getDefaultConfig.call(void 0, _workspaceRoot);
725
757
  const configFile = await getConfigFile(_workspaceRoot);
726
758
  if (!configFile && !skipLogs) {
727
- _chunk4DMUOH4Zcjs.writeWarning.call(void 0, "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
759
+ _chunkIQNPH4CNcjs.writeWarning.call(void 0, "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
728
760
  logLevel: "all"
729
761
  });
730
762
  }
731
- result = await _chunk4DMUOH4Zcjs.StormConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
763
+ result = await _chunkIQNPH4CNcjs.StormConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
732
764
  result.workspaceRoot ??= _workspaceRoot;
733
765
  } else {
734
766
  result = _static_cache.data;
@@ -763,8 +795,8 @@ var loadStormConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, asyn
763
795
  const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
764
796
  setConfigEnv(config);
765
797
  if (!skipLogs && !config.skipConfigLogging) {
766
- _chunk4DMUOH4Zcjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm Workspace configuration:
767
- ${_chunk4DMUOH4Zcjs.formatLogMessage.call(void 0, config)}`, config);
798
+ _chunkIQNPH4CNcjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm Workspace configuration:
799
+ ${_chunkIQNPH4CNcjs.formatLogMessage.call(void 0, config)}`, config);
768
800
  }
769
801
  return config;
770
802
  }, "loadStormConfig");
@@ -777,7 +809,7 @@ var getConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (workspace
777
809
  // ../build-tools/src/utilities/get-entry-points.ts
778
810
 
779
811
  var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
780
- const workspaceRoot = config.workspaceRoot || _chunk4DMUOH4Zcjs.findWorkspaceRoot.call(void 0, );
812
+ const workspaceRoot = config.workspaceRoot || _chunkIQNPH4CNcjs.findWorkspaceRoot.call(void 0, );
781
813
  const entryPoints = [];
782
814
  if (entry) {
783
815
  if (typeof entry === "string") {
@@ -803,7 +835,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
803
835
  paths.push(...files.reduce((ret, filePath) => {
804
836
  const result = _chunkXITTOHOGcjs.correctPaths.call(void 0, _chunkXITTOHOGcjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, projectRoot), ""));
805
837
  if (result) {
806
- _chunk4DMUOH4Zcjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXITTOHOGcjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
838
+ _chunkIQNPH4CNcjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXITTOHOGcjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
807
839
  if (!paths.includes(result)) {
808
840
  paths.push(result);
809
841
  }
@@ -853,8 +885,8 @@ var getDefaultBuildPlugins = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
853
885
  _chunkEZGTDCYMcjs.fixImportsPlugin.call(void 0, options, resolvedOptions),
854
886
  _chunkS6M44SSZcjs.nativeNodeModulesPlugin.call(void 0, options, resolvedOptions),
855
887
  _chunkCGFDQ5AJcjs.esmSplitCodeToCjsPlugin.call(void 0, options, resolvedOptions),
856
- _chunk27CI4FORcjs.tscPlugin.call(void 0, options, resolvedOptions),
857
- _chunkBLWAYYW3cjs.onErrorPlugin.call(void 0, options, resolvedOptions)
888
+ _chunkYK3LK2JZcjs.tscPlugin.call(void 0, options, resolvedOptions),
889
+ _chunkUONT522Mcjs.onErrorPlugin.call(void 0, options, resolvedOptions)
858
890
  ], "getDefaultBuildPlugins");
859
891
  var DEFAULT_BUILD_OPTIONS = {
860
892
  platform: "node",
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk4DMUOH4Zcjs = require('./chunk-4DMUOH4Z.cjs');
4
+ var _chunkIQNPH4CNcjs = require('./chunk-IQNPH4CN.cjs');
5
5
 
6
6
 
7
7
  var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
@@ -9,8 +9,8 @@ var _chunkBGYQAVKQcjs = require('./chunk-BGYQAVKQ.cjs');
9
9
  // src/clean.ts
10
10
  var _promises = require('fs/promises');
11
11
  async function clean(name = "ESBuild", directory, config) {
12
- _chunk4DMUOH4Zcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
13
- const stopwatch = _chunk4DMUOH4Zcjs.getStopwatch.call(void 0, `${name} output clean`);
12
+ _chunkIQNPH4CNcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
13
+ const stopwatch = _chunkIQNPH4CNcjs.getStopwatch.call(void 0, `${name} output clean`);
14
14
  await cleanDirectories(name, directory, config);
15
15
  stopwatch();
16
16
  }
@@ -1,7 +1,7 @@
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(); } }
2
2
 
3
3
 
4
- var _chunk4DMUOH4Zcjs = require('./chunk-4DMUOH4Z.cjs');
4
+ var _chunkIQNPH4CNcjs = require('./chunk-IQNPH4CN.cjs');
5
5
 
6
6
 
7
7
 
@@ -86,8 +86,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (bun
86
86
  const filteredMissingDeps = missingDependencies.filter((dep) => {
87
87
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
88
88
  });
89
- _chunk4DMUOH4Zcjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
90
- _chunk4DMUOH4Zcjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
89
+ _chunkIQNPH4CNcjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
90
+ _chunkIQNPH4CNcjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
91
91
  if (filteredMissingDeps.length > 0) {
92
92
  throw new Error(`Missing dependencies detected - please install them:
93
93
  ${JSON.stringify(filteredMissingDeps)}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cleanDirectories
3
- } from "./chunk-MQOPCGJB.js";
3
+ } from "./chunk-QJ5VE3PG.js";
4
4
  import {
5
5
  DEFAULT_BUILD_OPTIONS,
6
6
  DEFAULT_COMPILED_BANNER,
@@ -12,10 +12,10 @@ import {
12
12
  getDefaultBuildPlugins,
13
13
  getEntryPoints,
14
14
  getEnv
15
- } from "./chunk-XKWAVCXW.js";
15
+ } from "./chunk-YUFST2S3.js";
16
16
  import {
17
17
  depsCheckPlugin
18
- } from "./chunk-KDIEZDDV.js";
18
+ } from "./chunk-ILLWUPTW.js";
19
19
  import {
20
20
  formatLogMessage,
21
21
  getStopwatch,
@@ -26,7 +26,7 @@ import {
26
26
  writeSuccess,
27
27
  writeTrace,
28
28
  writeWarning
29
- } from "./chunk-VILSJXYM.js";
29
+ } from "./chunk-SGTMRJLZ.js";
30
30
  import {
31
31
  joinPaths
32
32
  } from "./chunk-YMTDVMD6.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeError,
3
3
  writeWarning
4
- } from "./chunk-VILSJXYM.js";
4
+ } from "./chunk-SGTMRJLZ.js";
5
5
  import {
6
6
  __name,
7
7
  __require
@@ -88,15 +88,22 @@ var isVerbose = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (label = L
88
88
  // ../config/src/constants.ts
89
89
  var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
90
90
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
91
+ var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
91
92
  var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
92
93
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
93
- var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/logo-banner.png";
94
+ var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
95
+ var STORM_DEFAULT_ACCOUNT_TWITTER = "StormSoftwareHQ";
96
+ var STORM_DEFAULT_ACCOUNT_DISCORD = "https://discord.gg/MQ6YVzakM5";
97
+ var STORM_DEFAULT_ACCOUNT_TELEGRAM = "https://t.me/storm_software";
98
+ var STORM_DEFAULT_ACCOUNT_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
99
+ var STORM_DEFAULT_ACCOUNT_MEDIUM = "https://medium.com/storm-software";
100
+ var STORM_DEFAULT_ACCOUNT_GITHUB = "https://github.com/storm-software";
94
101
  var STORM_DEFAULT_RELEASE_FOOTER = `
95
- [Storm Software](https://stormsoftware.com) is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
102
+ Storm Software is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
96
103
 
97
- Join us on [Discord](https://discord.gg/MQ6YVzakM5) to chat with the team, receive release notifications, ask questions, and get involved.
104
+ Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, receive release notifications, ask questions, and get involved.
98
105
 
99
- If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](https://stormsoftware.com/contact) or join our [Slack](https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA) channel!
106
+ If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_ACCOUNT_SLACK}) channel!
100
107
  `;
101
108
 
102
109
  // ../config/src/schema.ts
@@ -193,6 +200,14 @@ var WorkspaceReleaseConfigSchema = _zod2.default.object({
193
200
  header: _zod2.default.string().trim().optional().describe("A header message appended to the start of the workspace's release notes"),
194
201
  footer: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe("A footer message appended to the end of the workspace's release notes")
195
202
  }).describe("The workspace's release config used during the release process");
203
+ var WorkspaceAccountConfigSchema = _zod2.default.object({
204
+ twitter: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
205
+ discord: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
206
+ telegram: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
207
+ slack: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
208
+ medium: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
209
+ github: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
210
+ }).describe("The workspace's account config used to store various social media links");
196
211
  var WorkspaceDirectoryConfigSchema = _zod2.default.object({
197
212
  cache: _zod2.default.string().trim().optional().describe("The directory used to store the environment's cached file data"),
198
213
  data: _zod2.default.string().trim().optional().describe("The directory used to store the environment's data files"),
@@ -212,11 +227,13 @@ var StormConfigSchema = _zod2.default.object({
212
227
  homepage: _zod2.default.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
213
228
  docs: _zod2.default.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
214
229
  licensing: _zod2.default.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
230
+ contact: _zod2.default.string().trim().url().default(STORM_DEFAULT_CONTACT).describe("The base contact site for the workspace"),
215
231
  branch: _zod2.default.string().trim().default("main").describe("The branch of the workspace"),
216
232
  preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
217
233
  owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
218
234
  bot: WorkspaceBotConfigSchema,
219
235
  release: WorkspaceReleaseConfigSchema,
236
+ account: WorkspaceAccountConfigSchema,
220
237
  mode: _zod2.default.enum([
221
238
  "development",
222
239
  "staging",