@storm-software/cloudflare-tools 0.55.65 → 0.55.67

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 +16 -0
  2. package/README.md +2 -1
  3. package/dist/{chunk-4KLMKQMN.mjs → chunk-2FAHL7XD.mjs} +2 -2
  4. package/dist/{chunk-NGKRYZY2.mjs → chunk-3ESJSOQV.mjs} +9 -7
  5. package/dist/{chunk-XPLMFM2J.mjs → chunk-3RLBM7SP.mjs} +1 -1
  6. package/dist/{chunk-UQLMM4XV.js → chunk-4O3YATGZ.js} +10 -1
  7. package/dist/{chunk-PFHP5EL7.mjs → chunk-5VCVZQT4.mjs} +2 -2
  8. package/dist/{chunk-2YQVZSHO.js → chunk-6B5PUF7X.js} +8 -2
  9. package/dist/{chunk-65QGIJV4.mjs → chunk-AMOQ2QRI.mjs} +17 -8
  10. package/dist/{chunk-6YO5XRT2.mjs → chunk-IEYD3WT2.mjs} +1 -1
  11. package/dist/{chunk-U2DL5OU3.mjs → chunk-IGW2CIUT.mjs} +2 -2
  12. package/dist/{chunk-7TRJIJ2N.mjs → chunk-KMLUC6Q2.mjs} +4 -4
  13. package/dist/{chunk-U5WWE2HS.mjs → chunk-LEJPLULT.mjs} +1 -1
  14. package/dist/{chunk-DWDJDH7W.js → chunk-PGCJTAXN.js} +8 -6
  15. package/dist/{chunk-NNDGLEEI.js → chunk-U2WGDK2E.js} +2 -2
  16. package/dist/{chunk-YV555N5S.mjs → chunk-W2PVKWMH.mjs} +14 -8
  17. package/dist/executors.js +2 -2
  18. package/dist/executors.mjs +8 -8
  19. package/dist/generators.js +3 -3
  20. package/dist/generators.mjs +5 -5
  21. package/dist/index.js +5 -5
  22. package/dist/index.mjs +10 -10
  23. package/dist/src/executors/cloudflare-publish/executor.js +1 -1
  24. package/dist/src/executors/cloudflare-publish/executor.mjs +6 -6
  25. package/dist/src/executors/r2-upload-publish/executor.js +2 -2
  26. package/dist/src/executors/r2-upload-publish/executor.mjs +6 -6
  27. package/dist/src/executors/serve/executor.d.mts +2 -1300
  28. package/dist/src/executors/serve/executor.d.ts +2 -1300
  29. package/dist/src/executors/serve/executor.js +2 -2
  30. package/dist/src/executors/serve/executor.mjs +5 -5
  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 +3 -3
  34. package/dist/src/generators/worker/generator.mjs +5 -5
  35. package/dist/src/utils/index.mjs +3 -3
  36. package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
  37. package/dist/tsup.config.d.mts +3 -3
  38. package/dist/tsup.config.d.ts +3 -3
  39. package/dist/tsup.config.js +2 -1
  40. package/dist/tsup.config.mjs +3 -2
  41. package/package.json +8 -9
@@ -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 _chunkUQLMM4XVjs = require('../../../chunk-UQLMM4XV.js');
3
+ var _chunk4O3YATGZjs = require('../../../chunk-4O3YATGZ.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 = _chunkUQLMM4XVjs.withRunExecutor.call(void 0, "Cloudflare Serve executor", serveExecutor, {
63
+ var executor_default = _chunk4O3YATGZjs.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,15 +1,15 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "../../../chunk-65QGIJV4.mjs";
3
+ } from "../../../chunk-AMOQ2QRI.mjs";
4
4
  import {
5
5
  createCliOptions
6
- } from "../../../chunk-XPLMFM2J.mjs";
7
- import "../../../chunk-4KLMKQMN.mjs";
8
- import "../../../chunk-U5WWE2HS.mjs";
6
+ } from "../../../chunk-3RLBM7SP.mjs";
7
+ import "../../../chunk-2FAHL7XD.mjs";
8
+ import "../../../chunk-LEJPLULT.mjs";
9
9
  import {
10
10
  __name,
11
11
  __require
12
- } from "../../../chunk-6YO5XRT2.mjs";
12
+ } from "../../../chunk-IEYD3WT2.mjs";
13
13
 
14
14
  // src/executors/serve/executor.ts
15
15
  import { createAsyncIterable } from "@nx/devkit/src/utils/async-iterable";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkDWDJDH7Wjs = require('../../../chunk-DWDJDH7W.js');
5
+ var _chunkPGCJTAXNjs = require('../../../chunk-PGCJTAXN.js');
6
6
  require('../../../chunk-J5SB6L2L.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunkDWDJDH7Wjs.generator_default; exports.initGenerator = _chunkDWDJDH7Wjs.initGenerator; exports.initSchematic = _chunkDWDJDH7Wjs.initSchematic;
11
+ exports.default = _chunkPGCJTAXNjs.generator_default; exports.initGenerator = _chunkPGCJTAXNjs.initGenerator; exports.initSchematic = _chunkPGCJTAXNjs.initSchematic;
@@ -2,8 +2,8 @@ import {
2
2
  generator_default,
3
3
  initGenerator,
4
4
  initSchematic
5
- } from "../../../chunk-NGKRYZY2.mjs";
6
- import "../../../chunk-6YO5XRT2.mjs";
5
+ } from "../../../chunk-3ESJSOQV.mjs";
6
+ import "../../../chunk-IEYD3WT2.mjs";
7
7
  export {
8
8
  generator_default as default,
9
9
  initGenerator,
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkNNDGLEEIjs = require('../../../chunk-NNDGLEEI.js');
6
- require('../../../chunk-DWDJDH7W.js');
5
+ var _chunkU2WGDK2Ejs = require('../../../chunk-U2WGDK2E.js');
6
+ require('../../../chunk-PGCJTAXN.js');
7
7
  require('../../../chunk-IVLCYFXD.js');
8
8
  require('../../../chunk-V7LBWOVV.js');
9
9
  require('../../../chunk-J5SB6L2L.js');
@@ -11,4 +11,4 @@ require('../../../chunk-J5SB6L2L.js');
11
11
 
12
12
 
13
13
 
14
- exports.applicationGenerator = _chunkNNDGLEEIjs.applicationGenerator; exports.applicationSchematic = _chunkNNDGLEEIjs.applicationSchematic; exports.default = _chunkNNDGLEEIjs.generator_default;
14
+ exports.applicationGenerator = _chunkU2WGDK2Ejs.applicationGenerator; exports.applicationSchematic = _chunkU2WGDK2Ejs.applicationSchematic; exports.default = _chunkU2WGDK2Ejs.generator_default;
@@ -2,11 +2,11 @@ import {
2
2
  applicationGenerator,
3
3
  applicationSchematic,
4
4
  generator_default
5
- } from "../../../chunk-7TRJIJ2N.mjs";
6
- import "../../../chunk-NGKRYZY2.mjs";
7
- import "../../../chunk-4KLMKQMN.mjs";
8
- import "../../../chunk-U5WWE2HS.mjs";
9
- import "../../../chunk-6YO5XRT2.mjs";
5
+ } from "../../../chunk-KMLUC6Q2.mjs";
6
+ import "../../../chunk-3ESJSOQV.mjs";
7
+ import "../../../chunk-2FAHL7XD.mjs";
8
+ import "../../../chunk-LEJPLULT.mjs";
9
+ import "../../../chunk-IEYD3WT2.mjs";
10
10
  export {
11
11
  applicationGenerator,
12
12
  applicationSchematic,
@@ -2,9 +2,9 @@ import "../../chunk-7Z5PILRU.mjs";
2
2
  import {
3
3
  getInternalDependencies,
4
4
  r2UploadFile
5
- } from "../../chunk-U2DL5OU3.mjs";
6
- import "../../chunk-U5WWE2HS.mjs";
7
- import "../../chunk-6YO5XRT2.mjs";
5
+ } from "../../chunk-IGW2CIUT.mjs";
6
+ import "../../chunk-LEJPLULT.mjs";
7
+ import "../../chunk-IEYD3WT2.mjs";
8
8
  export {
9
9
  getInternalDependencies,
10
10
  r2UploadFile
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getInternalDependencies,
3
3
  r2UploadFile
4
- } from "../../chunk-U2DL5OU3.mjs";
5
- import "../../chunk-U5WWE2HS.mjs";
6
- import "../../chunk-6YO5XRT2.mjs";
4
+ } from "../../chunk-IGW2CIUT.mjs";
5
+ import "../../chunk-LEJPLULT.mjs";
6
+ import "../../chunk-IEYD3WT2.mjs";
7
7
  export {
8
8
  getInternalDependencies,
9
9
  r2UploadFile
@@ -1,5 +1,5 @@
1
- import * as tsup from 'tsup';
1
+ import { Options } from 'tsup';
2
2
 
3
- declare const _default: tsup.Options | tsup.Options[] | ((overrideOptions: tsup.Options) => tsup.Options | tsup.Options[] | Promise<tsup.Options | tsup.Options[]>);
3
+ declare const config: Options;
4
4
 
5
- export { _default as default };
5
+ export { config as default };
@@ -1,5 +1,5 @@
1
- import * as tsup from 'tsup';
1
+ import { Options } from 'tsup';
2
2
 
3
- declare const _default: tsup.Options | tsup.Options[] | ((overrideOptions: tsup.Options) => tsup.Options | tsup.Options[] | Promise<tsup.Options | tsup.Options[]>);
3
+ declare const config: Options;
4
4
 
5
- export { _default as default };
5
+ export { config as default };
@@ -2,7 +2,7 @@
2
2
 
3
3
  // tsup.config.ts
4
4
  var _tsup = require('tsup');
5
- var tsup_config_default = _tsup.defineConfig.call(void 0, [
5
+ var config = _tsup.defineConfig.call(void 0, [
6
6
  {
7
7
  name: "cloudflare-tools",
8
8
  target: "node22",
@@ -30,6 +30,7 @@ var tsup_config_default = _tsup.defineConfig.call(void 0, [
30
30
  ]
31
31
  }
32
32
  ]);
33
+ var tsup_config_default = config;
33
34
 
34
35
 
35
36
  exports.default = tsup_config_default;
@@ -1,8 +1,8 @@
1
- import "./chunk-6YO5XRT2.mjs";
1
+ import "./chunk-IEYD3WT2.mjs";
2
2
 
3
3
  // tsup.config.ts
4
4
  import { defineConfig } from "tsup";
5
- var tsup_config_default = defineConfig([
5
+ var config = defineConfig([
6
6
  {
7
7
  name: "cloudflare-tools",
8
8
  target: "node22",
@@ -30,6 +30,7 @@ var tsup_config_default = defineConfig([
30
30
  ]
31
31
  }
32
32
  ]);
33
+ var tsup_config_default = config;
33
34
  export {
34
35
  tsup_config_default as default
35
36
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/cloudflare-tools",
3
- "version": "0.55.65",
3
+ "version": "0.55.67",
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",
@@ -114,10 +114,14 @@
114
114
  ],
115
115
  "peerDependencies": {
116
116
  "@nx/devkit": "20.8.0",
117
+ "@nx/js": "20.8.0",
117
118
  "@nx/node": "20.8.0",
118
119
  "@nx/web": "20.8.0",
119
- "@nx/webpack": "20.8.0",
120
+ "@storm-software/config": "1.113.5",
121
+ "@storm-software/config-tools": "1.163.5",
122
+ "@storm-software/workspace-tools": "1.267.0",
120
123
  "nx": "20.8.0",
124
+ "tsup": "8.4.0",
121
125
  "wrangler": ">=3.58.0"
122
126
  },
123
127
  "peerDependenciesMeta": {
@@ -128,12 +132,7 @@
128
132
  "nx": { "optional": false },
129
133
  "wrangler": { "optional": false }
130
134
  },
131
- "dependencies": {
132
- "@aws-sdk/client-s3": "3.47.0",
133
- "c12": "^2.0.0-beta.2",
134
- "glob": "^11.0.1",
135
- "jest-resolve": "29.7.0"
136
- },
135
+ "dependencies": { "@aws-sdk/client-s3": "3.47.0", "glob": "^11.0.1" },
137
136
  "devDependencies": {
138
137
  "@nx/devkit": "20.8.0",
139
138
  "@nx/node": "20.8.0",
@@ -142,7 +141,7 @@
142
141
  "nx": "20.8.0",
143
142
  "tsup": "8.4.0",
144
143
  "untyped": "^1.5.2",
145
- "wrangler": ">=3.58.0"
144
+ "wrangler": "^4.13.2"
146
145
  },
147
146
  "publishConfig": { "access": "public" },
148
147
  "executors": "./executors.json",