@storm-software/cloudflare-tools 0.50.0 → 0.50.2

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
@@ -1,3 +1,15 @@
1
+ ## 0.50.2 (2025-01-20)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **untyped:** Resovle bundling issue with externals ([ff044ddf](https://github.com/storm-software/storm-ops/commit/ff044ddf))
6
+
7
+ ## 0.50.1 (2025-01-20)
8
+
9
+ ### Bug Fixes
10
+
11
+ - **unbuild:** Update package to bundle the `unbuild` package for distribution ([d304c28d](https://github.com/storm-software/storm-ops/commit/d304c28d))
12
+
1
13
  ## 0.50.0 (2025-01-20)
2
14
 
3
15
  ### Features
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.49.1-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.50.1-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 -->
@@ -1,6 +1,9 @@
1
+ import {
2
+ generator_default
3
+ } from "./chunk-6RM4MALM.mjs";
1
4
  import {
2
5
  loadStormConfig
3
- } from "./chunk-JJVEBF3V.mjs";
6
+ } from "./chunk-4AMWR76J.mjs";
4
7
  import {
5
8
  findWorkspaceRoot,
6
9
  getStopwatch,
@@ -10,9 +13,6 @@ import {
10
13
  writeInfo,
11
14
  writeTrace
12
15
  } from "./chunk-NSLK6ZDO.mjs";
13
- import {
14
- generator_default
15
- } from "./chunk-FDWGGCRH.mjs";
16
16
  import {
17
17
  __dirname,
18
18
  __name
@@ -34,7 +34,7 @@ var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, opti
34
34
  envName: fileName?.toUpperCase(),
35
35
  jitiOptions: {
36
36
  debug: false,
37
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "config")
37
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
38
38
  },
39
39
  ...options
40
40
  });
@@ -46,7 +46,7 @@ var getConfigFileByName = /* @__PURE__ */ __name(async (fileName, filePath, opti
46
46
  envName: fileName?.toUpperCase(),
47
47
  jitiOptions: {
48
48
  debug: false,
49
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "config")
49
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : joinPaths(process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
50
50
  },
51
51
  configFile: fileName,
52
52
  ...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.50.0",
11
+ version: "0.50.2",
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",
@@ -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.50.0",
11
+ version: "0.50.2",
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",
@@ -1,14 +1,14 @@
1
- import {
2
- createCliOptions,
3
- getPackageInfo
4
- } from "./chunk-XU6MTFCV.mjs";
5
1
  import {
6
2
  getInternalDependencies,
7
3
  r2UploadFile
8
4
  } from "./chunk-VYOULWAK.mjs";
5
+ import {
6
+ createCliOptions,
7
+ getPackageInfo
8
+ } from "./chunk-XU6MTFCV.mjs";
9
9
  import {
10
10
  loadStormConfig
11
- } from "./chunk-JJVEBF3V.mjs";
11
+ } from "./chunk-4AMWR76J.mjs";
12
12
  import {
13
13
  findWorkspaceRoot,
14
14
  writeDebug,
@@ -34,7 +34,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, a
34
34
  envName: _optionalChain([fileName, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]),
35
35
  jitiOptions: {
36
36
  debug: false,
37
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkRCE3CC76js.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "config")
37
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkRCE3CC76js.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
38
38
  },
39
39
  ...options
40
40
  });
@@ -46,7 +46,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, a
46
46
  envName: _optionalChain([fileName, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]),
47
47
  jitiOptions: {
48
48
  debug: false,
49
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkRCE3CC76js.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "config")
49
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkRCE3CC76js.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
50
50
  },
51
51
  configFile: fileName,
52
52
  ...options
@@ -1,18 +1,18 @@
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 _chunkFEVYI765js = require('./chunk-FEVYI765.js');
3
+ var _chunk7VU6EPB4js = require('./chunk-7VU6EPB4.js');
4
4
 
5
5
 
6
+ var _chunkIUVV2SM4js = require('./chunk-IUVV2SM4.js');
6
7
 
7
8
 
8
9
 
9
10
 
10
11
 
11
12
 
12
- var _chunkRCE3CC76js = require('./chunk-RCE3CC76.js');
13
13
 
14
14
 
15
- var _chunkFARER72Tjs = require('./chunk-FARER72T.js');
15
+ var _chunkRCE3CC76js = require('./chunk-RCE3CC76.js');
16
16
 
17
17
 
18
18
  var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
@@ -47,12 +47,12 @@ async function applicationGenerator(tree, schema) {
47
47
  const workspaceRoot = _chunkRCE3CC76js.findWorkspaceRoot.call(void 0, );
48
48
  _chunkRCE3CC76js.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.json file...
49
49
  - workspaceRoot: ${workspaceRoot}`, config);
50
- config = await _chunkFEVYI765js.loadStormConfig.call(void 0, workspaceRoot);
50
+ config = await _chunkIUVV2SM4js.loadStormConfig.call(void 0, workspaceRoot);
51
51
  _chunkRCE3CC76js.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 _chunkFARER72Tjs.generator_default.call(void 0, tree, {
55
+ tasks.push(await _chunk7VU6EPB4js.generator_default.call(void 0, tree, {
56
56
  ...options,
57
57
  skipFormat: true
58
58
  }));
@@ -1,14 +1,14 @@
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
3
 
4
- var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
4
+ var _chunkJCB2DTP6js = require('./chunk-JCB2DTP6.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkJCB2DTP6js = require('./chunk-JCB2DTP6.js');
8
+ var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
9
9
 
10
10
 
11
- var _chunkFEVYI765js = require('./chunk-FEVYI765.js');
11
+ var _chunkIUVV2SM4js = require('./chunk-IUVV2SM4.js');
12
12
 
13
13
 
14
14
 
@@ -37,7 +37,7 @@ async function runExecutor(options, context) {
37
37
  }
38
38
  try {
39
39
  const workspaceRoot = _chunkRCE3CC76js.findWorkspaceRoot.call(void 0, );
40
- const config = await _chunkFEVYI765js.loadStormConfig.call(void 0, workspaceRoot);
40
+ const config = await _chunkIUVV2SM4js.loadStormConfig.call(void 0, workspaceRoot);
41
41
  const sourceRoot = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.sourceRoot]), () => ( workspaceRoot));
42
42
  const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
43
43
  const projectDetails = _chunkVTHBMY4Bjs.getPackageInfo.call(void 0, context.projectsConfigurations.projects[context.projectName]);
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XU6MTFCV.mjs";
5
5
  import {
6
6
  loadStormConfig
7
- } from "./chunk-JJVEBF3V.mjs";
7
+ } from "./chunk-4AMWR76J.mjs";
8
8
  import {
9
9
  LogLevelLabel,
10
10
  StormConfigSchema,
@@ -788,18 +788,18 @@ var getEnv = /* @__PURE__ */ __name((builder, options) => {
788
788
  }, "getEnv");
789
789
 
790
790
  // ../build-tools/src/utilities/get-out-extension.ts
791
- function getOutExtension(format, pkgType) {
791
+ function getOutExtension(format2, pkgType) {
792
792
  let jsExtension = ".js";
793
793
  let dtsExtension = ".d.ts";
794
- if (pkgType === "module" && format === "cjs") {
794
+ if (pkgType === "module" && format2 === "cjs") {
795
795
  jsExtension = ".cjs";
796
796
  dtsExtension = ".d.cts";
797
797
  }
798
- if (pkgType !== "module" && format === "esm") {
798
+ if (pkgType !== "module" && format2 === "esm") {
799
799
  jsExtension = ".mjs";
800
800
  dtsExtension = ".d.mts";
801
801
  }
802
- if (format === "iife") {
802
+ if (format2 === "iife") {
803
803
  jsExtension = ".global.js";
804
804
  }
805
805
  return {
@@ -1803,6 +1803,7 @@ import fs3 from "node:fs/promises";
1803
1803
  // ../workspace-tools/src/utils/pnpm-deps-update.ts
1804
1804
  import { existsSync as existsSync3 } from "node:fs";
1805
1805
  import { readFile as readFile4, writeFile as writeFile2 } from "node:fs/promises";
1806
+ import { format } from "prettier";
1806
1807
  import readYamlFile from "read-yaml-file";
1807
1808
 
1808
1809
  // ../workspace-tools/src/executors/npm-publish/executor.ts
@@ -2152,11 +2153,11 @@ import { readCachedProjectGraph as readCachedProjectGraph4, writeJsonFile as wri
2152
2153
  import { getHelperDependency as getHelperDependency2, HelperDependency as HelperDependency2 } from "@nx/js";
2153
2154
  import { calculateProjectBuildableDependencies as calculateProjectBuildableDependencies3 } from "@nx/js/src/utils/buildable-libs-utils";
2154
2155
  import defu3 from "defu";
2156
+ import { createJiti } from "jiti";
2155
2157
  import { existsSync as existsSync4 } from "node:fs";
2156
2158
  import { readFile as readFile5 } from "node:fs/promises";
2157
2159
  import { relative as relative4 } from "node:path";
2158
2160
  import { findWorkspaceRoot as findWorkspaceRoot4 } from "nx/src/utils/find-workspace-root";
2159
- import { build as unbuild } from "unbuild";
2160
2161
 
2161
2162
  // ../unbuild/src/clean.ts
2162
2163
  import { rm } from "node:fs/promises";
@@ -2362,6 +2363,11 @@ async function resolveOptions3(options) {
2362
2363
  dependencies = dependencies.filter((deps) => deps.name !== tsLibDependency.name);
2363
2364
  dependencies.push(tsLibDependency);
2364
2365
  }
2366
+ const jiti = createJiti(config.workspaceRoot, {
2367
+ cache: true,
2368
+ fsCache: config.skipCache ? false : joinPaths(config.directories.cache || "node_modules/.cache/storm", "jiti"),
2369
+ interopDefault: true
2370
+ });
2365
2371
  const resolvedOptions = {
2366
2372
  name: projectName,
2367
2373
  config,
@@ -2369,6 +2375,7 @@ async function resolveOptions3(options) {
2369
2375
  sourceRoot,
2370
2376
  projectName,
2371
2377
  tsconfig,
2378
+ jiti,
2372
2379
  clean: false,
2373
2380
  entries: [
2374
2381
  {
@@ -2435,7 +2442,7 @@ async function resolveOptions3(options) {
2435
2442
  ]
2436
2443
  },
2437
2444
  esbuild: {
2438
- minify: !!options.minify,
2445
+ minify: options.minify !== false,
2439
2446
  splitting: options.splitting !== false,
2440
2447
  treeShaking: options.treeShaking !== false,
2441
2448
  color: true,
@@ -2495,11 +2502,24 @@ async function generatePackageJson3(options) {
2495
2502
  return options;
2496
2503
  }
2497
2504
  __name(generatePackageJson3, "generatePackageJson");
2505
+ async function resolveUnbuild(options) {
2506
+ writeTrace(`Resolving Unbuild package with Jiti`, options.config);
2507
+ try {
2508
+ return options.jiti.import("unbuild");
2509
+ } catch (error) {
2510
+ writeError(" \u274C An error occurred while resolving the Unbuild package", options.config);
2511
+ throw new Error("An error occurred while resolving the Unbuild package", {
2512
+ cause: error
2513
+ });
2514
+ }
2515
+ }
2516
+ __name(resolveUnbuild, "resolveUnbuild");
2498
2517
  async function executeUnbuild(options) {
2499
2518
  writeDebug(` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
2500
2519
  const stopwatch = getStopwatch(`${options.name} (${options.projectRoot}) build`);
2501
2520
  try {
2502
- await unbuild(options.projectRoot, false, {
2521
+ const unbuild = await resolveUnbuild(options);
2522
+ await unbuild.build(options.projectRoot, false, {
2503
2523
  ...options,
2504
2524
  rootDir: options.projectRoot
2505
2525
  });
@@ -4,7 +4,7 @@
4
4
  var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
5
5
 
6
6
 
7
- var _chunkFEVYI765js = require('./chunk-FEVYI765.js');
7
+ var _chunkIUVV2SM4js = require('./chunk-IUVV2SM4.js');
8
8
 
9
9
 
10
10
 
@@ -168,7 +168,7 @@ var withRunExecutor = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (name
168
168
  - sourceRoot: ${sourceRoot}
169
169
  - projectName: ${projectName}
170
170
  `, config);
171
- config = await _chunkFEVYI765js.loadStormConfig.call(void 0, workspaceRoot3);
171
+ config = await _chunkIUVV2SM4js.loadStormConfig.call(void 0, workspaceRoot3);
172
172
  }
173
173
  if (_optionalChain([executorOptions, 'optionalAccess', _21 => _21.hooks, 'optionalAccess', _22 => _22.applyDefaultOptions])) {
174
174
  _chunkRCE3CC76js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
@@ -503,7 +503,7 @@ var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(
503
503
  var readNxConfig = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (workspaceRoot3) => {
504
504
  let rootDir = workspaceRoot3;
505
505
  if (!rootDir) {
506
- const config = await _chunkFEVYI765js.loadStormConfig.call(void 0, );
506
+ const config = await _chunkIUVV2SM4js.loadStormConfig.call(void 0, );
507
507
  rootDir = config.workspaceRoot;
508
508
  }
509
509
  const nxJsonPath = _chunkRCE3CC76js.joinPaths.call(void 0, rootDir, "nx.json");
@@ -787,18 +787,18 @@ var getEnv = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (builder, opti
787
787
  }, "getEnv");
788
788
 
789
789
  // ../build-tools/src/utilities/get-out-extension.ts
790
- function getOutExtension(format, pkgType) {
790
+ function getOutExtension(format2, pkgType) {
791
791
  let jsExtension = ".js";
792
792
  let dtsExtension = ".d.ts";
793
- if (pkgType === "module" && format === "cjs") {
793
+ if (pkgType === "module" && format2 === "cjs") {
794
794
  jsExtension = ".cjs";
795
795
  dtsExtension = ".d.cts";
796
796
  }
797
- if (pkgType !== "module" && format === "esm") {
797
+ if (pkgType !== "module" && format2 === "esm") {
798
798
  jsExtension = ".mjs";
799
799
  dtsExtension = ".d.mts";
800
800
  }
801
- if (format === "iife") {
801
+ if (format2 === "iife") {
802
802
  jsExtension = ".global.js";
803
803
  }
804
804
  return {
@@ -1468,7 +1468,7 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1468
1468
  if (!workspaceRoot3) {
1469
1469
  throw new Error("Cannot find Nx workspace root");
1470
1470
  }
1471
- const config = await _chunkFEVYI765js.loadStormConfig.call(void 0, workspaceRoot3.dir);
1471
+ const config = await _chunkIUVV2SM4js.loadStormConfig.call(void 0, workspaceRoot3.dir);
1472
1472
  _chunkRCE3CC76js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1473
1473
  const stopwatch = _chunkRCE3CC76js.getStopwatch.call(void 0, "Build options resolution");
1474
1474
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
@@ -1802,6 +1802,7 @@ var executor_default6 = withRunExecutor("Storm ESBuild build", esbuildExecutorFn
1802
1802
  // ../workspace-tools/src/utils/pnpm-deps-update.ts
1803
1803
 
1804
1804
 
1805
+ var _prettier = require('prettier');
1805
1806
  var _readyamlfile = require('read-yaml-file'); var _readyamlfile2 = _interopRequireDefault(_readyamlfile);
1806
1807
 
1807
1808
  // ../workspace-tools/src/executors/npm-publish/executor.ts
@@ -1887,7 +1888,7 @@ var resolveOptions2 = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1887
1888
  if (!workspaceRoot3) {
1888
1889
  throw new Error("Cannot find Nx workspace root");
1889
1890
  }
1890
- const config = await _chunkFEVYI765js.loadStormConfig.call(void 0, workspaceRoot3.dir);
1891
+ const config = await _chunkIUVV2SM4js.loadStormConfig.call(void 0, workspaceRoot3.dir);
1891
1892
  _chunkRCE3CC76js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1892
1893
  const stopwatch = _chunkRCE3CC76js.getStopwatch.call(void 0, "Build options resolution");
1893
1894
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
@@ -2151,11 +2152,11 @@ var executor_default9 = withRunExecutor("Typia runtime validation generator", ty
2151
2152
 
2152
2153
 
2153
2154
 
2155
+ var _jiti = require('jiti');
2154
2156
 
2155
2157
 
2156
2158
 
2157
2159
 
2158
- var _unbuild = require('unbuild');
2159
2160
 
2160
2161
  // ../unbuild/src/clean.ts
2161
2162
 
@@ -2317,7 +2318,7 @@ async function resolveOptions3(options) {
2317
2318
  if (!workspaceRoot3) {
2318
2319
  throw new Error("Cannot find workspace root");
2319
2320
  }
2320
- const config = await _chunkFEVYI765js.loadStormConfig.call(void 0, workspaceRoot3.dir);
2321
+ const config = await _chunkIUVV2SM4js.loadStormConfig.call(void 0, workspaceRoot3.dir);
2321
2322
  _chunkRCE3CC76js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
2322
2323
  const stopwatch = _chunkRCE3CC76js.getStopwatch.call(void 0, "Build options resolution");
2323
2324
  if (options.configPath) {
@@ -2361,6 +2362,11 @@ async function resolveOptions3(options) {
2361
2362
  dependencies = dependencies.filter((deps) => deps.name !== tsLibDependency.name);
2362
2363
  dependencies.push(tsLibDependency);
2363
2364
  }
2365
+ const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
2366
+ cache: true,
2367
+ fsCache: config.skipCache ? false : _chunkRCE3CC76js.joinPaths.call(void 0, config.directories.cache || "node_modules/.cache/storm", "jiti"),
2368
+ interopDefault: true
2369
+ });
2364
2370
  const resolvedOptions = {
2365
2371
  name: projectName,
2366
2372
  config,
@@ -2368,6 +2374,7 @@ async function resolveOptions3(options) {
2368
2374
  sourceRoot,
2369
2375
  projectName,
2370
2376
  tsconfig,
2377
+ jiti,
2371
2378
  clean: false,
2372
2379
  entries: [
2373
2380
  {
@@ -2434,7 +2441,7 @@ async function resolveOptions3(options) {
2434
2441
  ]
2435
2442
  },
2436
2443
  esbuild: {
2437
- minify: !!options.minify,
2444
+ minify: options.minify !== false,
2438
2445
  splitting: options.splitting !== false,
2439
2446
  treeShaking: options.treeShaking !== false,
2440
2447
  color: true,
@@ -2494,11 +2501,24 @@ async function generatePackageJson3(options) {
2494
2501
  return options;
2495
2502
  }
2496
2503
  _chunkJ5SB6L2Ljs.__name.call(void 0, generatePackageJson3, "generatePackageJson");
2504
+ async function resolveUnbuild(options) {
2505
+ _chunkRCE3CC76js.writeTrace.call(void 0, `Resolving Unbuild package with Jiti`, options.config);
2506
+ try {
2507
+ return options.jiti.import("unbuild");
2508
+ } catch (error) {
2509
+ _chunkRCE3CC76js.writeError.call(void 0, " \u274C An error occurred while resolving the Unbuild package", options.config);
2510
+ throw new Error("An error occurred while resolving the Unbuild package", {
2511
+ cause: error
2512
+ });
2513
+ }
2514
+ }
2515
+ _chunkJ5SB6L2Ljs.__name.call(void 0, resolveUnbuild, "resolveUnbuild");
2497
2516
  async function executeUnbuild(options) {
2498
2517
  _chunkRCE3CC76js.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
2499
2518
  const stopwatch = _chunkRCE3CC76js.getStopwatch.call(void 0, `${options.name} (${options.projectRoot}) build`);
2500
2519
  try {
2501
- await _unbuild.build.call(void 0, options.projectRoot, false, {
2520
+ const unbuild = await resolveUnbuild(options);
2521
+ await unbuild.build(options.projectRoot, false, {
2502
2522
  ...options,
2503
2523
  rootDir: options.projectRoot
2504
2524
  });
@@ -2620,7 +2640,7 @@ var withRunGenerator = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (nam
2620
2640
  if (!generatorOptions.skipReadingConfig) {
2621
2641
  _chunkRCE3CC76js.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
2622
2642
  - workspaceRoot: ${workspaceRoot3}`, config);
2623
- config = await _chunkFEVYI765js.loadStormConfig.call(void 0, workspaceRoot3);
2643
+ config = await _chunkIUVV2SM4js.loadStormConfig.call(void 0, workspaceRoot3);
2624
2644
  }
2625
2645
  if (_optionalChain([generatorOptions, 'optionalAccess', _140 => _140.hooks, 'optionalAccess', _141 => _141.applyDefaultOptions])) {
2626
2646
  _chunkRCE3CC76js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
package/dist/executors.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
2
  require('./chunk-R7AIVBS7.js');
3
- require('./chunk-RGEF6YBW.js');
4
- require('./chunk-GTCFSQI5.js');
5
- require('./chunk-VTHBMY4B.js');
3
+ require('./chunk-ULTJPRDX.js');
4
+ require('./chunk-SUASGTND.js');
6
5
  require('./chunk-JCB2DTP6.js');
7
- require('./chunk-FEVYI765.js');
6
+ require('./chunk-VTHBMY4B.js');
7
+ require('./chunk-IUVV2SM4.js');
8
8
  require('./chunk-RCE3CC76.js');
9
9
  require('./chunk-J5SB6L2L.js');
@@ -1,9 +1,9 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
2
  import "./chunk-QEWY5YJA.mjs";
3
- import "./chunk-WWU5M5GO.mjs";
4
- import "./chunk-CYPHDXO4.mjs";
5
- import "./chunk-XU6MTFCV.mjs";
3
+ import "./chunk-T6VDL633.mjs";
4
+ import "./chunk-HPCGVJ7R.mjs";
6
5
  import "./chunk-VYOULWAK.mjs";
7
- import "./chunk-JJVEBF3V.mjs";
6
+ import "./chunk-XU6MTFCV.mjs";
7
+ import "./chunk-4AMWR76J.mjs";
8
8
  import "./chunk-NSLK6ZDO.mjs";
9
9
  import "./chunk-A7FFSBE6.mjs";
@@ -2,17 +2,17 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkIF6J7SWPjs = require('./chunk-IF6J7SWP.js');
6
- require('./chunk-FEVYI765.js');
7
- require('./chunk-RCE3CC76.js');
5
+ var _chunkMH545KJZjs = require('./chunk-MH545KJZ.js');
8
6
 
9
7
 
10
8
 
11
- var _chunkFARER72Tjs = require('./chunk-FARER72T.js');
9
+ var _chunk7VU6EPB4js = require('./chunk-7VU6EPB4.js');
10
+ require('./chunk-IUVV2SM4.js');
11
+ require('./chunk-RCE3CC76.js');
12
12
  require('./chunk-J5SB6L2L.js');
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkIF6J7SWPjs.applicationGenerator; exports.applicationSchematic = _chunkIF6J7SWPjs.applicationSchematic; exports.initGenerator = _chunkFARER72Tjs.initGenerator; exports.initSchematic = _chunkFARER72Tjs.initSchematic;
18
+ exports.applicationGenerator = _chunkMH545KJZjs.applicationGenerator; exports.applicationSchematic = _chunkMH545KJZjs.applicationSchematic; exports.initGenerator = _chunk7VU6EPB4js.initGenerator; exports.initSchematic = _chunk7VU6EPB4js.initSchematic;
@@ -2,13 +2,13 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-7KICJG4N.mjs";
6
- import "./chunk-JJVEBF3V.mjs";
7
- import "./chunk-NSLK6ZDO.mjs";
5
+ } from "./chunk-4AK2RSE7.mjs";
8
6
  import {
9
7
  initGenerator,
10
8
  initSchematic
11
- } from "./chunk-FDWGGCRH.mjs";
9
+ } from "./chunk-6RM4MALM.mjs";
10
+ import "./chunk-4AMWR76J.mjs";
11
+ import "./chunk-NSLK6ZDO.mjs";
12
12
  import "./chunk-A7FFSBE6.mjs";
13
13
  export {
14
14
  applicationGenerator,
package/dist/index.js CHANGED
@@ -1,27 +1,27 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }require('./chunk-XO66D74Z.js');
2
- require('./chunk-R7AIVBS7.js');
3
- require('./chunk-RGEF6YBW.js');
4
- require('./chunk-GTCFSQI5.js');
2
+ require('./chunk-DHBG5ASJ.js');
5
3
 
6
4
 
7
5
 
8
- var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
9
- require('./chunk-DHBG5ASJ.js');
10
- require('./chunk-CVGPWUNP.js');
6
+ var _chunkMH545KJZjs = require('./chunk-MH545KJZ.js');
11
7
 
12
8
 
13
9
 
14
- var _chunkJCB2DTP6js = require('./chunk-JCB2DTP6.js');
10
+ var _chunk7VU6EPB4js = require('./chunk-7VU6EPB4.js');
11
+ require('./chunk-CVGPWUNP.js');
12
+ require('./chunk-R7AIVBS7.js');
13
+ require('./chunk-ULTJPRDX.js');
14
+ require('./chunk-SUASGTND.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkIF6J7SWPjs = require('./chunk-IF6J7SWP.js');
19
- require('./chunk-FEVYI765.js');
20
- require('./chunk-RCE3CC76.js');
18
+ var _chunkJCB2DTP6js = require('./chunk-JCB2DTP6.js');
21
19
 
22
20
 
23
21
 
24
- var _chunkFARER72Tjs = require('./chunk-FARER72T.js');
22
+ var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
23
+ require('./chunk-IUVV2SM4.js');
24
+ require('./chunk-RCE3CC76.js');
25
25
 
26
26
 
27
27
  var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
@@ -148,4 +148,4 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, createPackageJson, "createPackageJson");
148
148
 
149
149
 
150
150
 
151
- exports.applicationGenerator = _chunkIF6J7SWPjs.applicationGenerator; exports.applicationSchematic = _chunkIF6J7SWPjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkJCB2DTP6js.getInternalDependencies; exports.initGenerator = _chunkFARER72Tjs.initGenerator; exports.initSchematic = _chunkFARER72Tjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkJCB2DTP6js.r2UploadFile;
151
+ exports.applicationGenerator = _chunkMH545KJZjs.applicationGenerator; exports.applicationSchematic = _chunkMH545KJZjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkJCB2DTP6js.getInternalDependencies; exports.initGenerator = _chunk7VU6EPB4js.initGenerator; exports.initSchematic = _chunk7VU6EPB4js.initSchematic; exports.name = name; exports.r2UploadFile = _chunkJCB2DTP6js.r2UploadFile;
package/dist/index.mjs CHANGED
@@ -1,27 +1,27 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
- import "./chunk-QEWY5YJA.mjs";
3
- import "./chunk-WWU5M5GO.mjs";
4
- import "./chunk-CYPHDXO4.mjs";
5
- import {
6
- ProjectTagConstants,
7
- addProjectTag
8
- } from "./chunk-XU6MTFCV.mjs";
9
2
  import "./chunk-3J7KBHMJ.mjs";
3
+ import {
4
+ applicationGenerator,
5
+ applicationSchematic
6
+ } from "./chunk-4AK2RSE7.mjs";
7
+ import {
8
+ initGenerator,
9
+ initSchematic
10
+ } from "./chunk-6RM4MALM.mjs";
10
11
  import "./chunk-7Z5PILRU.mjs";
12
+ import "./chunk-QEWY5YJA.mjs";
13
+ import "./chunk-T6VDL633.mjs";
14
+ import "./chunk-HPCGVJ7R.mjs";
11
15
  import {
12
16
  getInternalDependencies,
13
17
  r2UploadFile
14
18
  } from "./chunk-VYOULWAK.mjs";
15
19
  import {
16
- applicationGenerator,
17
- applicationSchematic
18
- } from "./chunk-7KICJG4N.mjs";
19
- import "./chunk-JJVEBF3V.mjs";
20
+ ProjectTagConstants,
21
+ addProjectTag
22
+ } from "./chunk-XU6MTFCV.mjs";
23
+ import "./chunk-4AMWR76J.mjs";
20
24
  import "./chunk-NSLK6ZDO.mjs";
21
- import {
22
- initGenerator,
23
- initSchematic
24
- } from "./chunk-FDWGGCRH.mjs";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-A7FFSBE6.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
  var _chunkR7AIVBS7js = require('../../../chunk-R7AIVBS7.js');
4
- require('../../../chunk-GTCFSQI5.js');
4
+ require('../../../chunk-ULTJPRDX.js');
5
5
  require('../../../chunk-VTHBMY4B.js');
6
- require('../../../chunk-FEVYI765.js');
6
+ require('../../../chunk-IUVV2SM4.js');
7
7
  require('../../../chunk-RCE3CC76.js');
8
8
  require('../../../chunk-J5SB6L2L.js');
9
9
 
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  runExecutor
3
3
  } from "../../../chunk-QEWY5YJA.mjs";
4
- import "../../../chunk-CYPHDXO4.mjs";
4
+ import "../../../chunk-T6VDL633.mjs";
5
5
  import "../../../chunk-XU6MTFCV.mjs";
6
- import "../../../chunk-JJVEBF3V.mjs";
6
+ import "../../../chunk-4AMWR76J.mjs";
7
7
  import "../../../chunk-NSLK6ZDO.mjs";
8
8
  import "../../../chunk-A7FFSBE6.mjs";
9
9
  export {
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkRGEF6YBWjs = require('../../../chunk-RGEF6YBW.js');
4
- require('../../../chunk-VTHBMY4B.js');
3
+ var _chunkSUASGTNDjs = require('../../../chunk-SUASGTND.js');
5
4
  require('../../../chunk-JCB2DTP6.js');
6
- require('../../../chunk-FEVYI765.js');
5
+ require('../../../chunk-VTHBMY4B.js');
6
+ require('../../../chunk-IUVV2SM4.js');
7
7
  require('../../../chunk-RCE3CC76.js');
8
8
  require('../../../chunk-J5SB6L2L.js');
9
9
 
10
10
 
11
- exports.default = _chunkRGEF6YBWjs.runExecutor;
11
+ exports.default = _chunkSUASGTNDjs.runExecutor;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  runExecutor
3
- } from "../../../chunk-WWU5M5GO.mjs";
4
- import "../../../chunk-XU6MTFCV.mjs";
3
+ } from "../../../chunk-HPCGVJ7R.mjs";
5
4
  import "../../../chunk-VYOULWAK.mjs";
6
- import "../../../chunk-JJVEBF3V.mjs";
5
+ import "../../../chunk-XU6MTFCV.mjs";
6
+ import "../../../chunk-4AMWR76J.mjs";
7
7
  import "../../../chunk-NSLK6ZDO.mjs";
8
8
  import "../../../chunk-A7FFSBE6.mjs";
9
9
  export {
@@ -1,10 +1,10 @@
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 _chunkGTCFSQI5js = require('../../../chunk-GTCFSQI5.js');
3
+ var _chunkULTJPRDXjs = require('../../../chunk-ULTJPRDX.js');
4
4
 
5
5
 
6
6
  var _chunkVTHBMY4Bjs = require('../../../chunk-VTHBMY4B.js');
7
- require('../../../chunk-FEVYI765.js');
7
+ require('../../../chunk-IUVV2SM4.js');
8
8
  require('../../../chunk-RCE3CC76.js');
9
9
 
10
10
 
@@ -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 = _chunkGTCFSQI5js.withRunExecutor.call(void 0, "Cloudflare Serve executor", serveExecutor, {
63
+ var executor_default = _chunkULTJPRDXjs.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,10 +1,10 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "../../../chunk-CYPHDXO4.mjs";
3
+ } from "../../../chunk-T6VDL633.mjs";
4
4
  import {
5
5
  createCliOptions
6
6
  } from "../../../chunk-XU6MTFCV.mjs";
7
- import "../../../chunk-JJVEBF3V.mjs";
7
+ import "../../../chunk-4AMWR76J.mjs";
8
8
  import "../../../chunk-NSLK6ZDO.mjs";
9
9
  import {
10
10
  __name,
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkFARER72Tjs = require('../../../chunk-FARER72T.js');
5
+ var _chunk7VU6EPB4js = require('../../../chunk-7VU6EPB4.js');
6
6
  require('../../../chunk-J5SB6L2L.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunkFARER72Tjs.generator_default; exports.initGenerator = _chunkFARER72Tjs.initGenerator; exports.initSchematic = _chunkFARER72Tjs.initSchematic;
11
+ exports.default = _chunk7VU6EPB4js.generator_default; exports.initGenerator = _chunk7VU6EPB4js.initGenerator; exports.initSchematic = _chunk7VU6EPB4js.initSchematic;
@@ -2,7 +2,7 @@ import {
2
2
  generator_default,
3
3
  initGenerator,
4
4
  initSchematic
5
- } from "../../../chunk-FDWGGCRH.mjs";
5
+ } from "../../../chunk-6RM4MALM.mjs";
6
6
  import "../../../chunk-A7FFSBE6.mjs";
7
7
  export {
8
8
  generator_default as default,
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkIF6J7SWPjs = require('../../../chunk-IF6J7SWP.js');
6
- require('../../../chunk-FEVYI765.js');
5
+ var _chunkMH545KJZjs = require('../../../chunk-MH545KJZ.js');
6
+ require('../../../chunk-7VU6EPB4.js');
7
+ require('../../../chunk-IUVV2SM4.js');
7
8
  require('../../../chunk-RCE3CC76.js');
8
- require('../../../chunk-FARER72T.js');
9
9
  require('../../../chunk-J5SB6L2L.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.applicationGenerator = _chunkIF6J7SWPjs.applicationGenerator; exports.applicationSchematic = _chunkIF6J7SWPjs.applicationSchematic; exports.default = _chunkIF6J7SWPjs.generator_default;
14
+ exports.applicationGenerator = _chunkMH545KJZjs.applicationGenerator; exports.applicationSchematic = _chunkMH545KJZjs.applicationSchematic; exports.default = _chunkMH545KJZjs.generator_default;
@@ -2,10 +2,10 @@ import {
2
2
  applicationGenerator,
3
3
  applicationSchematic,
4
4
  generator_default
5
- } from "../../../chunk-7KICJG4N.mjs";
6
- import "../../../chunk-JJVEBF3V.mjs";
5
+ } from "../../../chunk-4AK2RSE7.mjs";
6
+ import "../../../chunk-6RM4MALM.mjs";
7
+ import "../../../chunk-4AMWR76J.mjs";
7
8
  import "../../../chunk-NSLK6ZDO.mjs";
8
- import "../../../chunk-FDWGGCRH.mjs";
9
9
  import "../../../chunk-A7FFSBE6.mjs";
10
10
  export {
11
11
  applicationGenerator,
package/package.json CHANGED
@@ -1 +1,150 @@
1
- {"name":"@storm-software/cloudflare-tools","version":"0.50.0","description":"A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.","repository":{"type":"github","url":"https://github.com/storm-software/storm-ops","directory":"packages/cloudflare-tools"},"homepage":"https://stormsoftware.com","bugs":"https://github.com/storm-software/storm-ops/issues","author":{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"},"license":"Apache-2.0","private":false,"main":"dist/index.js","module":"dist/index.mjs","exports":{"./package.json":"./package.json","./docs/*":"./docs/*","./migrations.json":"./migrations.json","./executors.json":"./executors.json","./executors/*/schema.json":"./dist/src/executors/*/schema.json","./generators.json":"./generators.json","./generators/*/schema.json":"./dist/src/generators/*/schema.json",".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./index":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./executors":{"import":{"types":"./dist/executors.d.mts","default":"./dist/executors.mjs"},"require":{"types":"./dist/executors.d.ts","default":"./dist/executors.js"},"default":{"types":"./dist/executors.d.ts","default":"./dist/executors.js"}},"./generators":{"import":{"types":"./dist/generators.d.mts","default":"./dist/generators.mjs"},"require":{"types":"./dist/generators.d.ts","default":"./dist/generators.js"},"default":{"types":"./dist/generators.d.ts","default":"./dist/generators.js"}},"./utils":{"import":{"types":"./dist/src/utils/index.d.mts","default":"./dist/src/utils/index.mjs"},"require":{"types":"./dist/src/utils/index.d.ts","default":"./dist/src/utils/index.js"},"default":{"types":"./dist/src/utils/index.d.ts","default":"./dist/src/utils/index.js"}},"./utils/*":{"import":{"types":"./dist/src/utils/*.d.mts","default":"./dist/src/utils/*.mjs"},"require":{"types":"./dist/src/utils/*.d.ts","default":"./dist/src/utils/*.js"},"default":{"types":"./dist/src/utils/*.d.ts","default":"./dist/src/utils/*.js"}},"./executors/*/executor.js":"./dist/src/executors/*/executor.js","./generators/*/generator.js":"./dist/src/generators/*/generator.js","./plugin":"./dist/src/plugins/index.js"},"typings":"dist/index.d.ts","keywords":["monorepo","open-system","storm","storm-ops","storm-stack","stormstack","sullivanpj"],"peerDependencies":{"@nx/devkit":"^20.3.1","@nx/node":"^20.3.1","@nx/web":"^20.3.1","@nx/webpack":"^20.3.1","nx":"^20.3.1","wrangler":">=3.58.0"},"peerDependenciesMeta":{"@nx/devkit":{"optional":false},"@nx/node":{"optional":false},"@nx/web":{"optional":false},"@nx/webpack":{"optional":false},"nx":{"optional":false},"wrangler":{"optional":false}},"dependencies":{"@aws-sdk/client-s3":"3.47.0","c12":"^2.0.0-beta.2","glob":"^10.4.2","jest-resolve":"29.7.0"},"devDependencies":{"@nx/devkit":"^20.3.1","@nx/node":"^20.3.1","@nx/web":"^20.3.1","@nx/webpack":"^20.3.1","nx":"^20.3.1","tsup":"8.3.5","untyped":"^1.5.2","wrangler":">=3.58.0"},"publishConfig":{"access":"public"},"executors":"./executors.json","generators":"./generators.json"}
1
+ {
2
+ "name": "@storm-software/cloudflare-tools",
3
+ "version": "0.50.2",
4
+ "description": "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
5
+ "repository": {
6
+ "type": "github",
7
+ "url": "https://github.com/storm-software/storm-ops",
8
+ "directory": "packages/cloudflare-tools"
9
+ },
10
+ "homepage": "https://stormsoftware.com",
11
+ "bugs": "https://github.com/storm-software/storm-ops/issues",
12
+ "author": {
13
+ "name": "Storm Software",
14
+ "email": "contact@stormsoftware.com",
15
+ "url": "https://stormsoftware.com"
16
+ },
17
+ "license": "Apache-2.0",
18
+ "private": false,
19
+ "main": "dist/index.js",
20
+ "module": "dist/index.mjs",
21
+ "exports": {
22
+ "./package.json": "./package.json",
23
+ "./docs/*": "./docs/*",
24
+ "./migrations.json": "./migrations.json",
25
+ "./executors.json": "./executors.json",
26
+ "./executors/*/schema.json": "./dist/src/executors/*/schema.json",
27
+ "./generators.json": "./generators.json",
28
+ "./generators/*/schema.json": "./dist/src/generators/*/schema.json",
29
+ ".": {
30
+ "import": {
31
+ "types": "./dist/index.d.mts",
32
+ "default": "./dist/index.mjs"
33
+ },
34
+ "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
35
+ "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
36
+ },
37
+ "./index": {
38
+ "import": {
39
+ "types": "./dist/index.d.mts",
40
+ "default": "./dist/index.mjs"
41
+ },
42
+ "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
43
+ "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
44
+ },
45
+ "./executors": {
46
+ "import": {
47
+ "types": "./dist/executors.d.mts",
48
+ "default": "./dist/executors.mjs"
49
+ },
50
+ "require": {
51
+ "types": "./dist/executors.d.ts",
52
+ "default": "./dist/executors.js"
53
+ },
54
+ "default": {
55
+ "types": "./dist/executors.d.ts",
56
+ "default": "./dist/executors.js"
57
+ }
58
+ },
59
+ "./generators": {
60
+ "import": {
61
+ "types": "./dist/generators.d.mts",
62
+ "default": "./dist/generators.mjs"
63
+ },
64
+ "require": {
65
+ "types": "./dist/generators.d.ts",
66
+ "default": "./dist/generators.js"
67
+ },
68
+ "default": {
69
+ "types": "./dist/generators.d.ts",
70
+ "default": "./dist/generators.js"
71
+ }
72
+ },
73
+ "./utils": {
74
+ "import": {
75
+ "types": "./dist/src/utils/index.d.mts",
76
+ "default": "./dist/src/utils/index.mjs"
77
+ },
78
+ "require": {
79
+ "types": "./dist/src/utils/index.d.ts",
80
+ "default": "./dist/src/utils/index.js"
81
+ },
82
+ "default": {
83
+ "types": "./dist/src/utils/index.d.ts",
84
+ "default": "./dist/src/utils/index.js"
85
+ }
86
+ },
87
+ "./utils/*": {
88
+ "import": {
89
+ "types": "./dist/src/utils/*.d.mts",
90
+ "default": "./dist/src/utils/*.mjs"
91
+ },
92
+ "require": {
93
+ "types": "./dist/src/utils/*.d.ts",
94
+ "default": "./dist/src/utils/*.js"
95
+ },
96
+ "default": {
97
+ "types": "./dist/src/utils/*.d.ts",
98
+ "default": "./dist/src/utils/*.js"
99
+ }
100
+ },
101
+ "./executors/*/executor.js": "./dist/src/executors/*/executor.js",
102
+ "./generators/*/generator.js": "./dist/src/generators/*/generator.js",
103
+ "./plugin": "./dist/src/plugins/index.js"
104
+ },
105
+ "typings": "dist/index.d.ts",
106
+ "keywords": [
107
+ "monorepo",
108
+ "open-system",
109
+ "storm",
110
+ "storm-ops",
111
+ "storm-stack",
112
+ "stormstack",
113
+ "sullivanpj"
114
+ ],
115
+ "peerDependencies": {
116
+ "@nx/devkit": "^20.3.1",
117
+ "@nx/node": "^20.3.1",
118
+ "@nx/web": "^20.3.1",
119
+ "@nx/webpack": "^20.3.1",
120
+ "nx": "^20.3.1",
121
+ "wrangler": ">=3.58.0"
122
+ },
123
+ "peerDependenciesMeta": {
124
+ "@nx/devkit": { "optional": false },
125
+ "@nx/node": { "optional": false },
126
+ "@nx/web": { "optional": false },
127
+ "@nx/webpack": { "optional": false },
128
+ "nx": { "optional": false },
129
+ "wrangler": { "optional": false }
130
+ },
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
+ },
137
+ "devDependencies": {
138
+ "@nx/devkit": "^20.3.1",
139
+ "@nx/node": "^20.3.1",
140
+ "@nx/web": "^20.3.1",
141
+ "@nx/webpack": "^20.3.1",
142
+ "nx": "^20.3.1",
143
+ "tsup": "8.3.5",
144
+ "untyped": "^1.5.2",
145
+ "wrangler": ">=3.58.0"
146
+ },
147
+ "publishConfig": { "access": "public" },
148
+ "executors": "./executors.json",
149
+ "generators": "./generators.json"
150
+ }