@storm-software/cloudflare-tools 0.63.28 → 0.63.30

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 (43) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-6TGFIMO5.js → chunk-2EUSZYH5.js} +2 -2
  4. package/dist/{chunk-DMJM3W36.js → chunk-7MAPPPBJ.js} +12 -12
  5. package/dist/{chunk-YKB65IP2.mjs → chunk-AUICIV5D.mjs} +2 -2
  6. package/dist/{chunk-IATTWS2I.js → chunk-CDTGH4KA.js} +4 -4
  7. package/dist/{chunk-PJGFLSPV.js → chunk-FQ6CFCZ4.js} +121 -121
  8. package/dist/{chunk-GL7JLG36.js → chunk-G7PYIAIC.js} +19 -19
  9. package/dist/{chunk-DW5K6TQT.mjs → chunk-GI4E6554.mjs} +1 -1
  10. package/dist/{chunk-J6WBZNBT.js → chunk-IJR65XVT.js} +3 -3
  11. package/dist/{chunk-T2OGA6MB.js → chunk-IRORGRVZ.js} +2 -2
  12. package/dist/{chunk-I5P7M77J.mjs → chunk-JGI2NCZG.mjs} +1 -1
  13. package/dist/{chunk-B7N6WOYD.mjs → chunk-KE6LNIF6.mjs} +1 -1
  14. package/dist/{chunk-ZHQVMJQB.mjs → chunk-LKGAK575.mjs} +4 -4
  15. package/dist/{chunk-AOLWFHH5.mjs → chunk-M66N7IMM.mjs} +4 -4
  16. package/dist/{chunk-KTFMIXUN.js → chunk-NU34IEWN.js} +27 -23
  17. package/dist/{chunk-RH2IXKSC.mjs → chunk-PH3DHY4Q.mjs} +26 -22
  18. package/dist/{chunk-LVQQJNPK.mjs → chunk-SKLIA2UT.mjs} +4 -4
  19. package/dist/{chunk-QTMO3CXB.mjs → chunk-UKV5HDN7.mjs} +3 -3
  20. package/dist/{chunk-D5YG7CU5.mjs → chunk-WMN2C3TD.mjs} +4 -4
  21. package/dist/{chunk-YMATJZEA.js → chunk-Z4HK3FW2.js} +43 -43
  22. package/dist/executors.js +7 -7
  23. package/dist/executors.mjs +8 -8
  24. package/dist/generators.js +5 -5
  25. package/dist/generators.mjs +5 -5
  26. package/dist/index.js +18 -18
  27. package/dist/index.mjs +10 -10
  28. package/dist/src/executors/cloudflare-publish/executor.js +6 -6
  29. package/dist/src/executors/cloudflare-publish/executor.mjs +6 -6
  30. package/dist/src/executors/r2-upload-publish/executor.js +6 -6
  31. package/dist/src/executors/r2-upload-publish/executor.mjs +6 -6
  32. package/dist/src/executors/serve/executor.js +6 -6
  33. package/dist/src/executors/serve/executor.mjs +5 -5
  34. package/dist/src/generators/init/generator.js +2 -2
  35. package/dist/src/generators/init/generator.mjs +2 -2
  36. package/dist/src/generators/worker/generator.js +5 -5
  37. package/dist/src/generators/worker/generator.mjs +5 -5
  38. package/dist/src/utils/index.js +3 -3
  39. package/dist/src/utils/index.mjs +3 -3
  40. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  41. package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
  42. package/dist/tsup.config.mjs +1 -1
  43. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  # Changelog for Storm Ops - Cloudflare Tools
4
4
 
5
+ ## [0.63.29](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.29) (2025-06-22)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([d8eb8a9de](https://github.com/storm-software/storm-ops/commit/d8eb8a9de))
11
+
12
+ ## [0.63.28](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.28) (2025-06-20)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **monorepo:** Update README markdown files
17
+ ([cd1727b2a](https://github.com/storm-software/storm-ops/commit/cd1727b2a))
18
+
5
19
  ## [0.63.27](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.27) (2025-06-20)
6
20
 
7
21
  ### 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.27-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.29-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 -->
@@ -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.63.27",
10
+ version: "0.63.29",
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",
@@ -175,7 +175,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
175
175
  nx: "catalog:",
176
176
  tsup: "catalog:",
177
177
  untyped: "catalog:",
178
- wrangler: "^4.20.3"
178
+ wrangler: "^4.22.0"
179
179
  },
180
180
  publishConfig: {
181
181
  access: "public"
@@ -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 _chunk6TGFIMO5js = require('./chunk-6TGFIMO5.js');
3
+ var _chunk2EUSZYH5js = require('./chunk-2EUSZYH5.js');
4
4
 
5
5
 
6
- var _chunkYMATJZEAjs = require('./chunk-YMATJZEA.js');
6
+ var _chunkZ4HK3FW2js = require('./chunk-Z4HK3FW2.js');
7
7
 
8
8
 
9
9
 
@@ -12,7 +12,7 @@ var _chunkYMATJZEAjs = require('./chunk-YMATJZEA.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkIATTWS2Ijs = require('./chunk-IATTWS2I.js');
15
+ var _chunkCDTGH4KAjs = require('./chunk-CDTGH4KA.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 = _chunkIATTWS2Ijs.getStopwatch.call(void 0, "Storm Worker generator");
48
+ const stopwatch = _chunkCDTGH4KAjs.getStopwatch.call(void 0, "Storm Worker generator");
49
49
  let config;
50
50
  try {
51
- _chunkIATTWS2Ijs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
51
+ _chunkCDTGH4KAjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
52
52
 
53
53
  `, config);
54
- const workspaceRoot = _chunkIATTWS2Ijs.findWorkspaceRoot.call(void 0, );
55
- _chunkIATTWS2Ijs.writeDebug.call(void 0,
54
+ const workspaceRoot = _chunkCDTGH4KAjs.findWorkspaceRoot.call(void 0, );
55
+ _chunkCDTGH4KAjs.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 _chunkYMATJZEAjs.getConfig.call(void 0, workspaceRoot);
61
- _chunkIATTWS2Ijs.writeTrace.call(void 0,
60
+ config = await _chunkZ4HK3FW2js.getConfig.call(void 0, workspaceRoot);
61
+ _chunkCDTGH4KAjs.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 _chunk6TGFIMO5js.generator_default.call(void 0, tree, {
69
+ await _chunk2EUSZYH5js.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
- _chunkIATTWS2Ijs.writeFatal.call(void 0,
137
+ _chunkCDTGH4KAjs.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
- _chunkIATTWS2Ijs.writeError.call(void 0,
141
+ _chunkCDTGH4KAjs.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,9 +1,9 @@
1
1
  import {
2
2
  createCliOptions
3
- } from "./chunk-RH2IXKSC.mjs";
3
+ } from "./chunk-PH3DHY4Q.mjs";
4
4
  import {
5
5
  __require
6
- } from "./chunk-B7N6WOYD.mjs";
6
+ } from "./chunk-KE6LNIF6.mjs";
7
7
 
8
8
  // src/executors/cloudflare-publish/executor.ts
9
9
  import { joinPathFragments } from "@nx/devkit";
@@ -343,10 +343,10 @@ var RegistryConfigSchema = z.object({
343
343
  var ColorConfigSchema = SingleThemeColorConfigSchema.or(
344
344
  MultiThemeColorConfigSchema
345
345
  ).describe("Colors used for various workspace elements");
346
- var ColorConfigMapSchema = z.union([
347
- z.object({ base: ColorConfigSchema }),
348
- z.record(z.string(), ColorConfigSchema)
349
- ]);
346
+ var ColorConfigMapSchema = z.record(
347
+ z.union([z.literal("base"), z.string()]),
348
+ ColorConfigSchema
349
+ );
350
350
  var ExtendsItemSchema = z.string().trim().describe(
351
351
  "The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
352
352
  );