@storm-software/cloudflare-tools 0.71.202 → 0.71.205

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 (41) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-4ZMJ7ITM.mjs → chunk-5MAMLVMV.mjs} +14 -14
  4. package/dist/{chunk-EZ2QV7CS.mjs → chunk-5RBVGYWH.mjs} +1 -1
  5. package/dist/{chunk-YLEIQ7JI.js → chunk-A56ELIVZ.js} +5 -5
  6. package/dist/{chunk-3PQOI4NL.js → chunk-AWKQRM2H.js} +3 -3
  7. package/dist/{chunk-BTOLO426.mjs → chunk-BY7MA3SM.mjs} +1 -1
  8. package/dist/{chunk-TM5AJMAM.js → chunk-CLCKX6UN.js} +5 -5
  9. package/dist/{chunk-CM4RLKHZ.js → chunk-EJE2EHFR.js} +168 -168
  10. package/dist/{chunk-T4DFKUDX.mjs → chunk-FEGLXQK4.mjs} +1 -1
  11. package/dist/{chunk-T6NIUJEH.mjs → chunk-K4H5ZMYA.mjs} +3 -3
  12. package/dist/{chunk-QUIC3FTK.mjs → chunk-L6ZUETUB.mjs} +6 -6
  13. package/dist/{chunk-QKL4F7HK.js → chunk-PGTHXO6M.js} +47 -47
  14. package/dist/{chunk-S6XUVIG3.mjs → chunk-RK37EMQF.mjs} +4 -4
  15. package/dist/{chunk-YLSP6KZ2.mjs → chunk-TNVZ6KHS.mjs} +3 -3
  16. package/dist/{chunk-V56MCNEY.js → chunk-U7XMCD6Y.js} +18 -18
  17. package/dist/{chunk-GHQAL3IL.mjs → chunk-UDCJ274I.mjs} +3 -3
  18. package/dist/{chunk-PXNTMAQK.js → chunk-YQSMSU5Z.js} +13 -13
  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/http-handler.mjs +1 -1
  36. package/dist/src/utils/index.js +3 -3
  37. package/dist/src/utils/index.mjs +3 -3
  38. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  39. package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
  40. package/dist/tsup.config.mjs +1 -1
  41. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -2,6 +2,38 @@
2
2
 
3
3
  # Changelog for Storm Ops - Cloudflare Tools
4
4
 
5
+ ## [0.71.204](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.204) (06/14/2026)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate `README` markdown files ([2f934c964](https://github.com/storm-software/storm-ops/commit/2f934c964))
10
+
11
+ ### Updated Dependencies
12
+
13
+ - Updated **config** to **v1.138.0**
14
+ - Updated **config-tools** to **v1.190.63**
15
+ - Updated **workspace-tools** to **v1.296.42**
16
+
17
+ ## [0.71.203](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.203) (06/14/2026)
18
+
19
+ ### Bug Fixes
20
+
21
+ - **eslint:** Ensure `tsconfigRootDir` is provided as an absolute path ([cdbec9726](https://github.com/storm-software/storm-ops/commit/cdbec9726))
22
+
23
+ ### Updated Dependencies
24
+
25
+ - Updated **config** to **v1.137.94**
26
+ - Updated **config-tools** to **v1.190.62**
27
+ - Updated **workspace-tools** to **v1.296.41**
28
+
29
+ ## [0.71.202](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.202) (06/13/2026)
30
+
31
+ ### Updated Dependencies
32
+
33
+ - Updated **config** to **v1.137.93**
34
+ - Updated **config-tools** to **v1.190.61**
35
+ - Updated **workspace-tools** to **v1.296.40**
36
+
5
37
  ## [0.71.201](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.201) (06/13/2026)
6
38
 
7
39
  ### Updated Dependencies
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.71.196-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)
30
+ [![Version](https://img.shields.io/badge/version-0.71.203-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)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -7,7 +7,7 @@ import {
7
7
  joinPaths,
8
8
  writeTrace,
9
9
  writeWarning
10
- } from "./chunk-T6NIUJEH.mjs";
10
+ } from "./chunk-K4H5ZMYA.mjs";
11
11
 
12
12
  // ../config-tools/src/utilities/find-up.ts
13
13
  import { existsSync } from "node:fs";
@@ -134,7 +134,7 @@ var colorSchema = z.string().check(
134
134
  schemaRegistry.add(colorSchema, {
135
135
  description: "A base schema for describing the format of colors"
136
136
  });
137
- var darkColorSchema = z._default(colorSchema, "#151718");
137
+ var darkColorSchema = z._default(colorSchema, "#1e2124");
138
138
  schemaRegistry.add(darkColorSchema, {
139
139
  description: "The dark background color of the workspace"
140
140
  });
@@ -158,8 +158,8 @@ var linkColorSchema = z._default(colorSchema, "#3fa6ff");
158
158
  schemaRegistry.add(linkColorSchema, {
159
159
  description: "The color used to display hyperlink text"
160
160
  });
161
- var helpColorSchema = z._default(colorSchema, "#818cf8");
162
- schemaRegistry.add(helpColorSchema, {
161
+ var discoveryColorSchema = z._default(colorSchema, "#818cf8");
162
+ schemaRegistry.add(discoveryColorSchema, {
163
163
  description: "The second brand specific color of the workspace"
164
164
  });
165
165
  var successColorSchema = z._default(colorSchema, "#45b27e");
@@ -209,7 +209,7 @@ var darkColorsSchema = z.object({
209
209
  alternate: alternateColorSchema,
210
210
  accent: accentColorSchema,
211
211
  link: linkColorSchema,
212
- help: helpColorSchema,
212
+ discovery: discoveryColorSchema,
213
213
  success: successColorSchema,
214
214
  info: infoColorSchema,
215
215
  debug: debugColorSchema,
@@ -228,7 +228,7 @@ var lightColorsSchema = z.object({
228
228
  alternate: alternateColorSchema,
229
229
  accent: accentColorSchema,
230
230
  link: linkColorSchema,
231
- help: helpColorSchema,
231
+ discovery: discoveryColorSchema,
232
232
  success: successColorSchema,
233
233
  info: infoColorSchema,
234
234
  debug: debugColorSchema,
@@ -251,7 +251,7 @@ var singleColorsSchema = z.object({
251
251
  alternate: alternateColorSchema,
252
252
  accent: accentColorSchema,
253
253
  link: linkColorSchema,
254
- help: helpColorSchema,
254
+ discovery: discoveryColorSchema,
255
255
  success: successColorSchema,
256
256
  info: infoColorSchema,
257
257
  debug: debugColorSchema,
@@ -709,7 +709,7 @@ var COLOR_KEYS = [
709
709
  "accent",
710
710
  "link",
711
711
  "success",
712
- "help",
712
+ "discovery",
713
713
  "info",
714
714
  "warning",
715
715
  "danger",
@@ -1044,7 +1044,7 @@ var getSingleThemeColorsEnv = (prefix) => {
1044
1044
  alternate: process.env[`${prefix}ALTERNATE`],
1045
1045
  accent: process.env[`${prefix}ACCENT`],
1046
1046
  link: process.env[`${prefix}LINK`],
1047
- help: process.env[`${prefix}HELP`],
1047
+ discovery: process.env[`${prefix}DISCOVERY`],
1048
1048
  success: process.env[`${prefix}SUCCESS`],
1049
1049
  info: process.env[`${prefix}INFO`],
1050
1050
  debug: process.env[`${prefix}DEBUG`],
@@ -1084,7 +1084,7 @@ var getBaseThemeColorsEnv = (prefix) => {
1084
1084
  alternate: process.env[`${prefix}ALTERNATE`],
1085
1085
  accent: process.env[`${prefix}ACCENT`],
1086
1086
  link: process.env[`${prefix}LINK`],
1087
- help: process.env[`${prefix}HELP`],
1087
+ discovery: process.env[`${prefix}DISCOVERY`],
1088
1088
  success: process.env[`${prefix}SUCCESS`],
1089
1089
  info: process.env[`${prefix}INFO`],
1090
1090
  debug: process.env[`${prefix}DEBUG`],
@@ -1381,8 +1381,8 @@ var setSingleThemeColorsEnv = (prefix, config) => {
1381
1381
  if (config.link) {
1382
1382
  process.env[`${prefix}LINK`] = config.link;
1383
1383
  }
1384
- if (config.help) {
1385
- process.env[`${prefix}HELP`] = config.help;
1384
+ if (config.discovery) {
1385
+ process.env[`${prefix}DISCOVERY`] = config.discovery;
1386
1386
  }
1387
1387
  if (config.success) {
1388
1388
  process.env[`${prefix}SUCCESS`] = config.success;
@@ -1442,8 +1442,8 @@ var setBaseThemeColorsEnv = (prefix, config) => {
1442
1442
  if (config.link) {
1443
1443
  process.env[`${prefix}LINK`] = config.link;
1444
1444
  }
1445
- if (config.help) {
1446
- process.env[`${prefix}HELP`] = config.help;
1445
+ if (config.discovery) {
1446
+ process.env[`${prefix}DISCOVERY`] = config.discovery;
1447
1447
  }
1448
1448
  if (config.success) {
1449
1449
  process.env[`${prefix}SUCCESS`] = config.success;
@@ -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__224d245c4beea59ebec1ed6c996eeea5/node_modules/tsup/assets/esm_shims.js
12
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__502c9c9f830169d345413f684c5c8280/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);
@@ -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.71.201",
10
+ version: "0.71.204",
11
11
  private: false,
12
12
  description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
13
13
  keywords: [
@@ -132,9 +132,9 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
132
132
  module: "dist/index.mjs",
133
133
  typings: "dist/index.d.ts",
134
134
  dependencies: {
135
- "@aws-sdk/client-s3": "^3.1067.0",
136
- "@aws-sdk/lib-storage": "^3.1067.0",
137
- "@smithy/node-http-handler": "^4.7.7",
135
+ "@aws-sdk/client-s3": "^3.1068.0",
136
+ "@aws-sdk/lib-storage": "^3.1068.0",
137
+ "@smithy/node-http-handler": "^4.7.8",
138
138
  "@storm-software/config": "workspace:*",
139
139
  "@storm-software/config-tools": "workspace:*",
140
140
  "@storm-software/workspace-tools": "workspace:*",
@@ -148,7 +148,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
148
148
  "@nx/node": "catalog:",
149
149
  "@nx/web": "catalog:",
150
150
  "@nx/webpack": "catalog:",
151
- "@smithy/protocol-http": "^5.4.6",
151
+ "@smithy/protocol-http": "^5.4.7",
152
152
  nx: "catalog:",
153
153
  tsup: "catalog:",
154
154
  untyped: "catalog:",
@@ -34,7 +34,7 @@ var DEFAULT_COLOR_CONFIG = {
34
34
  foreground: "#1d1e22",
35
35
  brand: "#1fb2a6",
36
36
  alternate: "#db2777",
37
- help: "#5C4EE5",
37
+ discovery: "#5C4EE5",
38
38
  success: "#087f5b",
39
39
  info: "#0550ae",
40
40
  debug: "#8afafc",
@@ -48,11 +48,11 @@ var DEFAULT_COLOR_CONFIG = {
48
48
  gradient: ["#1fb2a6", "#db2777", "#5C4EE5"]
49
49
  },
50
50
  dark: {
51
- background: "#1d1e22",
51
+ background: "#1e2124",
52
52
  foreground: "#cbd5e1",
53
53
  brand: "#2dd4bf",
54
54
  alternate: "#db2777",
55
- help: "#818cf8",
55
+ discovery: "#818cf8",
56
56
  success: "#10b981",
57
57
  info: "#58a6ff",
58
58
  debug: "#8afafc",
@@ -3,7 +3,7 @@ import {
3
3
  writeDebug,
4
4
  writeError,
5
5
  writeWarning
6
- } from "./chunk-T6NIUJEH.mjs";
6
+ } from "./chunk-K4H5ZMYA.mjs";
7
7
 
8
8
  // src/utils/r2-bucket-helpers.ts
9
9
  import { Upload } from "@aws-sdk/lib-storage";
@@ -3,15 +3,15 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk3PQOI4NLjs = require('./chunk-3PQOI4NL.js');
6
+ var _chunkAWKQRM2Hjs = require('./chunk-AWKQRM2H.js');
7
7
 
8
8
  // src/utils/r2-bucket-helpers.ts
9
9
  var _libstorage = require('@aws-sdk/lib-storage');
10
10
  var _crypto = require('crypto');
11
11
  var _prettybytes = require('pretty-bytes'); var _prettybytes2 = _interopRequireDefault(_prettybytes);
12
12
  async function uploadFile(client, bucketName, bucketPath, fileName, version, fileContent, contentType = "application/octet-stream", isDryRun = false) {
13
- const key = _optionalChain([(!_optionalChain([bucketPath, 'optionalAccess', _ => _.trim, 'call', _2 => _2()]) || _optionalChain([bucketPath, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]) === "/" ? fileName : _chunk3PQOI4NLjs.joinPaths.call(void 0, bucketPath.trim(), fileName)), 'optionalAccess', _5 => _5.replace, 'call', _6 => _6(/^\/+/g, "")]) || "";
14
- _chunk3PQOI4NLjs.writeDebug.call(void 0,
13
+ const key = _optionalChain([(!_optionalChain([bucketPath, 'optionalAccess', _ => _.trim, 'call', _2 => _2()]) || _optionalChain([bucketPath, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]) === "/" ? fileName : _chunkAWKQRM2Hjs.joinPaths.call(void 0, bucketPath.trim(), fileName)), 'optionalAccess', _5 => _5.replace, 'call', _6 => _6(/^\/+/g, "")]) || "";
14
+ _chunkAWKQRM2Hjs.writeDebug.call(void 0,
15
15
  `Uploading ${key} (content-type: ${contentType}, size: ${_prettybytes2.default.call(void 0,
16
16
  Buffer.byteLength(fileContent, getEncoding(contentType))
17
17
  )}) to the ${bucketName} R2 bucket`
@@ -33,10 +33,10 @@ async function uploadFile(client, bucketName, bucketPath, fileName, version, fil
33
33
  });
34
34
  await upload.done();
35
35
  } else {
36
- _chunk3PQOI4NLjs.writeWarning.call(void 0, "[Dry run]: Skipping upload to the R2 bucket.");
36
+ _chunkAWKQRM2Hjs.writeWarning.call(void 0, "[Dry run]: Skipping upload to the R2 bucket.");
37
37
  }
38
38
  } catch (error) {
39
- _chunk3PQOI4NLjs.writeError.call(void 0, `Failed to upload ${key} to the ${bucketName} R2 bucket.`);
39
+ _chunkAWKQRM2Hjs.writeError.call(void 0, `Failed to upload ${key} to the ${bucketName} R2 bucket.`);
40
40
  throw error;
41
41
  }
42
42
  }