@storm-software/cloudflare-tools 0.50.2 → 0.50.3

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 (37) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-IUVV2SM4.js → chunk-3JJSMPBT.js} +41 -41
  4. package/dist/{chunk-T6VDL633.mjs → chunk-6PVMDNO7.mjs} +44 -482
  5. package/dist/{chunk-JCB2DTP6.js → chunk-ABCBYQGV.js} +3 -3
  6. package/dist/{chunk-7VU6EPB4.js → chunk-AXWOHQDN.js} +1 -1
  7. package/dist/{chunk-ULTJPRDX.js → chunk-MHBXIMZJ.js} +183 -621
  8. package/dist/{chunk-SUASGTND.js → chunk-O2XVQQLQ.js} +16 -16
  9. package/dist/{chunk-6RM4MALM.mjs → chunk-O6M6COTZ.mjs} +1 -1
  10. package/dist/{chunk-VYOULWAK.mjs → chunk-OTQ3T47C.mjs} +1 -1
  11. package/dist/{chunk-RCE3CC76.js → chunk-TH4KH35P.js} +1 -2
  12. package/dist/{chunk-HPCGVJ7R.mjs → chunk-TKQA6SOX.mjs} +3 -3
  13. package/dist/{chunk-4AK2RSE7.mjs → chunk-U7RXDO26.mjs} +3 -3
  14. package/dist/{chunk-4AMWR76J.mjs → chunk-UOZU7VQX.mjs} +1 -1
  15. package/dist/{chunk-NSLK6ZDO.mjs → chunk-XBFOA367.mjs} +0 -1
  16. package/dist/{chunk-MH545KJZ.js → chunk-YYQ6E55Y.js} +12 -12
  17. package/dist/executors.js +5 -5
  18. package/dist/executors.mjs +5 -5
  19. package/dist/generators.js +5 -5
  20. package/dist/generators.mjs +4 -4
  21. package/dist/index.js +8 -8
  22. package/dist/index.mjs +7 -7
  23. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  24. package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
  25. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  26. package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
  27. package/dist/src/executors/serve/executor.js +4 -4
  28. package/dist/src/executors/serve/executor.mjs +3 -3
  29. package/dist/src/generators/init/generator.js +2 -2
  30. package/dist/src/generators/init/generator.mjs +1 -1
  31. package/dist/src/generators/worker/generator.js +5 -5
  32. package/dist/src/generators/worker/generator.mjs +4 -4
  33. package/dist/src/utils/index.js +3 -3
  34. package/dist/src/utils/index.mjs +2 -2
  35. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  36. package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
  37. package/package.json +1 -1
@@ -1,21 +1,21 @@
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 _chunkJCB2DTP6js = require('./chunk-JCB2DTP6.js');
4
+ var _chunkABCBYQGVjs = require('./chunk-ABCBYQGV.js');
5
5
 
6
6
 
7
7
 
8
8
  var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
9
9
 
10
10
 
11
- var _chunkIUVV2SM4js = require('./chunk-IUVV2SM4.js');
11
+ var _chunk3JJSMPBTjs = require('./chunk-3JJSMPBT.js');
12
12
 
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- var _chunkRCE3CC76js = require('./chunk-RCE3CC76.js');
18
+ var _chunkTH4KH35Pjs = require('./chunk-TH4KH35P.js');
19
19
 
20
20
 
21
21
  var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
@@ -36,8 +36,8 @@ async function runExecutor(options, context) {
36
36
  throw new Error("The executor requires projectsConfigurations.");
37
37
  }
38
38
  try {
39
- const workspaceRoot = _chunkRCE3CC76js.findWorkspaceRoot.call(void 0, );
40
- const config = await _chunkIUVV2SM4js.loadStormConfig.call(void 0, workspaceRoot);
39
+ const workspaceRoot = _chunkTH4KH35Pjs.findWorkspaceRoot.call(void 0, );
40
+ const config = await _chunk3JJSMPBTjs.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]);
@@ -62,7 +62,7 @@ async function runExecutor(options, context) {
62
62
  if (!projectGraph) {
63
63
  throw new Error("No project graph found in cache");
64
64
  }
65
- _chunkRCE3CC76js.writeInfo.call(void 0, `Publishing ${context.projectName} to the Storm Registry at ${endpoint}`);
65
+ _chunkTH4KH35Pjs.writeInfo.call(void 0, `Publishing ${context.projectName} to the Storm Registry at ${endpoint}`);
66
66
  const s3Client = new (0, _clients3.S3)({
67
67
  region: "auto",
68
68
  endpoint,
@@ -72,12 +72,12 @@ async function runExecutor(options, context) {
72
72
  }
73
73
  });
74
74
  const version = _optionalChain([projectDetails, 'access', _18 => _18.content, 'optionalAccess', _19 => _19.version]);
75
- _chunkRCE3CC76js.writeInfo.call(void 0, `Generated component version: ${version}`);
75
+ _chunkTH4KH35Pjs.writeInfo.call(void 0, `Generated component version: ${version}`);
76
76
  const files = await _glob.glob.call(void 0, _devkit.joinPathFragments.call(void 0, sourceRoot, "**/*"), {
77
77
  ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
78
78
  });
79
79
  const projectPath = `registry/${context.projectName}`;
80
- const internalDependencies = await _chunkJCB2DTP6js.getInternalDependencies.call(void 0, context.projectName, projectGraph);
80
+ const internalDependencies = await _chunkABCBYQGVjs.getInternalDependencies.call(void 0, context.projectName, projectGraph);
81
81
  const dependencies = internalDependencies.filter((projectNode) => !projectNode.data.tags || projectNode.data.tags.every((tag) => tag.toLowerCase() !== "component")).reduce((ret, dep) => {
82
82
  if (!ret[dep.name]) {
83
83
  ret[dep.name] = "latest";
@@ -85,14 +85,14 @@ async function runExecutor(options, context) {
85
85
  return ret;
86
86
  }, _nullishCoalesce(projectDetails.content.dependencies, () => ( {})));
87
87
  const release = _nullishCoalesce(options.tag, () => ( _child_process.execSync.call(void 0, "npm config get tag").toString().trim()));
88
- _chunkRCE3CC76js.writeInfo.call(void 0, `Clearing out existing items in ${projectPath}`);
88
+ _chunkTH4KH35Pjs.writeInfo.call(void 0, `Clearing out existing items in ${projectPath}`);
89
89
  if (!isDryRun) {
90
90
  const response = await s3Client.listObjects({
91
91
  Bucket: options.bucketId,
92
92
  Prefix: projectPath
93
93
  });
94
94
  if (_optionalChain([response, 'optionalAccess', _20 => _20.Contents]) && response.Contents.length > 0) {
95
- _chunkRCE3CC76js.writeDebug.call(void 0, `Deleting the following existing items from the component registry: ${response.Contents.map((item) => item.Key).join(", ")}`);
95
+ _chunkTH4KH35Pjs.writeDebug.call(void 0, `Deleting the following existing items from the component registry: ${response.Contents.map((item) => item.Key).join(", ")}`);
96
96
  await Promise.all(response.Contents.map((item) => s3Client.deleteObjects({
97
97
  Bucket: options.bucketId,
98
98
  Delete: {
@@ -105,10 +105,10 @@ async function runExecutor(options, context) {
105
105
  }
106
106
  })));
107
107
  } else {
108
- _chunkRCE3CC76js.writeDebug.call(void 0, `No existing items to delete in the component registry path ${projectPath}`);
108
+ _chunkTH4KH35Pjs.writeDebug.call(void 0, `No existing items to delete in the component registry path ${projectPath}`);
109
109
  }
110
110
  } else {
111
- _chunkRCE3CC76js.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
111
+ _chunkTH4KH35Pjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
112
112
  }
113
113
  const meta = {
114
114
  name: context.projectName,
@@ -124,16 +124,16 @@ async function runExecutor(options, context) {
124
124
  meta.devDependencies = projectDetails.content.devDependencies;
125
125
  }
126
126
  const metaJson = JSON.stringify(meta);
127
- _chunkRCE3CC76js.writeInfo.call(void 0, `Generating meta.json file:
127
+ _chunkTH4KH35Pjs.writeInfo.call(void 0, `Generating meta.json file:
128
128
  ${metaJson}`);
129
- await _chunkJCB2DTP6js.r2UploadFile.call(void 0, s3Client, options.bucketId, projectPath, "meta.json", version, metaJson, "application/json", isDryRun);
129
+ await _chunkABCBYQGVjs.r2UploadFile.call(void 0, s3Client, options.bucketId, projectPath, "meta.json", version, metaJson, "application/json", isDryRun);
130
130
  await Promise.all(files.map((file) => {
131
131
  const fileName = file.replaceAll("\\", "/").replace(sourceRoot.replaceAll("\\", "/"), "");
132
132
  return _promises.readFile.call(void 0, file, {
133
133
  encoding: "utf8"
134
- }).then((fileContent) => _chunkJCB2DTP6js.r2UploadFile.call(void 0, s3Client, options.bucketId, projectPath, fileName, version, fileContent, "text/plain", isDryRun));
134
+ }).then((fileContent) => _chunkABCBYQGVjs.r2UploadFile.call(void 0, s3Client, options.bucketId, projectPath, fileName, version, fileContent, "text/plain", isDryRun));
135
135
  }));
136
- _chunkRCE3CC76js.writeSuccess.call(void 0, `Successfully uploaded the ${projectName} component to the Cyclone Registry`, config);
136
+ _chunkTH4KH35Pjs.writeSuccess.call(void 0, `Successfully uploaded the ${projectName} component to the Cyclone Registry`, config);
137
137
  return {
138
138
  success: true
139
139
  };
@@ -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.2",
11
+ version: "0.50.3",
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,7 +1,7 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeWarning
4
- } from "./chunk-NSLK6ZDO.mjs";
4
+ } from "./chunk-XBFOA367.mjs";
5
5
  import {
6
6
  __name
7
7
  } from "./chunk-A7FFSBE6.mjs";
@@ -599,5 +599,4 @@ var _isFunction = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (value) =
599
599
 
600
600
 
601
601
 
602
-
603
- exports.LogLevel = LogLevel; exports.LogLevelLabel = LogLevelLabel; exports.STORM_DEFAULT_DOCS = STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_HOMEPAGE = STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_LICENSING = STORM_DEFAULT_LICENSING; exports.StormConfigSchema = StormConfigSchema; exports.COLOR_KEYS = COLOR_KEYS; exports.correctPaths = correctPaths; exports.joinPaths = joinPaths; exports.findWorkspaceRoot = findWorkspaceRoot; exports.getDefaultConfig = getDefaultConfig; exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.isVerbose = isVerbose; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.writeSystem = writeSystem; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage;
602
+ exports.LogLevel = LogLevel; exports.STORM_DEFAULT_DOCS = STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_HOMEPAGE = STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_LICENSING = STORM_DEFAULT_LICENSING; exports.StormConfigSchema = StormConfigSchema; exports.COLOR_KEYS = COLOR_KEYS; exports.correctPaths = correctPaths; exports.joinPaths = joinPaths; exports.findWorkspaceRoot = findWorkspaceRoot; exports.getDefaultConfig = getDefaultConfig; exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.isVerbose = isVerbose; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.writeSystem = writeSystem; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage;
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  getInternalDependencies,
3
3
  r2UploadFile
4
- } from "./chunk-VYOULWAK.mjs";
4
+ } from "./chunk-OTQ3T47C.mjs";
5
5
  import {
6
6
  createCliOptions,
7
7
  getPackageInfo
8
8
  } from "./chunk-XU6MTFCV.mjs";
9
9
  import {
10
10
  loadStormConfig
11
- } from "./chunk-4AMWR76J.mjs";
11
+ } from "./chunk-UOZU7VQX.mjs";
12
12
  import {
13
13
  findWorkspaceRoot,
14
14
  writeDebug,
15
15
  writeInfo,
16
16
  writeSuccess,
17
17
  writeWarning
18
- } from "./chunk-NSLK6ZDO.mjs";
18
+ } from "./chunk-XBFOA367.mjs";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-A7FFSBE6.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-6RM4MALM.mjs";
3
+ } from "./chunk-O6M6COTZ.mjs";
4
4
  import {
5
5
  loadStormConfig
6
- } from "./chunk-4AMWR76J.mjs";
6
+ } from "./chunk-UOZU7VQX.mjs";
7
7
  import {
8
8
  findWorkspaceRoot,
9
9
  getStopwatch,
@@ -12,7 +12,7 @@ import {
12
12
  writeFatal,
13
13
  writeInfo,
14
14
  writeTrace
15
- } from "./chunk-NSLK6ZDO.mjs";
15
+ } from "./chunk-XBFOA367.mjs";
16
16
  import {
17
17
  __dirname,
18
18
  __name
@@ -14,7 +14,7 @@ import {
14
14
  writeSystem,
15
15
  writeTrace,
16
16
  writeWarning
17
- } from "./chunk-NSLK6ZDO.mjs";
17
+ } from "./chunk-XBFOA367.mjs";
18
18
  import {
19
19
  __name
20
20
  } from "./chunk-A7FFSBE6.mjs";
@@ -577,7 +577,6 @@ var _isFunction = /* @__PURE__ */ __name((value) => {
577
577
 
578
578
  export {
579
579
  LogLevel,
580
- LogLevelLabel,
581
580
  STORM_DEFAULT_DOCS,
582
581
  STORM_DEFAULT_HOMEPAGE,
583
582
  STORM_DEFAULT_LICENSING,
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk7VU6EPB4js = require('./chunk-7VU6EPB4.js');
3
+ var _chunkAXWOHQDNjs = require('./chunk-AXWOHQDN.js');
4
4
 
5
5
 
6
- var _chunkIUVV2SM4js = require('./chunk-IUVV2SM4.js');
6
+ var _chunk3JJSMPBTjs = require('./chunk-3JJSMPBT.js');
7
7
 
8
8
 
9
9
 
@@ -12,7 +12,7 @@ var _chunkIUVV2SM4js = require('./chunk-IUVV2SM4.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkRCE3CC76js = require('./chunk-RCE3CC76.js');
15
+ var _chunkTH4KH35Pjs = require('./chunk-TH4KH35P.js');
16
16
 
17
17
 
18
18
  var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
@@ -38,21 +38,21 @@ var vitestScript = `"test": "vitest run"`;
38
38
 
39
39
  // src/generators/worker/generator.ts
40
40
  async function applicationGenerator(tree, schema) {
41
- const stopwatch = _chunkRCE3CC76js.getStopwatch.call(void 0, "Storm Worker generator");
41
+ const stopwatch = _chunkTH4KH35Pjs.getStopwatch.call(void 0, "Storm Worker generator");
42
42
  let config;
43
43
  try {
44
- _chunkRCE3CC76js.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
44
+ _chunkTH4KH35Pjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
45
45
 
46
46
  `, config);
47
- const workspaceRoot = _chunkRCE3CC76js.findWorkspaceRoot.call(void 0, );
48
- _chunkRCE3CC76js.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.json file...
47
+ const workspaceRoot = _chunkTH4KH35Pjs.findWorkspaceRoot.call(void 0, );
48
+ _chunkTH4KH35Pjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.json file...
49
49
  - workspaceRoot: ${workspaceRoot}`, config);
50
- config = await _chunkIUVV2SM4js.loadStormConfig.call(void 0, workspaceRoot);
51
- _chunkRCE3CC76js.writeTrace.call(void 0, `Loaded Storm config into env:
50
+ config = await _chunk3JJSMPBTjs.loadStormConfig.call(void 0, workspaceRoot);
51
+ _chunkTH4KH35Pjs.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 _chunk7VU6EPB4js.generator_default.call(void 0, tree, {
55
+ tasks.push(await _chunkAXWOHQDNjs.generator_default.call(void 0, tree, {
56
56
  ...options,
57
57
  skipFormat: true
58
58
  }));
@@ -107,8 +107,8 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
107
107
  return _devkit.runTasksInSerial.call(void 0, ...tasks);
108
108
  } catch (error) {
109
109
  return () => {
110
- _chunkRCE3CC76js.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
111
- _chunkRCE3CC76js.writeError.call(void 0, `An exception was thrown in the generator's process
110
+ _chunkTH4KH35Pjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
111
+ _chunkTH4KH35Pjs.writeError.call(void 0, `An exception was thrown in the generator's process
112
112
  - Details: ${error.message}
113
113
  - Stacktrace: ${error.stack}`, config);
114
114
  };
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-ULTJPRDX.js');
4
- require('./chunk-SUASGTND.js');
5
- require('./chunk-JCB2DTP6.js');
3
+ require('./chunk-MHBXIMZJ.js');
4
+ require('./chunk-O2XVQQLQ.js');
5
+ require('./chunk-ABCBYQGV.js');
6
6
  require('./chunk-VTHBMY4B.js');
7
- require('./chunk-IUVV2SM4.js');
8
- require('./chunk-RCE3CC76.js');
7
+ require('./chunk-3JJSMPBT.js');
8
+ require('./chunk-TH4KH35P.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-T6VDL633.mjs";
4
- import "./chunk-HPCGVJ7R.mjs";
5
- import "./chunk-VYOULWAK.mjs";
3
+ import "./chunk-6PVMDNO7.mjs";
4
+ import "./chunk-TKQA6SOX.mjs";
5
+ import "./chunk-OTQ3T47C.mjs";
6
6
  import "./chunk-XU6MTFCV.mjs";
7
- import "./chunk-4AMWR76J.mjs";
8
- import "./chunk-NSLK6ZDO.mjs";
7
+ import "./chunk-UOZU7VQX.mjs";
8
+ import "./chunk-XBFOA367.mjs";
9
9
  import "./chunk-A7FFSBE6.mjs";
@@ -2,17 +2,17 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkMH545KJZjs = require('./chunk-MH545KJZ.js');
5
+ var _chunkYYQ6E55Yjs = require('./chunk-YYQ6E55Y.js');
6
6
 
7
7
 
8
8
 
9
- var _chunk7VU6EPB4js = require('./chunk-7VU6EPB4.js');
10
- require('./chunk-IUVV2SM4.js');
11
- require('./chunk-RCE3CC76.js');
9
+ var _chunkAXWOHQDNjs = require('./chunk-AXWOHQDN.js');
10
+ require('./chunk-3JJSMPBT.js');
11
+ require('./chunk-TH4KH35P.js');
12
12
  require('./chunk-J5SB6L2L.js');
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkMH545KJZjs.applicationGenerator; exports.applicationSchematic = _chunkMH545KJZjs.applicationSchematic; exports.initGenerator = _chunk7VU6EPB4js.initGenerator; exports.initSchematic = _chunk7VU6EPB4js.initSchematic;
18
+ exports.applicationGenerator = _chunkYYQ6E55Yjs.applicationGenerator; exports.applicationSchematic = _chunkYYQ6E55Yjs.applicationSchematic; exports.initGenerator = _chunkAXWOHQDNjs.initGenerator; exports.initSchematic = _chunkAXWOHQDNjs.initSchematic;
@@ -2,13 +2,13 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-4AK2RSE7.mjs";
5
+ } from "./chunk-U7RXDO26.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-6RM4MALM.mjs";
10
- import "./chunk-4AMWR76J.mjs";
11
- import "./chunk-NSLK6ZDO.mjs";
9
+ } from "./chunk-O6M6COTZ.mjs";
10
+ import "./chunk-UOZU7VQX.mjs";
11
+ import "./chunk-XBFOA367.mjs";
12
12
  import "./chunk-A7FFSBE6.mjs";
13
13
  export {
14
14
  applicationGenerator,
package/dist/index.js CHANGED
@@ -3,25 +3,25 @@ require('./chunk-DHBG5ASJ.js');
3
3
 
4
4
 
5
5
 
6
- var _chunkMH545KJZjs = require('./chunk-MH545KJZ.js');
6
+ var _chunkYYQ6E55Yjs = require('./chunk-YYQ6E55Y.js');
7
7
 
8
8
 
9
9
 
10
- var _chunk7VU6EPB4js = require('./chunk-7VU6EPB4.js');
10
+ var _chunkAXWOHQDNjs = require('./chunk-AXWOHQDN.js');
11
11
  require('./chunk-CVGPWUNP.js');
12
12
  require('./chunk-R7AIVBS7.js');
13
- require('./chunk-ULTJPRDX.js');
14
- require('./chunk-SUASGTND.js');
13
+ require('./chunk-MHBXIMZJ.js');
14
+ require('./chunk-O2XVQQLQ.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkJCB2DTP6js = require('./chunk-JCB2DTP6.js');
18
+ var _chunkABCBYQGVjs = require('./chunk-ABCBYQGV.js');
19
19
 
20
20
 
21
21
 
22
22
  var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
23
- require('./chunk-IUVV2SM4.js');
24
- require('./chunk-RCE3CC76.js');
23
+ require('./chunk-3JJSMPBT.js');
24
+ require('./chunk-TH4KH35P.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 = _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;
151
+ exports.applicationGenerator = _chunkYYQ6E55Yjs.applicationGenerator; exports.applicationSchematic = _chunkYYQ6E55Yjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkABCBYQGVjs.getInternalDependencies; exports.initGenerator = _chunkAXWOHQDNjs.initGenerator; exports.initSchematic = _chunkAXWOHQDNjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkABCBYQGVjs.r2UploadFile;
package/dist/index.mjs CHANGED
@@ -3,25 +3,25 @@ import "./chunk-3J7KBHMJ.mjs";
3
3
  import {
4
4
  applicationGenerator,
5
5
  applicationSchematic
6
- } from "./chunk-4AK2RSE7.mjs";
6
+ } from "./chunk-U7RXDO26.mjs";
7
7
  import {
8
8
  initGenerator,
9
9
  initSchematic
10
- } from "./chunk-6RM4MALM.mjs";
10
+ } from "./chunk-O6M6COTZ.mjs";
11
11
  import "./chunk-7Z5PILRU.mjs";
12
12
  import "./chunk-QEWY5YJA.mjs";
13
- import "./chunk-T6VDL633.mjs";
14
- import "./chunk-HPCGVJ7R.mjs";
13
+ import "./chunk-6PVMDNO7.mjs";
14
+ import "./chunk-TKQA6SOX.mjs";
15
15
  import {
16
16
  getInternalDependencies,
17
17
  r2UploadFile
18
- } from "./chunk-VYOULWAK.mjs";
18
+ } from "./chunk-OTQ3T47C.mjs";
19
19
  import {
20
20
  ProjectTagConstants,
21
21
  addProjectTag
22
22
  } from "./chunk-XU6MTFCV.mjs";
23
- import "./chunk-4AMWR76J.mjs";
24
- import "./chunk-NSLK6ZDO.mjs";
23
+ import "./chunk-UOZU7VQX.mjs";
24
+ import "./chunk-XBFOA367.mjs";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-A7FFSBE6.mjs";
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
  var _chunkR7AIVBS7js = require('../../../chunk-R7AIVBS7.js');
4
- require('../../../chunk-ULTJPRDX.js');
4
+ require('../../../chunk-MHBXIMZJ.js');
5
5
  require('../../../chunk-VTHBMY4B.js');
6
- require('../../../chunk-IUVV2SM4.js');
7
- require('../../../chunk-RCE3CC76.js');
6
+ require('../../../chunk-3JJSMPBT.js');
7
+ require('../../../chunk-TH4KH35P.js');
8
8
  require('../../../chunk-J5SB6L2L.js');
9
9
 
10
10
 
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  runExecutor
3
3
  } from "../../../chunk-QEWY5YJA.mjs";
4
- import "../../../chunk-T6VDL633.mjs";
4
+ import "../../../chunk-6PVMDNO7.mjs";
5
5
  import "../../../chunk-XU6MTFCV.mjs";
6
- import "../../../chunk-4AMWR76J.mjs";
7
- import "../../../chunk-NSLK6ZDO.mjs";
6
+ import "../../../chunk-UOZU7VQX.mjs";
7
+ import "../../../chunk-XBFOA367.mjs";
8
8
  import "../../../chunk-A7FFSBE6.mjs";
9
9
  export {
10
10
  runExecutor as default
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSUASGTNDjs = require('../../../chunk-SUASGTND.js');
4
- require('../../../chunk-JCB2DTP6.js');
3
+ var _chunkO2XVQQLQjs = require('../../../chunk-O2XVQQLQ.js');
4
+ require('../../../chunk-ABCBYQGV.js');
5
5
  require('../../../chunk-VTHBMY4B.js');
6
- require('../../../chunk-IUVV2SM4.js');
7
- require('../../../chunk-RCE3CC76.js');
6
+ require('../../../chunk-3JJSMPBT.js');
7
+ require('../../../chunk-TH4KH35P.js');
8
8
  require('../../../chunk-J5SB6L2L.js');
9
9
 
10
10
 
11
- exports.default = _chunkSUASGTNDjs.runExecutor;
11
+ exports.default = _chunkO2XVQQLQjs.runExecutor;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  runExecutor
3
- } from "../../../chunk-HPCGVJ7R.mjs";
4
- import "../../../chunk-VYOULWAK.mjs";
3
+ } from "../../../chunk-TKQA6SOX.mjs";
4
+ import "../../../chunk-OTQ3T47C.mjs";
5
5
  import "../../../chunk-XU6MTFCV.mjs";
6
- import "../../../chunk-4AMWR76J.mjs";
7
- import "../../../chunk-NSLK6ZDO.mjs";
6
+ import "../../../chunk-UOZU7VQX.mjs";
7
+ import "../../../chunk-XBFOA367.mjs";
8
8
  import "../../../chunk-A7FFSBE6.mjs";
9
9
  export {
10
10
  runExecutor as default
@@ -1,11 +1,11 @@
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 _chunkULTJPRDXjs = require('../../../chunk-ULTJPRDX.js');
3
+ var _chunkMHBXIMZJjs = require('../../../chunk-MHBXIMZJ.js');
4
4
 
5
5
 
6
6
  var _chunkVTHBMY4Bjs = require('../../../chunk-VTHBMY4B.js');
7
- require('../../../chunk-IUVV2SM4.js');
8
- require('../../../chunk-RCE3CC76.js');
7
+ require('../../../chunk-3JJSMPBT.js');
8
+ require('../../../chunk-TH4KH35P.js');
9
9
 
10
10
 
11
11
 
@@ -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 = _chunkULTJPRDXjs.withRunExecutor.call(void 0, "Cloudflare Serve executor", serveExecutor, {
63
+ var executor_default = _chunkMHBXIMZJjs.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,11 +1,11 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "../../../chunk-T6VDL633.mjs";
3
+ } from "../../../chunk-6PVMDNO7.mjs";
4
4
  import {
5
5
  createCliOptions
6
6
  } from "../../../chunk-XU6MTFCV.mjs";
7
- import "../../../chunk-4AMWR76J.mjs";
8
- import "../../../chunk-NSLK6ZDO.mjs";
7
+ import "../../../chunk-UOZU7VQX.mjs";
8
+ import "../../../chunk-XBFOA367.mjs";
9
9
  import {
10
10
  __name,
11
11
  __require
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk7VU6EPB4js = require('../../../chunk-7VU6EPB4.js');
5
+ var _chunkAXWOHQDNjs = require('../../../chunk-AXWOHQDN.js');
6
6
  require('../../../chunk-J5SB6L2L.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunk7VU6EPB4js.generator_default; exports.initGenerator = _chunk7VU6EPB4js.initGenerator; exports.initSchematic = _chunk7VU6EPB4js.initSchematic;
11
+ exports.default = _chunkAXWOHQDNjs.generator_default; exports.initGenerator = _chunkAXWOHQDNjs.initGenerator; exports.initSchematic = _chunkAXWOHQDNjs.initSchematic;
@@ -2,7 +2,7 @@ import {
2
2
  generator_default,
3
3
  initGenerator,
4
4
  initSchematic
5
- } from "../../../chunk-6RM4MALM.mjs";
5
+ } from "../../../chunk-O6M6COTZ.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 _chunkMH545KJZjs = require('../../../chunk-MH545KJZ.js');
6
- require('../../../chunk-7VU6EPB4.js');
7
- require('../../../chunk-IUVV2SM4.js');
8
- require('../../../chunk-RCE3CC76.js');
5
+ var _chunkYYQ6E55Yjs = require('../../../chunk-YYQ6E55Y.js');
6
+ require('../../../chunk-AXWOHQDN.js');
7
+ require('../../../chunk-3JJSMPBT.js');
8
+ require('../../../chunk-TH4KH35P.js');
9
9
  require('../../../chunk-J5SB6L2L.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.applicationGenerator = _chunkMH545KJZjs.applicationGenerator; exports.applicationSchematic = _chunkMH545KJZjs.applicationSchematic; exports.default = _chunkMH545KJZjs.generator_default;
14
+ exports.applicationGenerator = _chunkYYQ6E55Yjs.applicationGenerator; exports.applicationSchematic = _chunkYYQ6E55Yjs.applicationSchematic; exports.default = _chunkYYQ6E55Yjs.generator_default;
@@ -2,10 +2,10 @@ import {
2
2
  applicationGenerator,
3
3
  applicationSchematic,
4
4
  generator_default
5
- } from "../../../chunk-4AK2RSE7.mjs";
6
- import "../../../chunk-6RM4MALM.mjs";
7
- import "../../../chunk-4AMWR76J.mjs";
8
- import "../../../chunk-NSLK6ZDO.mjs";
5
+ } from "../../../chunk-U7RXDO26.mjs";
6
+ import "../../../chunk-O6M6COTZ.mjs";
7
+ import "../../../chunk-UOZU7VQX.mjs";
8
+ import "../../../chunk-XBFOA367.mjs";
9
9
  import "../../../chunk-A7FFSBE6.mjs";
10
10
  export {
11
11
  applicationGenerator,
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJCB2DTP6js = require('../../chunk-JCB2DTP6.js');
6
- require('../../chunk-RCE3CC76.js');
5
+ var _chunkABCBYQGVjs = require('../../chunk-ABCBYQGV.js');
6
+ require('../../chunk-TH4KH35P.js');
7
7
  require('../../chunk-J5SB6L2L.js');
8
8
 
9
9
 
10
10
 
11
- exports.getInternalDependencies = _chunkJCB2DTP6js.getInternalDependencies; exports.r2UploadFile = _chunkJCB2DTP6js.r2UploadFile;
11
+ exports.getInternalDependencies = _chunkABCBYQGVjs.getInternalDependencies; exports.r2UploadFile = _chunkABCBYQGVjs.r2UploadFile;
@@ -2,8 +2,8 @@ import "../../chunk-7Z5PILRU.mjs";
2
2
  import {
3
3
  getInternalDependencies,
4
4
  r2UploadFile
5
- } from "../../chunk-VYOULWAK.mjs";
6
- import "../../chunk-NSLK6ZDO.mjs";
5
+ } from "../../chunk-OTQ3T47C.mjs";
6
+ import "../../chunk-XBFOA367.mjs";
7
7
  import "../../chunk-A7FFSBE6.mjs";
8
8
  export {
9
9
  getInternalDependencies,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkJCB2DTP6js = require('../../chunk-JCB2DTP6.js');
5
- require('../../chunk-RCE3CC76.js');
4
+ var _chunkABCBYQGVjs = require('../../chunk-ABCBYQGV.js');
5
+ require('../../chunk-TH4KH35P.js');
6
6
  require('../../chunk-J5SB6L2L.js');
7
7
 
8
8
 
9
9
 
10
- exports.getInternalDependencies = _chunkJCB2DTP6js.getInternalDependencies; exports.r2UploadFile = _chunkJCB2DTP6js.r2UploadFile;
10
+ exports.getInternalDependencies = _chunkABCBYQGVjs.getInternalDependencies; exports.r2UploadFile = _chunkABCBYQGVjs.r2UploadFile;