@storm-software/tsdown 0.34.8 → 0.34.9

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.34.6-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.34.8-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/dist/build.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkGBBMOENPcjs = require('./chunk-GBBMOENP.cjs');
5
- require('./chunk-IUFIA7M2.cjs');
4
+ var _chunkU3GMSWMPcjs = require('./chunk-U3GMSWMP.cjs');
5
+ require('./chunk-R4BSL44E.cjs');
6
6
  require('./chunk-65E5RX7I.cjs');
7
7
 
8
8
 
9
9
 
10
- exports.build = _chunkGBBMOENPcjs.build; exports.cleanOutputPath = _chunkGBBMOENPcjs.cleanOutputPath;
10
+ exports.build = _chunkU3GMSWMPcjs.build; exports.cleanOutputPath = _chunkU3GMSWMPcjs.cleanOutputPath;
package/dist/build.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-IUBNNUNA.js";
5
- import "./chunk-J4T3BYOA.js";
4
+ } from "./chunk-2UL3A4FS.js";
5
+ import "./chunk-ODTVCKYT.js";
6
6
  import "./chunk-2YE3GBQH.js";
7
7
  export {
8
8
  build,
@@ -4,13 +4,14 @@ import {
4
4
  STORM_DEFAULT_DOCS,
5
5
  STORM_DEFAULT_HOMEPAGE,
6
6
  STORM_DEFAULT_LICENSING,
7
+ applyDefaultConfig,
7
8
  cleanDirectories,
8
9
  correctPaths,
9
10
  findWorkspaceRoot,
10
11
  formatLogMessage,
11
- getDefaultConfig,
12
12
  getLogLevel,
13
13
  getLogLevelLabel,
14
+ getPackageJsonConfig,
14
15
  getStopwatch,
15
16
  isVerbose,
16
17
  joinPaths,
@@ -20,7 +21,7 @@ import {
20
21
  writeSuccess,
21
22
  writeTrace,
22
23
  writeWarning
23
- } from "./chunk-J4T3BYOA.js";
24
+ } from "./chunk-ODTVCKYT.js";
24
25
  import {
25
26
  DEFAULT_BUILD_OPTIONS
26
27
  } from "./chunk-2YE3GBQH.js";
@@ -421,6 +422,7 @@ var getConfigEnv = () => {
421
422
  docs: process.env[`${prefix}DOCS`] || void 0,
422
423
  licensing: process.env[`${prefix}LICENSING`] || void 0,
423
424
  contact: process.env[`${prefix}CONTACT`] || void 0,
425
+ support: process.env[`${prefix}SUPPORT`] || void 0,
424
426
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
425
427
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
426
428
  configFile: process.env[`${prefix}CONFIG_FILE`] ? correctPaths(process.env[`${prefix}CONFIG_FILE`]) : void 0,
@@ -639,6 +641,9 @@ var setConfigEnv = (config) => {
639
641
  if (config.contact) {
640
642
  process.env[`${prefix}CONTACT`] = config.contact;
641
643
  }
644
+ if (config.support) {
645
+ process.env[`${prefix}SUPPORT`] = config.support;
646
+ }
642
647
  if (config.timezone) {
643
648
  process.env[`${prefix}TIMEZONE`] = config.timezone;
644
649
  process.env.TZ = config.timezone;
@@ -888,9 +893,11 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
888
893
  return void 0;
889
894
  }
890
895
  }
891
- const defaultConfig = await getDefaultConfig(_workspaceRoot);
892
- result = await stormWorkspaceConfigSchema.parseAsync(
893
- defu2(configEnv, configFile, defaultConfig)
896
+ const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
897
+ result = applyDefaultConfig(
898
+ await stormWorkspaceConfigSchema.parseAsync(
899
+ defu2(configEnv, configFile, defaultConfig)
900
+ )
894
901
  );
895
902
  result.workspaceRoot ??= _workspaceRoot;
896
903
  } else {
@@ -23,10 +23,10 @@ var LogLevelLabel = {
23
23
  };
24
24
 
25
25
  // ../config/src/constants.ts
26
- var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
26
+ var STORM_DEFAULT_DOCS = "https://stormsoftware.com/docs";
27
27
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
28
28
  var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
29
- var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
29
+ var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
30
30
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
31
31
  var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
32
32
  var STORM_DEFAULT_ACCOUNT_TWITTER = "StormSoftwareHQ";
@@ -200,10 +200,13 @@ var stormWorkspaceConfigSchema = z.object({
200
200
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
201
201
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
202
202
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
203
- homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
204
- docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
205
- licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
206
- contact: z.string().trim().url().default(STORM_DEFAULT_CONTACT).describe("The base contact site for the workspace"),
203
+ homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
204
+ docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
205
+ licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
206
+ contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
207
+ support: z.string().trim().url().optional().describe(
208
+ "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
209
+ ),
207
210
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
208
211
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
209
212
  owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
@@ -524,9 +527,10 @@ var DEFAULT_COLOR_CONFIG = {
524
527
  negative: "#dc2626"
525
528
  }
526
529
  };
527
- var getDefaultConfig = async (root) => {
530
+ async function getPackageJsonConfig(root) {
528
531
  let license = STORM_DEFAULT_LICENSE;
529
- let homepage = STORM_DEFAULT_HOMEPAGE;
532
+ let homepage = void 0;
533
+ let support = void 0;
530
534
  let name = void 0;
531
535
  let namespace = void 0;
532
536
  let repository = void 0;
@@ -557,6 +561,13 @@ var getDefaultConfig = async (root) => {
557
561
  if (packageJson.homepage) {
558
562
  homepage = packageJson.homepage;
559
563
  }
564
+ if (packageJson.bugs) {
565
+ if (typeof packageJson.bugs === "string") {
566
+ support = packageJson.bugs;
567
+ } else if (packageJson.bugs.url) {
568
+ support = packageJson.bugs.url;
569
+ }
570
+ }
560
571
  }
561
572
  }
562
573
  return {
@@ -566,13 +577,38 @@ var getDefaultConfig = async (root) => {
566
577
  repository,
567
578
  license,
568
579
  homepage,
569
- docs: `${homepage || STORM_DEFAULT_HOMEPAGE}/docs`,
570
- licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
571
- error: {
572
- url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
573
- }
580
+ support
574
581
  };
575
- };
582
+ }
583
+ function applyDefaultConfig(config) {
584
+ if (!config.support && config.contact) {
585
+ config.support = config.contact;
586
+ }
587
+ if (!config.contact && config.support) {
588
+ config.contact = config.support;
589
+ }
590
+ if (config.homepage) {
591
+ if (!config.docs) {
592
+ config.docs = `${config.homepage}/docs`;
593
+ }
594
+ if (!config.license) {
595
+ config.license = `${config.homepage}/license`;
596
+ }
597
+ if (!config.support) {
598
+ config.support = `${config.homepage}/support`;
599
+ }
600
+ if (!config.contact) {
601
+ config.contact = `${config.homepage}/contact`;
602
+ }
603
+ if (!config.error?.codesFile || !config?.error?.url) {
604
+ config.error ??= { codesFile: STORM_DEFAULT_ERROR_CODES_FILE };
605
+ if (config.homepage) {
606
+ config.error.url ??= `${config.homepage}/errors`;
607
+ }
608
+ }
609
+ }
610
+ return config;
611
+ }
576
612
 
577
613
  // ../config-tools/src/logger/chalk.ts
578
614
  import chalk from "chalk";
@@ -831,7 +867,8 @@ export {
831
867
  correctPaths,
832
868
  joinPaths,
833
869
  findWorkspaceRoot,
834
- getDefaultConfig,
870
+ getPackageJsonConfig,
871
+ applyDefaultConfig,
835
872
  getLogLevel,
836
873
  getLogLevelLabel,
837
874
  isVerbose,
@@ -23,10 +23,10 @@ var LogLevelLabel = {
23
23
  };
24
24
 
25
25
  // ../config/src/constants.ts
26
- var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
26
+ var STORM_DEFAULT_DOCS = "https://stormsoftware.com/docs";
27
27
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
28
28
  var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
29
- var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
29
+ var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
30
30
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
31
31
  var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
32
32
  var STORM_DEFAULT_ACCOUNT_TWITTER = "StormSoftwareHQ";
@@ -200,10 +200,13 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
200
200
  organization: _zod2.default.string().trim().default("storm-software").describe("The organization of the workspace"),
201
201
  repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
202
202
  license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
203
- homepage: _zod2.default.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
204
- docs: _zod2.default.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
205
- licensing: _zod2.default.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
206
- contact: _zod2.default.string().trim().url().default(STORM_DEFAULT_CONTACT).describe("The base contact site for the workspace"),
203
+ homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
204
+ docs: _zod2.default.string().trim().url().optional().describe("The documentation site for the workspace"),
205
+ licensing: _zod2.default.string().trim().url().optional().describe("The licensing site for the workspace"),
206
+ contact: _zod2.default.string().trim().url().optional().describe("The contact site for the workspace"),
207
+ support: _zod2.default.string().trim().url().optional().describe(
208
+ "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
209
+ ),
207
210
  branch: _zod2.default.string().trim().default("main").describe("The branch of the workspace"),
208
211
  preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
209
212
  owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
@@ -524,9 +527,10 @@ var DEFAULT_COLOR_CONFIG = {
524
527
  negative: "#dc2626"
525
528
  }
526
529
  };
527
- var getDefaultConfig = async (root) => {
530
+ async function getPackageJsonConfig(root) {
528
531
  let license = STORM_DEFAULT_LICENSE;
529
- let homepage = STORM_DEFAULT_HOMEPAGE;
532
+ let homepage = void 0;
533
+ let support = void 0;
530
534
  let name = void 0;
531
535
  let namespace = void 0;
532
536
  let repository = void 0;
@@ -557,6 +561,13 @@ var getDefaultConfig = async (root) => {
557
561
  if (packageJson.homepage) {
558
562
  homepage = packageJson.homepage;
559
563
  }
564
+ if (packageJson.bugs) {
565
+ if (typeof packageJson.bugs === "string") {
566
+ support = packageJson.bugs;
567
+ } else if (packageJson.bugs.url) {
568
+ support = packageJson.bugs.url;
569
+ }
570
+ }
560
571
  }
561
572
  }
562
573
  return {
@@ -566,13 +577,38 @@ var getDefaultConfig = async (root) => {
566
577
  repository,
567
578
  license,
568
579
  homepage,
569
- docs: `${homepage || STORM_DEFAULT_HOMEPAGE}/docs`,
570
- licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
571
- error: {
572
- url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
573
- }
580
+ support
574
581
  };
575
- };
582
+ }
583
+ function applyDefaultConfig(config) {
584
+ if (!config.support && config.contact) {
585
+ config.support = config.contact;
586
+ }
587
+ if (!config.contact && config.support) {
588
+ config.contact = config.support;
589
+ }
590
+ if (config.homepage) {
591
+ if (!config.docs) {
592
+ config.docs = `${config.homepage}/docs`;
593
+ }
594
+ if (!config.license) {
595
+ config.license = `${config.homepage}/license`;
596
+ }
597
+ if (!config.support) {
598
+ config.support = `${config.homepage}/support`;
599
+ }
600
+ if (!config.contact) {
601
+ config.contact = `${config.homepage}/contact`;
602
+ }
603
+ if (!_optionalChain([config, 'access', _2 => _2.error, 'optionalAccess', _3 => _3.codesFile]) || !_optionalChain([config, 'optionalAccess', _4 => _4.error, 'optionalAccess', _5 => _5.url])) {
604
+ config.error ??= { codesFile: STORM_DEFAULT_ERROR_CODES_FILE };
605
+ if (config.homepage) {
606
+ config.error.url ??= `${config.homepage}/errors`;
607
+ }
608
+ }
609
+ }
610
+ return config;
611
+ }
576
612
 
577
613
  // ../config-tools/src/logger/chalk.ts
578
614
  var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
@@ -597,7 +633,7 @@ var chalkDefault = {
597
633
  };
598
634
  var getChalk = () => {
599
635
  let _chalk = _chalk3.default;
600
- if (!_optionalChain([_chalk, 'optionalAccess', _2 => _2.hex]) || !_optionalChain([_chalk, 'optionalAccess', _3 => _3.bold, 'optionalAccess', _4 => _4.hex]) || !_optionalChain([_chalk, 'optionalAccess', _5 => _5.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _6 => _6.whiteBright])) {
636
+ if (!_optionalChain([_chalk, 'optionalAccess', _6 => _6.hex]) || !_optionalChain([_chalk, 'optionalAccess', _7 => _7.bold, 'optionalAccess', _8 => _8.hex]) || !_optionalChain([_chalk, 'optionalAccess', _9 => _9.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _10 => _10.whiteBright])) {
601
637
  _chalk = chalkDefault;
602
638
  }
603
639
  return _chalk;
@@ -689,7 +725,7 @@ var isVerbose = (label = LogLevelLabel.SILENT) => {
689
725
 
690
726
  // ../config-tools/src/logger/console.ts
691
727
  var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
692
- const colors = !_optionalChain([config, 'access', _7 => _7.colors, 'optionalAccess', _8 => _8.dark]) && !_optionalChain([config, 'access', _9 => _9.colors, 'optionalAccess', _10 => _10["base"]]) && !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12["base"], 'optionalAccess', _13 => _13.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"], 'optionalAccess', _18 => _18.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _19 => _19.colors, 'optionalAccess', _20 => _20["base"]]) ? _optionalChain([config, 'access', _21 => _21.colors, 'optionalAccess', _22 => _22["base"]]) : DEFAULT_COLOR_CONFIG;
728
+ const colors = !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12.dark]) && !_optionalChain([config, 'access', _13 => _13.colors, 'optionalAccess', _14 => _14["base"]]) && !_optionalChain([config, 'access', _15 => _15.colors, 'optionalAccess', _16 => _16["base"], 'optionalAccess', _17 => _17.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _18 => _18.colors, 'optionalAccess', _19 => _19.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _20 => _20.colors, 'optionalAccess', _21 => _21["base"], 'optionalAccess', _22 => _22.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _23 => _23.colors, 'optionalAccess', _24 => _24["base"]]) ? _optionalChain([config, 'access', _25 => _25.colors, 'optionalAccess', _26 => _26["base"]]) : DEFAULT_COLOR_CONFIG;
693
729
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
694
730
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
695
731
  return (_) => {
@@ -803,7 +839,7 @@ ${Object.keys(message).filter((key) => !skip.includes(key)).map(
803
839
  };
804
840
  var _isFunction = (value) => {
805
841
  try {
806
- return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _23 => _23.constructor]) && _optionalChain([value, 'optionalAccess', _24 => _24.call]) && _optionalChain([value, 'optionalAccess', _25 => _25.apply]));
842
+ return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _27 => _27.constructor]) && _optionalChain([value, 'optionalAccess', _28 => _28.call]) && _optionalChain([value, 'optionalAccess', _29 => _29.apply]));
807
843
  } catch (e) {
808
844
  return false;
809
845
  }
@@ -844,4 +880,5 @@ async function cleanDirectories(name = "TSDown", directory, config) {
844
880
 
845
881
 
846
882
 
847
- exports.LogLevel = LogLevel; exports.STORM_DEFAULT_DOCS = STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_HOMEPAGE = STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_LICENSING = STORM_DEFAULT_LICENSING; exports.stormWorkspaceConfigSchema = stormWorkspaceConfigSchema; exports.COLOR_KEYS = COLOR_KEYS; exports.correctPaths = correctPaths; exports.joinPaths = joinPaths; exports.findWorkspaceRoot = findWorkspaceRoot; exports.getDefaultConfig = getDefaultConfig; exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.isVerbose = isVerbose; exports.writeFatal = writeFatal; exports.writeWarning = writeWarning; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.clean = clean; exports.cleanDirectories = cleanDirectories;
883
+
884
+ exports.LogLevel = LogLevel; exports.STORM_DEFAULT_DOCS = STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_HOMEPAGE = STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_LICENSING = STORM_DEFAULT_LICENSING; exports.stormWorkspaceConfigSchema = stormWorkspaceConfigSchema; exports.COLOR_KEYS = COLOR_KEYS; exports.correctPaths = correctPaths; exports.joinPaths = joinPaths; exports.findWorkspaceRoot = findWorkspaceRoot; exports.getPackageJsonConfig = getPackageJsonConfig; exports.applyDefaultConfig = applyDefaultConfig; exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.isVerbose = isVerbose; exports.writeFatal = writeFatal; exports.writeWarning = writeWarning; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.clean = clean; exports.cleanDirectories = cleanDirectories;
@@ -20,7 +20,8 @@
20
20
 
21
21
 
22
22
 
23
- var _chunkIUFIA7M2cjs = require('./chunk-IUFIA7M2.cjs');
23
+
24
+ var _chunkR4BSL44Ecjs = require('./chunk-R4BSL44E.cjs');
24
25
 
25
26
 
26
27
  var _chunk65E5RX7Icjs = require('./chunk-65E5RX7I.cjs');
@@ -80,9 +81,9 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
80
81
  output: "src/"
81
82
  });
82
83
  }
83
- _chunkIUFIA7M2cjs.writeTrace.call(void 0,
84
+ _chunkR4BSL44Ecjs.writeTrace.call(void 0,
84
85
  `\u{1F4DD} Copying the following assets to the output directory:
85
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkIUFIA7M2cjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
86
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkR4BSL44Ecjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
86
87
  config
87
88
  );
88
89
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
@@ -93,18 +94,18 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
93
94
  });
94
95
  await assetHandler.processAllAssetsOnce();
95
96
  if (includeSrc === true) {
96
- _chunkIUFIA7M2cjs.writeDebug.call(void 0,
97
- `\u{1F4DD} Adding banner and writing source files: ${_chunkIUFIA7M2cjs.joinPaths.call(void 0,
97
+ _chunkR4BSL44Ecjs.writeDebug.call(void 0,
98
+ `\u{1F4DD} Adding banner and writing source files: ${_chunkR4BSL44Ecjs.joinPaths.call(void 0,
98
99
  outputPath,
99
100
  "src"
100
101
  )}`,
101
102
  config
102
103
  );
103
104
  const files = await _glob.glob.call(void 0, [
104
- _chunkIUFIA7M2cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
105
- _chunkIUFIA7M2cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
106
- _chunkIUFIA7M2cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
107
- _chunkIUFIA7M2cjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
105
+ _chunkR4BSL44Ecjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
106
+ _chunkR4BSL44Ecjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
107
+ _chunkR4BSL44Ecjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
108
+ _chunkR4BSL44Ecjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
108
109
  ]);
109
110
  await Promise.allSettled(
110
111
  files.map(
@@ -159,7 +160,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
159
160
  )) {
160
161
  const projectNode = project.node;
161
162
  if (projectNode.data.root) {
162
- const projectPackageJsonPath = _chunkIUFIA7M2cjs.joinPaths.call(void 0,
163
+ const projectPackageJsonPath = _chunkR4BSL44Ecjs.joinPaths.call(void 0,
163
164
  workspaceRoot,
164
165
  projectNode.data.root,
165
166
  "package.json"
@@ -177,11 +178,11 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
177
178
  }
178
179
  }
179
180
  if (localPackages.length > 0) {
180
- _chunkIUFIA7M2cjs.writeTrace.call(void 0,
181
+ _chunkR4BSL44Ecjs.writeTrace.call(void 0,
181
182
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
182
183
  );
183
184
  const projectJsonFile = await _promises.readFile.call(void 0,
184
- _chunkIUFIA7M2cjs.joinPaths.call(void 0, projectRoot, "project.json"),
185
+ _chunkR4BSL44Ecjs.joinPaths.call(void 0, projectRoot, "project.json"),
185
186
  "utf8"
186
187
  );
187
188
  const projectJson = JSON.parse(projectJsonFile);
@@ -194,7 +195,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
194
195
  }
195
196
  const implicitDependencies = _optionalChain([projectConfigurations, 'access', _9 => _9.projects, 'optionalAccess', _10 => _10[projectName2], 'access', _11 => _11.implicitDependencies, 'optionalAccess', _12 => _12.reduce, 'call', _13 => _13((ret, dep) => {
196
197
  if (_optionalChain([projectConfigurations, 'access', _14 => _14.projects, 'optionalAccess', _15 => _15[dep]])) {
197
- const depPackageJsonPath = _chunkIUFIA7M2cjs.joinPaths.call(void 0,
198
+ const depPackageJsonPath = _chunkR4BSL44Ecjs.joinPaths.call(void 0,
198
199
  workspaceRoot,
199
200
  projectConfigurations.projects[dep].root,
200
201
  "package.json"
@@ -225,14 +226,14 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
225
226
  return ret;
226
227
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
227
228
  } else {
228
- _chunkIUFIA7M2cjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
229
+ _chunkR4BSL44Ecjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
229
230
  }
230
231
  return packageJson;
231
232
  };
232
233
  var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
233
- const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkIUFIA7M2cjs.findWorkspaceRoot.call(void 0, );
234
+ const workspaceRoot = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkR4BSL44Ecjs.findWorkspaceRoot.call(void 0, );
234
235
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
235
- _chunkIUFIA7M2cjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
236
+ _chunkR4BSL44Ecjs.joinPaths.call(void 0, workspaceRoot, "package.json"),
236
237
  "utf8"
237
238
  );
238
239
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
@@ -243,7 +244,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
243
244
  if (distSrc.startsWith("/")) {
244
245
  distSrc = distSrc.substring(1);
245
246
  }
246
- packageJson.source ??= `${_chunkIUFIA7M2cjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
247
+ packageJson.source ??= `${_chunkR4BSL44Ecjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
247
248
  }
248
249
  packageJson.files ??= ["dist/**/*"];
249
250
  if (includeSrc === true && !packageJson.files.includes("src")) {
@@ -268,7 +269,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
268
269
  packageJson.contributors = [packageJson.author];
269
270
  }
270
271
  packageJson.repository ??= workspacePackageJson.repository;
271
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkIUFIA7M2cjs.joinPaths.call(void 0, "packages", projectName);
272
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkR4BSL44Ecjs.joinPaths.call(void 0, "packages", projectName);
272
273
  return packageJson;
273
274
  };
274
275
  var addPackageJsonExport = (file, type = "module", sourceRoot) => {
@@ -296,7 +297,7 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
296
297
  var _c12 = require('c12');
297
298
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
298
299
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
299
- const workspacePath = filePath || _chunkIUFIA7M2cjs.findWorkspaceRoot.call(void 0, filePath);
300
+ const workspacePath = filePath || _chunkR4BSL44Ecjs.findWorkspaceRoot.call(void 0, filePath);
300
301
  const configs = await Promise.all([
301
302
  _c12.loadConfig.call(void 0, {
302
303
  cwd: workspacePath,
@@ -305,7 +306,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
305
306
  envName: _optionalChain([fileName, 'optionalAccess', _24 => _24.toUpperCase, 'call', _25 => _25()]),
306
307
  jitiOptions: {
307
308
  debug: false,
308
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkIUFIA7M2cjs.joinPaths.call(void 0,
309
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkR4BSL44Ecjs.joinPaths.call(void 0,
309
310
  process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
310
311
  "jiti"
311
312
  )
@@ -319,7 +320,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
319
320
  envName: _optionalChain([fileName, 'optionalAccess', _26 => _26.toUpperCase, 'call', _27 => _27()]),
320
321
  jitiOptions: {
321
322
  debug: false,
322
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkIUFIA7M2cjs.joinPaths.call(void 0,
323
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkR4BSL44Ecjs.joinPaths.call(void 0,
323
324
  process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
324
325
  "jiti"
325
326
  )
@@ -331,12 +332,12 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
331
332
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
332
333
  };
333
334
  var getConfigFile = async (filePath, additionalFileNames = []) => {
334
- const workspacePath = filePath ? filePath : _chunkIUFIA7M2cjs.findWorkspaceRoot.call(void 0, filePath);
335
+ const workspacePath = filePath ? filePath : _chunkR4BSL44Ecjs.findWorkspaceRoot.call(void 0, filePath);
335
336
  const result = await getConfigFileByName("storm-workspace", workspacePath);
336
337
  let config = result.config;
337
338
  const configFile = result.configFile;
338
339
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
339
- _chunkIUFIA7M2cjs.writeTrace.call(void 0,
340
+ _chunkR4BSL44Ecjs.writeTrace.call(void 0,
340
341
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
341
342
  {
342
343
  logLevel: "all"
@@ -352,7 +353,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
352
353
  for (const result2 of results) {
353
354
  if (_optionalChain([result2, 'optionalAccess', _28 => _28.config]) && _optionalChain([result2, 'optionalAccess', _29 => _29.configFile]) && Object.keys(result2.config).length > 0) {
354
355
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
355
- _chunkIUFIA7M2cjs.writeTrace.call(void 0,
356
+ _chunkR4BSL44Ecjs.writeTrace.call(void 0,
356
357
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
357
358
  {
358
359
  logLevel: "all"
@@ -421,17 +422,18 @@ var getConfigEnv = () => {
421
422
  docs: process.env[`${prefix}DOCS`] || void 0,
422
423
  licensing: process.env[`${prefix}LICENSING`] || void 0,
423
424
  contact: process.env[`${prefix}CONTACT`] || void 0,
425
+ support: process.env[`${prefix}SUPPORT`] || void 0,
424
426
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
425
427
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
426
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
427
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
428
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
429
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
428
430
  directories: {
429
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
430
- data: process.env[`${prefix}DATA_DIR`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
431
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
432
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
433
- log: process.env[`${prefix}LOG_DIR`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
434
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkIUFIA7M2cjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
431
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
432
+ data: process.env[`${prefix}DATA_DIR`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
433
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
434
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
435
+ log: process.env[`${prefix}LOG_DIR`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
436
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkR4BSL44Ecjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
435
437
  },
436
438
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
437
439
  mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -456,13 +458,13 @@ var getConfigEnv = () => {
456
458
  },
457
459
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
458
460
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
459
- ) ? _chunkIUFIA7M2cjs.getLogLevelLabel.call(void 0,
461
+ ) ? _chunkR4BSL44Ecjs.getLogLevelLabel.call(void 0,
460
462
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
461
463
  ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
462
464
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
463
465
  };
464
466
  const themeNames = Object.keys(process.env).filter(
465
- (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkIUFIA7M2cjs.COLOR_KEYS.every(
467
+ (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkR4BSL44Ecjs.COLOR_KEYS.every(
466
468
  (colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
467
469
  )
468
470
  );
@@ -473,16 +475,16 @@ var getConfigEnv = () => {
473
475
  },
474
476
  {}
475
477
  ) : getThemeColorConfigEnv(prefix);
476
- if (config.docs === _chunkIUFIA7M2cjs.STORM_DEFAULT_DOCS) {
477
- if (config.homepage === _chunkIUFIA7M2cjs.STORM_DEFAULT_HOMEPAGE) {
478
- config.docs = `${_chunkIUFIA7M2cjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
478
+ if (config.docs === _chunkR4BSL44Ecjs.STORM_DEFAULT_DOCS) {
479
+ if (config.homepage === _chunkR4BSL44Ecjs.STORM_DEFAULT_HOMEPAGE) {
480
+ config.docs = `${_chunkR4BSL44Ecjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
479
481
  } else {
480
482
  config.docs = `${config.homepage}/docs`;
481
483
  }
482
484
  }
483
- if (config.licensing === _chunkIUFIA7M2cjs.STORM_DEFAULT_LICENSING) {
484
- if (config.homepage === _chunkIUFIA7M2cjs.STORM_DEFAULT_HOMEPAGE) {
485
- config.licensing = `${_chunkIUFIA7M2cjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
485
+ if (config.licensing === _chunkR4BSL44Ecjs.STORM_DEFAULT_LICENSING) {
486
+ if (config.homepage === _chunkR4BSL44Ecjs.STORM_DEFAULT_HOMEPAGE) {
487
+ config.licensing = `${_chunkR4BSL44Ecjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
486
488
  } else {
487
489
  config.licensing = `${config.homepage}/docs`;
488
490
  }
@@ -639,6 +641,9 @@ var setConfigEnv = (config) => {
639
641
  if (config.contact) {
640
642
  process.env[`${prefix}CONTACT`] = config.contact;
641
643
  }
644
+ if (config.support) {
645
+ process.env[`${prefix}SUPPORT`] = config.support;
646
+ }
642
647
  if (config.timezone) {
643
648
  process.env[`${prefix}TIMEZONE`] = config.timezone;
644
649
  process.env.TZ = config.timezone;
@@ -651,40 +656,40 @@ var setConfigEnv = (config) => {
651
656
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
652
657
  }
653
658
  if (config.configFile) {
654
- process.env[`${prefix}CONFIG_FILE`] = _chunkIUFIA7M2cjs.correctPaths.call(void 0, config.configFile);
659
+ process.env[`${prefix}CONFIG_FILE`] = _chunkR4BSL44Ecjs.correctPaths.call(void 0, config.configFile);
655
660
  }
656
661
  if (config.workspaceRoot) {
657
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunkIUFIA7M2cjs.correctPaths.call(void 0, config.workspaceRoot);
658
- process.env.NX_WORKSPACE_ROOT = _chunkIUFIA7M2cjs.correctPaths.call(void 0, config.workspaceRoot);
659
- process.env.NX_WORKSPACE_ROOT_PATH = _chunkIUFIA7M2cjs.correctPaths.call(void 0, config.workspaceRoot);
662
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunkR4BSL44Ecjs.correctPaths.call(void 0, config.workspaceRoot);
663
+ process.env.NX_WORKSPACE_ROOT = _chunkR4BSL44Ecjs.correctPaths.call(void 0, config.workspaceRoot);
664
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunkR4BSL44Ecjs.correctPaths.call(void 0, config.workspaceRoot);
660
665
  }
661
666
  if (config.directories) {
662
667
  if (!config.skipCache && config.directories.cache) {
663
- process.env[`${prefix}CACHE_DIR`] = _chunkIUFIA7M2cjs.correctPaths.call(void 0,
668
+ process.env[`${prefix}CACHE_DIR`] = _chunkR4BSL44Ecjs.correctPaths.call(void 0,
664
669
  config.directories.cache
665
670
  );
666
671
  process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
667
672
  }
668
673
  if (config.directories.data) {
669
- process.env[`${prefix}DATA_DIR`] = _chunkIUFIA7M2cjs.correctPaths.call(void 0, config.directories.data);
674
+ process.env[`${prefix}DATA_DIR`] = _chunkR4BSL44Ecjs.correctPaths.call(void 0, config.directories.data);
670
675
  process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
671
676
  }
672
677
  if (config.directories.config) {
673
- process.env[`${prefix}CONFIG_DIR`] = _chunkIUFIA7M2cjs.correctPaths.call(void 0,
678
+ process.env[`${prefix}CONFIG_DIR`] = _chunkR4BSL44Ecjs.correctPaths.call(void 0,
674
679
  config.directories.config
675
680
  );
676
681
  process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
677
682
  }
678
683
  if (config.directories.temp) {
679
- process.env[`${prefix}TEMP_DIR`] = _chunkIUFIA7M2cjs.correctPaths.call(void 0, config.directories.temp);
684
+ process.env[`${prefix}TEMP_DIR`] = _chunkR4BSL44Ecjs.correctPaths.call(void 0, config.directories.temp);
680
685
  process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
681
686
  }
682
687
  if (config.directories.log) {
683
- process.env[`${prefix}LOG_DIR`] = _chunkIUFIA7M2cjs.correctPaths.call(void 0, config.directories.log);
688
+ process.env[`${prefix}LOG_DIR`] = _chunkR4BSL44Ecjs.correctPaths.call(void 0, config.directories.log);
684
689
  process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
685
690
  }
686
691
  if (config.directories.build) {
687
- process.env[`${prefix}BUILD_DIR`] = _chunkIUFIA7M2cjs.correctPaths.call(void 0,
692
+ process.env[`${prefix}BUILD_DIR`] = _chunkR4BSL44Ecjs.correctPaths.call(void 0,
688
693
  config.directories.build
689
694
  );
690
695
  process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
@@ -751,9 +756,9 @@ var setConfigEnv = (config) => {
751
756
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
752
757
  process.env.LOG_LEVEL = String(config.logLevel);
753
758
  process.env.NX_VERBOSE_LOGGING = String(
754
- _chunkIUFIA7M2cjs.getLogLevel.call(void 0, config.logLevel) >= _chunkIUFIA7M2cjs.LogLevel.DEBUG ? true : false
759
+ _chunkR4BSL44Ecjs.getLogLevel.call(void 0, config.logLevel) >= _chunkR4BSL44Ecjs.LogLevel.DEBUG ? true : false
755
760
  );
756
- process.env.RUST_BACKTRACE = _chunkIUFIA7M2cjs.getLogLevel.call(void 0, config.logLevel) >= _chunkIUFIA7M2cjs.LogLevel.DEBUG ? "full" : "none";
761
+ process.env.RUST_BACKTRACE = _chunkR4BSL44Ecjs.getLogLevel.call(void 0, config.logLevel) >= _chunkR4BSL44Ecjs.LogLevel.DEBUG ? "full" : "none";
757
762
  }
758
763
  if (config.skipConfigLogging !== void 0) {
759
764
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
@@ -873,13 +878,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
873
878
  if (!_optionalChain([_static_cache, 'optionalAccess', _52 => _52.data]) || !_optionalChain([_static_cache, 'optionalAccess', _53 => _53.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
874
879
  let _workspaceRoot = workspaceRoot;
875
880
  if (!_workspaceRoot) {
876
- _workspaceRoot = _chunkIUFIA7M2cjs.findWorkspaceRoot.call(void 0, );
881
+ _workspaceRoot = _chunkR4BSL44Ecjs.findWorkspaceRoot.call(void 0, );
877
882
  }
878
883
  const configEnv = getConfigEnv();
879
884
  const configFile = await getConfigFile(_workspaceRoot);
880
885
  if (!configFile) {
881
886
  if (!skipLogs) {
882
- _chunkIUFIA7M2cjs.writeWarning.call(void 0,
887
+ _chunkR4BSL44Ecjs.writeWarning.call(void 0,
883
888
  "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",
884
889
  { logLevel: "all" }
885
890
  );
@@ -888,9 +893,11 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
888
893
  return void 0;
889
894
  }
890
895
  }
891
- const defaultConfig = await _chunkIUFIA7M2cjs.getDefaultConfig.call(void 0, _workspaceRoot);
892
- result = await _chunkIUFIA7M2cjs.stormWorkspaceConfigSchema.parseAsync(
893
- _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
896
+ const defaultConfig = await _chunkR4BSL44Ecjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
897
+ result = _chunkR4BSL44Ecjs.applyDefaultConfig.call(void 0,
898
+ await _chunkR4BSL44Ecjs.stormWorkspaceConfigSchema.parseAsync(
899
+ _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
900
+ )
894
901
  );
895
902
  result.workspaceRoot ??= _workspaceRoot;
896
903
  } else {
@@ -930,9 +937,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
930
937
  );
931
938
  setConfigEnv(config);
932
939
  if (!skipLogs && !config.skipConfigLogging) {
933
- _chunkIUFIA7M2cjs.writeTrace.call(void 0,
940
+ _chunkR4BSL44Ecjs.writeTrace.call(void 0,
934
941
  `\u2699\uFE0F Using Storm Workspace configuration:
935
- ${_chunkIUFIA7M2cjs.formatLogMessage.call(void 0, config)}`,
942
+ ${_chunkR4BSL44Ecjs.formatLogMessage.call(void 0, config)}`,
936
943
  config
937
944
  );
938
945
  }
@@ -947,7 +954,7 @@ var getConfig = (workspaceRoot, skipLogs = false) => {
947
954
  // ../build-tools/src/utilities/get-entry-points.ts
948
955
 
949
956
  var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
950
- const workspaceRoot = config.workspaceRoot || _chunkIUFIA7M2cjs.findWorkspaceRoot.call(void 0, );
957
+ const workspaceRoot = config.workspaceRoot || _chunkR4BSL44Ecjs.findWorkspaceRoot.call(void 0, );
951
958
  const entryPoints = [];
952
959
  if (entry) {
953
960
  if (typeof entry === "string") {
@@ -960,7 +967,7 @@ var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll =
960
967
  }
961
968
  if (emitOnAll) {
962
969
  entryPoints.push(
963
- _chunkIUFIA7M2cjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}")
970
+ _chunkR4BSL44Ecjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}")
964
971
  );
965
972
  }
966
973
  const results = await Promise.all(
@@ -973,12 +980,12 @@ var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll =
973
980
  });
974
981
  paths.push(
975
982
  ...files.reduce((ret, filePath) => {
976
- const result = _chunkIUFIA7M2cjs.correctPaths.call(void 0,
977
- _chunkIUFIA7M2cjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkIUFIA7M2cjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkIUFIA7M2cjs.correctPaths.call(void 0, projectRoot), "")
983
+ const result = _chunkR4BSL44Ecjs.correctPaths.call(void 0,
984
+ _chunkR4BSL44Ecjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkR4BSL44Ecjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkR4BSL44Ecjs.correctPaths.call(void 0, projectRoot), "")
978
985
  );
979
986
  if (result) {
980
- _chunkIUFIA7M2cjs.writeDebug.call(void 0,
981
- `Trying to add entry point ${result} at "${_chunkIUFIA7M2cjs.joinPaths.call(void 0,
987
+ _chunkR4BSL44Ecjs.writeDebug.call(void 0,
988
+ `Trying to add entry point ${result} at "${_chunkR4BSL44Ecjs.joinPaths.call(void 0,
982
989
  filePath.path,
983
990
  filePath.name
984
991
  )}"`,
@@ -992,7 +999,7 @@ var getEntryPoints = async (config, projectRoot, sourceRoot, entry, emitOnAll =
992
999
  }, [])
993
1000
  );
994
1001
  } else {
995
- _chunkIUFIA7M2cjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
1002
+ _chunkR4BSL44Ecjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
996
1003
  if (!paths.includes(entryPoint)) {
997
1004
  paths.push(entryPoint);
998
1005
  }
@@ -1047,12 +1054,12 @@ var resolveOptions = async (userOptions) => {
1047
1054
  throw new Error("Cannot find Nx workspace root");
1048
1055
  }
1049
1056
  const config = await getConfig(workspaceRoot.dir);
1050
- _chunkIUFIA7M2cjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1051
- const stopwatch = _chunkIUFIA7M2cjs.getStopwatch.call(void 0, "Build options resolution");
1057
+ _chunkR4BSL44Ecjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1058
+ const stopwatch = _chunkR4BSL44Ecjs.getStopwatch.call(void 0, "Build options resolution");
1052
1059
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1053
1060
  exitOnError: true
1054
1061
  });
1055
- const projectJsonPath = _chunkIUFIA7M2cjs.joinPaths.call(void 0,
1062
+ const projectJsonPath = _chunkR4BSL44Ecjs.joinPaths.call(void 0,
1056
1063
  workspaceRoot.dir,
1057
1064
  projectRoot,
1058
1065
  "project.json"
@@ -1072,7 +1079,7 @@ var resolveOptions = async (userOptions) => {
1072
1079
  const options = _defu2.default.call(void 0, userOptions, _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS);
1073
1080
  options.name ??= `${projectName}-${options.format}`;
1074
1081
  options.target ??= DEFAULT_TARGET;
1075
- const packageJsonPath = _chunkIUFIA7M2cjs.joinPaths.call(void 0,
1082
+ const packageJsonPath = _chunkR4BSL44Ecjs.joinPaths.call(void 0,
1076
1083
  workspaceRoot.dir,
1077
1084
  options.projectRoot,
1078
1085
  "package.json"
@@ -1085,7 +1092,7 @@ var resolveOptions = async (userOptions) => {
1085
1092
  ...options,
1086
1093
  config,
1087
1094
  ...userOptions,
1088
- tsconfig: _chunkIUFIA7M2cjs.joinPaths.call(void 0,
1095
+ tsconfig: _chunkR4BSL44Ecjs.joinPaths.call(void 0,
1089
1096
  projectRoot,
1090
1097
  userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"
1091
1098
  ),
@@ -1097,15 +1104,15 @@ var resolveOptions = async (userOptions) => {
1097
1104
  userOptions.entry || ["./src/index.ts"],
1098
1105
  userOptions.emitOnAll
1099
1106
  ),
1100
- outdir: userOptions.outputPath || _chunkIUFIA7M2cjs.joinPaths.call(void 0, "dist", projectRoot),
1107
+ outdir: userOptions.outputPath || _chunkR4BSL44Ecjs.joinPaths.call(void 0, "dist", projectRoot),
1101
1108
  plugins: [],
1102
1109
  name: userOptions.name || projectName,
1103
1110
  projectConfigurations,
1104
1111
  projectName,
1105
1112
  projectGraph,
1106
- sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkIUFIA7M2cjs.joinPaths.call(void 0, projectRoot, "src"),
1113
+ sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkR4BSL44Ecjs.joinPaths.call(void 0, projectRoot, "src"),
1107
1114
  minify: userOptions.minify || !userOptions.debug,
1108
- verbose: userOptions.verbose || _chunkIUFIA7M2cjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1115
+ verbose: userOptions.verbose || _chunkR4BSL44Ecjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1109
1116
  includeSrc: userOptions.includeSrc === true,
1110
1117
  metafile: userOptions.metafile !== false,
1111
1118
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -1137,15 +1144,15 @@ var resolveOptions = async (userOptions) => {
1137
1144
  return result;
1138
1145
  };
1139
1146
  async function generatePackageJson(options) {
1140
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkIUFIA7M2cjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1141
- _chunkIUFIA7M2cjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1142
- const stopwatch = _chunkIUFIA7M2cjs.getStopwatch.call(void 0, "Write package.json file");
1143
- const packageJsonPath = _chunkIUFIA7M2cjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1147
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkR4BSL44Ecjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1148
+ _chunkR4BSL44Ecjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1149
+ const stopwatch = _chunkR4BSL44Ecjs.getStopwatch.call(void 0, "Write package.json file");
1150
+ const packageJsonPath = _chunkR4BSL44Ecjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1144
1151
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1145
1152
  throw new Error("Cannot find package.json configuration");
1146
1153
  }
1147
1154
  const packageJsonFile = await _promises2.default.readFile(
1148
- _chunkIUFIA7M2cjs.joinPaths.call(void 0,
1155
+ _chunkR4BSL44Ecjs.joinPaths.call(void 0,
1149
1156
  options.config.workspaceRoot,
1150
1157
  options.projectRoot,
1151
1158
  "package.json"
@@ -1207,14 +1214,14 @@ async function generatePackageJson(options) {
1207
1214
  },
1208
1215
  packageJson.exports
1209
1216
  );
1210
- await _devkit.writeJsonFile.call(void 0, _chunkIUFIA7M2cjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
1217
+ await _devkit.writeJsonFile.call(void 0, _chunkR4BSL44Ecjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
1211
1218
  stopwatch();
1212
1219
  }
1213
1220
  return options;
1214
1221
  }
1215
1222
  async function executeTSDown(options) {
1216
- _chunkIUFIA7M2cjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
1217
- const stopwatch = _chunkIUFIA7M2cjs.getStopwatch.call(void 0, `${options.name} build`);
1223
+ _chunkR4BSL44Ecjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
1224
+ const stopwatch = _chunkR4BSL44Ecjs.getStopwatch.call(void 0, `${options.name} build`);
1218
1225
  await _tsdown.build.call(void 0, {
1219
1226
  ...options,
1220
1227
  entry: options.entryPoints,
@@ -1225,11 +1232,11 @@ async function executeTSDown(options) {
1225
1232
  return options;
1226
1233
  }
1227
1234
  async function copyBuildAssets(options) {
1228
- _chunkIUFIA7M2cjs.writeDebug.call(void 0,
1235
+ _chunkR4BSL44Ecjs.writeDebug.call(void 0,
1229
1236
  ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`,
1230
1237
  options.config
1231
1238
  );
1232
- const stopwatch = _chunkIUFIA7M2cjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1239
+ const stopwatch = _chunkR4BSL44Ecjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1233
1240
  await copyAssets(
1234
1241
  options.config,
1235
1242
  _nullishCoalesce(options.assets, () => ( [])),
@@ -1243,26 +1250,26 @@ async function copyBuildAssets(options) {
1243
1250
  return options;
1244
1251
  }
1245
1252
  async function reportResults(options) {
1246
- _chunkIUFIA7M2cjs.writeSuccess.call(void 0,
1253
+ _chunkR4BSL44Ecjs.writeSuccess.call(void 0,
1247
1254
  ` \u{1F4E6} The ${options.name} build completed successfully`,
1248
1255
  options.config
1249
1256
  );
1250
1257
  }
1251
1258
  async function cleanOutputPath(options) {
1252
1259
  if (options.clean !== false && options.outdir) {
1253
- _chunkIUFIA7M2cjs.writeDebug.call(void 0,
1260
+ _chunkR4BSL44Ecjs.writeDebug.call(void 0,
1254
1261
  ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`,
1255
1262
  options.config
1256
1263
  );
1257
- const stopwatch = _chunkIUFIA7M2cjs.getStopwatch.call(void 0, `${options.name} output clean`);
1258
- await _chunkIUFIA7M2cjs.cleanDirectories.call(void 0, options.name, options.outdir, options.config);
1264
+ const stopwatch = _chunkR4BSL44Ecjs.getStopwatch.call(void 0, `${options.name} output clean`);
1265
+ await _chunkR4BSL44Ecjs.cleanDirectories.call(void 0, options.name, options.outdir, options.config);
1259
1266
  stopwatch();
1260
1267
  }
1261
1268
  return options;
1262
1269
  }
1263
1270
  async function build(options) {
1264
- _chunkIUFIA7M2cjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
1265
- const stopwatch = _chunkIUFIA7M2cjs.getStopwatch.call(void 0, "TSDown pipeline");
1271
+ _chunkR4BSL44Ecjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
1272
+ const stopwatch = _chunkR4BSL44Ecjs.getStopwatch.call(void 0, "TSDown pipeline");
1266
1273
  try {
1267
1274
  const opts = Array.isArray(options) ? options : [options];
1268
1275
  if (opts.length === 0) {
@@ -1282,13 +1289,13 @@ async function build(options) {
1282
1289
  })
1283
1290
  );
1284
1291
  } else {
1285
- _chunkIUFIA7M2cjs.writeWarning.call(void 0,
1292
+ _chunkR4BSL44Ecjs.writeWarning.call(void 0,
1286
1293
  " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
1287
1294
  );
1288
1295
  }
1289
- _chunkIUFIA7M2cjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1296
+ _chunkR4BSL44Ecjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1290
1297
  } catch (error) {
1291
- _chunkIUFIA7M2cjs.writeFatal.call(void 0,
1298
+ _chunkR4BSL44Ecjs.writeFatal.call(void 0,
1292
1299
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
1293
1300
  );
1294
1301
  throw error;
package/dist/clean.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkIUFIA7M2cjs = require('./chunk-IUFIA7M2.cjs');
4
+ var _chunkR4BSL44Ecjs = require('./chunk-R4BSL44E.cjs');
5
5
 
6
6
 
7
7
 
8
- exports.clean = _chunkIUFIA7M2cjs.clean; exports.cleanDirectories = _chunkIUFIA7M2cjs.cleanDirectories;
8
+ exports.clean = _chunkR4BSL44Ecjs.clean; exports.cleanDirectories = _chunkR4BSL44Ecjs.cleanDirectories;
package/dist/clean.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clean,
3
3
  cleanDirectories
4
- } from "./chunk-J4T3BYOA.js";
4
+ } from "./chunk-ODTVCKYT.js";
5
5
  export {
6
6
  clean,
7
7
  cleanDirectories
package/dist/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkGBBMOENPcjs = require('./chunk-GBBMOENP.cjs');
4
+ var _chunkU3GMSWMPcjs = require('./chunk-U3GMSWMP.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkIUFIA7M2cjs = require('./chunk-IUFIA7M2.cjs');
8
+ var _chunkR4BSL44Ecjs = require('./chunk-R4BSL44E.cjs');
9
9
 
10
10
 
11
11
  var _chunk65E5RX7Icjs = require('./chunk-65E5RX7I.cjs');
@@ -16,4 +16,4 @@ require('./chunk-ZBPRDZS4.cjs');
16
16
 
17
17
 
18
18
 
19
- exports.DEFAULT_BUILD_OPTIONS = _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS; exports.build = _chunkGBBMOENPcjs.build; exports.clean = _chunkIUFIA7M2cjs.clean; exports.cleanDirectories = _chunkIUFIA7M2cjs.cleanDirectories; exports.cleanOutputPath = _chunkGBBMOENPcjs.cleanOutputPath;
19
+ exports.DEFAULT_BUILD_OPTIONS = _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS; exports.build = _chunkU3GMSWMPcjs.build; exports.clean = _chunkR4BSL44Ecjs.clean; exports.cleanDirectories = _chunkR4BSL44Ecjs.cleanDirectories; exports.cleanOutputPath = _chunkU3GMSWMPcjs.cleanOutputPath;
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-IUBNNUNA.js";
4
+ } from "./chunk-2UL3A4FS.js";
5
5
  import {
6
6
  clean,
7
7
  cleanDirectories
8
- } from "./chunk-J4T3BYOA.js";
8
+ } from "./chunk-ODTVCKYT.js";
9
9
  import {
10
10
  DEFAULT_BUILD_OPTIONS
11
11
  } from "./chunk-2YE3GBQH.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/tsdown",
3
- "version": "0.34.8",
3
+ "version": "0.34.9",
4
4
  "type": "module",
5
5
  "description": "A package containing `tsdown` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -149,12 +149,12 @@
149
149
  "tsdown": { "optional": false }
150
150
  },
151
151
  "dependencies": {
152
- "@storm-software/build-tools": "^0.150.7",
153
- "@storm-software/config": "^1.119.7",
154
- "@storm-software/config-tools": "^1.169.8",
152
+ "@storm-software/build-tools": "^0.150.8",
153
+ "@storm-software/config": "^1.120.0",
154
+ "@storm-software/config-tools": "^1.170.0",
155
155
  "chokidar": "^4.0.3",
156
156
  "commander": "^12.1.0",
157
- "es-toolkit": "^1.37.2",
157
+ "es-toolkit": "^1.38.0",
158
158
  "globby": "^14.1.0",
159
159
  "nx": "21.0.3",
160
160
  "rolldown": "1.0.0-beta.1",