@storm-software/cloudflare-tools 0.63.48 → 0.63.50

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 (40) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-EGOX3ATY.js → chunk-2C5JON46.js} +12 -12
  4. package/dist/{chunk-IFBO5YTL.mjs → chunk-4EESYLWN.mjs} +3 -3
  5. package/dist/{chunk-NHG6EZHS.js → chunk-57WTY3UY.js} +3 -3
  6. package/dist/{chunk-4BNYLCUN.mjs → chunk-ADVG6LVE.mjs} +1 -1
  7. package/dist/{chunk-MKPMUQLP.js → chunk-AOAXSMD4.js} +118 -118
  8. package/dist/{chunk-YBEYUZYA.mjs → chunk-AZSS2TUS.mjs} +8 -4
  9. package/dist/{chunk-AE2T23TV.mjs → chunk-BRPTGDS4.mjs} +1 -1
  10. package/dist/{chunk-PYRV5ZYJ.js → chunk-G4O5CA24.js} +2 -2
  11. package/dist/{chunk-Q5D3SQSD.js → chunk-KDRIR55G.js} +10 -6
  12. package/dist/{chunk-DADPPALG.mjs → chunk-OWO7A5PU.mjs} +1 -1
  13. package/dist/{chunk-SNPJFGSK.mjs → chunk-Q5XL7K7Z.mjs} +3 -3
  14. package/dist/{chunk-GQNUZ2XY.js → chunk-UOEUE2GI.js} +44 -44
  15. package/dist/{chunk-SRLYXDLP.mjs → chunk-VBHMOQDO.mjs} +3 -3
  16. package/dist/{chunk-FGLRV4K6.mjs → chunk-VXMND3YT.mjs} +4 -4
  17. package/dist/{chunk-YDKLGL5J.mjs → chunk-WHJIOTPA.mjs} +1 -1
  18. package/dist/{chunk-CBV5OIDF.js → chunk-X2ML265T.js} +16 -16
  19. package/dist/executors.js +5 -5
  20. package/dist/executors.mjs +7 -7
  21. package/dist/generators.js +5 -5
  22. package/dist/generators.mjs +5 -5
  23. package/dist/index.js +8 -8
  24. package/dist/index.mjs +9 -9
  25. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  26. package/dist/src/executors/cloudflare-publish/executor.mjs +5 -5
  27. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  28. package/dist/src/executors/r2-upload-publish/executor.mjs +5 -5
  29. package/dist/src/executors/serve/executor.js +4 -4
  30. package/dist/src/executors/serve/executor.mjs +4 -4
  31. package/dist/src/generators/init/generator.js +2 -2
  32. package/dist/src/generators/init/generator.mjs +2 -2
  33. package/dist/src/generators/worker/generator.js +5 -5
  34. package/dist/src/generators/worker/generator.mjs +5 -5
  35. package/dist/src/utils/index.js +3 -3
  36. package/dist/src/utils/index.mjs +3 -3
  37. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  38. package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
  39. package/dist/tsup.config.mjs +1 -1
  40. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -2,6 +2,41 @@
2
2
 
3
3
  # Changelog for Storm Ops - Cloudflare Tools
4
4
 
5
+ ## [0.63.49](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.49) (2025-07-31)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Update TypeScript to v5.9.2
10
+ ([d4a90784d](https://github.com/storm-software/storm-ops/commit/d4a90784d))
11
+ - **monorepo:** Regenerate README markdown files
12
+ ([18c227394](https://github.com/storm-software/storm-ops/commit/18c227394))
13
+ - **monorepo:** Update workspace package links
14
+ ([3ec10b48b](https://github.com/storm-software/storm-ops/commit/3ec10b48b))
15
+ - **monorepo:** Regenerate README markdown files
16
+ ([8aeb77070](https://github.com/storm-software/storm-ops/commit/8aeb77070))
17
+ - **monorepo:** Regenerate workspace repository packages
18
+ ([a78abe68e](https://github.com/storm-software/storm-ops/commit/a78abe68e))
19
+ - **monorepo:** Regenerate README markdown files
20
+ ([b7b8fec51](https://github.com/storm-software/storm-ops/commit/b7b8fec51))
21
+ - **eslint:** Update package dependencies
22
+ ([a6eaee75a](https://github.com/storm-software/storm-ops/commit/a6eaee75a))
23
+ - **monorepo:** Regenerate README markdown files
24
+ ([d02c46b78](https://github.com/storm-software/storm-ops/commit/d02c46b78))
25
+ - **git-tools:** Ensure dependencies are marked `external` by default for `bin`
26
+ build
27
+ ([b6c66aae5](https://github.com/storm-software/storm-ops/commit/b6c66aae5))
28
+ - **monorepo:** Regenerate README markdown files
29
+ ([fa4b5a24f](https://github.com/storm-software/storm-ops/commit/fa4b5a24f))
30
+
31
+ ## [0.63.48](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.48) (2025-07-14)
32
+
33
+ ### Miscellaneous
34
+
35
+ - **monorepo:** Update workspace package links
36
+ ([aa3c5e120](https://github.com/storm-software/storm-ops/commit/aa3c5e120))
37
+ - **monorepo:** Regenerate README markdown files
38
+ ([11ac201a7](https://github.com/storm-software/storm-ops/commit/11ac201a7))
39
+
5
40
  ## [0.63.47](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.47) (2025-07-14)
6
41
 
7
42
  ### 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.63.46-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.63.48-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,9 +1,9 @@
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 _chunkPYRV5ZYJjs = require('./chunk-PYRV5ZYJ.js');
3
+ var _chunkG4O5CA24js = require('./chunk-G4O5CA24.js');
4
4
 
5
5
 
6
- var _chunkGQNUZ2XYjs = require('./chunk-GQNUZ2XY.js');
6
+ var _chunkUOEUE2GIjs = require('./chunk-UOEUE2GI.js');
7
7
 
8
8
 
9
9
 
@@ -12,7 +12,7 @@ var _chunkGQNUZ2XYjs = require('./chunk-GQNUZ2XY.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkQ5D3SQSDjs = require('./chunk-Q5D3SQSD.js');
15
+ var _chunkKDRIR55Gjs = require('./chunk-KDRIR55G.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 = _chunkQ5D3SQSDjs.getStopwatch.call(void 0, "Storm Worker generator");
48
+ const stopwatch = _chunkKDRIR55Gjs.getStopwatch.call(void 0, "Storm Worker generator");
49
49
  let config;
50
50
  try {
51
- _chunkQ5D3SQSDjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
51
+ _chunkKDRIR55Gjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
52
52
 
53
53
  `, config);
54
- const workspaceRoot = _chunkQ5D3SQSDjs.findWorkspaceRoot.call(void 0, );
55
- _chunkQ5D3SQSDjs.writeDebug.call(void 0,
54
+ const workspaceRoot = _chunkKDRIR55Gjs.findWorkspaceRoot.call(void 0, );
55
+ _chunkKDRIR55Gjs.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 _chunkGQNUZ2XYjs.getConfig.call(void 0, workspaceRoot);
61
- _chunkQ5D3SQSDjs.writeTrace.call(void 0,
60
+ config = await _chunkUOEUE2GIjs.getConfig.call(void 0, workspaceRoot);
61
+ _chunkKDRIR55Gjs.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 _chunkPYRV5ZYJjs.generator_default.call(void 0, tree, {
69
+ await _chunkG4O5CA24js.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
- _chunkQ5D3SQSDjs.writeFatal.call(void 0,
137
+ _chunkKDRIR55Gjs.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
- _chunkQ5D3SQSDjs.writeError.call(void 0,
141
+ _chunkKDRIR55Gjs.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}`,
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  getConfig,
7
7
  getWorkspaceConfig
8
- } from "./chunk-4BNYLCUN.mjs";
8
+ } from "./chunk-ADVG6LVE.mjs";
9
9
  import {
10
10
  findWorkspaceRoot,
11
11
  formatLogMessage,
@@ -19,11 +19,11 @@ import {
19
19
  writeSuccess,
20
20
  writeTrace,
21
21
  writeWarning
22
- } from "./chunk-YBEYUZYA.mjs";
22
+ } from "./chunk-AZSS2TUS.mjs";
23
23
  import {
24
24
  __dirname,
25
25
  __require
26
- } from "./chunk-DADPPALG.mjs";
26
+ } from "./chunk-OWO7A5PU.mjs";
27
27
 
28
28
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
29
29
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -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 _chunkQ5D3SQSDjs = require('./chunk-Q5D3SQSD.js');
4
+ var _chunkKDRIR55Gjs = require('./chunk-KDRIR55G.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
- _chunkQ5D3SQSDjs.writeDebug.call(void 0, `Uploading file: ${fileKey}`);
11
+ _chunkKDRIR55Gjs.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
- _chunkQ5D3SQSDjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
24
+ _chunkKDRIR55Gjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
25
25
  }
26
26
  };
27
27
  var getInternalDependencies = (projectName, graph) => {
@@ -15,7 +15,7 @@ import {
15
15
  stormWorkspaceConfigSchema,
16
16
  writeTrace,
17
17
  writeWarning
18
- } from "./chunk-YBEYUZYA.mjs";
18
+ } from "./chunk-AZSS2TUS.mjs";
19
19
 
20
20
  // ../config-tools/src/create-storm-config.ts
21
21
  import defu2 from "defu";