@storm-software/cloudflare-tools 0.63.18 → 0.63.19

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-OL65RB72.js → chunk-46LEVY35.js} +48 -44
  4. package/dist/{chunk-SQUJ3SXL.js → chunk-5ENKRUAU.js} +1 -0
  5. package/dist/{chunk-2D6E5WHF.mjs → chunk-5KEH5BI5.mjs} +2 -2
  6. package/dist/{chunk-2HJQOPBD.js → chunk-DTL2T3BP.js} +3 -3
  7. package/dist/{chunk-MEMSFPH7.js → chunk-DYQ42QFV.js} +1 -1
  8. package/dist/{chunk-GOL5LHR6.mjs → chunk-E2ZPWAPC.mjs} +1 -0
  9. package/dist/{chunk-5M3ADTI2.mjs → chunk-EPBMBQ4K.mjs} +3 -3
  10. package/dist/{chunk-6XLZW53F.js → chunk-HKXGZZ4U.js} +117 -117
  11. package/dist/{chunk-Z3BGN32E.mjs → chunk-IGTOBMTJ.mjs} +1 -1
  12. package/dist/{chunk-7H2K6PT4.mjs → chunk-IPQFZI7C.mjs} +6 -2
  13. package/dist/{chunk-BCGXRI3A.js → chunk-PZBFJHOU.js} +12 -12
  14. package/dist/{chunk-R6VL7HNO.mjs → chunk-S7ELPJ4M.mjs} +3 -3
  15. package/dist/{chunk-JHXH6ZN3.mjs → chunk-SJE3AZ5R.mjs} +1 -1
  16. package/dist/{chunk-Q6WFFOSW.js → chunk-VI7OHBFH.js} +16 -16
  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
@@ -7,7 +7,7 @@ var require_package = __commonJS({
7
7
  "package.json"(exports, module) {
8
8
  module.exports = {
9
9
  name: "@storm-software/cloudflare-tools",
10
- version: "0.63.17",
10
+ version: "0.63.18",
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",
@@ -15,7 +15,7 @@ import {
15
15
  stormWorkspaceConfigSchema,
16
16
  writeTrace,
17
17
  writeWarning
18
- } from "./chunk-GOL5LHR6.mjs";
18
+ } from "./chunk-E2ZPWAPC.mjs";
19
19
 
20
20
  // ../config-tools/src/create-storm-config.ts
21
21
  import defu2 from "defu";
@@ -144,6 +144,7 @@ var getConfigEnv = () => {
144
144
  license: process.env[`${prefix}LICENSE`] || void 0,
145
145
  homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
146
146
  docs: process.env[`${prefix}DOCS`] || void 0,
147
+ portal: process.env[`${prefix}PORTAL`] || void 0,
147
148
  licensing: process.env[`${prefix}LICENSING`] || void 0,
148
149
  contact: process.env[`${prefix}CONTACT`] || void 0,
149
150
  support: process.env[`${prefix}SUPPORT`] || void 0,
@@ -359,6 +360,9 @@ var setConfigEnv = (config) => {
359
360
  if (config.docs) {
360
361
  process.env[`${prefix}DOCS`] = config.docs;
361
362
  }
363
+ if (config.portal) {
364
+ process.env[`${prefix}PORTAL`] = config.portal;
365
+ }
362
366
  if (config.licensing) {
363
367
  process.env[`${prefix}LICENSING`] = config.licensing;
364
368
  }
@@ -674,7 +678,7 @@ ${formatLogMessage(config)}`,
674
678
  var getConfig = (workspaceRoot, skipLogs = false) => {
675
679
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
676
680
  };
677
- var getWorkspaceConfig = (skipLogs = false, options = {}) => {
681
+ var getWorkspaceConfig = (skipLogs = true, options = {}) => {
678
682
  let workspaceRoot = options.workspaceRoot;
679
683
  if (!workspaceRoot) {
680
684
  workspaceRoot = findWorkspaceRoot(options.cwd);
@@ -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 _chunkMEMSFPH7js = require('./chunk-MEMSFPH7.js');
3
+ var _chunkDYQ42QFVjs = require('./chunk-DYQ42QFV.js');
4
4
 
5
5
 
6
- var _chunkOL65RB72js = require('./chunk-OL65RB72.js');
6
+ var _chunk46LEVY35js = require('./chunk-46LEVY35.js');
7
7
 
8
8
 
9
9
 
@@ -12,7 +12,7 @@ var _chunkOL65RB72js = require('./chunk-OL65RB72.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkSQUJ3SXLjs = require('./chunk-SQUJ3SXL.js');
15
+ var _chunk5ENKRUAUjs = require('./chunk-5ENKRUAU.js');
16
16
 
17
17
  // src/generators/worker/generator.ts
18
18
 
@@ -45,20 +45,20 @@ var vitestScript = `"test": "vitest run"`;
45
45
 
46
46
  // src/generators/worker/generator.ts
47
47
  async function applicationGenerator(tree, schema) {
48
- const stopwatch = _chunkSQUJ3SXLjs.getStopwatch.call(void 0, "Storm Worker generator");
48
+ const stopwatch = _chunk5ENKRUAUjs.getStopwatch.call(void 0, "Storm Worker generator");
49
49
  let config;
50
50
  try {
51
- _chunkSQUJ3SXLjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
51
+ _chunk5ENKRUAUjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
52
52
 
53
53
  `, config);
54
- const workspaceRoot = _chunkSQUJ3SXLjs.findWorkspaceRoot.call(void 0, );
55
- _chunkSQUJ3SXLjs.writeDebug.call(void 0,
54
+ const workspaceRoot = _chunk5ENKRUAUjs.findWorkspaceRoot.call(void 0, );
55
+ _chunk5ENKRUAUjs.writeDebug.call(void 0,
56
56
  `Loading the Storm Config from environment variables and storm.json file...
57
57
  - workspaceRoot: ${workspaceRoot}`,
58
58
  config
59
59
  );
60
- config = await _chunkOL65RB72js.getConfig.call(void 0, workspaceRoot);
61
- _chunkSQUJ3SXLjs.writeTrace.call(void 0,
60
+ config = await _chunk46LEVY35js.getConfig.call(void 0, workspaceRoot);
61
+ _chunk5ENKRUAUjs.writeTrace.call(void 0,
62
62
  `Loaded Storm config into env:
63
63
  ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`,
64
64
  config
@@ -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 _chunkMEMSFPH7js.generator_default.call(void 0, tree, {
69
+ await _chunkDYQ42QFVjs.generator_default.call(void 0, tree, {
70
70
  ...options,
71
71
  skipFormat: true
72
72
  })
@@ -134,11 +134,11 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
134
134
  return _devkit.runTasksInSerial.call(void 0, ...tasks);
135
135
  } catch (error) {
136
136
  return () => {
137
- _chunkSQUJ3SXLjs.writeFatal.call(void 0,
137
+ _chunk5ENKRUAUjs.writeFatal.call(void 0,
138
138
  "A fatal error occurred while running the generator - the process was forced to terminate",
139
139
  config
140
140
  );
141
- _chunkSQUJ3SXLjs.writeError.call(void 0,
141
+ _chunk5ENKRUAUjs.writeError.call(void 0,
142
142
  `An exception was thrown in the generator's process
143
143
  - Details: ${error.message}
144
144
  - Stacktrace: ${error.stack}`,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-Z3BGN32E.mjs";
3
+ } from "./chunk-IGTOBMTJ.mjs";
4
4
  import {
5
5
  getConfig
6
- } from "./chunk-7H2K6PT4.mjs";
6
+ } from "./chunk-IPQFZI7C.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-GOL5LHR6.mjs";
15
+ } from "./chunk-E2ZPWAPC.mjs";
16
16
  import {
17
17
  __dirname
18
18
  } from "./chunk-CLLH7VQR.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeWarning
4
- } from "./chunk-GOL5LHR6.mjs";
4
+ } from "./chunk-E2ZPWAPC.mjs";
5
5
 
6
6
  // src/utils/r2-bucket-helpers.ts
7
7
  import { createHash } from "node:crypto";
@@ -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 _chunk2HJQOPBDjs = require('./chunk-2HJQOPBD.js');
4
+ var _chunkDTL2T3BPjs = require('./chunk-DTL2T3BP.js');
5
5
 
6
6
 
7
7
 
8
8
  var _chunkKTFMIXUNjs = require('./chunk-KTFMIXUN.js');
9
9
 
10
10
 
11
- var _chunkOL65RB72js = require('./chunk-OL65RB72.js');
11
+ var _chunk46LEVY35js = require('./chunk-46LEVY35.js');
12
12
 
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- var _chunkSQUJ3SXLjs = require('./chunk-SQUJ3SXL.js');
18
+ var _chunk5ENKRUAUjs = require('./chunk-5ENKRUAU.js');
19
19
 
20
20
  // src/executors/r2-upload-publish/executor.ts
21
21
  var _clients3 = require('@aws-sdk/client-s3');
@@ -39,8 +39,8 @@ async function runExecutor(options, context) {
39
39
  throw new Error("The executor requires projectsConfigurations.");
40
40
  }
41
41
  try {
42
- const workspaceRoot = _chunkSQUJ3SXLjs.findWorkspaceRoot.call(void 0, );
43
- const config = await _chunkOL65RB72js.getConfig.call(void 0, workspaceRoot);
42
+ const workspaceRoot = _chunk5ENKRUAUjs.findWorkspaceRoot.call(void 0, );
43
+ const config = await _chunk46LEVY35js.getConfig.call(void 0, workspaceRoot);
44
44
  const sourceRoot = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.sourceRoot]), () => ( workspaceRoot));
45
45
  const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
46
46
  const projectDetails = _chunkKTFMIXUNjs.getPackageInfo.call(void 0,
@@ -79,7 +79,7 @@ async function runExecutor(options, context) {
79
79
  "The executor failed because the project graph is not available. Please run the build command again."
80
80
  );
81
81
  }
82
- _chunkSQUJ3SXLjs.writeInfo.call(void 0,
82
+ _chunk5ENKRUAUjs.writeInfo.call(void 0,
83
83
  `Publishing ${context.projectName} to the Storm Registry at ${endpoint}`
84
84
  );
85
85
  const s3Client = new (0, _clients3.S3)({
@@ -91,12 +91,12 @@ async function runExecutor(options, context) {
91
91
  }
92
92
  });
93
93
  const version = _optionalChain([projectDetails, 'access', _18 => _18.content, 'optionalAccess', _19 => _19.version]);
94
- _chunkSQUJ3SXLjs.writeInfo.call(void 0, `Generated component version: ${version}`);
94
+ _chunk5ENKRUAUjs.writeInfo.call(void 0, `Generated component version: ${version}`);
95
95
  const files = await _glob.glob.call(void 0, _devkit.joinPathFragments.call(void 0, sourceRoot, "**/*"), {
96
96
  ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
97
97
  });
98
98
  const projectPath = `registry/${context.projectName}`;
99
- const internalDependencies = await _chunk2HJQOPBDjs.getInternalDependencies.call(void 0,
99
+ const internalDependencies = await _chunkDTL2T3BPjs.getInternalDependencies.call(void 0,
100
100
  context.projectName,
101
101
  projectGraph
102
102
  );
@@ -109,14 +109,14 @@ async function runExecutor(options, context) {
109
109
  return ret;
110
110
  }, _nullishCoalesce(projectDetails.content.dependencies, () => ( {})));
111
111
  const release = _nullishCoalesce(options.tag, () => ( _child_process.execSync.call(void 0, "npm config get tag").toString().trim()));
112
- _chunkSQUJ3SXLjs.writeInfo.call(void 0, `Clearing out existing items in ${projectPath}`);
112
+ _chunk5ENKRUAUjs.writeInfo.call(void 0, `Clearing out existing items in ${projectPath}`);
113
113
  if (!isDryRun) {
114
114
  const response = await s3Client.listObjects({
115
115
  Bucket: options.bucketId,
116
116
  Prefix: projectPath
117
117
  });
118
118
  if (_optionalChain([response, 'optionalAccess', _20 => _20.Contents]) && response.Contents.length > 0) {
119
- _chunkSQUJ3SXLjs.writeDebug.call(void 0,
119
+ _chunk5ENKRUAUjs.writeDebug.call(void 0,
120
120
  `Deleting the following existing items from the component registry: ${response.Contents.map((item) => item.Key).join(", ")}`
121
121
  );
122
122
  await Promise.all(
@@ -135,12 +135,12 @@ async function runExecutor(options, context) {
135
135
  )
136
136
  );
137
137
  } else {
138
- _chunkSQUJ3SXLjs.writeDebug.call(void 0,
138
+ _chunk5ENKRUAUjs.writeDebug.call(void 0,
139
139
  `No existing items to delete in the component registry path ${projectPath}`
140
140
  );
141
141
  }
142
142
  } else {
143
- _chunkSQUJ3SXLjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
143
+ _chunk5ENKRUAUjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
144
144
  }
145
145
  const meta = {
146
146
  name: context.projectName,
@@ -158,9 +158,9 @@ async function runExecutor(options, context) {
158
158
  meta.devDependencies = projectDetails.content.devDependencies;
159
159
  }
160
160
  const metaJson = JSON.stringify(meta);
161
- _chunkSQUJ3SXLjs.writeInfo.call(void 0, `Generating meta.json file:
161
+ _chunk5ENKRUAUjs.writeInfo.call(void 0, `Generating meta.json file:
162
162
  ${metaJson}`);
163
- await _chunk2HJQOPBDjs.r2UploadFile.call(void 0,
163
+ await _chunkDTL2T3BPjs.r2UploadFile.call(void 0,
164
164
  s3Client,
165
165
  options.bucketId,
166
166
  projectPath,
@@ -174,7 +174,7 @@ ${metaJson}`);
174
174
  files.map((file) => {
175
175
  const fileName = file.replaceAll("\\", "/").replace(sourceRoot.replaceAll("\\", "/"), "");
176
176
  return _promises.readFile.call(void 0, file, { encoding: "utf8" }).then(
177
- (fileContent) => _chunk2HJQOPBDjs.r2UploadFile.call(void 0,
177
+ (fileContent) => _chunkDTL2T3BPjs.r2UploadFile.call(void 0,
178
178
  s3Client,
179
179
  options.bucketId,
180
180
  projectPath,
@@ -187,7 +187,7 @@ ${metaJson}`);
187
187
  );
188
188
  })
189
189
  );
190
- _chunkSQUJ3SXLjs.writeSuccess.call(void 0,
190
+ _chunk5ENKRUAUjs.writeSuccess.call(void 0,
191
191
  `Successfully uploaded the ${projectName} component to the Cyclone Registry`,
192
192
  config
193
193
  );
package/dist/executors.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
2
  require('./chunk-T2OGA6MB.js');
3
- require('./chunk-6XLZW53F.js');
4
- require('./chunk-Q6WFFOSW.js');
5
- require('./chunk-2HJQOPBD.js');
3
+ require('./chunk-HKXGZZ4U.js');
4
+ require('./chunk-VI7OHBFH.js');
5
+ require('./chunk-DTL2T3BP.js');
6
6
  require('./chunk-KTFMIXUN.js');
7
- require('./chunk-OL65RB72.js');
8
- require('./chunk-SQUJ3SXL.js');
7
+ require('./chunk-46LEVY35.js');
8
+ require('./chunk-5ENKRUAU.js');
9
9
  require('./chunk-MCKGQKYU.js');
@@ -1,9 +1,9 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
2
  import "./chunk-4HGNUVBV.mjs";
3
- import "./chunk-2D6E5WHF.mjs";
4
- import "./chunk-5M3ADTI2.mjs";
5
- import "./chunk-JHXH6ZN3.mjs";
3
+ import "./chunk-5KEH5BI5.mjs";
4
+ import "./chunk-EPBMBQ4K.mjs";
5
+ import "./chunk-SJE3AZ5R.mjs";
6
6
  import "./chunk-RH2IXKSC.mjs";
7
- import "./chunk-7H2K6PT4.mjs";
8
- import "./chunk-GOL5LHR6.mjs";
7
+ import "./chunk-IPQFZI7C.mjs";
8
+ import "./chunk-E2ZPWAPC.mjs";
9
9
  import "./chunk-CLLH7VQR.mjs";
@@ -2,17 +2,17 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkBCGXRI3Ajs = require('./chunk-BCGXRI3A.js');
5
+ var _chunkPZBFJHOUjs = require('./chunk-PZBFJHOU.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkMEMSFPH7js = require('./chunk-MEMSFPH7.js');
10
- require('./chunk-OL65RB72.js');
11
- require('./chunk-SQUJ3SXL.js');
9
+ var _chunkDYQ42QFVjs = require('./chunk-DYQ42QFV.js');
10
+ require('./chunk-46LEVY35.js');
11
+ require('./chunk-5ENKRUAU.js');
12
12
  require('./chunk-MCKGQKYU.js');
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkBCGXRI3Ajs.applicationGenerator; exports.applicationSchematic = _chunkBCGXRI3Ajs.applicationSchematic; exports.initGenerator = _chunkMEMSFPH7js.initGenerator; exports.initSchematic = _chunkMEMSFPH7js.initSchematic;
18
+ exports.applicationGenerator = _chunkPZBFJHOUjs.applicationGenerator; exports.applicationSchematic = _chunkPZBFJHOUjs.applicationSchematic; exports.initGenerator = _chunkDYQ42QFVjs.initGenerator; exports.initSchematic = _chunkDYQ42QFVjs.initSchematic;
@@ -2,13 +2,13 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-R6VL7HNO.mjs";
5
+ } from "./chunk-S7ELPJ4M.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-Z3BGN32E.mjs";
10
- import "./chunk-7H2K6PT4.mjs";
11
- import "./chunk-GOL5LHR6.mjs";
9
+ } from "./chunk-IGTOBMTJ.mjs";
10
+ import "./chunk-IPQFZI7C.mjs";
11
+ import "./chunk-E2ZPWAPC.mjs";
12
12
  import "./chunk-CLLH7VQR.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 _chunkBCGXRI3Ajs = require('./chunk-BCGXRI3A.js');
6
+ var _chunkPZBFJHOUjs = require('./chunk-PZBFJHOU.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkMEMSFPH7js = require('./chunk-MEMSFPH7.js');
10
+ var _chunkDYQ42QFVjs = require('./chunk-DYQ42QFV.js');
11
11
  require('./chunk-CVGPWUNP.js');
12
12
  require('./chunk-T2OGA6MB.js');
13
- require('./chunk-6XLZW53F.js');
14
- require('./chunk-Q6WFFOSW.js');
13
+ require('./chunk-HKXGZZ4U.js');
14
+ require('./chunk-VI7OHBFH.js');
15
15
 
16
16
 
17
17
 
18
- var _chunk2HJQOPBDjs = require('./chunk-2HJQOPBD.js');
18
+ var _chunkDTL2T3BPjs = require('./chunk-DTL2T3BP.js');
19
19
 
20
20
 
21
21
 
22
22
  var _chunkKTFMIXUNjs = require('./chunk-KTFMIXUN.js');
23
- require('./chunk-OL65RB72.js');
24
- require('./chunk-SQUJ3SXL.js');
23
+ require('./chunk-46LEVY35.js');
24
+ require('./chunk-5ENKRUAU.js');
25
25
  require('./chunk-MCKGQKYU.js');
26
26
 
27
27
  // src/plugins/index.ts
@@ -162,4 +162,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
162
162
 
163
163
 
164
164
 
165
- exports.applicationGenerator = _chunkBCGXRI3Ajs.applicationGenerator; exports.applicationSchematic = _chunkBCGXRI3Ajs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunk2HJQOPBDjs.getInternalDependencies; exports.initGenerator = _chunkMEMSFPH7js.initGenerator; exports.initSchematic = _chunkMEMSFPH7js.initSchematic; exports.name = name; exports.r2UploadFile = _chunk2HJQOPBDjs.r2UploadFile;
165
+ exports.applicationGenerator = _chunkPZBFJHOUjs.applicationGenerator; exports.applicationSchematic = _chunkPZBFJHOUjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkDTL2T3BPjs.getInternalDependencies; exports.initGenerator = _chunkDYQ42QFVjs.initGenerator; exports.initSchematic = _chunkDYQ42QFVjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkDTL2T3BPjs.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-R6VL7HNO.mjs";
6
+ } from "./chunk-S7ELPJ4M.mjs";
7
7
  import {
8
8
  initGenerator,
9
9
  initSchematic
10
- } from "./chunk-Z3BGN32E.mjs";
10
+ } from "./chunk-IGTOBMTJ.mjs";
11
11
  import "./chunk-7Z5PILRU.mjs";
12
12
  import "./chunk-4HGNUVBV.mjs";
13
- import "./chunk-2D6E5WHF.mjs";
14
- import "./chunk-5M3ADTI2.mjs";
13
+ import "./chunk-5KEH5BI5.mjs";
14
+ import "./chunk-EPBMBQ4K.mjs";
15
15
  import {
16
16
  getInternalDependencies,
17
17
  r2UploadFile
18
- } from "./chunk-JHXH6ZN3.mjs";
18
+ } from "./chunk-SJE3AZ5R.mjs";
19
19
  import {
20
20
  ProjectTagConstants,
21
21
  addProjectTag
22
22
  } from "./chunk-RH2IXKSC.mjs";
23
- import "./chunk-7H2K6PT4.mjs";
24
- import "./chunk-GOL5LHR6.mjs";
23
+ import "./chunk-IPQFZI7C.mjs";
24
+ import "./chunk-E2ZPWAPC.mjs";
25
25
  import "./chunk-CLLH7VQR.mjs";
26
26
 
27
27
  // src/plugins/index.ts
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
  var _chunkT2OGA6MBjs = require('../../../chunk-T2OGA6MB.js');
4
- require('../../../chunk-6XLZW53F.js');
4
+ require('../../../chunk-HKXGZZ4U.js');
5
5
  require('../../../chunk-KTFMIXUN.js');
6
- require('../../../chunk-OL65RB72.js');
7
- require('../../../chunk-SQUJ3SXL.js');
6
+ require('../../../chunk-46LEVY35.js');
7
+ require('../../../chunk-5ENKRUAU.js');
8
8
  require('../../../chunk-MCKGQKYU.js');
9
9
 
10
10
 
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  runExecutor
3
3
  } from "../../../chunk-4HGNUVBV.mjs";
4
- import "../../../chunk-2D6E5WHF.mjs";
4
+ import "../../../chunk-5KEH5BI5.mjs";
5
5
  import "../../../chunk-RH2IXKSC.mjs";
6
- import "../../../chunk-7H2K6PT4.mjs";
7
- import "../../../chunk-GOL5LHR6.mjs";
6
+ import "../../../chunk-IPQFZI7C.mjs";
7
+ import "../../../chunk-E2ZPWAPC.mjs";
8
8
  import "../../../chunk-CLLH7VQR.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 _chunkQ6WFFOSWjs = require('../../../chunk-Q6WFFOSW.js');
4
- require('../../../chunk-2HJQOPBD.js');
3
+ var _chunkVI7OHBFHjs = require('../../../chunk-VI7OHBFH.js');
4
+ require('../../../chunk-DTL2T3BP.js');
5
5
  require('../../../chunk-KTFMIXUN.js');
6
- require('../../../chunk-OL65RB72.js');
7
- require('../../../chunk-SQUJ3SXL.js');
6
+ require('../../../chunk-46LEVY35.js');
7
+ require('../../../chunk-5ENKRUAU.js');
8
8
  require('../../../chunk-MCKGQKYU.js');
9
9
 
10
10
 
11
- exports.default = _chunkQ6WFFOSWjs.runExecutor;
11
+ exports.default = _chunkVI7OHBFHjs.runExecutor;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  runExecutor
3
- } from "../../../chunk-5M3ADTI2.mjs";
4
- import "../../../chunk-JHXH6ZN3.mjs";
3
+ } from "../../../chunk-EPBMBQ4K.mjs";
4
+ import "../../../chunk-SJE3AZ5R.mjs";
5
5
  import "../../../chunk-RH2IXKSC.mjs";
6
- import "../../../chunk-7H2K6PT4.mjs";
7
- import "../../../chunk-GOL5LHR6.mjs";
6
+ import "../../../chunk-IPQFZI7C.mjs";
7
+ import "../../../chunk-E2ZPWAPC.mjs";
8
8
  import "../../../chunk-CLLH7VQR.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 _chunk6XLZW53Fjs = require('../../../chunk-6XLZW53F.js');
3
+ var _chunkHKXGZZ4Ujs = require('../../../chunk-HKXGZZ4U.js');
4
4
 
5
5
 
6
6
  var _chunkKTFMIXUNjs = require('../../../chunk-KTFMIXUN.js');
7
- require('../../../chunk-OL65RB72.js');
8
- require('../../../chunk-SQUJ3SXL.js');
7
+ require('../../../chunk-46LEVY35.js');
8
+ require('../../../chunk-5ENKRUAU.js');
9
9
 
10
10
 
11
11
  var _chunkMCKGQKYUjs = require('../../../chunk-MCKGQKYU.js');
@@ -55,7 +55,7 @@ async function* serveExecutor(options, context, config) {
55
55
  success: true
56
56
  };
57
57
  }
58
- var executor_default = _chunk6XLZW53Fjs.withRunExecutor.call(void 0,
58
+ var executor_default = _chunkHKXGZZ4Ujs.withRunExecutor.call(void 0,
59
59
  "Cloudflare Serve executor",
60
60
  serveExecutor,
61
61
  {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "../../../chunk-2D6E5WHF.mjs";
3
+ } from "../../../chunk-5KEH5BI5.mjs";
4
4
  import {
5
5
  createCliOptions
6
6
  } from "../../../chunk-RH2IXKSC.mjs";
7
- import "../../../chunk-7H2K6PT4.mjs";
8
- import "../../../chunk-GOL5LHR6.mjs";
7
+ import "../../../chunk-IPQFZI7C.mjs";
8
+ import "../../../chunk-E2ZPWAPC.mjs";
9
9
  import {
10
10
  __require
11
11
  } from "../../../chunk-CLLH7VQR.mjs";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkMEMSFPH7js = require('../../../chunk-MEMSFPH7.js');
5
+ var _chunkDYQ42QFVjs = require('../../../chunk-DYQ42QFV.js');
6
6
  require('../../../chunk-MCKGQKYU.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunkMEMSFPH7js.generator_default; exports.initGenerator = _chunkMEMSFPH7js.initGenerator; exports.initSchematic = _chunkMEMSFPH7js.initSchematic;
11
+ exports.default = _chunkDYQ42QFVjs.generator_default; exports.initGenerator = _chunkDYQ42QFVjs.initGenerator; exports.initSchematic = _chunkDYQ42QFVjs.initSchematic;
@@ -2,7 +2,7 @@ import {
2
2
  generator_default,
3
3
  initGenerator,
4
4
  initSchematic
5
- } from "../../../chunk-Z3BGN32E.mjs";
5
+ } from "../../../chunk-IGTOBMTJ.mjs";
6
6
  import "../../../chunk-CLLH7VQR.mjs";
7
7
  export {
8
8
  generator_default as default,
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkBCGXRI3Ajs = require('../../../chunk-BCGXRI3A.js');
6
- require('../../../chunk-MEMSFPH7.js');
7
- require('../../../chunk-OL65RB72.js');
8
- require('../../../chunk-SQUJ3SXL.js');
5
+ var _chunkPZBFJHOUjs = require('../../../chunk-PZBFJHOU.js');
6
+ require('../../../chunk-DYQ42QFV.js');
7
+ require('../../../chunk-46LEVY35.js');
8
+ require('../../../chunk-5ENKRUAU.js');
9
9
  require('../../../chunk-MCKGQKYU.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.applicationGenerator = _chunkBCGXRI3Ajs.applicationGenerator; exports.applicationSchematic = _chunkBCGXRI3Ajs.applicationSchematic; exports.default = _chunkBCGXRI3Ajs.generator_default;
14
+ exports.applicationGenerator = _chunkPZBFJHOUjs.applicationGenerator; exports.applicationSchematic = _chunkPZBFJHOUjs.applicationSchematic; exports.default = _chunkPZBFJHOUjs.generator_default;
@@ -2,10 +2,10 @@ import {
2
2
  applicationGenerator,
3
3
  applicationSchematic,
4
4
  generator_default
5
- } from "../../../chunk-R6VL7HNO.mjs";
6
- import "../../../chunk-Z3BGN32E.mjs";
7
- import "../../../chunk-7H2K6PT4.mjs";
8
- import "../../../chunk-GOL5LHR6.mjs";
5
+ } from "../../../chunk-S7ELPJ4M.mjs";
6
+ import "../../../chunk-IGTOBMTJ.mjs";
7
+ import "../../../chunk-IPQFZI7C.mjs";
8
+ import "../../../chunk-E2ZPWAPC.mjs";
9
9
  import "../../../chunk-CLLH7VQR.mjs";
10
10
  export {
11
11
  applicationGenerator,
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk2HJQOPBDjs = require('../../chunk-2HJQOPBD.js');
6
- require('../../chunk-SQUJ3SXL.js');
5
+ var _chunkDTL2T3BPjs = require('../../chunk-DTL2T3BP.js');
6
+ require('../../chunk-5ENKRUAU.js');
7
7
  require('../../chunk-MCKGQKYU.js');
8
8
 
9
9
 
10
10
 
11
- exports.getInternalDependencies = _chunk2HJQOPBDjs.getInternalDependencies; exports.r2UploadFile = _chunk2HJQOPBDjs.r2UploadFile;
11
+ exports.getInternalDependencies = _chunkDTL2T3BPjs.getInternalDependencies; exports.r2UploadFile = _chunkDTL2T3BPjs.r2UploadFile;
@@ -2,8 +2,8 @@ import "../../chunk-7Z5PILRU.mjs";
2
2
  import {
3
3
  getInternalDependencies,
4
4
  r2UploadFile
5
- } from "../../chunk-JHXH6ZN3.mjs";
6
- import "../../chunk-GOL5LHR6.mjs";
5
+ } from "../../chunk-SJE3AZ5R.mjs";
6
+ import "../../chunk-E2ZPWAPC.mjs";
7
7
  import "../../chunk-CLLH7VQR.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 _chunk2HJQOPBDjs = require('../../chunk-2HJQOPBD.js');
5
- require('../../chunk-SQUJ3SXL.js');
4
+ var _chunkDTL2T3BPjs = require('../../chunk-DTL2T3BP.js');
5
+ require('../../chunk-5ENKRUAU.js');
6
6
  require('../../chunk-MCKGQKYU.js');
7
7
 
8
8
 
9
9
 
10
- exports.getInternalDependencies = _chunk2HJQOPBDjs.getInternalDependencies; exports.r2UploadFile = _chunk2HJQOPBDjs.r2UploadFile;
10
+ exports.getInternalDependencies = _chunkDTL2T3BPjs.getInternalDependencies; exports.r2UploadFile = _chunkDTL2T3BPjs.r2UploadFile;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getInternalDependencies,
3
3
  r2UploadFile
4
- } from "../../chunk-JHXH6ZN3.mjs";
5
- import "../../chunk-GOL5LHR6.mjs";
4
+ } from "../../chunk-SJE3AZ5R.mjs";
5
+ import "../../chunk-E2ZPWAPC.mjs";
6
6
  import "../../chunk-CLLH7VQR.mjs";
7
7
  export {
8
8
  getInternalDependencies,