@storm-software/cloudflare-tools 0.55.41 → 0.55.42

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  # Changelog for Storm Ops - Cloudflare Tools
4
4
 
5
+ ## [0.55.42](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.55.42) (2025-03-18)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([2d7343483](https://github.com/storm-software/storm-ops/commit/2d7343483))
11
+
5
12
  ## [0.55.41](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.55.41) (2025-03-17)
6
13
 
7
14
  ### Miscellaneous
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.55.40-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.55.41-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 -->
@@ -8,7 +8,7 @@ var require_package = _chunkJ5SB6L2Ljs.__commonJS.call(void 0, {
8
8
  "package.json"(exports, module) {
9
9
  module.exports = {
10
10
  name: "@storm-software/cloudflare-tools",
11
- version: "0.55.41",
11
+ version: "0.55.42",
12
12
  description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
13
13
  repository: {
14
14
  type: "github",
@@ -1436,15 +1436,14 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
1436
1436
  }, {})
1437
1437
  },
1438
1438
  inject: [
1439
- options.format === "cjs" && options.injectShims ? joinPaths(__dirname, "../assets/cjs_shims.js") : "",
1440
- options.format === "esm" && options.injectShims && options.platform === "node" ? joinPaths(__dirname, "../assets/esm_shims.js") : ""
1441
- ]
1439
+ options.format === "cjs" && options.injectShims ? joinPaths(__dirname, "../assets/cjs_shims.js") : void 0,
1440
+ options.format === "esm" && options.injectShims && options.platform === "node" ? joinPaths(__dirname, "../assets/esm_shims.js") : void 0
1441
+ ].filter(Boolean)
1442
1442
  };
1443
1443
  result.plugins = userOptions.plugins ?? getDefaultBuildPlugins(userOptions, result);
1444
- if (options.inject) {
1445
- options.inject = defu2(result.inject, options.inject);
1444
+ if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
1445
+ result.inject = defu2(result.inject, options.inject);
1446
1446
  }
1447
- options.inject?.filter(Boolean);
1448
1447
  delete result.entry;
1449
1448
  delete result.outputPath;
1450
1449
  stopwatch();
@@ -8,7 +8,7 @@ var require_package = __commonJS({
8
8
  "package.json"(exports, module) {
9
9
  module.exports = {
10
10
  name: "@storm-software/cloudflare-tools",
11
- version: "0.55.41",
11
+ version: "0.55.42",
12
12
  description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
13
13
  repository: {
14
14
  type: "github",
@@ -1435,15 +1435,14 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1435
1435
  }, {})
1436
1436
  },
1437
1437
  inject: [
1438
- options.format === "cjs" && options.injectShims ? _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
1439
- options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : ""
1440
- ]
1438
+ options.format === "cjs" && options.injectShims ? _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : void 0,
1439
+ options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : void 0
1440
+ ].filter(Boolean)
1441
1441
  };
1442
1442
  result.plugins = _nullishCoalesce(userOptions.plugins, () => ( getDefaultBuildPlugins(userOptions, result)));
1443
- if (options.inject) {
1444
- options.inject = _defu2.default.call(void 0, result.inject, options.inject);
1443
+ if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
1444
+ result.inject = _defu2.default.call(void 0, result.inject, options.inject);
1445
1445
  }
1446
- _optionalChain([options, 'access', _72 => _72.inject, 'optionalAccess', _73 => _73.filter, 'call', _74 => _74(Boolean)]);
1447
1446
  delete result.entry;
1448
1447
  delete result.outputPath;
1449
1448
  stopwatch();
@@ -1569,7 +1568,7 @@ ${_chunkFK6PN2T3js.formatLogMessage.call(void 0, options)}`, context2.options.co
1569
1568
  }
1570
1569
  _chunkJ5SB6L2Ljs.__name.call(void 0, executeEsBuild, "executeEsBuild");
1571
1570
  async function copyBuildAssets(context2) {
1572
- if (_optionalChain([context2, 'access', _75 => _75.result, 'optionalAccess', _76 => _76.errors, 'access', _77 => _77.length]) === 0) {
1571
+ if (_optionalChain([context2, 'access', _72 => _72.result, 'optionalAccess', _73 => _73.errors, 'access', _74 => _74.length]) === 0) {
1573
1572
  _chunkFK6PN2T3js.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1574
1573
  const stopwatch = _chunkFK6PN2T3js.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1575
1574
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
@@ -1579,7 +1578,7 @@ async function copyBuildAssets(context2) {
1579
1578
  }
1580
1579
  _chunkJ5SB6L2Ljs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
1581
1580
  async function reportResults(context2) {
1582
- if (_optionalChain([context2, 'access', _78 => _78.result, 'optionalAccess', _79 => _79.errors, 'access', _80 => _80.length]) === 0) {
1581
+ if (_optionalChain([context2, 'access', _75 => _75.result, 'optionalAccess', _76 => _76.errors, 'access', _77 => _77.length]) === 0) {
1583
1582
  if (context2.result.warnings.length > 0) {
1584
1583
  _chunkFK6PN2T3js.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
1585
1584
  }
@@ -1680,14 +1679,14 @@ var watch = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (context2, opti
1680
1679
  // ../workspace-tools/src/executors/esbuild/executor.ts
1681
1680
  async function esbuildExecutorFn(options, context2, config) {
1682
1681
  _chunkFK6PN2T3js.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1683
- if (!_optionalChain([context2, 'access', _81 => _81.projectsConfigurations, 'optionalAccess', _82 => _82.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _83 => _83.projectsConfigurations, 'access', _84 => _84.projects, 'access', _85 => _85[context2.projectName], 'optionalAccess', _86 => _86.root])) {
1682
+ if (!_optionalChain([context2, 'access', _78 => _78.projectsConfigurations, 'optionalAccess', _79 => _79.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _80 => _80.projectsConfigurations, 'access', _81 => _81.projects, 'access', _82 => _82[context2.projectName], 'optionalAccess', _83 => _83.root])) {
1684
1683
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1685
1684
  }
1686
1685
  await build3({
1687
1686
  ...options,
1688
- projectRoot: _optionalChain([context2, 'access', _87 => _87.projectsConfigurations, 'access', _88 => _88.projects, 'optionalAccess', _89 => _89[context2.projectName], 'access', _90 => _90.root]),
1687
+ projectRoot: _optionalChain([context2, 'access', _84 => _84.projectsConfigurations, 'access', _85 => _85.projects, 'optionalAccess', _86 => _86[context2.projectName], 'access', _87 => _87.root]),
1689
1688
  projectName: context2.projectName,
1690
- sourceRoot: _optionalChain([context2, 'access', _91 => _91.projectsConfigurations, 'access', _92 => _92.projects, 'optionalAccess', _93 => _93[context2.projectName], 'optionalAccess', _94 => _94.sourceRoot]),
1689
+ sourceRoot: _optionalChain([context2, 'access', _88 => _88.projectsConfigurations, 'access', _89 => _89.projects, 'optionalAccess', _90 => _90[context2.projectName], 'optionalAccess', _91 => _91.sourceRoot]),
1691
1690
  format: options.format,
1692
1691
  platform: options.format
1693
1692
  });
@@ -1730,7 +1729,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
1730
1729
  var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
1731
1730
  var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
1732
1731
  async function sizeLimitExecutorFn(options, context2, config) {
1733
- if (!_optionalChain([context2, 'optionalAccess', _95 => _95.projectName]) || !_optionalChain([context2, 'access', _96 => _96.projectsConfigurations, 'optionalAccess', _97 => _97.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
1732
+ if (!_optionalChain([context2, 'optionalAccess', _92 => _92.projectName]) || !_optionalChain([context2, 'access', _93 => _93.projectsConfigurations, 'optionalAccess', _94 => _94.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
1734
1733
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
1735
1734
  }
1736
1735
  _chunkFK6PN2T3js.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
@@ -1739,7 +1738,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
1739
1738
  _esbuild3.default,
1740
1739
  _esbuildwhy2.default
1741
1740
  ], {
1742
- checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _98 => _98.projectsConfigurations, 'access', _99 => _99.projects, 'access', _100 => _100[context2.projectName], 'optionalAccess', _101 => _101.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _102 => _102.projectsConfigurations, 'access', _103 => _103.projects, 'access', _104 => _104[context2.projectName], 'optionalAccess', _105 => _105.root]), () => ( "./")), "src")))
1741
+ checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _95 => _95.projectsConfigurations, 'access', _96 => _96.projects, 'access', _97 => _97[context2.projectName], 'optionalAccess', _98 => _98.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _99 => _99.projectsConfigurations, 'access', _100 => _100.projects, 'access', _101 => _101[context2.projectName], 'optionalAccess', _102 => _102.root]), () => ( "./")), "src")))
1743
1742
  }).then((result) => {
1744
1743
  _chunkFK6PN2T3js.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
1745
1744
  });
@@ -1798,7 +1797,7 @@ var executor_default8 = withRunExecutor("Typia runtime validation generator", ty
1798
1797
  var _jiti = require('jiti');
1799
1798
  async function unbuildExecutorFn(options, context2, config) {
1800
1799
  _chunkFK6PN2T3js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1801
- if (!_optionalChain([context2, 'access', _106 => _106.projectsConfigurations, 'optionalAccess', _107 => _107.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
1800
+ if (!_optionalChain([context2, 'access', _103 => _103.projectsConfigurations, 'optionalAccess', _104 => _104.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
1802
1801
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
1803
1802
  }
1804
1803
  if (!context2.projectsConfigurations.projects[context2.projectName].root) {
@@ -1881,7 +1880,7 @@ var withRunGenerator = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (nam
1881
1880
  - workspaceRoot: ${workspaceRoot3}`, config);
1882
1881
  config = await _chunkH2ML72QFjs.getConfig.call(void 0, workspaceRoot3);
1883
1882
  }
1884
- if (_optionalChain([generatorOptions, 'optionalAccess', _108 => _108.hooks, 'optionalAccess', _109 => _109.applyDefaultOptions])) {
1883
+ if (_optionalChain([generatorOptions, 'optionalAccess', _105 => _105.hooks, 'optionalAccess', _106 => _106.applyDefaultOptions])) {
1885
1884
  _chunkFK6PN2T3js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1886
1885
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
1887
1886
  _chunkFK6PN2T3js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
@@ -1892,22 +1891,22 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
1892
1891
  workspaceRoot: tree.root,
1893
1892
  config
1894
1893
  }, applyWorkspaceBaseTokens);
1895
- if (_optionalChain([generatorOptions, 'optionalAccess', _110 => _110.hooks, 'optionalAccess', _111 => _111.preProcess])) {
1894
+ if (_optionalChain([generatorOptions, 'optionalAccess', _107 => _107.hooks, 'optionalAccess', _108 => _108.preProcess])) {
1896
1895
  _chunkFK6PN2T3js.writeDebug.call(void 0, "Running the preProcess hook...", config);
1897
1896
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
1898
1897
  _chunkFK6PN2T3js.writeDebug.call(void 0, "Completed the preProcess hook", config);
1899
1898
  }
1900
1899
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
1901
1900
  if (result) {
1902
- if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _112 => _112.error, 'optionalAccess', _113 => _113.message]) && typeof _optionalChain([result, 'optionalAccess', _114 => _114.error, 'optionalAccess', _115 => _115.message]) === "string" && _optionalChain([result, 'optionalAccess', _116 => _116.error, 'optionalAccess', _117 => _117.name]) && typeof _optionalChain([result, 'optionalAccess', _118 => _118.error, 'optionalAccess', _119 => _119.name]) === "string") {
1901
+ if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _109 => _109.error, 'optionalAccess', _110 => _110.message]) && typeof _optionalChain([result, 'optionalAccess', _111 => _111.error, 'optionalAccess', _112 => _112.message]) === "string" && _optionalChain([result, 'optionalAccess', _113 => _113.error, 'optionalAccess', _114 => _114.name]) && typeof _optionalChain([result, 'optionalAccess', _115 => _115.error, 'optionalAccess', _116 => _116.name]) === "string") {
1903
1902
  throw new Error(`The ${name} generator failed to run`, {
1904
- cause: _optionalChain([result, 'optionalAccess', _120 => _120.error])
1903
+ cause: _optionalChain([result, 'optionalAccess', _117 => _117.error])
1905
1904
  });
1906
1905
  } else if (result.success && result.data) {
1907
1906
  return result;
1908
1907
  }
1909
1908
  }
1910
- if (_optionalChain([generatorOptions, 'optionalAccess', _121 => _121.hooks, 'optionalAccess', _122 => _122.postProcess])) {
1909
+ if (_optionalChain([generatorOptions, 'optionalAccess', _118 => _118.hooks, 'optionalAccess', _119 => _119.postProcess])) {
1911
1910
  _chunkFK6PN2T3js.writeDebug.call(void 0, "Running the postProcess hook...", config);
1912
1911
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
1913
1912
  _chunkFK6PN2T3js.writeDebug.call(void 0, "Completed the postProcess hook", config);
@@ -2017,15 +2016,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2017
2016
  _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
2018
2017
  let repository = {
2019
2018
  type: "github",
2020
- url: _optionalChain([config, 'optionalAccess', _123 => _123.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _124 => _124.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _125 => _125.namespace]) || _optionalChain([config, 'optionalAccess', _126 => _126.name]) || "repository"}.git`
2019
+ url: _optionalChain([config, 'optionalAccess', _120 => _120.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _121 => _121.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _122 => _122.namespace]) || _optionalChain([config, 'optionalAccess', _123 => _123.name]) || "repository"}.git`
2021
2020
  };
2022
2021
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
2023
2022
  if (tree.exists("package.json")) {
2024
2023
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
2025
- if (_optionalChain([packageJson, 'optionalAccess', _127 => _127.repository])) {
2024
+ if (_optionalChain([packageJson, 'optionalAccess', _124 => _124.repository])) {
2026
2025
  repository = packageJson.repository;
2027
2026
  }
2028
- if (_optionalChain([packageJson, 'optionalAccess', _128 => _128.description])) {
2027
+ if (_optionalChain([packageJson, 'optionalAccess', _125 => _125.description])) {
2029
2028
  description = packageJson.description;
2030
2029
  }
2031
2030
  }
@@ -2080,9 +2079,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2080
2079
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
2081
2080
  ...json,
2082
2081
  pnpm: {
2083
- ..._optionalChain([json, 'optionalAccess', _129 => _129.pnpm]),
2082
+ ..._optionalChain([json, 'optionalAccess', _126 => _126.pnpm]),
2084
2083
  overrides: {
2085
- ..._optionalChain([json, 'optionalAccess', _130 => _130.pnpm, 'optionalAccess', _131 => _131.overrides]),
2084
+ ..._optionalChain([json, 'optionalAccess', _127 => _127.pnpm, 'optionalAccess', _128 => _128.overrides]),
2086
2085
  [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
2087
2086
  }
2088
2087
  }
@@ -2096,10 +2095,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2096
2095
  ]);
2097
2096
  if (tree.exists("package.json")) {
2098
2097
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
2099
- if (_optionalChain([packageJson, 'optionalAccess', _132 => _132.repository])) {
2098
+ if (_optionalChain([packageJson, 'optionalAccess', _129 => _129.repository])) {
2100
2099
  repository = packageJson.repository;
2101
2100
  }
2102
- if (_optionalChain([packageJson, 'optionalAccess', _133 => _133.description])) {
2101
+ if (_optionalChain([packageJson, 'optionalAccess', _130 => _130.description])) {
2103
2102
  description = packageJson.description;
2104
2103
  }
2105
2104
  }
@@ -2147,24 +2146,24 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, getOutputPath, "getOutputPath");
2147
2146
  function createProjectTsConfigJson(tree, options) {
2148
2147
  const tsconfig = {
2149
2148
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
2150
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _134 => _134.tsconfigOptions]), () => ( {})),
2149
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _131 => _131.tsconfigOptions]), () => ( {})),
2151
2150
  compilerOptions: {
2152
2151
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
2153
2152
  outDir: _chunkFK6PN2T3js.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2154
2153
  noEmit: true,
2155
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _135 => _135.tsconfigOptions, 'optionalAccess', _136 => _136.compilerOptions]), () => ( {}))
2154
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _132 => _132.tsconfigOptions, 'optionalAccess', _133 => _133.compilerOptions]), () => ( {}))
2156
2155
  },
2157
2156
  files: [
2158
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _137 => _137.tsconfigOptions, 'optionalAccess', _138 => _138.files]), () => ( []))
2157
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _134 => _134.tsconfigOptions, 'optionalAccess', _135 => _135.files]), () => ( []))
2159
2158
  ],
2160
2159
  include: [
2161
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _139 => _139.tsconfigOptions, 'optionalAccess', _140 => _140.include]), () => ( [])),
2160
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _136 => _136.tsconfigOptions, 'optionalAccess', _137 => _137.include]), () => ( [])),
2162
2161
  "src/**/*.ts",
2163
2162
  "src/**/*.js",
2164
2163
  "bin/**/*"
2165
2164
  ],
2166
2165
  exclude: [
2167
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _141 => _141.tsconfigOptions, 'optionalAccess', _142 => _142.exclude]), () => ( [])),
2166
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _138 => _138.tsconfigOptions, 'optionalAccess', _139 => _139.exclude]), () => ( [])),
2168
2167
  "jest.config.ts",
2169
2168
  "src/**/*.spec.ts",
2170
2169
  "src/**/*.test.ts"
@@ -2175,8 +2174,8 @@ function createProjectTsConfigJson(tree, options) {
2175
2174
  _chunkJ5SB6L2Ljs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
2176
2175
  async function normalizeOptions(tree, options, config) {
2177
2176
  let importPath = options.importPath;
2178
- if (!importPath && _optionalChain([config, 'optionalAccess', _143 => _143.namespace])) {
2179
- importPath = `@${_optionalChain([config, 'optionalAccess', _144 => _144.namespace])}/${options.name}`;
2177
+ if (!importPath && _optionalChain([config, 'optionalAccess', _140 => _140.namespace])) {
2178
+ importPath = `@${_optionalChain([config, 'optionalAccess', _141 => _141.namespace])}/${options.name}`;
2180
2179
  }
2181
2180
  if (options.publishable) {
2182
2181
  if (!importPath) {
@@ -2308,7 +2307,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
2308
2307
  name: "StormWorkspaceConfiguration"
2309
2308
  });
2310
2309
  _chunkFK6PN2T3js.writeTrace.call(void 0, jsonSchema, config);
2311
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _145 => _145.workspaceRoot]), () => ( _chunkFK6PN2T3js.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _146 => _146.outputFile, 'optionalAccess', _147 => _147.startsWith, 'call', _148 => _148("./")]) ? "" : "./");
2310
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _142 => _142.workspaceRoot]), () => ( _chunkFK6PN2T3js.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _143 => _143.outputFile, 'optionalAccess', _144 => _144.startsWith, 'call', _145 => _145("./")]) ? "" : "./");
2312
2311
  _chunkFK6PN2T3js.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
2313
2312
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
2314
2313
  spaces: 2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-BV5FWJGL.mjs";
3
+ } from "./chunk-GMFRV3ZA.mjs";
4
4
  import {
5
5
  getConfig
6
6
  } from "./chunk-MESLYSHV.mjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkIA5NNUZKjs = require('./chunk-IA5NNUZK.js');
3
+ var _chunk2AZYWCCEjs = require('./chunk-2AZYWCCE.js');
4
4
 
5
5
 
6
6
  var _chunkH2ML72QFjs = require('./chunk-H2ML72QF.js');
@@ -52,7 +52,7 @@ async function applicationGenerator(tree, schema) {
52
52
  ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`, config);
53
53
  const options = await normalizeOptions(tree, schema, config);
54
54
  const tasks = [];
55
- tasks.push(await _chunkIA5NNUZKjs.generator_default.call(void 0, tree, {
55
+ tasks.push(await _chunk2AZYWCCEjs.generator_default.call(void 0, tree, {
56
56
  ...options,
57
57
  skipFormat: true
58
58
  }));
package/dist/executors.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
2
  require('./chunk-R7AIVBS7.js');
3
- require('./chunk-NGA2REMH.js');
3
+ require('./chunk-LR5EYY2W.js');
4
4
  require('./chunk-MCQ4YOON.js');
5
5
  require('./chunk-HF5FM2V2.js');
6
6
  require('./chunk-VTHBMY4B.js');
@@ -1,6 +1,6 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
2
  import "./chunk-VNLZQQ5C.mjs";
3
- import "./chunk-PDLA5ACW.mjs";
3
+ import "./chunk-COKKJUVA.mjs";
4
4
  import "./chunk-S3S7EN37.mjs";
5
5
  import "./chunk-LEXIFHU6.mjs";
6
6
  import "./chunk-YYEF6TFG.mjs";
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJF2LLENHjs = require('./chunk-JF2LLENH.js');
5
+ var _chunkSUJFP32Ejs = require('./chunk-SUJFP32E.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkIA5NNUZKjs = require('./chunk-IA5NNUZK.js');
9
+ var _chunk2AZYWCCEjs = require('./chunk-2AZYWCCE.js');
10
10
  require('./chunk-H2ML72QF.js');
11
11
  require('./chunk-FK6PN2T3.js');
12
12
  require('./chunk-J5SB6L2L.js');
@@ -15,4 +15,4 @@ require('./chunk-J5SB6L2L.js');
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkJF2LLENHjs.applicationGenerator; exports.applicationSchematic = _chunkJF2LLENHjs.applicationSchematic; exports.initGenerator = _chunkIA5NNUZKjs.initGenerator; exports.initSchematic = _chunkIA5NNUZKjs.initSchematic;
18
+ exports.applicationGenerator = _chunkSUJFP32Ejs.applicationGenerator; exports.applicationSchematic = _chunkSUJFP32Ejs.applicationSchematic; exports.initGenerator = _chunk2AZYWCCEjs.initGenerator; exports.initSchematic = _chunk2AZYWCCEjs.initSchematic;
@@ -2,11 +2,11 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-2GWCBDS7.mjs";
5
+ } from "./chunk-NVJMBKZX.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-BV5FWJGL.mjs";
9
+ } from "./chunk-GMFRV3ZA.mjs";
10
10
  import "./chunk-MESLYSHV.mjs";
11
11
  import "./chunk-M4FHQYTZ.mjs";
12
12
  import "./chunk-3HMZSKJD.mjs";
package/dist/index.js CHANGED
@@ -3,14 +3,14 @@ require('./chunk-DHBG5ASJ.js');
3
3
 
4
4
 
5
5
 
6
- var _chunkJF2LLENHjs = require('./chunk-JF2LLENH.js');
6
+ var _chunkSUJFP32Ejs = require('./chunk-SUJFP32E.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkIA5NNUZKjs = require('./chunk-IA5NNUZK.js');
10
+ var _chunk2AZYWCCEjs = require('./chunk-2AZYWCCE.js');
11
11
  require('./chunk-CVGPWUNP.js');
12
12
  require('./chunk-R7AIVBS7.js');
13
- require('./chunk-NGA2REMH.js');
13
+ require('./chunk-LR5EYY2W.js');
14
14
  require('./chunk-MCQ4YOON.js');
15
15
 
16
16
 
@@ -148,4 +148,4 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, createPackageJson, "createPackageJson");
148
148
 
149
149
 
150
150
 
151
- exports.applicationGenerator = _chunkJF2LLENHjs.applicationGenerator; exports.applicationSchematic = _chunkJF2LLENHjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkHF5FM2V2js.getInternalDependencies; exports.initGenerator = _chunkIA5NNUZKjs.initGenerator; exports.initSchematic = _chunkIA5NNUZKjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkHF5FM2V2js.r2UploadFile;
151
+ exports.applicationGenerator = _chunkSUJFP32Ejs.applicationGenerator; exports.applicationSchematic = _chunkSUJFP32Ejs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkHF5FM2V2js.getInternalDependencies; exports.initGenerator = _chunk2AZYWCCEjs.initGenerator; exports.initSchematic = _chunk2AZYWCCEjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkHF5FM2V2js.r2UploadFile;
package/dist/index.mjs CHANGED
@@ -3,14 +3,14 @@ import "./chunk-3J7KBHMJ.mjs";
3
3
  import {
4
4
  applicationGenerator,
5
5
  applicationSchematic
6
- } from "./chunk-2GWCBDS7.mjs";
6
+ } from "./chunk-NVJMBKZX.mjs";
7
7
  import {
8
8
  initGenerator,
9
9
  initSchematic
10
- } from "./chunk-BV5FWJGL.mjs";
10
+ } from "./chunk-GMFRV3ZA.mjs";
11
11
  import "./chunk-7Z5PILRU.mjs";
12
12
  import "./chunk-VNLZQQ5C.mjs";
13
- import "./chunk-PDLA5ACW.mjs";
13
+ import "./chunk-COKKJUVA.mjs";
14
14
  import "./chunk-S3S7EN37.mjs";
15
15
  import {
16
16
  getInternalDependencies,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
  var _chunkR7AIVBS7js = require('../../../chunk-R7AIVBS7.js');
4
- require('../../../chunk-NGA2REMH.js');
4
+ require('../../../chunk-LR5EYY2W.js');
5
5
  require('../../../chunk-VTHBMY4B.js');
6
6
  require('../../../chunk-H2ML72QF.js');
7
7
  require('../../../chunk-FK6PN2T3.js');
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runExecutor
3
3
  } from "../../../chunk-VNLZQQ5C.mjs";
4
- import "../../../chunk-PDLA5ACW.mjs";
4
+ import "../../../chunk-COKKJUVA.mjs";
5
5
  import "../../../chunk-YYEF6TFG.mjs";
6
6
  import "../../../chunk-MESLYSHV.mjs";
7
7
  import "../../../chunk-M4FHQYTZ.mjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkNGA2REMHjs = require('../../../chunk-NGA2REMH.js');
3
+ var _chunkLR5EYY2Wjs = require('../../../chunk-LR5EYY2W.js');
4
4
 
5
5
 
6
6
  var _chunkVTHBMY4Bjs = require('../../../chunk-VTHBMY4B.js');
@@ -60,7 +60,7 @@ async function* serveExecutor(options, context, config) {
60
60
  };
61
61
  }
62
62
  _chunkJ5SB6L2Ljs.__name.call(void 0, serveExecutor, "serveExecutor");
63
- var executor_default = _chunkNGA2REMHjs.withRunExecutor.call(void 0, "Cloudflare Serve executor", serveExecutor, {
63
+ var executor_default = _chunkLR5EYY2Wjs.withRunExecutor.call(void 0, "Cloudflare Serve executor", serveExecutor, {
64
64
  skipReadingConfig: false,
65
65
  hooks: {
66
66
  applyDefaultOptions: /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "../../../chunk-PDLA5ACW.mjs";
3
+ } from "../../../chunk-COKKJUVA.mjs";
4
4
  import {
5
5
  createCliOptions
6
6
  } from "../../../chunk-YYEF6TFG.mjs";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkIA5NNUZKjs = require('../../../chunk-IA5NNUZK.js');
5
+ var _chunk2AZYWCCEjs = require('../../../chunk-2AZYWCCE.js');
6
6
  require('../../../chunk-J5SB6L2L.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunkIA5NNUZKjs.generator_default; exports.initGenerator = _chunkIA5NNUZKjs.initGenerator; exports.initSchematic = _chunkIA5NNUZKjs.initSchematic;
11
+ exports.default = _chunk2AZYWCCEjs.generator_default; exports.initGenerator = _chunk2AZYWCCEjs.initGenerator; exports.initSchematic = _chunk2AZYWCCEjs.initSchematic;
@@ -2,7 +2,7 @@ import {
2
2
  generator_default,
3
3
  initGenerator,
4
4
  initSchematic
5
- } from "../../../chunk-BV5FWJGL.mjs";
5
+ } from "../../../chunk-GMFRV3ZA.mjs";
6
6
  import "../../../chunk-3HMZSKJD.mjs";
7
7
  export {
8
8
  generator_default as default,
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJF2LLENHjs = require('../../../chunk-JF2LLENH.js');
6
- require('../../../chunk-IA5NNUZK.js');
5
+ var _chunkSUJFP32Ejs = require('../../../chunk-SUJFP32E.js');
6
+ require('../../../chunk-2AZYWCCE.js');
7
7
  require('../../../chunk-H2ML72QF.js');
8
8
  require('../../../chunk-FK6PN2T3.js');
9
9
  require('../../../chunk-J5SB6L2L.js');
@@ -11,4 +11,4 @@ require('../../../chunk-J5SB6L2L.js');
11
11
 
12
12
 
13
13
 
14
- exports.applicationGenerator = _chunkJF2LLENHjs.applicationGenerator; exports.applicationSchematic = _chunkJF2LLENHjs.applicationSchematic; exports.default = _chunkJF2LLENHjs.generator_default;
14
+ exports.applicationGenerator = _chunkSUJFP32Ejs.applicationGenerator; exports.applicationSchematic = _chunkSUJFP32Ejs.applicationSchematic; exports.default = _chunkSUJFP32Ejs.generator_default;
@@ -2,8 +2,8 @@ import {
2
2
  applicationGenerator,
3
3
  applicationSchematic,
4
4
  generator_default
5
- } from "../../../chunk-2GWCBDS7.mjs";
6
- import "../../../chunk-BV5FWJGL.mjs";
5
+ } from "../../../chunk-NVJMBKZX.mjs";
6
+ import "../../../chunk-GMFRV3ZA.mjs";
7
7
  import "../../../chunk-MESLYSHV.mjs";
8
8
  import "../../../chunk-M4FHQYTZ.mjs";
9
9
  import "../../../chunk-3HMZSKJD.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/cloudflare-tools",
3
- "version": "0.55.41",
3
+ "version": "0.55.42",
4
4
  "description": "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
5
5
  "repository": {
6
6
  "type": "github",