@storm-software/cloudflare-tools 0.71.13 → 0.71.14

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 (38) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/{chunk-IG57VHT6.mjs → chunk-23XVYAEH.mjs} +9 -5
  3. package/dist/{chunk-5CMG7SUH.mjs → chunk-3UGLZEZF.mjs} +2 -2
  4. package/dist/{chunk-PBIYDCVZ.js → chunk-734BIUTA.js} +9 -5
  5. package/dist/{chunk-T74Z7LCN.mjs → chunk-AUJLTFB2.mjs} +1 -1
  6. package/dist/{chunk-HWGGRR3Y.js → chunk-AUML5WGJ.js} +2 -2
  7. package/dist/{chunk-UY2WTOQG.js → chunk-CXQTVVMP.js} +6 -5
  8. package/dist/chunk-GMXZMPYW.mjs +11 -0
  9. package/dist/{chunk-UAKLE2QO.js → chunk-MSPE2JA2.js} +2 -2
  10. package/dist/{chunk-ZASFPAJZ.mjs → chunk-W36TE3H7.mjs} +6 -5
  11. package/dist/chunk-XG5T3FL6.js +11 -0
  12. package/dist/executors.js +3 -2
  13. package/dist/executors.mjs +3 -2
  14. package/dist/generators.js +3 -3
  15. package/dist/generators.mjs +2 -2
  16. package/dist/index.d.mts +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +8 -7
  19. package/dist/index.mjs +9 -8
  20. package/dist/src/executors/r2-upload-publish/executor.js +4 -3
  21. package/dist/src/executors/r2-upload-publish/executor.mjs +3 -2
  22. package/dist/src/generators/init/generator.js +2 -2
  23. package/dist/src/generators/init/generator.mjs +1 -1
  24. package/dist/src/generators/worker/generator.js +3 -3
  25. package/dist/src/generators/worker/generator.mjs +2 -2
  26. package/dist/src/utils/http-handler.d.mts +10 -0
  27. package/dist/src/utils/http-handler.d.ts +10 -0
  28. package/dist/src/utils/http-handler.js +7 -0
  29. package/dist/src/utils/http-handler.mjs +7 -0
  30. package/dist/src/utils/index.d.mts +1 -1
  31. package/dist/src/utils/index.d.ts +1 -1
  32. package/dist/src/utils/index.js +2 -2
  33. package/dist/src/utils/index.mjs +3 -3
  34. package/dist/src/utils/r2-bucket-helpers.d.mts +2 -2
  35. package/dist/src/utils/r2-bucket-helpers.d.ts +2 -2
  36. package/dist/src/utils/r2-bucket-helpers.js +2 -2
  37. package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
  38. package/package.json +7 -6
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  # Changelog for Storm Ops - Cloudflare Tools
4
4
 
5
+ ## [0.71.13](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.13) (12/08/2025)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **cloudflare-tools:** Resovled scenario where directories were attempted to
10
+ upload
11
+ ([d1c6e83bc](https://github.com/storm-software/storm-ops/commit/d1c6e83bc))
12
+
13
+ ### Updated Dependencies
14
+
15
+ - Updated **workspace-tools** to **v1.294.6**
16
+ - Updated **config-tools** to **v1.188.62**
17
+ - Updated **config** to **v1.134.62**
18
+
5
19
  ## [0.71.12](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.12) (12/08/2025)
6
20
 
7
21
  ### Updated Dependencies
@@ -1,7 +1,10 @@
1
+ import {
2
+ createHttpHandler
3
+ } from "./chunk-GMXZMPYW.mjs";
1
4
  import {
2
5
  getInternalDependencies,
3
- r2UploadFile
4
- } from "./chunk-5CMG7SUH.mjs";
6
+ uploadFile
7
+ } from "./chunk-3UGLZEZF.mjs";
5
8
  import {
6
9
  createCliOptions,
7
10
  getPackageInfo
@@ -95,7 +98,8 @@ async function runExecutor(options, context) {
95
98
  accessKeyId: process.env.STORM_BOT_ACCESS_KEY_ID || process.env.CLOUDFLARE_ACCESS_KEY_ID || process.env.AWS_ACCESS_KEY_ID || process.env.ACCESS_KEY_ID,
96
99
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
97
100
  secretAccessKey: process.env.STORM_BOT_SECRET_ACCESS_KEY || process.env.CLOUDFLARE_SECRET_ACCESS_KEY || process.env.AWS_SECRET_ACCESS_KEY || process.env.SECRET_ACCESS_KEY
98
- }
101
+ },
102
+ requestHandler: createHttpHandler()
99
103
  });
100
104
  const version = projectDetails?.content?.version;
101
105
  if (version) {
@@ -174,7 +178,7 @@ async function runExecutor(options, context) {
174
178
  const metaJson = JSON.stringify(meta);
175
179
  writeTrace(`Generating meta.json file:
176
180
  ${metaJson}`);
177
- await r2UploadFile(
181
+ await uploadFile(
178
182
  client,
179
183
  bucketId,
180
184
  bucketPath,
@@ -193,7 +197,7 @@ ${metaJson}`);
193
197
  const name = correctPaths(file).replace(correctPaths(basePath), "");
194
198
  const type = mime.lookup(name) || "application/octet-stream";
195
199
  writeTrace(`Uploading file: ${name} (content-type: ${type})`);
196
- await r2UploadFile(
200
+ await uploadFile(
197
201
  client,
198
202
  bucketId,
199
203
  bucketPath,
@@ -6,7 +6,7 @@ import {
6
6
 
7
7
  // src/utils/r2-bucket-helpers.ts
8
8
  import { createHash } from "node:crypto";
9
- async function r2UploadFile(client, bucketName, bucketPath, fileName, version, fileContent, contentType = "application/octet-stream", isDryRun = false) {
9
+ async function uploadFile(client, bucketName, bucketPath, fileName, version, fileContent, contentType = "application/octet-stream", isDryRun = false) {
10
10
  writeDebug(`Uploading file: ${joinPaths(bucketPath, fileName)}`);
11
11
  if (!isDryRun) {
12
12
  await client.putObject({
@@ -38,6 +38,6 @@ function getInternalDependencies(projectName, graph) {
38
38
  }
39
39
 
40
40
  export {
41
- r2UploadFile,
41
+ uploadFile,
42
42
  getInternalDependencies
43
43
  };
@@ -1,7 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkXG5T3FL6js = require('./chunk-XG5T3FL6.js');
3
4
 
4
- var _chunkUAKLE2QOjs = require('./chunk-UAKLE2QO.js');
5
+
6
+
7
+ var _chunkMSPE2JA2js = require('./chunk-MSPE2JA2.js');
5
8
 
6
9
 
7
10
 
@@ -95,7 +98,8 @@ async function runExecutor(options, context) {
95
98
  accessKeyId: process.env.STORM_BOT_ACCESS_KEY_ID || process.env.CLOUDFLARE_ACCESS_KEY_ID || process.env.AWS_ACCESS_KEY_ID || process.env.ACCESS_KEY_ID,
96
99
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
97
100
  secretAccessKey: process.env.STORM_BOT_SECRET_ACCESS_KEY || process.env.CLOUDFLARE_SECRET_ACCESS_KEY || process.env.AWS_SECRET_ACCESS_KEY || process.env.SECRET_ACCESS_KEY
98
- }
101
+ },
102
+ requestHandler: _chunkXG5T3FL6js.createHttpHandler.call(void 0, )
99
103
  });
100
104
  const version = _optionalChain([projectDetails, 'optionalAccess', _13 => _13.content, 'optionalAccess', _14 => _14.version]);
101
105
  if (version) {
@@ -105,7 +109,7 @@ async function runExecutor(options, context) {
105
109
  const files = await _glob.glob.call(void 0, _chunkZ2WQB55Rjs.joinPaths.call(void 0, basePath, "**/*"), {
106
110
  ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
107
111
  });
108
- const internalDependencies = await _chunkUAKLE2QOjs.getInternalDependencies.call(void 0,
112
+ const internalDependencies = await _chunkMSPE2JA2js.getInternalDependencies.call(void 0,
109
113
  context.projectName,
110
114
  projectGraph
111
115
  );
@@ -174,7 +178,7 @@ async function runExecutor(options, context) {
174
178
  const metaJson = JSON.stringify(meta);
175
179
  _chunkZ2WQB55Rjs.writeTrace.call(void 0, `Generating meta.json file:
176
180
  ${metaJson}`);
177
- await _chunkUAKLE2QOjs.r2UploadFile.call(void 0,
181
+ await _chunkMSPE2JA2js.uploadFile.call(void 0,
178
182
  client,
179
183
  bucketId,
180
184
  bucketPath,
@@ -193,7 +197,7 @@ ${metaJson}`);
193
197
  const name = _chunkZ2WQB55Rjs.correctPaths.call(void 0, file).replace(_chunkZ2WQB55Rjs.correctPaths.call(void 0, basePath), "");
194
198
  const type = _mimetypes2.default.lookup(name) || "application/octet-stream";
195
199
  _chunkZ2WQB55Rjs.writeTrace.call(void 0, `Uploading file: ${name} (content-type: ${type})`);
196
- await _chunkUAKLE2QOjs.r2UploadFile.call(void 0,
200
+ await _chunkMSPE2JA2js.uploadFile.call(void 0,
197
201
  client,
198
202
  bucketId,
199
203
  bucketPath,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-ZASFPAJZ.mjs";
3
+ } from "./chunk-W36TE3H7.mjs";
4
4
  import {
5
5
  findWorkspaceRoot,
6
6
  getConfig
@@ -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 _chunkUY2WTOQGjs = require('./chunk-UY2WTOQG.js');
3
+ var _chunkCXQTVVMPjs = require('./chunk-CXQTVVMP.js');
4
4
 
5
5
 
6
6
 
@@ -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 _chunkUY2WTOQGjs.generator_default.call(void 0, tree, {
69
+ await _chunkCXQTVVMPjs.generator_default.call(void 0, tree, {
70
70
  ...options,
71
71
  skipFormat: true
72
72
  })
@@ -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.12",
10
+ version: "0.71.13",
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",
@@ -136,9 +136,9 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
136
136
  "@nx/js": "catalog:",
137
137
  "@nx/node": "catalog:",
138
138
  "@nx/web": "catalog:",
139
- "@storm-software/config": "1.134.61",
140
- "@storm-software/config-tools": "1.188.61",
141
- "@storm-software/workspace-tools": "1.294.5",
139
+ "@storm-software/config": "1.134.62",
140
+ "@storm-software/config-tools": "1.188.62",
141
+ "@storm-software/workspace-tools": "1.294.6",
142
142
  nx: "catalog:",
143
143
  tsup: "catalog:",
144
144
  wrangler: ">=3.58.0"
@@ -164,7 +164,8 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
164
164
  }
165
165
  },
166
166
  dependencies: {
167
- "@aws-sdk/client-s3": "3.47.0",
167
+ "@aws-sdk/client-s3": "^3.946.0",
168
+ "@smithy/node-http-handler": "^4.4.5",
168
169
  defu: "catalog:",
169
170
  glob: "catalog:",
170
171
  "mime-types": "^3.0.2"
@@ -0,0 +1,11 @@
1
+ // src/utils/http-handler.ts
2
+ import { NodeHttp2Handler } from "@smithy/node-http-handler";
3
+ function createHttpHandler() {
4
+ return new NodeHttp2Handler({
5
+ requestTimeout: 5 * 60 * 1e3
6
+ });
7
+ }
8
+
9
+ export {
10
+ createHttpHandler
11
+ };
@@ -6,7 +6,7 @@ var _chunkZ2WQB55Rjs = require('./chunk-Z2WQB55R.js');
6
6
 
7
7
  // src/utils/r2-bucket-helpers.ts
8
8
  var _crypto = require('crypto');
9
- async function r2UploadFile(client, bucketName, bucketPath, fileName, version, fileContent, contentType = "application/octet-stream", isDryRun = false) {
9
+ async function uploadFile(client, bucketName, bucketPath, fileName, version, fileContent, contentType = "application/octet-stream", isDryRun = false) {
10
10
  _chunkZ2WQB55Rjs.writeDebug.call(void 0, `Uploading file: ${_chunkZ2WQB55Rjs.joinPaths.call(void 0, bucketPath, fileName)}`);
11
11
  if (!isDryRun) {
12
12
  await client.putObject({
@@ -40,4 +40,4 @@ function getInternalDependencies(projectName, graph) {
40
40
 
41
41
 
42
42
 
43
- exports.r2UploadFile = r2UploadFile; exports.getInternalDependencies = getInternalDependencies;
43
+ exports.uploadFile = uploadFile; exports.getInternalDependencies = getInternalDependencies;
@@ -7,7 +7,7 @@ var require_package = __commonJS({
7
7
  "package.json"(exports, module) {
8
8
  module.exports = {
9
9
  name: "@storm-software/cloudflare-tools",
10
- version: "0.71.12",
10
+ version: "0.71.13",
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",
@@ -136,9 +136,9 @@ var require_package = __commonJS({
136
136
  "@nx/js": "catalog:",
137
137
  "@nx/node": "catalog:",
138
138
  "@nx/web": "catalog:",
139
- "@storm-software/config": "1.134.61",
140
- "@storm-software/config-tools": "1.188.61",
141
- "@storm-software/workspace-tools": "1.294.5",
139
+ "@storm-software/config": "1.134.62",
140
+ "@storm-software/config-tools": "1.188.62",
141
+ "@storm-software/workspace-tools": "1.294.6",
142
142
  nx: "catalog:",
143
143
  tsup: "catalog:",
144
144
  wrangler: ">=3.58.0"
@@ -164,7 +164,8 @@ var require_package = __commonJS({
164
164
  }
165
165
  },
166
166
  dependencies: {
167
- "@aws-sdk/client-s3": "3.47.0",
167
+ "@aws-sdk/client-s3": "^3.946.0",
168
+ "@smithy/node-http-handler": "^4.4.5",
168
169
  defu: "catalog:",
169
170
  glob: "catalog:",
170
171
  "mime-types": "^3.0.2"
@@ -0,0 +1,11 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/http-handler.ts
2
+ var _nodehttphandler = require('@smithy/node-http-handler');
3
+ function createHttpHandler() {
4
+ return new (0, _nodehttphandler.NodeHttp2Handler)({
5
+ requestTimeout: 5 * 60 * 1e3
6
+ });
7
+ }
8
+
9
+
10
+
11
+ exports.createHttpHandler = createHttpHandler;
package/dist/executors.js CHANGED
@@ -1,8 +1,9 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
+ require('./chunk-734BIUTA.js');
3
+ require('./chunk-XG5T3FL6.js');
4
+ require('./chunk-MSPE2JA2.js');
2
5
  require('./chunk-QBD2OGUY.js');
3
6
  require('./chunk-J5JJZJO5.js');
4
- require('./chunk-PBIYDCVZ.js');
5
- require('./chunk-UAKLE2QO.js');
6
7
  require('./chunk-N7FW365Q.js');
7
8
  require('./chunk-VKMAYBQX.js');
8
9
  require('./chunk-Z2WQB55R.js');
@@ -1,8 +1,9 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
+ import "./chunk-23XVYAEH.mjs";
3
+ import "./chunk-GMXZMPYW.mjs";
4
+ import "./chunk-3UGLZEZF.mjs";
2
5
  import "./chunk-F6FHDDUJ.mjs";
3
6
  import "./chunk-FWIGE74R.mjs";
4
- import "./chunk-IG57VHT6.mjs";
5
- import "./chunk-5CMG7SUH.mjs";
6
7
  import "./chunk-3MAI3FU2.mjs";
7
8
  import "./chunk-SGTAZO2Q.mjs";
8
9
  import "./chunk-TPNHSNNZ.mjs";
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkHWGGRR3Yjs = require('./chunk-HWGGRR3Y.js');
5
+ var _chunkAUML5WGJjs = require('./chunk-AUML5WGJ.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkUY2WTOQGjs = require('./chunk-UY2WTOQG.js');
9
+ var _chunkCXQTVVMPjs = require('./chunk-CXQTVVMP.js');
10
10
  require('./chunk-VKMAYBQX.js');
11
11
  require('./chunk-Z2WQB55R.js');
12
12
  require('./chunk-MCKGQKYU.js');
@@ -15,4 +15,4 @@ require('./chunk-MCKGQKYU.js');
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkHWGGRR3Yjs.applicationGenerator; exports.applicationSchematic = _chunkHWGGRR3Yjs.applicationSchematic; exports.initGenerator = _chunkUY2WTOQGjs.initGenerator; exports.initSchematic = _chunkUY2WTOQGjs.initSchematic;
18
+ exports.applicationGenerator = _chunkAUML5WGJjs.applicationGenerator; exports.applicationSchematic = _chunkAUML5WGJjs.applicationSchematic; exports.initGenerator = _chunkCXQTVVMPjs.initGenerator; exports.initSchematic = _chunkCXQTVVMPjs.initSchematic;
@@ -2,11 +2,11 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-T74Z7LCN.mjs";
5
+ } from "./chunk-AUJLTFB2.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-ZASFPAJZ.mjs";
9
+ } from "./chunk-W36TE3H7.mjs";
10
10
  import "./chunk-SGTAZO2Q.mjs";
11
11
  import "./chunk-TPNHSNNZ.mjs";
12
12
  import "./chunk-TYYFTZLS.mjs";
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ export { R as R2UploadPublishExecutorSchema } from './schema.d-Dcq3Apw7.mjs';
3
3
  export { I as InitGeneratorSchema, i as initGenerator, a as initSchematic } from './generator-DJ1RuHyR.mjs';
4
4
  export { W as WorkerGeneratorSchema, a as applicationGenerator, b as applicationSchematic } from './generator-DW-9W9Fk.mjs';
5
5
  import { CreateNodesV2 } from '@nx/devkit';
6
- export { getInternalDependencies, r2UploadFile } from './src/utils/r2-bucket-helpers.mjs';
6
+ export { getInternalDependencies, uploadFile } from './src/utils/r2-bucket-helpers.mjs';
7
7
  import '@storm-software/workspace-tools';
8
8
  import '@aws-sdk/client-s3';
9
9
 
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { R as R2UploadPublishExecutorSchema } from './schema.d-Dcq3Apw7.js';
3
3
  export { I as InitGeneratorSchema, i as initGenerator, a as initSchematic } from './generator-DJ1RuHyR.js';
4
4
  export { W as WorkerGeneratorSchema, a as applicationGenerator, b as applicationSchematic } from './generator-DW-9W9Fk.js';
5
5
  import { CreateNodesV2 } from '@nx/devkit';
6
- export { getInternalDependencies, r2UploadFile } from './src/utils/r2-bucket-helpers.js';
6
+ export { getInternalDependencies, uploadFile } from './src/utils/r2-bucket-helpers.js';
7
7
  import '@storm-software/workspace-tools';
8
8
  import '@aws-sdk/client-s3';
9
9
 
package/dist/index.js CHANGED
@@ -1,21 +1,22 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('./chunk-XO66D74Z.js');
2
+ require('./chunk-734BIUTA.js');
2
3
  require('./chunk-DHBG5ASJ.js');
3
4
 
4
5
 
5
6
 
6
- var _chunkHWGGRR3Yjs = require('./chunk-HWGGRR3Y.js');
7
+ var _chunkAUML5WGJjs = require('./chunk-AUML5WGJ.js');
7
8
 
8
9
 
9
10
 
10
- var _chunkUY2WTOQGjs = require('./chunk-UY2WTOQG.js');
11
+ var _chunkCXQTVVMPjs = require('./chunk-CXQTVVMP.js');
12
+ require('./chunk-XG5T3FL6.js');
11
13
  require('./chunk-CVGPWUNP.js');
12
- require('./chunk-QBD2OGUY.js');
13
- require('./chunk-J5JJZJO5.js');
14
- require('./chunk-PBIYDCVZ.js');
15
14
 
16
15
 
17
16
 
18
- var _chunkUAKLE2QOjs = require('./chunk-UAKLE2QO.js');
17
+ var _chunkMSPE2JA2js = require('./chunk-MSPE2JA2.js');
18
+ require('./chunk-QBD2OGUY.js');
19
+ require('./chunk-J5JJZJO5.js');
19
20
 
20
21
 
21
22
 
@@ -155,4 +156,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
155
156
 
156
157
 
157
158
 
158
- exports.applicationGenerator = _chunkHWGGRR3Yjs.applicationGenerator; exports.applicationSchematic = _chunkHWGGRR3Yjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkUAKLE2QOjs.getInternalDependencies; exports.initGenerator = _chunkUY2WTOQGjs.initGenerator; exports.initSchematic = _chunkUY2WTOQGjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkUAKLE2QOjs.r2UploadFile;
159
+ exports.applicationGenerator = _chunkAUML5WGJjs.applicationGenerator; exports.applicationSchematic = _chunkAUML5WGJjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkMSPE2JA2js.getInternalDependencies; exports.initGenerator = _chunkCXQTVVMPjs.initGenerator; exports.initSchematic = _chunkCXQTVVMPjs.initSchematic; exports.name = name; exports.uploadFile = _chunkMSPE2JA2js.uploadFile;
package/dist/index.mjs CHANGED
@@ -1,21 +1,22 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
+ import "./chunk-23XVYAEH.mjs";
2
3
  import "./chunk-3J7KBHMJ.mjs";
3
4
  import {
4
5
  applicationGenerator,
5
6
  applicationSchematic
6
- } from "./chunk-T74Z7LCN.mjs";
7
+ } from "./chunk-AUJLTFB2.mjs";
7
8
  import {
8
9
  initGenerator,
9
10
  initSchematic
10
- } from "./chunk-ZASFPAJZ.mjs";
11
+ } from "./chunk-W36TE3H7.mjs";
12
+ import "./chunk-GMXZMPYW.mjs";
11
13
  import "./chunk-7Z5PILRU.mjs";
12
- import "./chunk-F6FHDDUJ.mjs";
13
- import "./chunk-FWIGE74R.mjs";
14
- import "./chunk-IG57VHT6.mjs";
15
14
  import {
16
15
  getInternalDependencies,
17
- r2UploadFile
18
- } from "./chunk-5CMG7SUH.mjs";
16
+ uploadFile
17
+ } from "./chunk-3UGLZEZF.mjs";
18
+ import "./chunk-F6FHDDUJ.mjs";
19
+ import "./chunk-FWIGE74R.mjs";
19
20
  import {
20
21
  ProjectTagConstants,
21
22
  addProjectTag
@@ -154,5 +155,5 @@ export {
154
155
  initGenerator,
155
156
  initSchematic,
156
157
  name,
157
- r2UploadFile
158
+ uploadFile
158
159
  };
@@ -1,11 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkPBIYDCVZjs = require('../../../chunk-PBIYDCVZ.js');
4
- require('../../../chunk-UAKLE2QO.js');
3
+ var _chunk734BIUTAjs = require('../../../chunk-734BIUTA.js');
4
+ require('../../../chunk-XG5T3FL6.js');
5
+ require('../../../chunk-MSPE2JA2.js');
5
6
  require('../../../chunk-N7FW365Q.js');
6
7
  require('../../../chunk-VKMAYBQX.js');
7
8
  require('../../../chunk-Z2WQB55R.js');
8
9
  require('../../../chunk-MCKGQKYU.js');
9
10
 
10
11
 
11
- exports.default = _chunkPBIYDCVZjs.runExecutor;
12
+ exports.default = _chunk734BIUTAjs.runExecutor;
@@ -1,7 +1,8 @@
1
1
  import {
2
2
  runExecutor
3
- } from "../../../chunk-IG57VHT6.mjs";
4
- import "../../../chunk-5CMG7SUH.mjs";
3
+ } from "../../../chunk-23XVYAEH.mjs";
4
+ import "../../../chunk-GMXZMPYW.mjs";
5
+ import "../../../chunk-3UGLZEZF.mjs";
5
6
  import "../../../chunk-3MAI3FU2.mjs";
6
7
  import "../../../chunk-SGTAZO2Q.mjs";
7
8
  import "../../../chunk-TPNHSNNZ.mjs";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkUY2WTOQGjs = require('../../../chunk-UY2WTOQG.js');
5
+ var _chunkCXQTVVMPjs = require('../../../chunk-CXQTVVMP.js');
6
6
  require('../../../chunk-MCKGQKYU.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunkUY2WTOQGjs.generator_default; exports.initGenerator = _chunkUY2WTOQGjs.initGenerator; exports.initSchematic = _chunkUY2WTOQGjs.initSchematic;
11
+ exports.default = _chunkCXQTVVMPjs.generator_default; exports.initGenerator = _chunkCXQTVVMPjs.initGenerator; exports.initSchematic = _chunkCXQTVVMPjs.initSchematic;
@@ -2,7 +2,7 @@ import {
2
2
  generator_default,
3
3
  initGenerator,
4
4
  initSchematic
5
- } from "../../../chunk-ZASFPAJZ.mjs";
5
+ } from "../../../chunk-W36TE3H7.mjs";
6
6
  import "../../../chunk-TYYFTZLS.mjs";
7
7
  export {
8
8
  generator_default as default,
@@ -2,8 +2,8 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkHWGGRR3Yjs = require('../../../chunk-HWGGRR3Y.js');
6
- require('../../../chunk-UY2WTOQG.js');
5
+ var _chunkAUML5WGJjs = require('../../../chunk-AUML5WGJ.js');
6
+ require('../../../chunk-CXQTVVMP.js');
7
7
  require('../../../chunk-VKMAYBQX.js');
8
8
  require('../../../chunk-Z2WQB55R.js');
9
9
  require('../../../chunk-MCKGQKYU.js');
@@ -11,4 +11,4 @@ require('../../../chunk-MCKGQKYU.js');
11
11
 
12
12
 
13
13
 
14
- exports.applicationGenerator = _chunkHWGGRR3Yjs.applicationGenerator; exports.applicationSchematic = _chunkHWGGRR3Yjs.applicationSchematic; exports.default = _chunkHWGGRR3Yjs.generator_default;
14
+ exports.applicationGenerator = _chunkAUML5WGJjs.applicationGenerator; exports.applicationSchematic = _chunkAUML5WGJjs.applicationSchematic; exports.default = _chunkAUML5WGJjs.generator_default;
@@ -2,8 +2,8 @@ import {
2
2
  applicationGenerator,
3
3
  applicationSchematic,
4
4
  generator_default
5
- } from "../../../chunk-T74Z7LCN.mjs";
6
- import "../../../chunk-ZASFPAJZ.mjs";
5
+ } from "../../../chunk-AUJLTFB2.mjs";
6
+ import "../../../chunk-W36TE3H7.mjs";
7
7
  import "../../../chunk-SGTAZO2Q.mjs";
8
8
  import "../../../chunk-TPNHSNNZ.mjs";
9
9
  import "../../../chunk-TYYFTZLS.mjs";
@@ -0,0 +1,10 @@
1
+ import { NodeHttp2Handler } from '@smithy/node-http-handler';
2
+
3
+ /**
4
+ * Create a HTTP handler with a 5-minute timeout
5
+ *
6
+ * @returns A NodeHttp2Handler instance with a 5-minute request timeout
7
+ */
8
+ declare function createHttpHandler(): NodeHttp2Handler;
9
+
10
+ export { createHttpHandler };
@@ -0,0 +1,10 @@
1
+ import { NodeHttp2Handler } from '@smithy/node-http-handler';
2
+
3
+ /**
4
+ * Create a HTTP handler with a 5-minute timeout
5
+ *
6
+ * @returns A NodeHttp2Handler instance with a 5-minute request timeout
7
+ */
8
+ declare function createHttpHandler(): NodeHttp2Handler;
9
+
10
+ export { createHttpHandler };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkXG5T3FL6js = require('../../chunk-XG5T3FL6.js');
4
+ require('../../chunk-MCKGQKYU.js');
5
+
6
+
7
+ exports.createHttpHandler = _chunkXG5T3FL6js.createHttpHandler;
@@ -0,0 +1,7 @@
1
+ import {
2
+ createHttpHandler
3
+ } from "../../chunk-GMXZMPYW.mjs";
4
+ import "../../chunk-TYYFTZLS.mjs";
5
+ export {
6
+ createHttpHandler
7
+ };
@@ -1,3 +1,3 @@
1
- export { getInternalDependencies, r2UploadFile } from './r2-bucket-helpers.mjs';
1
+ export { getInternalDependencies, uploadFile } from './r2-bucket-helpers.mjs';
2
2
  import '@aws-sdk/client-s3';
3
3
  import '@nx/devkit';
@@ -1,3 +1,3 @@
1
- export { getInternalDependencies, r2UploadFile } from './r2-bucket-helpers.js';
1
+ export { getInternalDependencies, uploadFile } from './r2-bucket-helpers.js';
2
2
  import '@aws-sdk/client-s3';
3
3
  import '@nx/devkit';
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkUAKLE2QOjs = require('../../chunk-UAKLE2QO.js');
5
+ var _chunkMSPE2JA2js = require('../../chunk-MSPE2JA2.js');
6
6
  require('../../chunk-Z2WQB55R.js');
7
7
  require('../../chunk-MCKGQKYU.js');
8
8
 
9
9
 
10
10
 
11
- exports.getInternalDependencies = _chunkUAKLE2QOjs.getInternalDependencies; exports.r2UploadFile = _chunkUAKLE2QOjs.r2UploadFile;
11
+ exports.getInternalDependencies = _chunkMSPE2JA2js.getInternalDependencies; exports.uploadFile = _chunkMSPE2JA2js.uploadFile;
@@ -1,11 +1,11 @@
1
1
  import "../../chunk-7Z5PILRU.mjs";
2
2
  import {
3
3
  getInternalDependencies,
4
- r2UploadFile
5
- } from "../../chunk-5CMG7SUH.mjs";
4
+ uploadFile
5
+ } from "../../chunk-3UGLZEZF.mjs";
6
6
  import "../../chunk-TPNHSNNZ.mjs";
7
7
  import "../../chunk-TYYFTZLS.mjs";
8
8
  export {
9
9
  getInternalDependencies,
10
- r2UploadFile
10
+ uploadFile
11
11
  };
@@ -13,7 +13,7 @@ import { ProjectGraph, ProjectGraphProjectNode } from '@nx/devkit';
13
13
  * @param contentType - The MIME type of the file content
14
14
  * @param isDryRun - Whether to perform a dry run without actual upload
15
15
  */
16
- declare function r2UploadFile(client: S3, bucketName: string, bucketPath: string, fileName: string, version: string, fileContent: string, contentType?: string, isDryRun?: boolean): Promise<void>;
16
+ declare function uploadFile(client: S3, bucketName: string, bucketPath: string, fileName: string, version: string, fileContent: string, contentType?: string, isDryRun?: boolean): Promise<void>;
17
17
  /**
18
18
  * Get internal dependencies of a project from the project graph
19
19
  *
@@ -23,4 +23,4 @@ declare function r2UploadFile(client: S3, bucketName: string, bucketPath: string
23
23
  */
24
24
  declare function getInternalDependencies(projectName: string, graph: ProjectGraph): ProjectGraphProjectNode[];
25
25
 
26
- export { getInternalDependencies, r2UploadFile };
26
+ export { getInternalDependencies, uploadFile };
@@ -13,7 +13,7 @@ import { ProjectGraph, ProjectGraphProjectNode } from '@nx/devkit';
13
13
  * @param contentType - The MIME type of the file content
14
14
  * @param isDryRun - Whether to perform a dry run without actual upload
15
15
  */
16
- declare function r2UploadFile(client: S3, bucketName: string, bucketPath: string, fileName: string, version: string, fileContent: string, contentType?: string, isDryRun?: boolean): Promise<void>;
16
+ declare function uploadFile(client: S3, bucketName: string, bucketPath: string, fileName: string, version: string, fileContent: string, contentType?: string, isDryRun?: boolean): Promise<void>;
17
17
  /**
18
18
  * Get internal dependencies of a project from the project graph
19
19
  *
@@ -23,4 +23,4 @@ declare function r2UploadFile(client: S3, bucketName: string, bucketPath: string
23
23
  */
24
24
  declare function getInternalDependencies(projectName: string, graph: ProjectGraph): ProjectGraphProjectNode[];
25
25
 
26
- export { getInternalDependencies, r2UploadFile };
26
+ export { getInternalDependencies, uploadFile };
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkUAKLE2QOjs = require('../../chunk-UAKLE2QO.js');
4
+ var _chunkMSPE2JA2js = require('../../chunk-MSPE2JA2.js');
5
5
  require('../../chunk-Z2WQB55R.js');
6
6
  require('../../chunk-MCKGQKYU.js');
7
7
 
8
8
 
9
9
 
10
- exports.getInternalDependencies = _chunkUAKLE2QOjs.getInternalDependencies; exports.r2UploadFile = _chunkUAKLE2QOjs.r2UploadFile;
10
+ exports.getInternalDependencies = _chunkMSPE2JA2js.getInternalDependencies; exports.uploadFile = _chunkMSPE2JA2js.uploadFile;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getInternalDependencies,
3
- r2UploadFile
4
- } from "../../chunk-5CMG7SUH.mjs";
3
+ uploadFile
4
+ } from "../../chunk-3UGLZEZF.mjs";
5
5
  import "../../chunk-TPNHSNNZ.mjs";
6
6
  import "../../chunk-TYYFTZLS.mjs";
7
7
  export {
8
8
  getInternalDependencies,
9
- r2UploadFile
9
+ uploadFile
10
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/cloudflare-tools",
3
- "version": "0.71.13",
3
+ "version": "0.71.14",
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",
@@ -117,9 +117,9 @@
117
117
  "@nx/js": "^22.1.3",
118
118
  "@nx/node": "^22.1.3",
119
119
  "@nx/web": "^22.1.3",
120
- "@storm-software/config": "1.134.61",
121
- "@storm-software/config-tools": "1.188.61",
122
- "@storm-software/workspace-tools": "1.294.5",
120
+ "@storm-software/config": "1.134.62",
121
+ "@storm-software/config-tools": "1.188.62",
122
+ "@storm-software/workspace-tools": "1.294.6",
123
123
  "nx": "^22.1.3",
124
124
  "tsup": "8.4.0",
125
125
  "wrangler": ">=3.58.0"
@@ -133,7 +133,8 @@
133
133
  "wrangler": { "optional": false }
134
134
  },
135
135
  "dependencies": {
136
- "@aws-sdk/client-s3": "3.47.0",
136
+ "@aws-sdk/client-s3": "^3.946.0",
137
+ "@smithy/node-http-handler": "^4.4.5",
137
138
  "defu": "6.1.4",
138
139
  "glob": "^11.1.0",
139
140
  "mime-types": "^3.0.2"
@@ -151,5 +152,5 @@
151
152
  "publishConfig": { "access": "public" },
152
153
  "executors": "./executors.json",
153
154
  "generators": "./generators.json",
154
- "gitHead": "8d71eaf37ce5ce8925bdd8a23af534d3adb786ef"
155
+ "gitHead": "fa465e4209d943a544281aa17f54ef8877fd54a2"
155
156
  }