@storm-software/cloudflare-tools 0.70.39 → 0.70.41

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 (37) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-ZWF65Q7E.js → chunk-4BWM53AA.js} +4 -2
  4. package/dist/{chunk-FLGNERJF.mjs → chunk-5N2NVDKX.mjs} +1 -1
  5. package/dist/{chunk-NRPYQWQ4.mjs → chunk-6MATO2MJ.mjs} +4 -2
  6. package/dist/{chunk-PFTILUUJ.mjs → chunk-C6RH6OWS.mjs} +5 -5
  7. package/dist/{chunk-UANZ3WV5.js → chunk-EQXEFXCV.js} +10 -10
  8. package/dist/{chunk-FSMVVWYT.js → chunk-FFOLWRMA.js} +3 -3
  9. package/dist/{chunk-5HCV2FJY.mjs → chunk-LKWWFIMC.mjs} +3 -3
  10. package/dist/{chunk-F5CQSH7Y.js → chunk-OTDPGPH4.js} +16 -16
  11. package/dist/{chunk-4OWK4XVG.mjs → chunk-PTTJW7MW.mjs} +1 -1
  12. package/dist/{chunk-Q2TBTELO.js → chunk-VJWS2NTW.js} +12 -12
  13. package/dist/{chunk-ZASMKBXP.mjs → chunk-WBUCIAVK.mjs} +3 -3
  14. package/dist/{chunk-V57GKOIC.mjs → chunk-XFCVGJUC.mjs} +2 -2
  15. package/dist/{chunk-G4XKRD64.js → chunk-Y74JSN4E.js} +5 -5
  16. package/dist/{chunk-AS3VLT2O.js → chunk-YAUK66IM.js} +165 -165
  17. package/dist/executors.js +5 -5
  18. package/dist/executors.mjs +5 -5
  19. package/dist/generators.js +5 -5
  20. package/dist/generators.mjs +4 -4
  21. package/dist/index.js +8 -8
  22. package/dist/index.mjs +7 -7
  23. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  24. package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
  25. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  26. package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
  27. package/dist/src/executors/serve/executor.js +4 -4
  28. package/dist/src/executors/serve/executor.mjs +3 -3
  29. package/dist/src/generators/init/generator.js +2 -2
  30. package/dist/src/generators/init/generator.mjs +1 -1
  31. package/dist/src/generators/worker/generator.js +5 -5
  32. package/dist/src/generators/worker/generator.mjs +4 -4
  33. package/dist/src/utils/index.js +3 -3
  34. package/dist/src/utils/index.mjs +2 -2
  35. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  36. package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
  37. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -2,6 +2,32 @@
2
2
 
3
3
  # Changelog for Storm Ops - Cloudflare Tools
4
4
 
5
+ ## [0.70.40](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.70.40) (11/16/2025)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Format workspace source files
10
+ ([974aa3c4c](https://github.com/storm-software/storm-ops/commit/974aa3c4c))
11
+
12
+ ### Updated Dependencies
13
+
14
+ - Updated **workspace-tools** to **v1.293.10**
15
+ - Updated **config-tools** to **v1.188.40**
16
+ - Updated **config** to **v1.134.40**
17
+
18
+ ## [0.70.39](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.70.39) (11/16/2025)
19
+
20
+ ### Miscellaneous
21
+
22
+ - **monorepo:** Update README markdown files
23
+ ([067cc99ce](https://github.com/storm-software/storm-ops/commit/067cc99ce))
24
+
25
+ ### Updated Dependencies
26
+
27
+ - Updated **workspace-tools** to **v1.293.9**
28
+ - Updated **config-tools** to **v1.188.39**
29
+ - Updated **config** to **v1.134.39**
30
+
5
31
  ## [0.70.38](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.70.38) (11/14/2025)
6
32
 
7
33
  ### Updated Dependencies
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.70.38-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.70.39-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,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// ../config-tools/src/logger/console.ts
2
- var _formatDistanceToNowStrict = require('date-fns/formatDistanceToNowStrict');
2
+ var _formatDistanceToNow = require('date-fns/formatDistanceToNow');
3
3
 
4
4
  // ../config-tools/src/types.ts
5
5
  var LogLevel = {
@@ -265,7 +265,9 @@ var getStopwatch = (name) => {
265
265
  return () => {
266
266
  console.info(
267
267
  `
268
- > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${_formatDistanceToNowStrict.formatDistanceToNowStrict.call(void 0, start)} to complete
268
+ > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${_formatDistanceToNow.formatDistanceToNow.call(void 0, start, {
269
+ includeSeconds: true
270
+ })} to complete
269
271
  `
270
272
  );
271
273
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeWarning
4
- } from "./chunk-NRPYQWQ4.mjs";
4
+ } from "./chunk-6MATO2MJ.mjs";
5
5
 
6
6
  // src/utils/r2-bucket-helpers.ts
7
7
  import { createHash } from "node:crypto";
@@ -1,5 +1,5 @@
1
1
  // ../config-tools/src/logger/console.ts
2
- import { formatDistanceToNowStrict } from "date-fns/formatDistanceToNowStrict";
2
+ import { formatDistanceToNow } from "date-fns/formatDistanceToNow";
3
3
 
4
4
  // ../config-tools/src/types.ts
5
5
  var LogLevel = {
@@ -265,7 +265,9 @@ var getStopwatch = (name) => {
265
265
  return () => {
266
266
  console.info(
267
267
  `
268
- > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${formatDistanceToNowStrict(start)} to complete
268
+ > \u23F1\uFE0F The${name ? ` ${name}` : ""} process took ${formatDistanceToNow(start, {
269
+ includeSeconds: true
270
+ })} to complete
269
271
  `
270
272
  );
271
273
  };
@@ -7,7 +7,7 @@ var require_package = __commonJS({
7
7
  "package.json"(exports, module) {
8
8
  module.exports = {
9
9
  name: "@storm-software/cloudflare-tools",
10
- version: "0.70.38",
10
+ version: "0.70.40",
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",
@@ -136,9 +136,9 @@ var require_package = __commonJS({
136
136
  "@nx/js": "catalog:",
137
137
  "@nx/node": "catalog:",
138
138
  "@nx/web": "catalog:",
139
- "@storm-software/config": "1.134.38",
140
- "@storm-software/config-tools": "1.188.38",
141
- "@storm-software/workspace-tools": "1.293.8",
139
+ "@storm-software/config": "1.134.40",
140
+ "@storm-software/config-tools": "1.188.40",
141
+ "@storm-software/workspace-tools": "1.293.10",
142
142
  nx: "catalog:",
143
143
  tsup: "catalog:",
144
144
  wrangler: ">=3.58.0"
@@ -176,7 +176,7 @@ var require_package = __commonJS({
176
176
  nx: "catalog:",
177
177
  tsup: "catalog:",
178
178
  untyped: "catalog:",
179
- wrangler: "^4.48.0"
179
+ wrangler: "^4.49.0"
180
180
  },
181
181
  publishConfig: {
182
182
  access: "public"
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
8
+ var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.js');
9
9
 
10
10
  // ../config-tools/src/utilities/correct-paths.ts
11
11
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
@@ -998,7 +998,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
998
998
  let config = result.config;
999
999
  const configFile = result.configFile;
1000
1000
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
1001
- _chunkZWF65Q7Ejs.writeTrace.call(void 0,
1001
+ _chunk4BWM53AAjs.writeTrace.call(void 0,
1002
1002
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
1003
1003
  {
1004
1004
  logLevel: "all"
@@ -1014,7 +1014,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
1014
1014
  for (const result2 of results) {
1015
1015
  if (_optionalChain([result2, 'optionalAccess', _11 => _11.config]) && _optionalChain([result2, 'optionalAccess', _12 => _12.configFile]) && Object.keys(result2.config).length > 0) {
1016
1016
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
1017
- _chunkZWF65Q7Ejs.writeTrace.call(void 0,
1017
+ _chunk4BWM53AAjs.writeTrace.call(void 0,
1018
1018
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
1019
1019
  {
1020
1020
  logLevel: "all"
@@ -1126,7 +1126,7 @@ var getConfigEnv = () => {
1126
1126
  },
1127
1127
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
1128
1128
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
1129
- ) ? _chunkZWF65Q7Ejs.getLogLevelLabel.call(void 0,
1129
+ ) ? _chunk4BWM53AAjs.getLogLevelLabel.call(void 0,
1130
1130
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
1131
1131
  ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
1132
1132
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
@@ -1489,9 +1489,9 @@ var setConfigEnv = (config) => {
1489
1489
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
1490
1490
  process.env.LOG_LEVEL = String(config.logLevel);
1491
1491
  process.env.NX_VERBOSE_LOGGING = String(
1492
- _chunkZWF65Q7Ejs.getLogLevel.call(void 0, config.logLevel) >= _chunkZWF65Q7Ejs.LogLevel.DEBUG ? true : false
1492
+ _chunk4BWM53AAjs.getLogLevel.call(void 0, config.logLevel) >= _chunk4BWM53AAjs.LogLevel.DEBUG ? true : false
1493
1493
  );
1494
- process.env.RUST_BACKTRACE = _chunkZWF65Q7Ejs.getLogLevel.call(void 0, config.logLevel) >= _chunkZWF65Q7Ejs.LogLevel.DEBUG ? "full" : "none";
1494
+ process.env.RUST_BACKTRACE = _chunk4BWM53AAjs.getLogLevel.call(void 0, config.logLevel) >= _chunk4BWM53AAjs.LogLevel.DEBUG ? "full" : "none";
1495
1495
  }
1496
1496
  if (config.skipConfigLogging !== void 0) {
1497
1497
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
@@ -1627,7 +1627,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
1627
1627
  const configFile = await getConfigFile(_workspaceRoot);
1628
1628
  if (!configFile) {
1629
1629
  if (!skipLogs) {
1630
- _chunkZWF65Q7Ejs.writeWarning.call(void 0,
1630
+ _chunk4BWM53AAjs.writeWarning.call(void 0,
1631
1631
  "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",
1632
1632
  { logLevel: "all" }
1633
1633
  );
@@ -1654,7 +1654,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
1654
1654
  throw new Error(
1655
1655
  `Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _37 => _37.message]) ? `: ${error.message}` : ""}
1656
1656
 
1657
- Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunkZWF65Q7Ejs.formatLogMessage.call(void 0,
1657
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunk4BWM53AAjs.formatLogMessage.call(void 0,
1658
1658
  configInput
1659
1659
  )}`,
1660
1660
  {
@@ -1699,9 +1699,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
1699
1699
  );
1700
1700
  setConfigEnv(config);
1701
1701
  if (!skipLogs && !config.skipConfigLogging) {
1702
- _chunkZWF65Q7Ejs.writeTrace.call(void 0,
1702
+ _chunk4BWM53AAjs.writeTrace.call(void 0,
1703
1703
  `\u2699\uFE0F Using Storm Workspace configuration:
1704
- ${_chunkZWF65Q7Ejs.formatLogMessage.call(void 0, config)}`,
1704
+ ${_chunk4BWM53AAjs.formatLogMessage.call(void 0, config)}`,
1705
1705
  config
1706
1706
  );
1707
1707
  }
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
3
 
4
- var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
4
+ var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.js');
5
5
 
6
6
  // src/utils/r2-bucket-helpers.ts
7
7
  var _crypto = require('crypto');
8
8
  var r2UploadFile = async (client, bucketName, projectPath, fileName, version, fileContent, contentType = "text/plain", isDryRun = false) => {
9
9
  const checksum = _crypto.createHash.call(void 0, "sha256").update(fileContent).digest("base64");
10
10
  const fileKey = `${projectPath}/${fileName.startsWith("/") ? fileName.substring(1) : fileName}`;
11
- _chunkZWF65Q7Ejs.writeDebug.call(void 0, `Uploading file: ${fileKey}`);
11
+ _chunk4BWM53AAjs.writeDebug.call(void 0, `Uploading file: ${fileKey}`);
12
12
  if (!isDryRun) {
13
13
  await client.putObject({
14
14
  Bucket: bucketName,
@@ -21,7 +21,7 @@ var r2UploadFile = async (client, bucketName, projectPath, fileName, version, fi
21
21
  }
22
22
  });
23
23
  } else {
24
- _chunkZWF65Q7Ejs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
24
+ _chunk4BWM53AAjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
25
25
  }
26
26
  };
27
27
  var getInternalDependencies = (projectName, graph) => {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-PFTILUUJ.mjs";
3
+ } from "./chunk-C6RH6OWS.mjs";
4
4
  import {
5
5
  findWorkspaceRoot,
6
6
  getConfig
7
- } from "./chunk-4OWK4XVG.mjs";
7
+ } from "./chunk-PTTJW7MW.mjs";
8
8
  import {
9
9
  getStopwatch,
10
10
  writeDebug,
@@ -12,7 +12,7 @@ import {
12
12
  writeFatal,
13
13
  writeInfo,
14
14
  writeTrace
15
- } from "./chunk-NRPYQWQ4.mjs";
15
+ } from "./chunk-6MATO2MJ.mjs";
16
16
  import {
17
17
  __dirname
18
18
  } from "./chunk-I4HGWOGD.mjs";
@@ -1,7 +1,7 @@
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
3
 
4
- var _chunkFSMVVWYTjs = require('./chunk-FSMVVWYT.js');
4
+ var _chunkFFOLWRMAjs = require('./chunk-FFOLWRMA.js');
5
5
 
6
6
 
7
7
 
@@ -9,13 +9,13 @@ var _chunkNU34IEWNjs = require('./chunk-NU34IEWN.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkUANZ3WV5js = require('./chunk-UANZ3WV5.js');
12
+ var _chunkEQXEFXCVjs = require('./chunk-EQXEFXCV.js');
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
18
+ var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.js');
19
19
 
20
20
  // src/executors/r2-upload-publish/executor.ts
21
21
  var _clients3 = require('@aws-sdk/client-s3');
@@ -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 = _chunkUANZ3WV5js.findWorkspaceRoot.call(void 0, );
43
- const config = await _chunkUANZ3WV5js.getConfig.call(void 0, workspaceRoot);
42
+ const workspaceRoot = _chunkEQXEFXCVjs.findWorkspaceRoot.call(void 0, );
43
+ const config = await _chunkEQXEFXCVjs.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,
@@ -79,7 +79,7 @@ async function runExecutor(options, context) {
79
79
  "The executor failed because the project graph is not available. Please run the build command again."
80
80
  );
81
81
  }
82
- _chunkZWF65Q7Ejs.writeInfo.call(void 0,
82
+ _chunk4BWM53AAjs.writeInfo.call(void 0,
83
83
  `Publishing ${context.projectName} to the Storm Registry at ${endpoint}`
84
84
  );
85
85
  const s3Client = new (0, _clients3.S3)({
@@ -91,12 +91,12 @@ async function runExecutor(options, context) {
91
91
  }
92
92
  });
93
93
  const version = _optionalChain([projectDetails, 'access', _18 => _18.content, 'optionalAccess', _19 => _19.version]);
94
- _chunkZWF65Q7Ejs.writeInfo.call(void 0, `Generated component version: ${version}`);
94
+ _chunk4BWM53AAjs.writeInfo.call(void 0, `Generated component version: ${version}`);
95
95
  const files = await _glob.glob.call(void 0, _devkit.joinPathFragments.call(void 0, sourceRoot, "**/*"), {
96
96
  ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
97
97
  });
98
98
  const projectPath = `registry/${context.projectName}`;
99
- const internalDependencies = await _chunkFSMVVWYTjs.getInternalDependencies.call(void 0,
99
+ const internalDependencies = await _chunkFFOLWRMAjs.getInternalDependencies.call(void 0,
100
100
  context.projectName,
101
101
  projectGraph
102
102
  );
@@ -109,14 +109,14 @@ async function runExecutor(options, context) {
109
109
  return ret;
110
110
  }, _nullishCoalesce(projectDetails.content.dependencies, () => ( {})));
111
111
  const release = _nullishCoalesce(options.tag, () => ( _child_process.execSync.call(void 0, "npm config get tag").toString().trim()));
112
- _chunkZWF65Q7Ejs.writeInfo.call(void 0, `Clearing out existing items in ${projectPath}`);
112
+ _chunk4BWM53AAjs.writeInfo.call(void 0, `Clearing out existing items in ${projectPath}`);
113
113
  if (!isDryRun) {
114
114
  const response = await s3Client.listObjects({
115
115
  Bucket: options.bucketId,
116
116
  Prefix: projectPath
117
117
  });
118
118
  if (_optionalChain([response, 'optionalAccess', _20 => _20.Contents]) && response.Contents.length > 0) {
119
- _chunkZWF65Q7Ejs.writeDebug.call(void 0,
119
+ _chunk4BWM53AAjs.writeDebug.call(void 0,
120
120
  `Deleting the following existing items from the component registry: ${response.Contents.map((item) => item.Key).join(", ")}`
121
121
  );
122
122
  await Promise.all(
@@ -135,12 +135,12 @@ async function runExecutor(options, context) {
135
135
  )
136
136
  );
137
137
  } else {
138
- _chunkZWF65Q7Ejs.writeDebug.call(void 0,
138
+ _chunk4BWM53AAjs.writeDebug.call(void 0,
139
139
  `No existing items to delete in the component registry path ${projectPath}`
140
140
  );
141
141
  }
142
142
  } else {
143
- _chunkZWF65Q7Ejs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
143
+ _chunk4BWM53AAjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
144
144
  }
145
145
  const meta = {
146
146
  name: context.projectName,
@@ -158,9 +158,9 @@ async function runExecutor(options, context) {
158
158
  meta.devDependencies = projectDetails.content.devDependencies;
159
159
  }
160
160
  const metaJson = JSON.stringify(meta);
161
- _chunkZWF65Q7Ejs.writeInfo.call(void 0, `Generating meta.json file:
161
+ _chunk4BWM53AAjs.writeInfo.call(void 0, `Generating meta.json file:
162
162
  ${metaJson}`);
163
- await _chunkFSMVVWYTjs.r2UploadFile.call(void 0,
163
+ await _chunkFFOLWRMAjs.r2UploadFile.call(void 0,
164
164
  s3Client,
165
165
  options.bucketId,
166
166
  projectPath,
@@ -174,7 +174,7 @@ ${metaJson}`);
174
174
  files.map((file) => {
175
175
  const fileName = file.replaceAll("\\", "/").replace(sourceRoot.replaceAll("\\", "/"), "");
176
176
  return _promises.readFile.call(void 0, file, { encoding: "utf8" }).then(
177
- (fileContent) => _chunkFSMVVWYTjs.r2UploadFile.call(void 0,
177
+ (fileContent) => _chunkFFOLWRMAjs.r2UploadFile.call(void 0,
178
178
  s3Client,
179
179
  options.bucketId,
180
180
  projectPath,
@@ -187,7 +187,7 @@ ${metaJson}`);
187
187
  );
188
188
  })
189
189
  );
190
- _chunkZWF65Q7Ejs.writeSuccess.call(void 0,
190
+ _chunk4BWM53AAjs.writeSuccess.call(void 0,
191
191
  `Successfully uploaded the ${projectName} component to the Cyclone Registry`,
192
192
  config
193
193
  );
@@ -5,7 +5,7 @@ import {
5
5
  getLogLevelLabel,
6
6
  writeTrace,
7
7
  writeWarning
8
- } from "./chunk-NRPYQWQ4.mjs";
8
+ } from "./chunk-6MATO2MJ.mjs";
9
9
 
10
10
  // ../config-tools/src/utilities/correct-paths.ts
11
11
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
@@ -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 _chunkG4XKRD64js = require('./chunk-G4XKRD64.js');
3
+ var _chunkY74JSN4Ejs = require('./chunk-Y74JSN4E.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkUANZ3WV5js = require('./chunk-UANZ3WV5.js');
7
+ var _chunkEQXEFXCVjs = require('./chunk-EQXEFXCV.js');
8
8
 
9
9
 
10
10
 
@@ -12,7 +12,7 @@ var _chunkUANZ3WV5js = require('./chunk-UANZ3WV5.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkZWF65Q7Ejs = require('./chunk-ZWF65Q7E.js');
15
+ var _chunk4BWM53AAjs = require('./chunk-4BWM53AA.js');
16
16
 
17
17
  // src/generators/worker/generator.ts
18
18
 
@@ -45,20 +45,20 @@ var vitestScript = `"test": "vitest run"`;
45
45
 
46
46
  // src/generators/worker/generator.ts
47
47
  async function applicationGenerator(tree, schema) {
48
- const stopwatch = _chunkZWF65Q7Ejs.getStopwatch.call(void 0, "Storm Worker generator");
48
+ const stopwatch = _chunk4BWM53AAjs.getStopwatch.call(void 0, "Storm Worker generator");
49
49
  let config;
50
50
  try {
51
- _chunkZWF65Q7Ejs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
51
+ _chunk4BWM53AAjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
52
52
 
53
53
  `, config);
54
- const workspaceRoot = _chunkUANZ3WV5js.findWorkspaceRoot.call(void 0, );
55
- _chunkZWF65Q7Ejs.writeDebug.call(void 0,
54
+ const workspaceRoot = _chunkEQXEFXCVjs.findWorkspaceRoot.call(void 0, );
55
+ _chunk4BWM53AAjs.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 _chunkUANZ3WV5js.getConfig.call(void 0, workspaceRoot);
61
- _chunkZWF65Q7Ejs.writeTrace.call(void 0,
60
+ config = await _chunkEQXEFXCVjs.getConfig.call(void 0, workspaceRoot);
61
+ _chunk4BWM53AAjs.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")}`,
64
64
  config
@@ -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 _chunkG4XKRD64js.generator_default.call(void 0, tree, {
69
+ await _chunkY74JSN4Ejs.generator_default.call(void 0, tree, {
70
70
  ...options,
71
71
  skipFormat: true
72
72
  })
@@ -134,11 +134,11 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
134
134
  return _devkit.runTasksInSerial.call(void 0, ...tasks);
135
135
  } catch (error) {
136
136
  return () => {
137
- _chunkZWF65Q7Ejs.writeFatal.call(void 0,
137
+ _chunk4BWM53AAjs.writeFatal.call(void 0,
138
138
  "A fatal error occurred while running the generator - the process was forced to terminate",
139
139
  config
140
140
  );
141
- _chunkZWF65Q7Ejs.writeError.call(void 0,
141
+ _chunk4BWM53AAjs.writeError.call(void 0,
142
142
  `An exception was thrown in the generator's process
143
143
  - Details: ${error.message}
144
144
  - Stacktrace: ${error.stack}`,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getInternalDependencies,
3
3
  r2UploadFile
4
- } from "./chunk-FLGNERJF.mjs";
4
+ } from "./chunk-5N2NVDKX.mjs";
5
5
  import {
6
6
  createCliOptions,
7
7
  getPackageInfo
@@ -9,13 +9,13 @@ import {
9
9
  import {
10
10
  findWorkspaceRoot,
11
11
  getConfig
12
- } from "./chunk-4OWK4XVG.mjs";
12
+ } from "./chunk-PTTJW7MW.mjs";
13
13
  import {
14
14
  writeDebug,
15
15
  writeInfo,
16
16
  writeSuccess,
17
17
  writeWarning
18
- } from "./chunk-NRPYQWQ4.mjs";
18
+ } from "./chunk-6MATO2MJ.mjs";
19
19
 
20
20
  // src/executors/r2-upload-publish/executor.ts
21
21
  import { S3 } from "@aws-sdk/client-s3";
@@ -12,7 +12,7 @@ import {
12
12
  relative,
13
13
  schemaRegistry,
14
14
  workspaceConfigSchema
15
- } from "./chunk-4OWK4XVG.mjs";
15
+ } from "./chunk-PTTJW7MW.mjs";
16
16
  import {
17
17
  formatLogMessage,
18
18
  getStopwatch,
@@ -23,7 +23,7 @@ import {
23
23
  writeSuccess,
24
24
  writeTrace,
25
25
  writeWarning
26
- } from "./chunk-NRPYQWQ4.mjs";
26
+ } from "./chunk-6MATO2MJ.mjs";
27
27
  import {
28
28
  __dirname
29
29
  } from "./chunk-I4HGWOGD.mjs";
@@ -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.70.38",
10
+ version: "0.70.40",
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",
@@ -136,9 +136,9 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
136
136
  "@nx/js": "catalog:",
137
137
  "@nx/node": "catalog:",
138
138
  "@nx/web": "catalog:",
139
- "@storm-software/config": "1.134.38",
140
- "@storm-software/config-tools": "1.188.38",
141
- "@storm-software/workspace-tools": "1.293.8",
139
+ "@storm-software/config": "1.134.40",
140
+ "@storm-software/config-tools": "1.188.40",
141
+ "@storm-software/workspace-tools": "1.293.10",
142
142
  nx: "catalog:",
143
143
  tsup: "catalog:",
144
144
  wrangler: ">=3.58.0"
@@ -176,7 +176,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
176
176
  nx: "catalog:",
177
177
  tsup: "catalog:",
178
178
  untyped: "catalog:",
179
- wrangler: "^4.48.0"
179
+ wrangler: "^4.49.0"
180
180
  },
181
181
  publishConfig: {
182
182
  access: "public"