@storm-software/cloudflare-tools 0.65.3 → 0.65.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-YYEV23XL.mjs → chunk-3WGLBIRH.mjs} +3 -3
  4. package/dist/{chunk-DKHOMIBZ.mjs → chunk-537PH6YK.mjs} +2 -5
  5. package/dist/{chunk-ZDZ43AAA.js → chunk-6CP6ARGM.js} +2 -5
  6. package/dist/{chunk-EK6YU2XP.mjs → chunk-EHEXWPEP.mjs} +2 -2
  7. package/dist/{chunk-SDOOTJSD.js → chunk-N3UQB43Z.js} +3 -3
  8. package/dist/{chunk-FI6ULZMS.mjs → chunk-N6YTSDTM.mjs} +1 -1
  9. package/dist/{chunk-I3R2ATMM.mjs → chunk-NYUGUHRY.mjs} +1 -1
  10. package/dist/{chunk-N5TVLF2U.mjs → chunk-QBISXDXF.mjs} +1 -1
  11. package/dist/{chunk-3ABTMFLH.mjs → chunk-QXC6AVIJ.mjs} +2 -2
  12. package/dist/{chunk-GUFFZ6ZV.js → chunk-SYVHSLWF.js} +5 -5
  13. package/dist/{chunk-ZLRBHMA3.js → chunk-TUU62TNE.js} +1 -1
  14. package/dist/{chunk-E2QSZ73F.js → chunk-U3IGSCX3.js} +50 -50
  15. package/dist/executors.js +3 -3
  16. package/dist/executors.mjs +5 -5
  17. package/dist/generators.js +4 -4
  18. package/dist/generators.mjs +4 -4
  19. package/dist/index.js +6 -6
  20. package/dist/index.mjs +7 -7
  21. package/dist/src/executors/cloudflare-publish/executor.js +2 -2
  22. package/dist/src/executors/cloudflare-publish/executor.mjs +4 -4
  23. package/dist/src/executors/r2-upload-publish/executor.js +3 -3
  24. package/dist/src/executors/r2-upload-publish/executor.mjs +3 -3
  25. package/dist/src/executors/serve/executor.js +3 -3
  26. package/dist/src/executors/serve/executor.mjs +3 -3
  27. package/dist/src/generators/init/generator.js +2 -2
  28. package/dist/src/generators/init/generator.mjs +2 -2
  29. package/dist/src/generators/worker/generator.js +4 -4
  30. package/dist/src/generators/worker/generator.mjs +4 -4
  31. package/dist/src/utils/index.mjs +1 -1
  32. package/dist/src/utils/r2-bucket-helpers.mjs +1 -1
  33. package/dist/tsup.config.mjs +1 -1
  34. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ![Storm Software's logo banner](https://public.storm-cdn.com/brand-banner.png)
2
+
3
+ # Changelog for Storm Ops - Cloudflare Tools
4
+
5
+ ## [0.65.4](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.65.4) (2025-08-08)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Update workspace dependencies and README markdown
10
+ ([67e119b05](https://github.com/storm-software/storm-ops/commit/67e119b05))
11
+
12
+ ## [0.65.3](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.65.3) (2025-08-07)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **monorepo:** Regenerate README files and update `wrangler`
17
+ ([2231aafa7](https://github.com/storm-software/storm-ops/commit/2231aafa7))
18
+
1
19
  ![Storm Software]([object Object])
2
20
 
3
21
  # Changelog for Storm Ops - Cloudflare Tools
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.65.1-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.65.3-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 -->
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-3ABTMFLH.mjs";
3
+ } from "./chunk-QXC6AVIJ.mjs";
4
4
  import {
5
5
  findWorkspaceRoot,
6
6
  getConfig
7
- } from "./chunk-DKHOMIBZ.mjs";
7
+ } from "./chunk-537PH6YK.mjs";
8
8
  import {
9
9
  getStopwatch,
10
10
  writeDebug,
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-V44DYGWX.mjs";
16
16
  import {
17
17
  __dirname
18
- } from "./chunk-FI6ULZMS.mjs";
18
+ } from "./chunk-N6YTSDTM.mjs";
19
19
 
20
20
  // src/generators/worker/generator.ts
21
21
  import {
@@ -711,16 +711,13 @@ schemaRegistry.add(packageManagerSchema, {
711
711
  description: "The JavaScript/TypeScript package manager used by the repository"
712
712
  });
713
713
  var timezoneSchema = z._default(
714
- z.string().check(z.trim(), z.toLowerCase()),
714
+ z.string().check(z.trim()),
715
715
  "America/New_York"
716
716
  );
717
717
  schemaRegistry.add(timezoneSchema, {
718
718
  description: "The default timezone of the workspace"
719
719
  });
720
- var localeSchema = z._default(
721
- z.string().check(z.trim(), z.toLowerCase()),
722
- "en-US"
723
- );
720
+ var localeSchema = z._default(z.string().check(z.trim()), "en-US");
724
721
  schemaRegistry.add(localeSchema, {
725
722
  description: "The default locale of the workspace"
726
723
  });
@@ -711,16 +711,13 @@ schemaRegistry.add(packageManagerSchema, {
711
711
  description: "The JavaScript/TypeScript package manager used by the repository"
712
712
  });
713
713
  var timezoneSchema = z._default(
714
- z.string().check(z.trim(), z.toLowerCase()),
714
+ z.string().check(z.trim()),
715
715
  "America/New_York"
716
716
  );
717
717
  schemaRegistry.add(timezoneSchema, {
718
718
  description: "The default timezone of the workspace"
719
719
  });
720
- var localeSchema = z._default(
721
- z.string().check(z.trim(), z.toLowerCase()),
722
- "en-US"
723
- );
720
+ var localeSchema = z._default(z.string().check(z.trim()), "en-US");
724
721
  schemaRegistry.add(localeSchema, {
725
722
  description: "The default locale of the workspace"
726
723
  });
@@ -9,7 +9,7 @@ import {
9
9
  joinPaths,
10
10
  schemaRegistry,
11
11
  workspaceConfigSchema
12
- } from "./chunk-DKHOMIBZ.mjs";
12
+ } from "./chunk-537PH6YK.mjs";
13
13
  import {
14
14
  formatLogMessage,
15
15
  getStopwatch,
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  __dirname,
26
26
  __require
27
- } from "./chunk-FI6ULZMS.mjs";
27
+ } from "./chunk-N6YTSDTM.mjs";
28
28
 
29
29
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
30
30
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -9,7 +9,7 @@ var _chunkNU34IEWNjs = require('./chunk-NU34IEWN.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkZDZ43AAAjs = require('./chunk-ZDZ43AAA.js');
12
+ var _chunk6CP6ARGMjs = require('./chunk-6CP6ARGM.js');
13
13
 
14
14
 
15
15
 
@@ -39,8 +39,8 @@ async function runExecutor(options, context) {
39
39
  throw new Error("The executor requires projectsConfigurations.");
40
40
  }
41
41
  try {
42
- const workspaceRoot = _chunkZDZ43AAAjs.findWorkspaceRoot.call(void 0, );
43
- const config = await _chunkZDZ43AAAjs.getConfig.call(void 0, workspaceRoot);
42
+ const workspaceRoot = _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, );
43
+ const config = await _chunk6CP6ARGMjs.getConfig.call(void 0, workspaceRoot);
44
44
  const sourceRoot = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.sourceRoot]), () => ( workspaceRoot));
45
45
  const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
46
46
  const projectDetails = _chunkNU34IEWNjs.getPackageInfo.call(void 0,
@@ -9,7 +9,7 @@ var __commonJS = (cb, mod) => function __require2() {
9
9
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
10
  };
11
11
 
12
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__b764d63189c52b7c3c1c1e5109ff8124/node_modules/tsup/assets/esm_shims.js
12
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__62b9eddf5f3d134c9eaf657bf79c8674/node_modules/tsup/assets/esm_shims.js
13
13
  import { fileURLToPath } from "url";
14
14
  import path from "path";
15
15
  var getFilename = () => fileURLToPath(import.meta.url);
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  findWorkspaceRoot,
11
11
  getConfig
12
- } from "./chunk-DKHOMIBZ.mjs";
12
+ } from "./chunk-537PH6YK.mjs";
13
13
  import {
14
14
  writeDebug,
15
15
  writeInfo,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-PH3DHY4Q.mjs";
4
4
  import {
5
5
  __require
6
- } from "./chunk-FI6ULZMS.mjs";
6
+ } from "./chunk-N6YTSDTM.mjs";
7
7
 
8
8
  // src/executors/cloudflare-publish/executor.ts
9
9
  import { joinPathFragments } from "@nx/devkit";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./chunk-FI6ULZMS.mjs";
3
+ } from "./chunk-N6YTSDTM.mjs";
4
4
 
5
5
  // package.json
6
6
  var require_package = __commonJS({
7
7
  "package.json"(exports, module) {
8
8
  module.exports = {
9
9
  name: "@storm-software/cloudflare-tools",
10
- version: "0.65.2",
10
+ version: "0.65.4",
11
11
  description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
12
12
  repository: {
13
13
  type: "github",
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkZLRBHMA3js = require('./chunk-ZLRBHMA3.js');
3
+ var _chunkTUU62TNEjs = require('./chunk-TUU62TNE.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkZDZ43AAAjs = require('./chunk-ZDZ43AAA.js');
7
+ var _chunk6CP6ARGMjs = require('./chunk-6CP6ARGM.js');
8
8
 
9
9
 
10
10
 
@@ -51,13 +51,13 @@ async function applicationGenerator(tree, schema) {
51
51
  _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
52
52
 
53
53
  `, config);
54
- const workspaceRoot = _chunkZDZ43AAAjs.findWorkspaceRoot.call(void 0, );
54
+ const workspaceRoot = _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, );
55
55
  _chunk2CDSXWFAjs.writeDebug.call(void 0,
56
56
  `Loading the Storm Config from environment variables and storm.json file...
57
57
  - workspaceRoot: ${workspaceRoot}`,
58
58
  config
59
59
  );
60
- config = await _chunkZDZ43AAAjs.getConfig.call(void 0, workspaceRoot);
60
+ config = await _chunk6CP6ARGMjs.getConfig.call(void 0, workspaceRoot);
61
61
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
62
62
  `Loaded Storm config into env:
63
63
  ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`,
@@ -66,7 +66,7 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
66
66
  const options = await normalizeOptions(tree, schema, config);
67
67
  const tasks = [];
68
68
  tasks.push(
69
- await _chunkZLRBHMA3js.generator_default.call(void 0, tree, {
69
+ await _chunkTUU62TNEjs.generator_default.call(void 0, tree, {
70
70
  ...options,
71
71
  skipFormat: true
72
72
  })
@@ -7,7 +7,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
7
7
  "package.json"(exports, module) {
8
8
  module.exports = {
9
9
  name: "@storm-software/cloudflare-tools",
10
- version: "0.65.2",
10
+ version: "0.65.4",
11
11
  description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
12
12
  repository: {
13
13
  type: "github",
@@ -9,7 +9,7 @@ var _chunkNU34IEWNjs = require('./chunk-NU34IEWN.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkZDZ43AAAjs = require('./chunk-ZDZ43AAA.js');
12
+ var _chunk6CP6ARGMjs = require('./chunk-6CP6ARGM.js');
13
13
 
14
14
 
15
15
 
@@ -60,7 +60,7 @@ var applyWorkspaceBaseTokens = async (option, tokenParams) => {
60
60
  if (result.includes("{workspaceRoot}")) {
61
61
  result = result.replaceAll(
62
62
  "{workspaceRoot}",
63
- _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkZDZ43AAAjs.findWorkspaceRoot.call(void 0, )))
63
+ _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, )))
64
64
  );
65
65
  }
66
66
  return result;
@@ -109,7 +109,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
109
109
  "The Build process failed because the context is not valid. Please run this command from a workspace."
110
110
  );
111
111
  }
112
- const workspaceRoot3 = _chunkZDZ43AAAjs.findWorkspaceRoot.call(void 0, );
112
+ const workspaceRoot3 = _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, );
113
113
  const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot3;
114
114
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot3;
115
115
  const projectName = context.projectName;
@@ -125,7 +125,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
125
125
  `,
126
126
  config
127
127
  );
128
- config = await _chunkZDZ43AAAjs.getConfig.call(void 0, workspaceRoot3);
128
+ config = await _chunk6CP6ARGMjs.getConfig.call(void 0, workspaceRoot3);
129
129
  }
130
130
  if (_optionalChain([executorOptions, 'optionalAccess', _7 => _7.hooks, 'optionalAccess', _8 => _8.applyDefaultOptions])) {
131
131
  _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
@@ -510,7 +510,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
510
510
  }
511
511
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
512
512
  `\u{1F4DD} Copying the following assets to the output directory:
513
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkZDZ43AAAjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
513
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunk6CP6ARGMjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
514
514
  config
515
515
  );
516
516
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
@@ -523,17 +523,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
523
523
  _chunk2CDSXWFAjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
524
524
  if (includeSrc === true) {
525
525
  _chunk2CDSXWFAjs.writeDebug.call(void 0,
526
- `\u{1F4DD} Adding banner and writing source files: ${_chunkZDZ43AAAjs.joinPaths.call(void 0,
526
+ `\u{1F4DD} Adding banner and writing source files: ${_chunk6CP6ARGMjs.joinPaths.call(void 0,
527
527
  outputPath,
528
528
  "src"
529
529
  )}`,
530
530
  config
531
531
  );
532
532
  const files = await _glob.glob.call(void 0, [
533
- _chunkZDZ43AAAjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
534
- _chunkZDZ43AAAjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
535
- _chunkZDZ43AAAjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
536
- _chunkZDZ43AAAjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
533
+ _chunk6CP6ARGMjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
534
+ _chunk6CP6ARGMjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
535
+ _chunk6CP6ARGMjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
536
+ _chunk6CP6ARGMjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
537
537
  ]);
538
538
  await Promise.allSettled(
539
539
  files.map(
@@ -588,7 +588,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
588
588
  )) {
589
589
  const projectNode = project.node;
590
590
  if (projectNode.data.root) {
591
- const projectPackageJsonPath = _chunkZDZ43AAAjs.joinPaths.call(void 0,
591
+ const projectPackageJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0,
592
592
  workspaceRoot3,
593
593
  projectNode.data.root,
594
594
  "package.json"
@@ -610,7 +610,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
610
610
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
611
611
  );
612
612
  const projectJsonFile = await _promises.readFile.call(void 0,
613
- _chunkZDZ43AAAjs.joinPaths.call(void 0, projectRoot, "project.json"),
613
+ _chunk6CP6ARGMjs.joinPaths.call(void 0, projectRoot, "project.json"),
614
614
  "utf8"
615
615
  );
616
616
  const projectJson = JSON.parse(projectJsonFile);
@@ -623,7 +623,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
623
623
  }
624
624
  const implicitDependencies = _optionalChain([projectConfigurations, 'access', _37 => _37.projects, 'optionalAccess', _38 => _38[projectName2], 'access', _39 => _39.implicitDependencies, 'optionalAccess', _40 => _40.reduce, 'call', _41 => _41((ret, dep) => {
625
625
  if (_optionalChain([projectConfigurations, 'access', _42 => _42.projects, 'optionalAccess', _43 => _43[dep]])) {
626
- const depPackageJsonPath = _chunkZDZ43AAAjs.joinPaths.call(void 0,
626
+ const depPackageJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0,
627
627
  workspaceRoot3,
628
628
  projectConfigurations.projects[dep].root,
629
629
  "package.json"
@@ -659,9 +659,9 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
659
659
  return packageJson;
660
660
  };
661
661
  var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
662
- const workspaceRoot3 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkZDZ43AAAjs.findWorkspaceRoot.call(void 0, );
662
+ const workspaceRoot3 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, );
663
663
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
664
- _chunkZDZ43AAAjs.joinPaths.call(void 0, workspaceRoot3, "package.json"),
664
+ _chunk6CP6ARGMjs.joinPaths.call(void 0, workspaceRoot3, "package.json"),
665
665
  "utf8"
666
666
  );
667
667
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
@@ -672,7 +672,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
672
672
  if (distSrc.startsWith("/")) {
673
673
  distSrc = distSrc.substring(1);
674
674
  }
675
- packageJson.source ??= `${_chunkZDZ43AAAjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
675
+ packageJson.source ??= `${_chunk6CP6ARGMjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
676
676
  }
677
677
  packageJson.files ??= ["dist/**/*"];
678
678
  if (includeSrc === true && !packageJson.files.includes("src")) {
@@ -697,7 +697,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
697
697
  packageJson.contributors = [packageJson.author];
698
698
  }
699
699
  packageJson.repository ??= workspacePackageJson.repository;
700
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkZDZ43AAAjs.joinPaths.call(void 0, "packages", projectName);
700
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunk6CP6ARGMjs.joinPaths.call(void 0, "packages", projectName);
701
701
  return packageJson;
702
702
  };
703
703
 
@@ -816,7 +816,7 @@ async function resolveContext(userOptions) {
816
816
  if (!workspaceRoot3) {
817
817
  throw new Error("Cannot find Nx workspace root");
818
818
  }
819
- const workspaceConfig = await _chunkZDZ43AAAjs.getWorkspaceConfig.call(void 0, true, {
819
+ const workspaceConfig = await _chunk6CP6ARGMjs.getWorkspaceConfig.call(void 0, true, {
820
820
  workspaceRoot: workspaceRoot3.dir
821
821
  });
822
822
  _chunk2CDSXWFAjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
@@ -824,7 +824,7 @@ async function resolveContext(userOptions) {
824
824
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
825
825
  exitOnError: true
826
826
  });
827
- const projectJsonPath = _chunkZDZ43AAAjs.joinPaths.call(void 0,
827
+ const projectJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0,
828
828
  workspaceRoot3.dir,
829
829
  projectRoot,
830
830
  "project.json"
@@ -843,7 +843,7 @@ async function resolveContext(userOptions) {
843
843
  }
844
844
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
845
845
  options.name ??= projectName;
846
- const packageJsonPath = _chunkZDZ43AAAjs.joinPaths.call(void 0,
846
+ const packageJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0,
847
847
  workspaceRoot3.dir,
848
848
  options.projectRoot,
849
849
  "package.json"
@@ -855,7 +855,7 @@ async function resolveContext(userOptions) {
855
855
  const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
856
856
  const resolvedOptions = {
857
857
  ...options,
858
- tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkZDZ43AAAjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "tsconfig.json"),
858
+ tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunk6CP6ARGMjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "tsconfig.json"),
859
859
  metafile: userOptions.mode === "development",
860
860
  clean: false,
861
861
  env,
@@ -880,8 +880,8 @@ async function resolveContext(userOptions) {
880
880
  projectConfigurations,
881
881
  projectName,
882
882
  projectGraph,
883
- sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkZDZ43AAAjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
884
- outputPath: resolvedOptions.outputPath || _chunkZDZ43AAAjs.joinPaths.call(void 0,
883
+ sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunk6CP6ARGMjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
884
+ outputPath: resolvedOptions.outputPath || _chunk6CP6ARGMjs.joinPaths.call(void 0,
885
885
  workspaceConfig.workspaceRoot,
886
886
  "dist",
887
887
  resolvedOptions.projectRoot
@@ -905,10 +905,10 @@ ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0, context.options)}`,
905
905
 
906
906
 
907
907
  async function generatePackageJson(context) {
908
- if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkZDZ43AAAjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
908
+ if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk6CP6ARGMjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
909
909
  _chunk2CDSXWFAjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
910
910
  const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, "Write package.json file");
911
- const packageJsonPath = _chunkZDZ43AAAjs.joinPaths.call(void 0,
911
+ const packageJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0,
912
912
  context.options.projectRoot,
913
913
  "project.json"
914
914
  );
@@ -916,7 +916,7 @@ async function generatePackageJson(context) {
916
916
  throw new Error("Cannot find package.json configuration");
917
917
  }
918
918
  const packageJsonFile = await _promises2.default.readFile(
919
- _chunkZDZ43AAAjs.joinPaths.call(void 0,
919
+ _chunk6CP6ARGMjs.joinPaths.call(void 0,
920
920
  context.workspaceConfig.workspaceRoot,
921
921
  context.options.projectRoot,
922
922
  "package.json"
@@ -1022,7 +1022,7 @@ async function generatePackageJson(context) {
1022
1022
  }
1023
1023
  }
1024
1024
  await _devkit.writeJsonFile.call(void 0,
1025
- _chunkZDZ43AAAjs.joinPaths.call(void 0, context.outputPath, "package.json"),
1025
+ _chunk6CP6ARGMjs.joinPaths.call(void 0, context.outputPath, "package.json"),
1026
1026
  packageJson
1027
1027
  );
1028
1028
  stopwatch();
@@ -1122,7 +1122,7 @@ async function executeTsup(context) {
1122
1122
  const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, `${context.options.name} build`);
1123
1123
  await _tsup.build.call(void 0, {
1124
1124
  ...context.options,
1125
- outDir: context.options.distDir ? _chunkZDZ43AAAjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
1125
+ outDir: context.options.distDir ? _chunk6CP6ARGMjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
1126
1126
  workspaceConfig: context.workspaceConfig
1127
1127
  });
1128
1128
  stopwatch();
@@ -1373,7 +1373,7 @@ async function unbuildExecutorFn(options, context, config) {
1373
1373
  );
1374
1374
  }
1375
1375
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1376
- fsCache: config.skipCache ? false : _chunkZDZ43AAAjs.joinPaths.call(void 0,
1376
+ fsCache: config.skipCache ? false : _chunk6CP6ARGMjs.joinPaths.call(void 0,
1377
1377
  config.workspaceRoot,
1378
1378
  config.directories.cache || "node_modules/.cache/storm",
1379
1379
  "jiti"
@@ -1395,7 +1395,7 @@ async function unbuildExecutorFn(options, context, config) {
1395
1395
  {
1396
1396
  stubOptions: {
1397
1397
  jiti: {
1398
- fsCache: config.skipCache ? false : _chunkZDZ43AAAjs.joinPaths.call(void 0,
1398
+ fsCache: config.skipCache ? false : _chunk6CP6ARGMjs.joinPaths.call(void 0,
1399
1399
  config.workspaceRoot,
1400
1400
  config.directories.cache || "node_modules/.cache/storm",
1401
1401
  "jiti"
@@ -1462,14 +1462,14 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
1462
1462
  _chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
1463
1463
 
1464
1464
  `, config);
1465
- const workspaceRoot3 = _chunkZDZ43AAAjs.findWorkspaceRoot.call(void 0, );
1465
+ const workspaceRoot3 = _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, );
1466
1466
  if (!generatorOptions.skipReadingConfig) {
1467
1467
  _chunk2CDSXWFAjs.writeDebug.call(void 0,
1468
1468
  `Loading the Storm Config from environment variables and storm.config.js file...
1469
1469
  - workspaceRoot: ${workspaceRoot3}`,
1470
1470
  config
1471
1471
  );
1472
- config = await _chunkZDZ43AAAjs.getConfig.call(void 0, workspaceRoot3);
1472
+ config = await _chunk6CP6ARGMjs.getConfig.call(void 0, workspaceRoot3);
1473
1473
  }
1474
1474
  if (_optionalChain([generatorOptions, 'optionalAccess', _95 => _95.hooks, 'optionalAccess', _96 => _96.applyDefaultOptions])) {
1475
1475
  _chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
@@ -1588,16 +1588,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1588
1588
  const projectConfig = {
1589
1589
  root: normalized.directory,
1590
1590
  projectType: "library",
1591
- sourceRoot: _chunkZDZ43AAAjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1591
+ sourceRoot: _chunk6CP6ARGMjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1592
1592
  targets: {
1593
1593
  build: {
1594
1594
  executor: options.buildExecutor,
1595
1595
  outputs: ["{options.outputPath}"],
1596
1596
  options: {
1597
- entry: [_chunkZDZ43AAAjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1597
+ entry: [_chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1598
1598
  outputPath: getOutputPath(normalized),
1599
- tsconfig: _chunkZDZ43AAAjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1600
- project: _chunkZDZ43AAAjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1599
+ tsconfig: _chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1600
+ project: _chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1601
1601
  defaultConfiguration: "production",
1602
1602
  platform: "neutral",
1603
1603
  assets: [
@@ -1654,7 +1654,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1654
1654
  if (!normalized.importPath) {
1655
1655
  normalized.importPath = normalized.name;
1656
1656
  }
1657
- const packageJsonPath = _chunkZDZ43AAAjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
1657
+ const packageJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
1658
1658
  if (tree.exists(packageJsonPath)) {
1659
1659
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
1660
1660
  if (!normalized.importPath) {
@@ -1711,14 +1711,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1711
1711
  }));
1712
1712
  }
1713
1713
  _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
1714
- _chunkZDZ43AAAjs.joinPaths.call(void 0,
1714
+ _chunk6CP6ARGMjs.joinPaths.call(void 0,
1715
1715
  normalized.projectRoot,
1716
1716
  "./src",
1717
1717
  `index.${normalized.js ? "js" : "ts"}`
1718
1718
  )
1719
1719
  ]);
1720
- _js.addTsConfigPath.call(void 0, tree, _chunkZDZ43AAAjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
1721
- _chunkZDZ43AAAjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
1720
+ _js.addTsConfigPath.call(void 0, tree, _chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
1721
+ _chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
1722
1722
  ]);
1723
1723
  if (tree.exists("package.json")) {
1724
1724
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
@@ -1729,7 +1729,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1729
1729
  description = packageJson.description;
1730
1730
  }
1731
1731
  }
1732
- const tsconfigPath = _chunkZDZ43AAAjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
1732
+ const tsconfigPath = _chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
1733
1733
  if (tree.exists(tsconfigPath)) {
1734
1734
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
1735
1735
  json.composite ??= true;
@@ -1757,7 +1757,7 @@ function getOutputPath(options) {
1757
1757
  } else {
1758
1758
  parts.push(options.projectRoot);
1759
1759
  }
1760
- return _chunkZDZ43AAAjs.joinPaths.call(void 0, ...parts);
1760
+ return _chunk6CP6ARGMjs.joinPaths.call(void 0, ...parts);
1761
1761
  }
1762
1762
  function createProjectTsConfigJson(tree, options) {
1763
1763
  const tsconfig = {
@@ -1765,7 +1765,7 @@ function createProjectTsConfigJson(tree, options) {
1765
1765
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _124 => _124.tsconfigOptions]), () => ( {})),
1766
1766
  compilerOptions: {
1767
1767
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
1768
- outDir: _chunkZDZ43AAAjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
1768
+ outDir: _chunk6CP6ARGMjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
1769
1769
  noEmit: true,
1770
1770
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _125 => _125.tsconfigOptions, 'optionalAccess', _126 => _126.compilerOptions]), () => ( {}))
1771
1771
  },
@@ -1783,7 +1783,7 @@ function createProjectTsConfigJson(tree, options) {
1783
1783
  "src/**/*.test.ts"
1784
1784
  ]
1785
1785
  };
1786
- _devkit.writeJson.call(void 0, tree, _chunkZDZ43AAAjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
1786
+ _devkit.writeJson.call(void 0, tree, _chunk6CP6ARGMjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
1787
1787
  }
1788
1788
  async function normalizeOptions(tree, options, config) {
1789
1789
  let importPath = options.importPath;
@@ -1848,7 +1848,7 @@ async function normalizeOptions(tree, options, config) {
1848
1848
 
1849
1849
  // ../workspace-tools/src/generators/browser-library/generator.ts
1850
1850
  async function browserLibraryGeneratorFn(tree, schema, config) {
1851
- const filesDir = _chunkZDZ43AAAjs.joinPaths.call(void 0,
1851
+ const filesDir = _chunk6CP6ARGMjs.joinPaths.call(void 0,
1852
1852
  __dirname,
1853
1853
  "src",
1854
1854
  "generators",
@@ -1939,9 +1939,9 @@ async function configSchemaGeneratorFn(tree, options, config) {
1939
1939
  `Determining the Storm Workspace Configuration JSON Schema...`,
1940
1940
  config
1941
1941
  );
1942
- const jsonSchema = z.toJSONSchema(_chunkZDZ43AAAjs.workspaceConfigSchema, {
1942
+ const jsonSchema = z.toJSONSchema(_chunk6CP6ARGMjs.workspaceConfigSchema, {
1943
1943
  target: "draft-7",
1944
- metadata: _chunkZDZ43AAAjs.schemaRegistry
1944
+ metadata: _chunk6CP6ARGMjs.schemaRegistry
1945
1945
  });
1946
1946
  jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
1947
1947
  jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
@@ -1953,7 +1953,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
1953
1953
  );
1954
1954
  }
1955
1955
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
1956
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _135 => _135.workspaceRoot]), () => ( _chunkZDZ43AAAjs.findWorkspaceRoot.call(void 0, ))),
1956
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _135 => _135.workspaceRoot]), () => ( _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, ))),
1957
1957
  options.outputFile.startsWith("./") ? "" : "./"
1958
1958
  );
1959
1959
  _chunk2CDSXWFAjs.writeTrace.call(void 0,
@@ -1997,7 +1997,7 @@ var generator_default2 = withRunGenerator(
1997
1997
 
1998
1998
 
1999
1999
  async function neutralLibraryGeneratorFn(tree, schema, config) {
2000
- const filesDir = _chunkZDZ43AAAjs.joinPaths.call(void 0,
2000
+ const filesDir = _chunk6CP6ARGMjs.joinPaths.call(void 0,
2001
2001
  __dirname,
2002
2002
  "src",
2003
2003
  "generators",
@@ -2056,7 +2056,7 @@ var generator_default3 = withRunGenerator(
2056
2056
 
2057
2057
 
2058
2058
  async function nodeLibraryGeneratorFn(tree, schema, config) {
2059
- const filesDir = _chunkZDZ43AAAjs.joinPaths.call(void 0,
2059
+ const filesDir = _chunk6CP6ARGMjs.joinPaths.call(void 0,
2060
2060
  __dirname,
2061
2061
  "src",
2062
2062
  "generators",
package/dist/executors.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
2
  require('./chunk-IRORGRVZ.js');
3
- require('./chunk-E2QSZ73F.js');
4
- require('./chunk-SDOOTJSD.js');
3
+ require('./chunk-U3IGSCX3.js');
4
+ require('./chunk-N3UQB43Z.js');
5
5
  require('./chunk-NCQM44P3.js');
6
6
  require('./chunk-NU34IEWN.js');
7
- require('./chunk-ZDZ43AAA.js');
7
+ require('./chunk-6CP6ARGM.js');
8
8
  require('./chunk-2CDSXWFA.js');
9
9
  require('./chunk-MCKGQKYU.js');
@@ -1,9 +1,9 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
- import "./chunk-N5TVLF2U.mjs";
3
- import "./chunk-EK6YU2XP.mjs";
4
- import "./chunk-I3R2ATMM.mjs";
2
+ import "./chunk-QBISXDXF.mjs";
3
+ import "./chunk-EHEXWPEP.mjs";
4
+ import "./chunk-NYUGUHRY.mjs";
5
5
  import "./chunk-IANDAPQS.mjs";
6
6
  import "./chunk-PH3DHY4Q.mjs";
7
- import "./chunk-DKHOMIBZ.mjs";
7
+ import "./chunk-537PH6YK.mjs";
8
8
  import "./chunk-V44DYGWX.mjs";
9
- import "./chunk-FI6ULZMS.mjs";
9
+ import "./chunk-N6YTSDTM.mjs";
@@ -2,12 +2,12 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkGUFFZ6ZVjs = require('./chunk-GUFFZ6ZV.js');
5
+ var _chunkSYVHSLWFjs = require('./chunk-SYVHSLWF.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkZLRBHMA3js = require('./chunk-ZLRBHMA3.js');
10
- require('./chunk-ZDZ43AAA.js');
9
+ var _chunkTUU62TNEjs = require('./chunk-TUU62TNE.js');
10
+ require('./chunk-6CP6ARGM.js');
11
11
  require('./chunk-2CDSXWFA.js');
12
12
  require('./chunk-MCKGQKYU.js');
13
13
 
@@ -15,4 +15,4 @@ require('./chunk-MCKGQKYU.js');
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkGUFFZ6ZVjs.applicationGenerator; exports.applicationSchematic = _chunkGUFFZ6ZVjs.applicationSchematic; exports.initGenerator = _chunkZLRBHMA3js.initGenerator; exports.initSchematic = _chunkZLRBHMA3js.initSchematic;
18
+ exports.applicationGenerator = _chunkSYVHSLWFjs.applicationGenerator; exports.applicationSchematic = _chunkSYVHSLWFjs.applicationSchematic; exports.initGenerator = _chunkTUU62TNEjs.initGenerator; exports.initSchematic = _chunkTUU62TNEjs.initSchematic;
@@ -2,14 +2,14 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-YYEV23XL.mjs";
5
+ } from "./chunk-3WGLBIRH.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-3ABTMFLH.mjs";
10
- import "./chunk-DKHOMIBZ.mjs";
9
+ } from "./chunk-QXC6AVIJ.mjs";
10
+ import "./chunk-537PH6YK.mjs";
11
11
  import "./chunk-V44DYGWX.mjs";
12
- import "./chunk-FI6ULZMS.mjs";
12
+ import "./chunk-N6YTSDTM.mjs";
13
13
  export {
14
14
  applicationGenerator,
15
15
  applicationSchematic,
package/dist/index.js CHANGED
@@ -3,15 +3,15 @@ require('./chunk-DHBG5ASJ.js');
3
3
 
4
4
 
5
5
 
6
- var _chunkGUFFZ6ZVjs = require('./chunk-GUFFZ6ZV.js');
6
+ var _chunkSYVHSLWFjs = require('./chunk-SYVHSLWF.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkZLRBHMA3js = require('./chunk-ZLRBHMA3.js');
10
+ var _chunkTUU62TNEjs = require('./chunk-TUU62TNE.js');
11
11
  require('./chunk-CVGPWUNP.js');
12
12
  require('./chunk-IRORGRVZ.js');
13
- require('./chunk-E2QSZ73F.js');
14
- require('./chunk-SDOOTJSD.js');
13
+ require('./chunk-U3IGSCX3.js');
14
+ require('./chunk-N3UQB43Z.js');
15
15
 
16
16
 
17
17
 
@@ -20,7 +20,7 @@ var _chunkNCQM44P3js = require('./chunk-NCQM44P3.js');
20
20
 
21
21
 
22
22
  var _chunkNU34IEWNjs = require('./chunk-NU34IEWN.js');
23
- require('./chunk-ZDZ43AAA.js');
23
+ require('./chunk-6CP6ARGM.js');
24
24
  require('./chunk-2CDSXWFA.js');
25
25
  require('./chunk-MCKGQKYU.js');
26
26
 
@@ -163,4 +163,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
163
163
 
164
164
 
165
165
 
166
- exports.applicationGenerator = _chunkGUFFZ6ZVjs.applicationGenerator; exports.applicationSchematic = _chunkGUFFZ6ZVjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkNCQM44P3js.getInternalDependencies; exports.initGenerator = _chunkZLRBHMA3js.initGenerator; exports.initSchematic = _chunkZLRBHMA3js.initSchematic; exports.name = name; exports.r2UploadFile = _chunkNCQM44P3js.r2UploadFile;
166
+ exports.applicationGenerator = _chunkSYVHSLWFjs.applicationGenerator; exports.applicationSchematic = _chunkSYVHSLWFjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkNCQM44P3js.getInternalDependencies; exports.initGenerator = _chunkTUU62TNEjs.initGenerator; exports.initSchematic = _chunkTUU62TNEjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkNCQM44P3js.r2UploadFile;
package/dist/index.mjs CHANGED
@@ -3,15 +3,15 @@ import "./chunk-3J7KBHMJ.mjs";
3
3
  import {
4
4
  applicationGenerator,
5
5
  applicationSchematic
6
- } from "./chunk-YYEV23XL.mjs";
6
+ } from "./chunk-3WGLBIRH.mjs";
7
7
  import {
8
8
  initGenerator,
9
9
  initSchematic
10
- } from "./chunk-3ABTMFLH.mjs";
10
+ } from "./chunk-QXC6AVIJ.mjs";
11
11
  import "./chunk-7Z5PILRU.mjs";
12
- import "./chunk-N5TVLF2U.mjs";
13
- import "./chunk-EK6YU2XP.mjs";
14
- import "./chunk-I3R2ATMM.mjs";
12
+ import "./chunk-QBISXDXF.mjs";
13
+ import "./chunk-EHEXWPEP.mjs";
14
+ import "./chunk-NYUGUHRY.mjs";
15
15
  import {
16
16
  getInternalDependencies,
17
17
  r2UploadFile
@@ -20,9 +20,9 @@ import {
20
20
  ProjectTagConstants,
21
21
  addProjectTag
22
22
  } from "./chunk-PH3DHY4Q.mjs";
23
- import "./chunk-DKHOMIBZ.mjs";
23
+ import "./chunk-537PH6YK.mjs";
24
24
  import "./chunk-V44DYGWX.mjs";
25
- import "./chunk-FI6ULZMS.mjs";
25
+ import "./chunk-N6YTSDTM.mjs";
26
26
 
27
27
  // src/plugins/index.ts
28
28
  import {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
  var _chunkIRORGRVZjs = require('../../../chunk-IRORGRVZ.js');
4
- require('../../../chunk-E2QSZ73F.js');
4
+ require('../../../chunk-U3IGSCX3.js');
5
5
  require('../../../chunk-NU34IEWN.js');
6
- require('../../../chunk-ZDZ43AAA.js');
6
+ require('../../../chunk-6CP6ARGM.js');
7
7
  require('../../../chunk-2CDSXWFA.js');
8
8
  require('../../../chunk-MCKGQKYU.js');
9
9
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  runExecutor
3
- } from "../../../chunk-N5TVLF2U.mjs";
4
- import "../../../chunk-EK6YU2XP.mjs";
3
+ } from "../../../chunk-QBISXDXF.mjs";
4
+ import "../../../chunk-EHEXWPEP.mjs";
5
5
  import "../../../chunk-PH3DHY4Q.mjs";
6
- import "../../../chunk-DKHOMIBZ.mjs";
6
+ import "../../../chunk-537PH6YK.mjs";
7
7
  import "../../../chunk-V44DYGWX.mjs";
8
- import "../../../chunk-FI6ULZMS.mjs";
8
+ import "../../../chunk-N6YTSDTM.mjs";
9
9
  export {
10
10
  runExecutor as default
11
11
  };
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSDOOTJSDjs = require('../../../chunk-SDOOTJSD.js');
3
+ var _chunkN3UQB43Zjs = require('../../../chunk-N3UQB43Z.js');
4
4
  require('../../../chunk-NCQM44P3.js');
5
5
  require('../../../chunk-NU34IEWN.js');
6
- require('../../../chunk-ZDZ43AAA.js');
6
+ require('../../../chunk-6CP6ARGM.js');
7
7
  require('../../../chunk-2CDSXWFA.js');
8
8
  require('../../../chunk-MCKGQKYU.js');
9
9
 
10
10
 
11
- exports.default = _chunkSDOOTJSDjs.runExecutor;
11
+ exports.default = _chunkN3UQB43Zjs.runExecutor;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  runExecutor
3
- } from "../../../chunk-I3R2ATMM.mjs";
3
+ } from "../../../chunk-NYUGUHRY.mjs";
4
4
  import "../../../chunk-IANDAPQS.mjs";
5
5
  import "../../../chunk-PH3DHY4Q.mjs";
6
- import "../../../chunk-DKHOMIBZ.mjs";
6
+ import "../../../chunk-537PH6YK.mjs";
7
7
  import "../../../chunk-V44DYGWX.mjs";
8
- import "../../../chunk-FI6ULZMS.mjs";
8
+ import "../../../chunk-N6YTSDTM.mjs";
9
9
  export {
10
10
  runExecutor as default
11
11
  };
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkE2QSZ73Fjs = require('../../../chunk-E2QSZ73F.js');
3
+ var _chunkU3IGSCX3js = require('../../../chunk-U3IGSCX3.js');
4
4
 
5
5
 
6
6
  var _chunkNU34IEWNjs = require('../../../chunk-NU34IEWN.js');
7
- require('../../../chunk-ZDZ43AAA.js');
7
+ require('../../../chunk-6CP6ARGM.js');
8
8
  require('../../../chunk-2CDSXWFA.js');
9
9
 
10
10
 
@@ -55,7 +55,7 @@ async function* serveExecutor(options, context, config) {
55
55
  success: true
56
56
  };
57
57
  }
58
- var executor_default = _chunkE2QSZ73Fjs.withRunExecutor.call(void 0,
58
+ var executor_default = _chunkU3IGSCX3js.withRunExecutor.call(void 0,
59
59
  "Cloudflare Serve executor",
60
60
  serveExecutor,
61
61
  {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "../../../chunk-EK6YU2XP.mjs";
3
+ } from "../../../chunk-EHEXWPEP.mjs";
4
4
  import {
5
5
  createCliOptions
6
6
  } from "../../../chunk-PH3DHY4Q.mjs";
7
- import "../../../chunk-DKHOMIBZ.mjs";
7
+ import "../../../chunk-537PH6YK.mjs";
8
8
  import "../../../chunk-V44DYGWX.mjs";
9
9
  import {
10
10
  __require
11
- } from "../../../chunk-FI6ULZMS.mjs";
11
+ } from "../../../chunk-N6YTSDTM.mjs";
12
12
 
13
13
  // src/executors/serve/executor.ts
14
14
  import { createAsyncIterable } from "@nx/devkit/src/utils/async-iterable";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkZLRBHMA3js = require('../../../chunk-ZLRBHMA3.js');
5
+ var _chunkTUU62TNEjs = require('../../../chunk-TUU62TNE.js');
6
6
  require('../../../chunk-MCKGQKYU.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunkZLRBHMA3js.generator_default; exports.initGenerator = _chunkZLRBHMA3js.initGenerator; exports.initSchematic = _chunkZLRBHMA3js.initSchematic;
11
+ exports.default = _chunkTUU62TNEjs.generator_default; exports.initGenerator = _chunkTUU62TNEjs.initGenerator; exports.initSchematic = _chunkTUU62TNEjs.initSchematic;
@@ -2,8 +2,8 @@ import {
2
2
  generator_default,
3
3
  initGenerator,
4
4
  initSchematic
5
- } from "../../../chunk-3ABTMFLH.mjs";
6
- import "../../../chunk-FI6ULZMS.mjs";
5
+ } from "../../../chunk-QXC6AVIJ.mjs";
6
+ import "../../../chunk-N6YTSDTM.mjs";
7
7
  export {
8
8
  generator_default as default,
9
9
  initGenerator,
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkGUFFZ6ZVjs = require('../../../chunk-GUFFZ6ZV.js');
6
- require('../../../chunk-ZLRBHMA3.js');
7
- require('../../../chunk-ZDZ43AAA.js');
5
+ var _chunkSYVHSLWFjs = require('../../../chunk-SYVHSLWF.js');
6
+ require('../../../chunk-TUU62TNE.js');
7
+ require('../../../chunk-6CP6ARGM.js');
8
8
  require('../../../chunk-2CDSXWFA.js');
9
9
  require('../../../chunk-MCKGQKYU.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.applicationGenerator = _chunkGUFFZ6ZVjs.applicationGenerator; exports.applicationSchematic = _chunkGUFFZ6ZVjs.applicationSchematic; exports.default = _chunkGUFFZ6ZVjs.generator_default;
14
+ exports.applicationGenerator = _chunkSYVHSLWFjs.applicationGenerator; exports.applicationSchematic = _chunkSYVHSLWFjs.applicationSchematic; exports.default = _chunkSYVHSLWFjs.generator_default;
@@ -2,11 +2,11 @@ import {
2
2
  applicationGenerator,
3
3
  applicationSchematic,
4
4
  generator_default
5
- } from "../../../chunk-YYEV23XL.mjs";
6
- import "../../../chunk-3ABTMFLH.mjs";
7
- import "../../../chunk-DKHOMIBZ.mjs";
5
+ } from "../../../chunk-3WGLBIRH.mjs";
6
+ import "../../../chunk-QXC6AVIJ.mjs";
7
+ import "../../../chunk-537PH6YK.mjs";
8
8
  import "../../../chunk-V44DYGWX.mjs";
9
- import "../../../chunk-FI6ULZMS.mjs";
9
+ import "../../../chunk-N6YTSDTM.mjs";
10
10
  export {
11
11
  applicationGenerator,
12
12
  applicationSchematic,
@@ -4,7 +4,7 @@ import {
4
4
  r2UploadFile
5
5
  } from "../../chunk-IANDAPQS.mjs";
6
6
  import "../../chunk-V44DYGWX.mjs";
7
- import "../../chunk-FI6ULZMS.mjs";
7
+ import "../../chunk-N6YTSDTM.mjs";
8
8
  export {
9
9
  getInternalDependencies,
10
10
  r2UploadFile
@@ -3,7 +3,7 @@ import {
3
3
  r2UploadFile
4
4
  } from "../../chunk-IANDAPQS.mjs";
5
5
  import "../../chunk-V44DYGWX.mjs";
6
- import "../../chunk-FI6ULZMS.mjs";
6
+ import "../../chunk-N6YTSDTM.mjs";
7
7
  export {
8
8
  getInternalDependencies,
9
9
  r2UploadFile
@@ -1,4 +1,4 @@
1
- import "./chunk-FI6ULZMS.mjs";
1
+ import "./chunk-N6YTSDTM.mjs";
2
2
 
3
3
  // tsup.config.ts
4
4
  import { defineConfig } from "tsup";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/cloudflare-tools",
3
- "version": "0.65.3",
3
+ "version": "0.65.5",
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",
@@ -150,5 +150,5 @@
150
150
  "publishConfig": { "access": "public" },
151
151
  "executors": "./executors.json",
152
152
  "generators": "./generators.json",
153
- "gitHead": "45ad3d8c10f6f667f184ffd50446ee894b8e1dda"
153
+ "gitHead": "dd148e6f766439815722095415f6b77d8b9b705f"
154
154
  }