@storm-software/cloudflare-tools 0.58.2 → 0.59.1

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 (68) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-QPABB45G.mjs → chunk-5TUHGXSI.mjs} +1 -1
  4. package/dist/{chunk-3MZCAC7V.mjs → chunk-CZV5DISJ.mjs} +2 -2
  5. package/dist/{chunk-QQ22YQSB.mjs → chunk-E4FJOPZF.mjs} +1 -1
  6. package/dist/{chunk-K2RS4LHV.mjs → chunk-GNQ5XIH7.mjs} +13 -16
  7. package/dist/{chunk-UMK4B3XF.js → chunk-KHW7K2UZ.js} +2 -2
  8. package/dist/{chunk-YVLYQXOO.mjs → chunk-PVTYFKMF.mjs} +3 -3
  9. package/dist/{chunk-NJBI4AIW.js → chunk-SFQNQKTR.js} +2 -2
  10. package/dist/{chunk-6GOJPDPL.js → chunk-WMNGJUHG.js} +1 -4
  11. package/dist/executors.js +1 -1
  12. package/dist/executors.mjs +3 -3
  13. package/dist/generators.js +3 -3
  14. package/dist/generators.mjs +3 -3
  15. package/dist/index.js +4 -4
  16. package/dist/index.mjs +5 -5
  17. package/dist/src/executors/cloudflare-publish/executor.js +1 -1
  18. package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
  19. package/dist/src/executors/r2-upload-publish/executor.mjs +1 -1
  20. package/dist/src/executors/serve/executor.js +2 -2
  21. package/dist/src/executors/serve/executor.mjs +2 -2
  22. package/dist/src/generators/init/generator.js +2 -2
  23. package/dist/src/generators/init/generator.mjs +2 -2
  24. package/dist/src/generators/worker/generator.js +3 -3
  25. package/dist/src/generators/worker/generator.mjs +3 -3
  26. package/dist/src/utils/index.mjs +1 -1
  27. package/dist/src/utils/r2-bucket-helpers.mjs +1 -1
  28. package/dist/tsup.config.mjs +1 -1
  29. package/package.json +15 -44
  30. package/.eslintrc.json +0 -35
  31. package/executors.ts +0 -4
  32. package/generators.ts +0 -4
  33. package/index.ts +0 -4
  34. package/project.json +0 -56
  35. package/src/executors/cloudflare-publish/executor.ts +0 -100
  36. package/src/executors/r2-upload-publish/executor.ts +0 -264
  37. package/src/executors/serve/executor.ts +0 -84
  38. package/src/generators/init/generator.spec.ts +0 -20
  39. package/src/generators/init/generator.ts +0 -60
  40. package/src/generators/init/libs/versions.ts +0 -7
  41. package/src/generators/worker/generator.spec.ts +0 -20
  42. package/src/generators/worker/generator.ts +0 -289
  43. package/src/generators/worker/libs/get-account-id.ts +0 -3
  44. package/src/generators/worker/libs/vitest-imports.ts +0 -1
  45. package/src/generators/worker/libs/vitest-script.ts +0 -1
  46. package/src/plugins/index.ts +0 -137
  47. package/src/utils/index.ts +0 -1
  48. package/src/utils/r2-bucket-helpers.ts +0 -56
  49. package/tsconfig.json +0 -31
  50. package/tsup.config.ts +0 -27
  51. /package/{src → dist/src}/executors/cloudflare-publish/schema.d.ts +0 -0
  52. /package/{src → dist/src}/executors/cloudflare-publish/schema.json +0 -0
  53. /package/{src → dist/src}/executors/r2-upload-publish/schema.d.ts +0 -0
  54. /package/{src → dist/src}/executors/r2-upload-publish/schema.json +0 -0
  55. /package/{src → dist/src}/executors/serve/schema.d.ts +0 -0
  56. /package/{src → dist/src}/executors/serve/schema.json +0 -0
  57. /package/{src → dist/src}/generators/init/schema.d.ts +0 -0
  58. /package/{src → dist/src}/generators/init/schema.json +0 -0
  59. /package/{src → dist/src}/generators/worker/files/common/package.json__tmpl__ +0 -0
  60. /package/{src → dist/src}/generators/worker/files/common/wrangler.toml__tmpl__ +0 -0
  61. /package/{src → dist/src}/generators/worker/files/fetch-handler/index.test.ts__tmpl__ +0 -0
  62. /package/{src → dist/src}/generators/worker/files/fetch-handler/index.ts__tmpl__ +0 -0
  63. /package/{src → dist/src}/generators/worker/files/hono/index.test.ts__tmpl__ +0 -0
  64. /package/{src → dist/src}/generators/worker/files/hono/index.ts__tmpl__ +0 -0
  65. /package/{src → dist/src}/generators/worker/files/scheduled-handler/index.test.ts__tmpl__ +0 -0
  66. /package/{src → dist/src}/generators/worker/files/scheduled-handler/index.ts__tmpl__ +0 -0
  67. /package/{src → dist/src}/generators/worker/schema.d.ts +0 -0
  68. /package/{src → dist/src}/generators/worker/schema.json +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,32 @@
2
2
 
3
3
  # Changelog for Storm Ops - Cloudflare Tools
4
4
 
5
+ ## [0.59.1](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.59.1) (2025-05-06)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **eslint:** Regenerate type definitions
10
+ ([aa082a323](https://github.com/storm-software/storm-ops/commit/aa082a323))
11
+ - **monorepo:** Regenerate README markdown files
12
+ ([ed5072712](https://github.com/storm-software/storm-ops/commit/ed5072712))
13
+
14
+ ## [0.59.0](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.59.0) (2025-05-06)
15
+
16
+ ### Features
17
+
18
+ - **workspace-tools:** Update the release executor to replace workspace
19
+ configurations
20
+ ([7d2aa456c](https://github.com/storm-software/storm-ops/commit/7d2aa456c))
21
+
22
+ ### Miscellaneous
23
+
24
+ - **monorepo:** Update the workspace dependency links
25
+ ([a2b0947a3](https://github.com/storm-software/storm-ops/commit/a2b0947a3))
26
+ - **monorepo:** Regenerate README markdown files
27
+ ([96f241a4d](https://github.com/storm-software/storm-ops/commit/96f241a4d))
28
+ - **monorepo:** Regenerate README markdown files
29
+ ([17bbe7e16](https://github.com/storm-software/storm-ops/commit/17bbe7e16))
30
+
5
31
  ## [0.58.2](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.58.2) (2025-05-06)
6
32
 
7
33
  ### Bug Fixes
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.58.0-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.58.2-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 -->
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-L4WFYC7K.mjs";
4
4
  import {
5
5
  __require
6
- } from "./chunk-QQ22YQSB.mjs";
6
+ } from "./chunk-E4FJOPZF.mjs";
7
7
 
8
8
  // src/executors/cloudflare-publish/executor.ts
9
9
  import { joinPathFragments } from "@nx/devkit";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-YVLYQXOO.mjs";
3
+ } from "./chunk-PVTYFKMF.mjs";
4
4
  import {
5
5
  getConfig
6
6
  } from "./chunk-GPAI4NHQ.mjs";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-MV24QW26.mjs";
16
16
  import {
17
17
  __dirname
18
- } from "./chunk-QQ22YQSB.mjs";
18
+ } from "./chunk-E4FJOPZF.mjs";
19
19
 
20
20
  // src/generators/worker/generator.ts
21
21
  import {
@@ -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=616d4d8468728c5caa25e7b97fe871f667b5342103b43bda8e891020bc6b674a__e7bfd10e92d28211ce978b182e37e925/node_modules/tsup/assets/esm_shims.js
12
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=616d4d8468728c5caa25e7b97fe871f667b5342103b43bda8e891020bc6b674a__6b2d7a62a175e0dc470893e7b748af56/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);
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  __dirname,
25
25
  __require
26
- } from "./chunk-QQ22YQSB.mjs";
26
+ } from "./chunk-E4FJOPZF.mjs";
27
27
 
28
28
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
29
29
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -1248,17 +1248,14 @@ var executor_default6 = withRunExecutor(
1248
1248
  );
1249
1249
 
1250
1250
  // ../workspace-tools/src/executors/npm-publish/executor.ts
1251
- import {
1252
- detectPackageManager,
1253
- readJsonFile
1254
- } from "@nx/devkit";
1255
- import columnify from "columnify";
1256
- import { exec, execSync as execSync3 } from "node:child_process";
1257
- import { existsSync as existsSync6 } from "node:fs";
1258
- import { relative as relative3 } from "node:path";
1259
- import { env as appendLocalEnv } from "npm-run-path";
1251
+ import { execSync as execSync3 } from "node:child_process";
1252
+ import { readFile as readFile5 } from "node:fs/promises";
1260
1253
 
1261
1254
  // ../workspace-tools/src/utils/pnpm-deps-update.ts
1255
+ import {
1256
+ createProjectGraphAsync as createProjectGraphAsync3,
1257
+ readCachedProjectGraph as readCachedProjectGraph2
1258
+ } from "@nx/devkit";
1262
1259
  import { existsSync as existsSync5 } from "node:fs";
1263
1260
  import { readFile as readFile4, writeFile as writeFile2 } from "node:fs/promises";
1264
1261
  import { format } from "prettier";
@@ -2543,8 +2540,8 @@ var DEFAULT_COMMIT_QUESTIONS = {
2543
2540
  };
2544
2541
 
2545
2542
  // ../workspace-tools/src/generators/release-version/generator.ts
2546
- import { exec as exec2, execSync as execSync4 } from "node:child_process";
2547
- import { relative as relative4 } from "node:path";
2543
+ import { exec, execSync as execSync4 } from "node:child_process";
2544
+ import { relative as relative3 } from "node:path";
2548
2545
  import { IMPLICIT_DEFAULT_RELEASE_GROUP } from "nx/src/command-line/release/config/config";
2549
2546
  import {
2550
2547
  getFirstGitCommit,
@@ -2932,10 +2929,10 @@ import { retrieveProjectConfigurationsWithoutPluginInference } from "nx/src/proj
2932
2929
  // ../workspace-tools/src/utils/lock-file.ts
2933
2930
  import {
2934
2931
  output as output2,
2935
- readJsonFile as readJsonFile2,
2932
+ readJsonFile,
2936
2933
  workspaceRoot as workspaceRoot2
2937
2934
  } from "@nx/devkit";
2938
- import { existsSync as existsSync7 } from "node:fs";
2935
+ import { existsSync as existsSync6 } from "node:fs";
2939
2936
  import { join as join2 } from "node:path";
2940
2937
  import {
2941
2938
  getNpmLockfileDependencies,
@@ -2957,9 +2954,9 @@ var NPM_LOCK_PATH = join2(workspaceRoot2, NPM_LOCK_FILE);
2957
2954
  var PNPM_LOCK_PATH = join2(workspaceRoot2, PNPM_LOCK_FILE);
2958
2955
 
2959
2956
  // ../workspace-tools/src/utils/plugin-helpers.ts
2960
- import { readJsonFile as readJsonFile3 } from "@nx/devkit";
2957
+ import { readJsonFile as readJsonFile2 } from "@nx/devkit";
2961
2958
  import defu4 from "defu";
2962
- import { existsSync as existsSync8 } from "node:fs";
2959
+ import { existsSync as existsSync7 } from "node:fs";
2963
2960
  import { dirname, join as join3 } from "node:path";
2964
2961
 
2965
2962
  // ../workspace-tools/src/utils/typia-transform.ts
@@ -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.58.1",
10
+ version: "0.59.1",
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",
@@ -175,7 +175,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
175
175
  nx: "catalog:",
176
176
  tsup: "catalog:",
177
177
  untyped: "catalog:",
178
- wrangler: "^4.14.1"
178
+ wrangler: "^4.14.2"
179
179
  },
180
180
  publishConfig: {
181
181
  access: "public"
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./chunk-QQ22YQSB.mjs";
3
+ } from "./chunk-E4FJOPZF.mjs";
4
4
 
5
5
  // package.json
6
6
  var require_package = __commonJS({
7
7
  "package.json"(exports, module) {
8
8
  module.exports = {
9
9
  name: "@storm-software/cloudflare-tools",
10
- version: "0.58.1",
10
+ version: "0.59.1",
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",
@@ -175,7 +175,7 @@ var require_package = __commonJS({
175
175
  nx: "catalog:",
176
176
  tsup: "catalog:",
177
177
  untyped: "catalog:",
178
- wrangler: "^4.14.1"
178
+ wrangler: "^4.14.2"
179
179
  },
180
180
  publishConfig: {
181
181
  access: "public"
@@ -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 _chunkUMK4B3XFjs = require('./chunk-UMK4B3XF.js');
3
+ var _chunkKHW7K2UZjs = require('./chunk-KHW7K2UZ.js');
4
4
 
5
5
 
6
6
  var _chunkHBASMEU5js = require('./chunk-HBASMEU5.js');
@@ -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 _chunkUMK4B3XFjs.generator_default.call(void 0, tree, {
69
+ await _chunkKHW7K2UZjs.generator_default.call(void 0, tree, {
70
70
  ...options,
71
71
  skipFormat: true
72
72
  })
@@ -1250,14 +1250,11 @@ var executor_default6 = withRunExecutor(
1250
1250
 
1251
1251
 
1252
1252
 
1253
-
1254
- var _columnify = require('columnify'); var _columnify2 = _interopRequireDefault(_columnify);
1253
+ // ../workspace-tools/src/utils/pnpm-deps-update.ts
1255
1254
 
1256
1255
 
1257
1256
 
1258
- var _npmrunpath = require('npm-run-path');
1259
1257
 
1260
- // ../workspace-tools/src/utils/pnpm-deps-update.ts
1261
1258
 
1262
1259
 
1263
1260
  var _prettier = require('prettier');
package/dist/executors.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
2
  require('./chunk-I4P7DVDN.js');
3
- require('./chunk-6GOJPDPL.js');
3
+ require('./chunk-WMNGJUHG.js');
4
4
  require('./chunk-HIUZ6UL7.js');
5
5
  require('./chunk-RIUVF72K.js');
6
6
  require('./chunk-6XDOBG77.js');
@@ -1,9 +1,9 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
- import "./chunk-QPABB45G.mjs";
3
- import "./chunk-K2RS4LHV.mjs";
2
+ import "./chunk-5TUHGXSI.mjs";
3
+ import "./chunk-GNQ5XIH7.mjs";
4
4
  import "./chunk-ISGKIYF5.mjs";
5
5
  import "./chunk-FABNT5TZ.mjs";
6
6
  import "./chunk-L4WFYC7K.mjs";
7
7
  import "./chunk-GPAI4NHQ.mjs";
8
8
  import "./chunk-MV24QW26.mjs";
9
- import "./chunk-QQ22YQSB.mjs";
9
+ import "./chunk-E4FJOPZF.mjs";
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkNJBI4AIWjs = require('./chunk-NJBI4AIW.js');
5
+ var _chunkSFQNQKTRjs = require('./chunk-SFQNQKTR.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkUMK4B3XFjs = require('./chunk-UMK4B3XF.js');
9
+ var _chunkKHW7K2UZjs = require('./chunk-KHW7K2UZ.js');
10
10
  require('./chunk-HBASMEU5.js');
11
11
  require('./chunk-PZ5CI56F.js');
12
12
  require('./chunk-MCKGQKYU.js');
@@ -15,4 +15,4 @@ require('./chunk-MCKGQKYU.js');
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkNJBI4AIWjs.applicationGenerator; exports.applicationSchematic = _chunkNJBI4AIWjs.applicationSchematic; exports.initGenerator = _chunkUMK4B3XFjs.initGenerator; exports.initSchematic = _chunkUMK4B3XFjs.initSchematic;
18
+ exports.applicationGenerator = _chunkSFQNQKTRjs.applicationGenerator; exports.applicationSchematic = _chunkSFQNQKTRjs.applicationSchematic; exports.initGenerator = _chunkKHW7K2UZjs.initGenerator; exports.initSchematic = _chunkKHW7K2UZjs.initSchematic;
@@ -2,14 +2,14 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-3MZCAC7V.mjs";
5
+ } from "./chunk-CZV5DISJ.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-YVLYQXOO.mjs";
9
+ } from "./chunk-PVTYFKMF.mjs";
10
10
  import "./chunk-GPAI4NHQ.mjs";
11
11
  import "./chunk-MV24QW26.mjs";
12
- import "./chunk-QQ22YQSB.mjs";
12
+ import "./chunk-E4FJOPZF.mjs";
13
13
  export {
14
14
  applicationGenerator,
15
15
  applicationSchematic,
package/dist/index.js CHANGED
@@ -3,14 +3,14 @@ require('./chunk-DHBG5ASJ.js');
3
3
 
4
4
 
5
5
 
6
- var _chunkNJBI4AIWjs = require('./chunk-NJBI4AIW.js');
6
+ var _chunkSFQNQKTRjs = require('./chunk-SFQNQKTR.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkUMK4B3XFjs = require('./chunk-UMK4B3XF.js');
10
+ var _chunkKHW7K2UZjs = require('./chunk-KHW7K2UZ.js');
11
11
  require('./chunk-CVGPWUNP.js');
12
12
  require('./chunk-I4P7DVDN.js');
13
- require('./chunk-6GOJPDPL.js');
13
+ require('./chunk-WMNGJUHG.js');
14
14
  require('./chunk-HIUZ6UL7.js');
15
15
 
16
16
 
@@ -140,4 +140,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
140
140
 
141
141
 
142
142
 
143
- exports.applicationGenerator = _chunkNJBI4AIWjs.applicationGenerator; exports.applicationSchematic = _chunkNJBI4AIWjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkRIUVF72Kjs.getInternalDependencies; exports.initGenerator = _chunkUMK4B3XFjs.initGenerator; exports.initSchematic = _chunkUMK4B3XFjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkRIUVF72Kjs.r2UploadFile;
143
+ exports.applicationGenerator = _chunkSFQNQKTRjs.applicationGenerator; exports.applicationSchematic = _chunkSFQNQKTRjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkRIUVF72Kjs.getInternalDependencies; exports.initGenerator = _chunkKHW7K2UZjs.initGenerator; exports.initSchematic = _chunkKHW7K2UZjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkRIUVF72Kjs.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-3MZCAC7V.mjs";
6
+ } from "./chunk-CZV5DISJ.mjs";
7
7
  import {
8
8
  initGenerator,
9
9
  initSchematic
10
- } from "./chunk-YVLYQXOO.mjs";
10
+ } from "./chunk-PVTYFKMF.mjs";
11
11
  import "./chunk-7Z5PILRU.mjs";
12
- import "./chunk-QPABB45G.mjs";
13
- import "./chunk-K2RS4LHV.mjs";
12
+ import "./chunk-5TUHGXSI.mjs";
13
+ import "./chunk-GNQ5XIH7.mjs";
14
14
  import "./chunk-ISGKIYF5.mjs";
15
15
  import {
16
16
  getInternalDependencies,
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-L4WFYC7K.mjs";
23
23
  import "./chunk-GPAI4NHQ.mjs";
24
24
  import "./chunk-MV24QW26.mjs";
25
- import "./chunk-QQ22YQSB.mjs";
25
+ import "./chunk-E4FJOPZF.mjs";
26
26
 
27
27
  // src/plugins/index.ts
28
28
  import { existsSync } from "node:fs";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
  var _chunkI4P7DVDNjs = require('../../../chunk-I4P7DVDN.js');
4
- require('../../../chunk-6GOJPDPL.js');
4
+ require('../../../chunk-WMNGJUHG.js');
5
5
  require('../../../chunk-6XDOBG77.js');
6
6
  require('../../../chunk-HBASMEU5.js');
7
7
  require('../../../chunk-PZ5CI56F.js');
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  runExecutor
3
- } from "../../../chunk-QPABB45G.mjs";
4
- import "../../../chunk-K2RS4LHV.mjs";
3
+ } from "../../../chunk-5TUHGXSI.mjs";
4
+ import "../../../chunk-GNQ5XIH7.mjs";
5
5
  import "../../../chunk-L4WFYC7K.mjs";
6
6
  import "../../../chunk-GPAI4NHQ.mjs";
7
7
  import "../../../chunk-MV24QW26.mjs";
8
- import "../../../chunk-QQ22YQSB.mjs";
8
+ import "../../../chunk-E4FJOPZF.mjs";
9
9
  export {
10
10
  runExecutor as default
11
11
  };
@@ -5,7 +5,7 @@ import "../../../chunk-FABNT5TZ.mjs";
5
5
  import "../../../chunk-L4WFYC7K.mjs";
6
6
  import "../../../chunk-GPAI4NHQ.mjs";
7
7
  import "../../../chunk-MV24QW26.mjs";
8
- import "../../../chunk-QQ22YQSB.mjs";
8
+ import "../../../chunk-E4FJOPZF.mjs";
9
9
  export {
10
10
  runExecutor as default
11
11
  };
@@ -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 _chunk6GOJPDPLjs = require('../../../chunk-6GOJPDPL.js');
3
+ var _chunkWMNGJUHGjs = require('../../../chunk-WMNGJUHG.js');
4
4
 
5
5
 
6
6
  var _chunk6XDOBG77js = require('../../../chunk-6XDOBG77.js');
@@ -55,7 +55,7 @@ async function* serveExecutor(options, context, config) {
55
55
  success: true
56
56
  };
57
57
  }
58
- var executor_default = _chunk6GOJPDPLjs.withRunExecutor.call(void 0,
58
+ var executor_default = _chunkWMNGJUHGjs.withRunExecutor.call(void 0,
59
59
  "Cloudflare Serve executor",
60
60
  serveExecutor,
61
61
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "../../../chunk-K2RS4LHV.mjs";
3
+ } from "../../../chunk-GNQ5XIH7.mjs";
4
4
  import {
5
5
  createCliOptions
6
6
  } from "../../../chunk-L4WFYC7K.mjs";
@@ -8,7 +8,7 @@ import "../../../chunk-GPAI4NHQ.mjs";
8
8
  import "../../../chunk-MV24QW26.mjs";
9
9
  import {
10
10
  __require
11
- } from "../../../chunk-QQ22YQSB.mjs";
11
+ } from "../../../chunk-E4FJOPZF.mjs";
12
12
 
13
13
  // src/executors/serve/executor.ts
14
14
  import { createAsyncIterable } from "@nx/devkit/src/utils/async-iterable";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkUMK4B3XFjs = require('../../../chunk-UMK4B3XF.js');
5
+ var _chunkKHW7K2UZjs = require('../../../chunk-KHW7K2UZ.js');
6
6
  require('../../../chunk-MCKGQKYU.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunkUMK4B3XFjs.generator_default; exports.initGenerator = _chunkUMK4B3XFjs.initGenerator; exports.initSchematic = _chunkUMK4B3XFjs.initSchematic;
11
+ exports.default = _chunkKHW7K2UZjs.generator_default; exports.initGenerator = _chunkKHW7K2UZjs.initGenerator; exports.initSchematic = _chunkKHW7K2UZjs.initSchematic;
@@ -2,8 +2,8 @@ import {
2
2
  generator_default,
3
3
  initGenerator,
4
4
  initSchematic
5
- } from "../../../chunk-YVLYQXOO.mjs";
6
- import "../../../chunk-QQ22YQSB.mjs";
5
+ } from "../../../chunk-PVTYFKMF.mjs";
6
+ import "../../../chunk-E4FJOPZF.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 _chunkNJBI4AIWjs = require('../../../chunk-NJBI4AIW.js');
6
- require('../../../chunk-UMK4B3XF.js');
5
+ var _chunkSFQNQKTRjs = require('../../../chunk-SFQNQKTR.js');
6
+ require('../../../chunk-KHW7K2UZ.js');
7
7
  require('../../../chunk-HBASMEU5.js');
8
8
  require('../../../chunk-PZ5CI56F.js');
9
9
  require('../../../chunk-MCKGQKYU.js');
@@ -11,4 +11,4 @@ require('../../../chunk-MCKGQKYU.js');
11
11
 
12
12
 
13
13
 
14
- exports.applicationGenerator = _chunkNJBI4AIWjs.applicationGenerator; exports.applicationSchematic = _chunkNJBI4AIWjs.applicationSchematic; exports.default = _chunkNJBI4AIWjs.generator_default;
14
+ exports.applicationGenerator = _chunkSFQNQKTRjs.applicationGenerator; exports.applicationSchematic = _chunkSFQNQKTRjs.applicationSchematic; exports.default = _chunkSFQNQKTRjs.generator_default;
@@ -2,11 +2,11 @@ import {
2
2
  applicationGenerator,
3
3
  applicationSchematic,
4
4
  generator_default
5
- } from "../../../chunk-3MZCAC7V.mjs";
6
- import "../../../chunk-YVLYQXOO.mjs";
5
+ } from "../../../chunk-CZV5DISJ.mjs";
6
+ import "../../../chunk-PVTYFKMF.mjs";
7
7
  import "../../../chunk-GPAI4NHQ.mjs";
8
8
  import "../../../chunk-MV24QW26.mjs";
9
- import "../../../chunk-QQ22YQSB.mjs";
9
+ import "../../../chunk-E4FJOPZF.mjs";
10
10
  export {
11
11
  applicationGenerator,
12
12
  applicationSchematic,
@@ -4,7 +4,7 @@ import {
4
4
  r2UploadFile
5
5
  } from "../../chunk-FABNT5TZ.mjs";
6
6
  import "../../chunk-MV24QW26.mjs";
7
- import "../../chunk-QQ22YQSB.mjs";
7
+ import "../../chunk-E4FJOPZF.mjs";
8
8
  export {
9
9
  getInternalDependencies,
10
10
  r2UploadFile
@@ -3,7 +3,7 @@ import {
3
3
  r2UploadFile
4
4
  } from "../../chunk-FABNT5TZ.mjs";
5
5
  import "../../chunk-MV24QW26.mjs";
6
- import "../../chunk-QQ22YQSB.mjs";
6
+ import "../../chunk-E4FJOPZF.mjs";
7
7
  export {
8
8
  getInternalDependencies,
9
9
  r2UploadFile
@@ -1,4 +1,4 @@
1
- import "./chunk-QQ22YQSB.mjs";
1
+ import "./chunk-E4FJOPZF.mjs";
2
2
 
3
3
  // tsup.config.ts
4
4
  import { defineConfig } from "tsup";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/cloudflare-tools",
3
- "version": "0.58.2",
3
+ "version": "0.59.1",
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",
@@ -31,28 +31,16 @@
31
31
  "types": "./dist/index.d.mts",
32
32
  "default": "./dist/index.mjs"
33
33
  },
34
- "require": {
35
- "types": "./dist/index.d.ts",
36
- "default": "./dist/index.js"
37
- },
38
- "default": {
39
- "types": "./dist/index.d.ts",
40
- "default": "./dist/index.js"
41
- }
34
+ "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
35
+ "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
42
36
  },
43
37
  "./index": {
44
38
  "import": {
45
39
  "types": "./dist/index.d.mts",
46
40
  "default": "./dist/index.mjs"
47
41
  },
48
- "require": {
49
- "types": "./dist/index.d.ts",
50
- "default": "./dist/index.js"
51
- },
52
- "default": {
53
- "types": "./dist/index.d.ts",
54
- "default": "./dist/index.js"
55
- }
42
+ "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
43
+ "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
56
44
  },
57
45
  "./executors": {
58
46
  "import": {
@@ -137,29 +125,14 @@
137
125
  "wrangler": ">=3.58.0"
138
126
  },
139
127
  "peerDependenciesMeta": {
140
- "@nx/devkit": {
141
- "optional": false
142
- },
143
- "@nx/node": {
144
- "optional": false
145
- },
146
- "@nx/web": {
147
- "optional": false
148
- },
149
- "@nx/webpack": {
150
- "optional": false
151
- },
152
- "nx": {
153
- "optional": false
154
- },
155
- "wrangler": {
156
- "optional": false
157
- }
158
- },
159
- "dependencies": {
160
- "@aws-sdk/client-s3": "3.47.0",
161
- "glob": "^11.0.1"
128
+ "@nx/devkit": { "optional": false },
129
+ "@nx/node": { "optional": false },
130
+ "@nx/web": { "optional": false },
131
+ "@nx/webpack": { "optional": false },
132
+ "nx": { "optional": false },
133
+ "wrangler": { "optional": false }
162
134
  },
135
+ "dependencies": { "@aws-sdk/client-s3": "3.47.0", "glob": "^11.0.1" },
163
136
  "devDependencies": {
164
137
  "@nx/devkit": "20.8.0",
165
138
  "@nx/node": "20.8.0",
@@ -168,11 +141,9 @@
168
141
  "nx": "20.8.0",
169
142
  "tsup": "8.4.0",
170
143
  "untyped": "^1.5.2",
171
- "wrangler": "^4.14.1"
172
- },
173
- "publishConfig": {
174
- "access": "public"
144
+ "wrangler": "^4.14.2"
175
145
  },
146
+ "publishConfig": { "access": "public" },
176
147
  "executors": "./executors.json",
177
148
  "generators": "./generators.json"
178
- }
149
+ }
package/.eslintrc.json DELETED
@@ -1,35 +0,0 @@
1
- {
2
- "extends": ["../../.eslintrc.json"],
3
- "ignorePatterns": ["!**/*"],
4
- "overrides": [
5
- {
6
- "files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
7
- "parserOptions": {
8
- "project": ["packages/cloudflare-tools/tsconfig.*?.json"]
9
- },
10
- "rules": {}
11
- },
12
- {
13
- "files": ["*.ts", "*.tsx"],
14
- "rules": {}
15
- },
16
- {
17
- "files": ["*.js", "*.jsx"],
18
- "rules": {}
19
- },
20
- {
21
- "files": ["*.json"],
22
- "parser": "jsonc-eslint-parser",
23
- "rules": {
24
- "@nx/dependency-checks": "error"
25
- }
26
- },
27
- {
28
- "files": ["./package.json", "./executors.json", "./generators.json"],
29
- "parser": "jsonc-eslint-parser",
30
- "rules": {
31
- "@nx/nx-plugin-checks": "error"
32
- }
33
- }
34
- ]
35
- }
package/executors.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from "./src/executors/cloudflare-publish/executor";
2
- export { type CloudflarePublishExecutorSchema } from "./src/executors/cloudflare-publish/schema.d";
3
- export * from "./src/executors/r2-upload-publish/executor";
4
- export { type R2UploadPublishExecutorSchema } from "./src/executors/r2-upload-publish/schema.d";