@storm-software/cloudflare-tools 0.55.40 → 0.55.42

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  # Changelog for Storm Ops - Cloudflare Tools
4
4
 
5
+ ## [0.55.42](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.55.42) (2025-03-18)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([2d7343483](https://github.com/storm-software/storm-ops/commit/2d7343483))
11
+
12
+ ## [0.55.41](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.55.41) (2025-03-17)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **monorepo:** Regenerate README markdown files
17
+ ([90d1828f9](https://github.com/storm-software/storm-ops/commit/90d1828f9))
18
+
5
19
  ## [0.55.40](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.55.40) (2025-03-17)
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.55.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)
24
+ [![Version](https://img.shields.io/badge/version-0.55.41-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 -->
@@ -8,7 +8,7 @@ var require_package = _chunkJ5SB6L2Ljs.__commonJS.call(void 0, {
8
8
  "package.json"(exports, module) {
9
9
  module.exports = {
10
10
  name: "@storm-software/cloudflare-tools",
11
- version: "0.55.40",
11
+ version: "0.55.42",
12
12
  description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
13
13
  repository: {
14
14
  type: "github",
@@ -1435,12 +1435,15 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
1435
1435
  };
1436
1436
  }, {})
1437
1437
  },
1438
- inject: defu2([
1439
- options.format === "cjs" && options.injectShims ? joinPaths(__dirname, "../assets/cjs_shims.js") : "",
1440
- options.format === "esm" && options.injectShims && options.platform === "node" ? joinPaths(__dirname, "../assets/esm_shims.js") : ""
1441
- ], options.inject ?? []).filter(Boolean)
1438
+ inject: [
1439
+ options.format === "cjs" && options.injectShims ? joinPaths(__dirname, "../assets/cjs_shims.js") : void 0,
1440
+ options.format === "esm" && options.injectShims && options.platform === "node" ? joinPaths(__dirname, "../assets/esm_shims.js") : void 0
1441
+ ].filter(Boolean)
1442
1442
  };
1443
1443
  result.plugins = userOptions.plugins ?? getDefaultBuildPlugins(userOptions, result);
1444
+ if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
1445
+ result.inject = defu2(result.inject, options.inject);
1446
+ }
1444
1447
  delete result.entry;
1445
1448
  delete result.outputPath;
1446
1449
  stopwatch();
@@ -1552,6 +1555,7 @@ async function executeEsBuild(context2) {
1552
1555
  delete options.renderers;
1553
1556
  delete options.config;
1554
1557
  delete options.injectShims;
1558
+ delete options.external;
1555
1559
  writeTrace(`Run esbuild (${context2.options.name}) with the following options:
1556
1560
  ${formatLogMessage(options)}`, context2.options.config);
1557
1561
  const result = await esbuild2.build(options);
@@ -8,7 +8,7 @@ var require_package = __commonJS({
8
8
  "package.json"(exports, module) {
9
9
  module.exports = {
10
10
  name: "@storm-software/cloudflare-tools",
11
- version: "0.55.40",
11
+ version: "0.55.42",
12
12
  description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
13
13
  repository: {
14
14
  type: "github",
@@ -1434,12 +1434,15 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1434
1434
  };
1435
1435
  }, {})
1436
1436
  },
1437
- inject: _defu2.default.call(void 0, [
1438
- options.format === "cjs" && options.injectShims ? _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
1439
- options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : ""
1440
- ], _nullishCoalesce(options.inject, () => ( []))).filter(Boolean)
1437
+ inject: [
1438
+ options.format === "cjs" && options.injectShims ? _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : void 0,
1439
+ options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : void 0
1440
+ ].filter(Boolean)
1441
1441
  };
1442
1442
  result.plugins = _nullishCoalesce(userOptions.plugins, () => ( getDefaultBuildPlugins(userOptions, result)));
1443
+ if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
1444
+ result.inject = _defu2.default.call(void 0, result.inject, options.inject);
1445
+ }
1443
1446
  delete result.entry;
1444
1447
  delete result.outputPath;
1445
1448
  stopwatch();
@@ -1551,6 +1554,7 @@ async function executeEsBuild(context2) {
1551
1554
  delete options.renderers;
1552
1555
  delete options.config;
1553
1556
  delete options.injectShims;
1557
+ delete options.external;
1554
1558
  _chunkFK6PN2T3js.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1555
1559
  ${_chunkFK6PN2T3js.formatLogMessage.call(void 0, options)}`, context2.options.config);
1556
1560
  const result = await esbuild2.build(options);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-4QFFFPC5.mjs";
3
+ } from "./chunk-GMFRV3ZA.mjs";
4
4
  import {
5
5
  getConfig
6
6
  } from "./chunk-MESLYSHV.mjs";
@@ -1,6 +1,6 @@
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 _chunkLZLR3HJUjs = require('./chunk-LZLR3HJU.js');
3
+ var _chunk2AZYWCCEjs = require('./chunk-2AZYWCCE.js');
4
4
 
5
5
 
6
6
  var _chunkH2ML72QFjs = require('./chunk-H2ML72QF.js');
@@ -52,7 +52,7 @@ async function applicationGenerator(tree, schema) {
52
52
  ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`, config);
53
53
  const options = await normalizeOptions(tree, schema, config);
54
54
  const tasks = [];
55
- tasks.push(await _chunkLZLR3HJUjs.generator_default.call(void 0, tree, {
55
+ tasks.push(await _chunk2AZYWCCEjs.generator_default.call(void 0, tree, {
56
56
  ...options,
57
57
  skipFormat: true
58
58
  }));
package/dist/executors.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
2
  require('./chunk-R7AIVBS7.js');
3
- require('./chunk-5KLP7KFL.js');
3
+ require('./chunk-LR5EYY2W.js');
4
4
  require('./chunk-MCQ4YOON.js');
5
5
  require('./chunk-HF5FM2V2.js');
6
6
  require('./chunk-VTHBMY4B.js');
@@ -1,6 +1,6 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
2
  import "./chunk-VNLZQQ5C.mjs";
3
- import "./chunk-RHCFLN3R.mjs";
3
+ import "./chunk-COKKJUVA.mjs";
4
4
  import "./chunk-S3S7EN37.mjs";
5
5
  import "./chunk-LEXIFHU6.mjs";
6
6
  import "./chunk-YYEF6TFG.mjs";
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk3SY45SUUjs = require('./chunk-3SY45SUU.js');
5
+ var _chunkSUJFP32Ejs = require('./chunk-SUJFP32E.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkLZLR3HJUjs = require('./chunk-LZLR3HJU.js');
9
+ var _chunk2AZYWCCEjs = require('./chunk-2AZYWCCE.js');
10
10
  require('./chunk-H2ML72QF.js');
11
11
  require('./chunk-FK6PN2T3.js');
12
12
  require('./chunk-J5SB6L2L.js');
@@ -15,4 +15,4 @@ require('./chunk-J5SB6L2L.js');
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunk3SY45SUUjs.applicationGenerator; exports.applicationSchematic = _chunk3SY45SUUjs.applicationSchematic; exports.initGenerator = _chunkLZLR3HJUjs.initGenerator; exports.initSchematic = _chunkLZLR3HJUjs.initSchematic;
18
+ exports.applicationGenerator = _chunkSUJFP32Ejs.applicationGenerator; exports.applicationSchematic = _chunkSUJFP32Ejs.applicationSchematic; exports.initGenerator = _chunk2AZYWCCEjs.initGenerator; exports.initSchematic = _chunk2AZYWCCEjs.initSchematic;
@@ -2,11 +2,11 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-FQEGSK6L.mjs";
5
+ } from "./chunk-NVJMBKZX.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-4QFFFPC5.mjs";
9
+ } from "./chunk-GMFRV3ZA.mjs";
10
10
  import "./chunk-MESLYSHV.mjs";
11
11
  import "./chunk-M4FHQYTZ.mjs";
12
12
  import "./chunk-3HMZSKJD.mjs";
package/dist/index.js CHANGED
@@ -3,14 +3,14 @@ require('./chunk-DHBG5ASJ.js');
3
3
 
4
4
 
5
5
 
6
- var _chunk3SY45SUUjs = require('./chunk-3SY45SUU.js');
6
+ var _chunkSUJFP32Ejs = require('./chunk-SUJFP32E.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkLZLR3HJUjs = require('./chunk-LZLR3HJU.js');
10
+ var _chunk2AZYWCCEjs = require('./chunk-2AZYWCCE.js');
11
11
  require('./chunk-CVGPWUNP.js');
12
12
  require('./chunk-R7AIVBS7.js');
13
- require('./chunk-5KLP7KFL.js');
13
+ require('./chunk-LR5EYY2W.js');
14
14
  require('./chunk-MCQ4YOON.js');
15
15
 
16
16
 
@@ -148,4 +148,4 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, createPackageJson, "createPackageJson");
148
148
 
149
149
 
150
150
 
151
- exports.applicationGenerator = _chunk3SY45SUUjs.applicationGenerator; exports.applicationSchematic = _chunk3SY45SUUjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkHF5FM2V2js.getInternalDependencies; exports.initGenerator = _chunkLZLR3HJUjs.initGenerator; exports.initSchematic = _chunkLZLR3HJUjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkHF5FM2V2js.r2UploadFile;
151
+ exports.applicationGenerator = _chunkSUJFP32Ejs.applicationGenerator; exports.applicationSchematic = _chunkSUJFP32Ejs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkHF5FM2V2js.getInternalDependencies; exports.initGenerator = _chunk2AZYWCCEjs.initGenerator; exports.initSchematic = _chunk2AZYWCCEjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkHF5FM2V2js.r2UploadFile;
package/dist/index.mjs CHANGED
@@ -3,14 +3,14 @@ import "./chunk-3J7KBHMJ.mjs";
3
3
  import {
4
4
  applicationGenerator,
5
5
  applicationSchematic
6
- } from "./chunk-FQEGSK6L.mjs";
6
+ } from "./chunk-NVJMBKZX.mjs";
7
7
  import {
8
8
  initGenerator,
9
9
  initSchematic
10
- } from "./chunk-4QFFFPC5.mjs";
10
+ } from "./chunk-GMFRV3ZA.mjs";
11
11
  import "./chunk-7Z5PILRU.mjs";
12
12
  import "./chunk-VNLZQQ5C.mjs";
13
- import "./chunk-RHCFLN3R.mjs";
13
+ import "./chunk-COKKJUVA.mjs";
14
14
  import "./chunk-S3S7EN37.mjs";
15
15
  import {
16
16
  getInternalDependencies,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
  var _chunkR7AIVBS7js = require('../../../chunk-R7AIVBS7.js');
4
- require('../../../chunk-5KLP7KFL.js');
4
+ require('../../../chunk-LR5EYY2W.js');
5
5
  require('../../../chunk-VTHBMY4B.js');
6
6
  require('../../../chunk-H2ML72QF.js');
7
7
  require('../../../chunk-FK6PN2T3.js');
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runExecutor
3
3
  } from "../../../chunk-VNLZQQ5C.mjs";
4
- import "../../../chunk-RHCFLN3R.mjs";
4
+ import "../../../chunk-COKKJUVA.mjs";
5
5
  import "../../../chunk-YYEF6TFG.mjs";
6
6
  import "../../../chunk-MESLYSHV.mjs";
7
7
  import "../../../chunk-M4FHQYTZ.mjs";
@@ -1,6 +1,6 @@
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 _chunk5KLP7KFLjs = require('../../../chunk-5KLP7KFL.js');
3
+ var _chunkLR5EYY2Wjs = require('../../../chunk-LR5EYY2W.js');
4
4
 
5
5
 
6
6
  var _chunkVTHBMY4Bjs = require('../../../chunk-VTHBMY4B.js');
@@ -60,7 +60,7 @@ async function* serveExecutor(options, context, config) {
60
60
  };
61
61
  }
62
62
  _chunkJ5SB6L2Ljs.__name.call(void 0, serveExecutor, "serveExecutor");
63
- var executor_default = _chunk5KLP7KFLjs.withRunExecutor.call(void 0, "Cloudflare Serve executor", serveExecutor, {
63
+ var executor_default = _chunkLR5EYY2Wjs.withRunExecutor.call(void 0, "Cloudflare Serve executor", serveExecutor, {
64
64
  skipReadingConfig: false,
65
65
  hooks: {
66
66
  applyDefaultOptions: /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "../../../chunk-RHCFLN3R.mjs";
3
+ } from "../../../chunk-COKKJUVA.mjs";
4
4
  import {
5
5
  createCliOptions
6
6
  } from "../../../chunk-YYEF6TFG.mjs";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkLZLR3HJUjs = require('../../../chunk-LZLR3HJU.js');
5
+ var _chunk2AZYWCCEjs = require('../../../chunk-2AZYWCCE.js');
6
6
  require('../../../chunk-J5SB6L2L.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunkLZLR3HJUjs.generator_default; exports.initGenerator = _chunkLZLR3HJUjs.initGenerator; exports.initSchematic = _chunkLZLR3HJUjs.initSchematic;
11
+ exports.default = _chunk2AZYWCCEjs.generator_default; exports.initGenerator = _chunk2AZYWCCEjs.initGenerator; exports.initSchematic = _chunk2AZYWCCEjs.initSchematic;
@@ -2,7 +2,7 @@ import {
2
2
  generator_default,
3
3
  initGenerator,
4
4
  initSchematic
5
- } from "../../../chunk-4QFFFPC5.mjs";
5
+ } from "../../../chunk-GMFRV3ZA.mjs";
6
6
  import "../../../chunk-3HMZSKJD.mjs";
7
7
  export {
8
8
  generator_default as default,
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk3SY45SUUjs = require('../../../chunk-3SY45SUU.js');
6
- require('../../../chunk-LZLR3HJU.js');
5
+ var _chunkSUJFP32Ejs = require('../../../chunk-SUJFP32E.js');
6
+ require('../../../chunk-2AZYWCCE.js');
7
7
  require('../../../chunk-H2ML72QF.js');
8
8
  require('../../../chunk-FK6PN2T3.js');
9
9
  require('../../../chunk-J5SB6L2L.js');
@@ -11,4 +11,4 @@ require('../../../chunk-J5SB6L2L.js');
11
11
 
12
12
 
13
13
 
14
- exports.applicationGenerator = _chunk3SY45SUUjs.applicationGenerator; exports.applicationSchematic = _chunk3SY45SUUjs.applicationSchematic; exports.default = _chunk3SY45SUUjs.generator_default;
14
+ exports.applicationGenerator = _chunkSUJFP32Ejs.applicationGenerator; exports.applicationSchematic = _chunkSUJFP32Ejs.applicationSchematic; exports.default = _chunkSUJFP32Ejs.generator_default;
@@ -2,8 +2,8 @@ import {
2
2
  applicationGenerator,
3
3
  applicationSchematic,
4
4
  generator_default
5
- } from "../../../chunk-FQEGSK6L.mjs";
6
- import "../../../chunk-4QFFFPC5.mjs";
5
+ } from "../../../chunk-NVJMBKZX.mjs";
6
+ import "../../../chunk-GMFRV3ZA.mjs";
7
7
  import "../../../chunk-MESLYSHV.mjs";
8
8
  import "../../../chunk-M4FHQYTZ.mjs";
9
9
  import "../../../chunk-3HMZSKJD.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/cloudflare-tools",
3
- "version": "0.55.40",
3
+ "version": "0.55.42",
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",