@storm-software/cloudflare-tools 0.55.39 → 0.55.40

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 +165 -75
  2. package/README.md +6 -6
  3. package/dist/{chunk-Y3XZCCPP.mjs → chunk-3HMZSKJD.mjs} +1 -1
  4. package/dist/{chunk-FSZS6NDT.js → chunk-3SY45SUU.js} +12 -12
  5. package/dist/{chunk-J22YL4DC.mjs → chunk-4QFFFPC5.mjs} +2 -2
  6. package/dist/{chunk-XYJVYVYX.js → chunk-5KLP7KFL.js} +484 -571
  7. package/dist/{chunk-HZON5W3G.js → chunk-FK6PN2T3.js} +42 -14
  8. package/dist/{chunk-ZBM3I5Z7.mjs → chunk-FQEGSK6L.mjs} +4 -4
  9. package/dist/{chunk-KLCTLDIH.js → chunk-H2ML72QF.js} +91 -47
  10. package/dist/{chunk-I6XBWBZN.js → chunk-HF5FM2V2.js} +3 -3
  11. package/dist/{chunk-HWRWRM5W.mjs → chunk-LEXIFHU6.mjs} +2 -2
  12. package/dist/{chunk-B6ZQTLTY.js → chunk-LZLR3HJU.js} +1 -1
  13. package/dist/{chunk-QD7ZKWKB.mjs → chunk-M4FHQYTZ.mjs} +43 -15
  14. package/dist/{chunk-MVGAJ7Q4.js → chunk-MCQ4YOON.js} +16 -16
  15. package/dist/{chunk-VAVNPHSE.mjs → chunk-MESLYSHV.mjs} +52 -8
  16. package/dist/{chunk-MBAVTLIK.mjs → chunk-RHCFLN3R.mjs} +323 -410
  17. package/dist/{chunk-5OCPVWBL.mjs → chunk-S3S7EN37.mjs} +5 -5
  18. package/dist/{chunk-PDHMNSTI.mjs → chunk-VNLZQQ5C.mjs} +2 -2
  19. package/dist/{chunk-KFNKJP2U.mjs → chunk-YYEF6TFG.mjs} +1 -1
  20. package/dist/executors.js +5 -5
  21. package/dist/executors.mjs +8 -8
  22. package/dist/generators.js +5 -5
  23. package/dist/generators.mjs +5 -5
  24. package/dist/index.js +8 -8
  25. package/dist/index.mjs +10 -10
  26. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  27. package/dist/src/executors/cloudflare-publish/executor.mjs +6 -6
  28. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  29. package/dist/src/executors/r2-upload-publish/executor.mjs +6 -6
  30. package/dist/src/executors/serve/executor.d.mts +67 -3
  31. package/dist/src/executors/serve/executor.d.ts +67 -3
  32. package/dist/src/executors/serve/executor.js +4 -4
  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 +11 -11
@@ -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 _chunkB6ZQTLTYjs = require('./chunk-B6ZQTLTY.js');
3
+ var _chunkLZLR3HJUjs = require('./chunk-LZLR3HJU.js');
4
4
 
5
5
 
6
- var _chunkKLCTLDIHjs = require('./chunk-KLCTLDIH.js');
6
+ var _chunkH2ML72QFjs = require('./chunk-H2ML72QF.js');
7
7
 
8
8
 
9
9
 
@@ -12,7 +12,7 @@ var _chunkKLCTLDIHjs = require('./chunk-KLCTLDIH.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkHZON5W3Gjs = require('./chunk-HZON5W3G.js');
15
+ var _chunkFK6PN2T3js = require('./chunk-FK6PN2T3.js');
16
16
 
17
17
 
18
18
  var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
@@ -38,21 +38,21 @@ var vitestScript = `"test": "vitest run"`;
38
38
 
39
39
  // src/generators/worker/generator.ts
40
40
  async function applicationGenerator(tree, schema) {
41
- const stopwatch = _chunkHZON5W3Gjs.getStopwatch.call(void 0, "Storm Worker generator");
41
+ const stopwatch = _chunkFK6PN2T3js.getStopwatch.call(void 0, "Storm Worker generator");
42
42
  let config;
43
43
  try {
44
- _chunkHZON5W3Gjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
44
+ _chunkFK6PN2T3js.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
45
45
 
46
46
  `, config);
47
- const workspaceRoot = _chunkHZON5W3Gjs.findWorkspaceRoot.call(void 0, );
48
- _chunkHZON5W3Gjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.json file...
47
+ const workspaceRoot = _chunkFK6PN2T3js.findWorkspaceRoot.call(void 0, );
48
+ _chunkFK6PN2T3js.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.json file...
49
49
  - workspaceRoot: ${workspaceRoot}`, config);
50
- config = await _chunkKLCTLDIHjs.getConfig.call(void 0, workspaceRoot);
51
- _chunkHZON5W3Gjs.writeTrace.call(void 0, `Loaded Storm config into env:
50
+ config = await _chunkH2ML72QFjs.getConfig.call(void 0, workspaceRoot);
51
+ _chunkFK6PN2T3js.writeTrace.call(void 0, `Loaded Storm config into env:
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 _chunkB6ZQTLTYjs.generator_default.call(void 0, tree, {
55
+ tasks.push(await _chunkLZLR3HJUjs.generator_default.call(void 0, tree, {
56
56
  ...options,
57
57
  skipFormat: true
58
58
  }));
@@ -107,8 +107,8 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
107
107
  return _devkit.runTasksInSerial.call(void 0, ...tasks);
108
108
  } catch (error) {
109
109
  return () => {
110
- _chunkHZON5W3Gjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
111
- _chunkHZON5W3Gjs.writeError.call(void 0, `An exception was thrown in the generator's process
110
+ _chunkFK6PN2T3js.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
111
+ _chunkFK6PN2T3js.writeError.call(void 0, `An exception was thrown in the generator's process
112
112
  - Details: ${error.message}
113
113
  - Stacktrace: ${error.stack}`, config);
114
114
  };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __commonJS,
3
3
  __name
4
- } from "./chunk-Y3XZCCPP.mjs";
4
+ } from "./chunk-3HMZSKJD.mjs";
5
5
 
6
6
  // package.json
7
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.39",
11
+ version: "0.55.40",
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",