@storm-software/cloudflare-tools 0.71.130 → 0.71.131

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 (41) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-EF5HODET.mjs → chunk-3ALYECD7.mjs} +1 -1
  4. package/dist/{chunk-ZDABHOZ2.mjs → chunk-76TM4A24.mjs} +17 -28
  5. package/dist/{chunk-AUZL2N67.mjs → chunk-AIE6CJKD.mjs} +3 -3
  6. package/dist/{chunk-FKBCEMBX.js → chunk-C45TN2ET.js} +18 -18
  7. package/dist/{chunk-TDK6ZA5N.js → chunk-H75TB6VS.js} +13 -13
  8. package/dist/{chunk-NPNZ7YFK.js → chunk-HE3K36NW.js} +7 -7
  9. package/dist/{chunk-NA7AQLQH.mjs → chunk-LYG5KMUA.mjs} +1 -1
  10. package/dist/{chunk-OEP2XBU4.js → chunk-M67NVAFN.js} +34 -34
  11. package/dist/{chunk-5QM4JUN3.mjs → chunk-NDCCQODD.mjs} +1 -1
  12. package/dist/{chunk-B6RWRHGX.mjs → chunk-NORE3RH3.mjs} +3 -3
  13. package/dist/{chunk-WKNE5PIR.js → chunk-NWIDJAAD.js} +168 -168
  14. package/dist/{chunk-SIS5VQAU.js → chunk-RFTWAZAH.js} +5 -5
  15. package/dist/{chunk-M3VAGNJQ.mjs → chunk-RV2PLDCF.mjs} +1 -1
  16. package/dist/{chunk-VJ7YMMMW.mjs → chunk-SU7QCMHP.mjs} +4 -4
  17. package/dist/{chunk-5HMCQMIT.mjs → chunk-VOVP7YKV.mjs} +8 -8
  18. package/dist/{chunk-RIBK362W.js → chunk-X4EH7JKI.js} +17 -28
  19. package/dist/executors.js +5 -5
  20. package/dist/executors.mjs +7 -7
  21. package/dist/generators.js +5 -5
  22. package/dist/generators.mjs +5 -5
  23. package/dist/index.js +8 -8
  24. package/dist/index.mjs +9 -9
  25. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  26. package/dist/src/executors/cloudflare-publish/executor.mjs +5 -5
  27. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  28. package/dist/src/executors/r2-upload-publish/executor.mjs +5 -5
  29. package/dist/src/executors/serve/executor.js +4 -4
  30. package/dist/src/executors/serve/executor.mjs +4 -4
  31. package/dist/src/generators/init/generator.js +2 -2
  32. package/dist/src/generators/init/generator.mjs +2 -2
  33. package/dist/src/generators/worker/generator.js +5 -5
  34. package/dist/src/generators/worker/generator.mjs +5 -5
  35. package/dist/src/utils/http-handler.mjs +1 -1
  36. package/dist/src/utils/index.js +3 -3
  37. package/dist/src/utils/index.mjs +3 -3
  38. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  39. package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
  40. package/dist/tsup.config.mjs +1 -1
  41. package/package.json +8 -8
@@ -3,15 +3,15 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkRIBK362Wjs = require('./chunk-RIBK362W.js');
6
+ var _chunkX4EH7JKIjs = require('./chunk-X4EH7JKI.js');
7
7
 
8
8
  // src/utils/r2-bucket-helpers.ts
9
9
  var _libstorage = require('@aws-sdk/lib-storage');
10
10
  var _crypto = require('crypto');
11
11
  var _prettybytes = require('pretty-bytes'); var _prettybytes2 = _interopRequireDefault(_prettybytes);
12
12
  async function uploadFile(client, bucketName, bucketPath, fileName, version, fileContent, contentType = "application/octet-stream", isDryRun = false) {
13
- const key = _optionalChain([(!_optionalChain([bucketPath, 'optionalAccess', _ => _.trim, 'call', _2 => _2()]) || _optionalChain([bucketPath, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]) === "/" ? fileName : _chunkRIBK362Wjs.joinPaths.call(void 0, bucketPath.trim(), fileName)), 'optionalAccess', _5 => _5.replace, 'call', _6 => _6(/^\/+/g, "")]) || "";
14
- _chunkRIBK362Wjs.writeDebug.call(void 0,
13
+ const key = _optionalChain([(!_optionalChain([bucketPath, 'optionalAccess', _ => _.trim, 'call', _2 => _2()]) || _optionalChain([bucketPath, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]) === "/" ? fileName : _chunkX4EH7JKIjs.joinPaths.call(void 0, bucketPath.trim(), fileName)), 'optionalAccess', _5 => _5.replace, 'call', _6 => _6(/^\/+/g, "")]) || "";
14
+ _chunkX4EH7JKIjs.writeDebug.call(void 0,
15
15
  `Uploading ${key} (content-type: ${contentType}, size: ${_prettybytes2.default.call(void 0,
16
16
  Buffer.byteLength(fileContent, getEncoding(contentType))
17
17
  )}) to the ${bucketName} R2 bucket`
@@ -33,10 +33,10 @@ async function uploadFile(client, bucketName, bucketPath, fileName, version, fil
33
33
  });
34
34
  await upload.done();
35
35
  } else {
36
- _chunkRIBK362Wjs.writeWarning.call(void 0, "[Dry run]: Skipping upload to the R2 bucket.");
36
+ _chunkX4EH7JKIjs.writeWarning.call(void 0, "[Dry run]: Skipping upload to the R2 bucket.");
37
37
  }
38
38
  } catch (error) {
39
- _chunkRIBK362Wjs.writeError.call(void 0, `Failed to upload ${key} to the ${bucketName} R2 bucket.`);
39
+ _chunkX4EH7JKIjs.writeError.call(void 0, `Failed to upload ${key} to the ${bucketName} R2 bucket.`);
40
40
  throw error;
41
41
  }
42
42
  }
@@ -3,7 +3,7 @@ import {
3
3
  writeDebug,
4
4
  writeError,
5
5
  writeWarning
6
- } from "./chunk-ZDABHOZ2.mjs";
6
+ } from "./chunk-76TM4A24.mjs";
7
7
 
8
8
  // src/utils/r2-bucket-helpers.ts
9
9
  import { Upload } from "@aws-sdk/lib-storage";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-5HMCQMIT.mjs";
3
+ } from "./chunk-VOVP7YKV.mjs";
4
4
  import {
5
5
  findWorkspaceRoot,
6
6
  getConfig
7
- } from "./chunk-5QM4JUN3.mjs";
7
+ } from "./chunk-NDCCQODD.mjs";
8
8
  import {
9
9
  brandIcon,
10
10
  getStopwatch,
@@ -13,10 +13,10 @@ import {
13
13
  writeFatal,
14
14
  writeInfo,
15
15
  writeTrace
16
- } from "./chunk-ZDABHOZ2.mjs";
16
+ } from "./chunk-76TM4A24.mjs";
17
17
  import {
18
18
  __dirname
19
- } from "./chunk-NA7AQLQH.mjs";
19
+ } from "./chunk-LYG5KMUA.mjs";
20
20
 
21
21
  // src/generators/worker/generator.ts
22
22
  import {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./chunk-NA7AQLQH.mjs";
3
+ } from "./chunk-LYG5KMUA.mjs";
4
4
 
5
5
  // package.json
6
6
  var require_package = __commonJS({
7
7
  "package.json"(exports, module) {
8
8
  module.exports = {
9
9
  name: "@storm-software/cloudflare-tools",
10
- version: "0.71.129",
10
+ version: "0.71.130",
11
11
  private: false,
12
12
  description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
13
13
  keywords: [
@@ -132,8 +132,8 @@ var require_package = __commonJS({
132
132
  module: "dist/index.mjs",
133
133
  typings: "dist/index.d.ts",
134
134
  dependencies: {
135
- "@aws-sdk/client-s3": "^3.1037.0",
136
- "@aws-sdk/lib-storage": "^3.1037.0",
135
+ "@aws-sdk/client-s3": "^3.1038.0",
136
+ "@aws-sdk/lib-storage": "^3.1038.0",
137
137
  "@smithy/node-http-handler": "^4.6.1",
138
138
  defu: "catalog:",
139
139
  glob: "catalog:",
@@ -149,16 +149,16 @@ var require_package = __commonJS({
149
149
  nx: "catalog:",
150
150
  tsup: "catalog:",
151
151
  untyped: "catalog:",
152
- wrangler: "^4.85.0"
152
+ wrangler: "^4.86.0"
153
153
  },
154
154
  peerDependencies: {
155
155
  "@nx/devkit": "catalog:",
156
156
  "@nx/js": "catalog:",
157
157
  "@nx/node": "catalog:",
158
158
  "@nx/web": "catalog:",
159
- "@storm-software/config": "1.137.31",
160
- "@storm-software/config-tools": "1.189.77",
161
- "@storm-software/workspace-tools": "1.295.55",
159
+ "@storm-software/config": "1.137.32",
160
+ "@storm-software/config-tools": "1.189.78",
161
+ "@storm-software/workspace-tools": "1.295.56",
162
162
  nx: "catalog:",
163
163
  tsup: "catalog:",
164
164
  wrangler: ">=3.58.0"
@@ -155,8 +155,8 @@ var CONSOLE_ICONS = {
155
155
  };
156
156
 
157
157
  // ../config-tools/src/logger/format-timestamp.ts
158
- var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
159
- return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
158
+ var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
159
+ return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
160
160
  };
161
161
 
162
162
  // ../config-tools/src/logger/get-log-level.ts
@@ -216,7 +216,12 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
216
216
  };
217
217
 
218
218
  // ../config-tools/src/logger/console.ts
219
- var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
219
+ var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
220
+ const {
221
+ chalk: _chalk = getChalk(),
222
+ fullDateTime = false,
223
+ hideDateTime = false
224
+ } = options;
220
225
  const colors = !_optionalChain([config, 'access', _12 => _12.colors, 'optionalAccess', _13 => _13.dark]) && !_optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15["base"]]) && !_optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"], 'optionalAccess', _18 => _18.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _19 => _19.colors, 'optionalAccess', _20 => _20.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _21 => _21.colors, 'optionalAccess', _22 => _22["base"], 'optionalAccess', _23 => _23.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _24 => _24.colors, 'optionalAccess', _25 => _25["base"]]) ? _optionalChain([config, 'access', _26 => _26.colors, 'optionalAccess', _27 => _27["base"]]) : DEFAULT_COLOR_CONFIG;
221
226
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
222
227
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
@@ -227,9 +232,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
227
232
  return (message) => {
228
233
  console.error(
229
234
  `
230
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
231
- _nullishCoalesce(colors.fatal, () => ( DEFAULT_COLOR_CONFIG.dark.fatal))
232
- )(
235
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( DEFAULT_COLOR_CONFIG.dark.fatal)))(
233
236
  `[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
234
237
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
235
238
  `
@@ -240,9 +243,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
240
243
  return (message) => {
241
244
  console.error(
242
245
  `
243
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
244
- _nullishCoalesce(colors.danger, () => ( DEFAULT_COLOR_CONFIG.dark.danger))
245
- )(
246
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.danger, () => ( DEFAULT_COLOR_CONFIG.dark.danger)))(
246
247
  `[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
247
248
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
248
249
  `
@@ -253,9 +254,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
253
254
  return (message) => {
254
255
  console.warn(
255
256
  `
256
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
257
- _nullishCoalesce(colors.warning, () => ( DEFAULT_COLOR_CONFIG.dark.warning))
258
- )(
257
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.warning, () => ( DEFAULT_COLOR_CONFIG.dark.warning)))(
259
258
  `[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
260
259
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
261
260
  `
@@ -266,9 +265,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
266
265
  return (message) => {
267
266
  console.info(
268
267
  `
269
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
270
- _nullishCoalesce(colors.success, () => ( DEFAULT_COLOR_CONFIG.dark.success))
271
- )(
268
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.success, () => ( DEFAULT_COLOR_CONFIG.dark.success)))(
272
269
  `[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
273
270
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
274
271
  `
@@ -279,9 +276,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
279
276
  return (message) => {
280
277
  console.info(
281
278
  `
282
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
283
- _nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info))
284
- )(
279
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(
285
280
  `[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
286
281
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
287
282
  `
@@ -292,9 +287,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
292
287
  return (message) => {
293
288
  console.debug(
294
289
  `
295
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
296
- _nullishCoalesce(colors.performance, () => ( DEFAULT_COLOR_CONFIG.dark.performance))
297
- )(
290
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.performance, () => ( DEFAULT_COLOR_CONFIG.dark.performance)))(
298
291
  `[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
299
292
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
300
293
  `
@@ -305,9 +298,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
305
298
  return (message) => {
306
299
  console.debug(
307
300
  `
308
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
309
- _nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug))
310
- )(
301
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug)))(
311
302
  `[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
312
303
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
313
304
  `
@@ -318,7 +309,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
318
309
  return (message) => {
319
310
  console.debug(
320
311
  `
321
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
312
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
322
313
  `[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
323
314
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
324
315
  `
@@ -328,9 +319,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
328
319
  return (message) => {
329
320
  console.log(
330
321
  `
331
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
332
- _nullishCoalesce(colors.brand, () => ( DEFAULT_COLOR_CONFIG.dark.brand))
333
- )(
322
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.brand, () => ( DEFAULT_COLOR_CONFIG.dark.brand)))(
334
323
  `[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
335
324
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
336
325
  `
package/dist/executors.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
- require('./chunk-FKBCEMBX.js');
2
+ require('./chunk-C45TN2ET.js');
3
3
  require('./chunk-KUGEZPUO.js');
4
- require('./chunk-SIS5VQAU.js');
4
+ require('./chunk-RFTWAZAH.js');
5
5
  require('./chunk-QBD2OGUY.js');
6
- require('./chunk-WKNE5PIR.js');
6
+ require('./chunk-NWIDJAAD.js');
7
7
  require('./chunk-N7FW365Q.js');
8
- require('./chunk-OEP2XBU4.js');
9
- require('./chunk-RIBK362W.js');
8
+ require('./chunk-M67NVAFN.js');
9
+ require('./chunk-X4EH7JKI.js');
10
10
  require('./chunk-MCKGQKYU.js');
@@ -1,10 +1,10 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
- import "./chunk-B6RWRHGX.mjs";
2
+ import "./chunk-NORE3RH3.mjs";
3
3
  import "./chunk-SWYYMID7.mjs";
4
- import "./chunk-M3VAGNJQ.mjs";
5
- import "./chunk-EF5HODET.mjs";
6
- import "./chunk-AUZL2N67.mjs";
4
+ import "./chunk-RV2PLDCF.mjs";
5
+ import "./chunk-3ALYECD7.mjs";
6
+ import "./chunk-AIE6CJKD.mjs";
7
7
  import "./chunk-3MAI3FU2.mjs";
8
- import "./chunk-5QM4JUN3.mjs";
9
- import "./chunk-ZDABHOZ2.mjs";
10
- import "./chunk-NA7AQLQH.mjs";
8
+ import "./chunk-NDCCQODD.mjs";
9
+ import "./chunk-76TM4A24.mjs";
10
+ import "./chunk-LYG5KMUA.mjs";
@@ -2,17 +2,17 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkTDK6ZA5Njs = require('./chunk-TDK6ZA5N.js');
5
+ var _chunkH75TB6VSjs = require('./chunk-H75TB6VS.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkNPNZ7YFKjs = require('./chunk-NPNZ7YFK.js');
10
- require('./chunk-OEP2XBU4.js');
11
- require('./chunk-RIBK362W.js');
9
+ var _chunkHE3K36NWjs = require('./chunk-HE3K36NW.js');
10
+ require('./chunk-M67NVAFN.js');
11
+ require('./chunk-X4EH7JKI.js');
12
12
  require('./chunk-MCKGQKYU.js');
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkTDK6ZA5Njs.applicationGenerator; exports.applicationSchematic = _chunkTDK6ZA5Njs.applicationSchematic; exports.initGenerator = _chunkNPNZ7YFKjs.initGenerator; exports.initSchematic = _chunkNPNZ7YFKjs.initSchematic;
18
+ exports.applicationGenerator = _chunkH75TB6VSjs.applicationGenerator; exports.applicationSchematic = _chunkH75TB6VSjs.applicationSchematic; exports.initGenerator = _chunkHE3K36NWjs.initGenerator; exports.initSchematic = _chunkHE3K36NWjs.initSchematic;
@@ -2,14 +2,14 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-VJ7YMMMW.mjs";
5
+ } from "./chunk-SU7QCMHP.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-5HMCQMIT.mjs";
10
- import "./chunk-5QM4JUN3.mjs";
11
- import "./chunk-ZDABHOZ2.mjs";
12
- import "./chunk-NA7AQLQH.mjs";
9
+ } from "./chunk-VOVP7YKV.mjs";
10
+ import "./chunk-NDCCQODD.mjs";
11
+ import "./chunk-76TM4A24.mjs";
12
+ import "./chunk-LYG5KMUA.mjs";
13
13
  export {
14
14
  applicationGenerator,
15
15
  applicationSchematic,
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('./chunk-XO66D74Z.js');
2
- require('./chunk-FKBCEMBX.js');
2
+ require('./chunk-C45TN2ET.js');
3
3
  require('./chunk-DHBG5ASJ.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkTDK6ZA5Njs = require('./chunk-TDK6ZA5N.js');
7
+ var _chunkH75TB6VSjs = require('./chunk-H75TB6VS.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkNPNZ7YFKjs = require('./chunk-NPNZ7YFK.js');
11
+ var _chunkHE3K36NWjs = require('./chunk-HE3K36NW.js');
12
12
  require('./chunk-KUGEZPUO.js');
13
13
  require('./chunk-CVGPWUNP.js');
14
14
 
@@ -16,15 +16,15 @@ require('./chunk-CVGPWUNP.js');
16
16
 
17
17
 
18
18
 
19
- var _chunkSIS5VQAUjs = require('./chunk-SIS5VQAU.js');
19
+ var _chunkRFTWAZAHjs = require('./chunk-RFTWAZAH.js');
20
20
  require('./chunk-QBD2OGUY.js');
21
- require('./chunk-WKNE5PIR.js');
21
+ require('./chunk-NWIDJAAD.js');
22
22
 
23
23
 
24
24
 
25
25
  var _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
26
- require('./chunk-OEP2XBU4.js');
27
- require('./chunk-RIBK362W.js');
26
+ require('./chunk-M67NVAFN.js');
27
+ require('./chunk-X4EH7JKI.js');
28
28
  require('./chunk-MCKGQKYU.js');
29
29
 
30
30
  // src/plugins/index.ts
@@ -160,4 +160,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
160
160
 
161
161
 
162
162
 
163
- exports.applicationGenerator = _chunkTDK6ZA5Njs.applicationGenerator; exports.applicationSchematic = _chunkTDK6ZA5Njs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getEncoding = _chunkSIS5VQAUjs.getEncoding; exports.getInternalDependencies = _chunkSIS5VQAUjs.getInternalDependencies; exports.initGenerator = _chunkNPNZ7YFKjs.initGenerator; exports.initSchematic = _chunkNPNZ7YFKjs.initSchematic; exports.isTextFile = _chunkSIS5VQAUjs.isTextFile; exports.name = name; exports.uploadFile = _chunkSIS5VQAUjs.uploadFile;
163
+ exports.applicationGenerator = _chunkH75TB6VSjs.applicationGenerator; exports.applicationSchematic = _chunkH75TB6VSjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getEncoding = _chunkRFTWAZAHjs.getEncoding; exports.getInternalDependencies = _chunkRFTWAZAHjs.getInternalDependencies; exports.initGenerator = _chunkHE3K36NWjs.initGenerator; exports.initSchematic = _chunkHE3K36NWjs.initSchematic; exports.isTextFile = _chunkRFTWAZAHjs.isTextFile; exports.name = name; exports.uploadFile = _chunkRFTWAZAHjs.uploadFile;
package/dist/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
- import "./chunk-B6RWRHGX.mjs";
2
+ import "./chunk-NORE3RH3.mjs";
3
3
  import "./chunk-3J7KBHMJ.mjs";
4
4
  import {
5
5
  applicationGenerator,
6
6
  applicationSchematic
7
- } from "./chunk-VJ7YMMMW.mjs";
7
+ } from "./chunk-SU7QCMHP.mjs";
8
8
  import {
9
9
  initGenerator,
10
10
  initSchematic
11
- } from "./chunk-5HMCQMIT.mjs";
11
+ } from "./chunk-VOVP7YKV.mjs";
12
12
  import "./chunk-SWYYMID7.mjs";
13
13
  import "./chunk-7Z5PILRU.mjs";
14
14
  import {
@@ -16,16 +16,16 @@ import {
16
16
  getInternalDependencies,
17
17
  isTextFile,
18
18
  uploadFile
19
- } from "./chunk-M3VAGNJQ.mjs";
20
- import "./chunk-EF5HODET.mjs";
21
- import "./chunk-AUZL2N67.mjs";
19
+ } from "./chunk-RV2PLDCF.mjs";
20
+ import "./chunk-3ALYECD7.mjs";
21
+ import "./chunk-AIE6CJKD.mjs";
22
22
  import {
23
23
  ProjectTagConstants,
24
24
  addProjectTag
25
25
  } from "./chunk-3MAI3FU2.mjs";
26
- import "./chunk-5QM4JUN3.mjs";
27
- import "./chunk-ZDABHOZ2.mjs";
28
- import "./chunk-NA7AQLQH.mjs";
26
+ import "./chunk-NDCCQODD.mjs";
27
+ import "./chunk-76TM4A24.mjs";
28
+ import "./chunk-LYG5KMUA.mjs";
29
29
 
30
30
  // src/plugins/index.ts
31
31
  import {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
  var _chunkQBD2OGUYjs = require('../../../chunk-QBD2OGUY.js');
4
- require('../../../chunk-WKNE5PIR.js');
4
+ require('../../../chunk-NWIDJAAD.js');
5
5
  require('../../../chunk-N7FW365Q.js');
6
- require('../../../chunk-OEP2XBU4.js');
7
- require('../../../chunk-RIBK362W.js');
6
+ require('../../../chunk-M67NVAFN.js');
7
+ require('../../../chunk-X4EH7JKI.js');
8
8
  require('../../../chunk-MCKGQKYU.js');
9
9
 
10
10
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  runExecutor
3
- } from "../../../chunk-EF5HODET.mjs";
4
- import "../../../chunk-AUZL2N67.mjs";
3
+ } from "../../../chunk-3ALYECD7.mjs";
4
+ import "../../../chunk-AIE6CJKD.mjs";
5
5
  import "../../../chunk-3MAI3FU2.mjs";
6
- import "../../../chunk-5QM4JUN3.mjs";
7
- import "../../../chunk-ZDABHOZ2.mjs";
8
- import "../../../chunk-NA7AQLQH.mjs";
6
+ import "../../../chunk-NDCCQODD.mjs";
7
+ import "../../../chunk-76TM4A24.mjs";
8
+ import "../../../chunk-LYG5KMUA.mjs";
9
9
  export {
10
10
  runExecutor as default
11
11
  };
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkFKBCEMBXjs = require('../../../chunk-FKBCEMBX.js');
3
+ var _chunkC45TN2ETjs = require('../../../chunk-C45TN2ET.js');
4
4
  require('../../../chunk-KUGEZPUO.js');
5
- require('../../../chunk-SIS5VQAU.js');
5
+ require('../../../chunk-RFTWAZAH.js');
6
6
  require('../../../chunk-N7FW365Q.js');
7
- require('../../../chunk-OEP2XBU4.js');
8
- require('../../../chunk-RIBK362W.js');
7
+ require('../../../chunk-M67NVAFN.js');
8
+ require('../../../chunk-X4EH7JKI.js');
9
9
  require('../../../chunk-MCKGQKYU.js');
10
10
 
11
11
 
12
- exports.default = _chunkFKBCEMBXjs.runExecutor;
12
+ exports.default = _chunkC45TN2ETjs.runExecutor;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  runExecutor
3
- } from "../../../chunk-B6RWRHGX.mjs";
3
+ } from "../../../chunk-NORE3RH3.mjs";
4
4
  import "../../../chunk-SWYYMID7.mjs";
5
- import "../../../chunk-M3VAGNJQ.mjs";
5
+ import "../../../chunk-RV2PLDCF.mjs";
6
6
  import "../../../chunk-3MAI3FU2.mjs";
7
- import "../../../chunk-5QM4JUN3.mjs";
8
- import "../../../chunk-ZDABHOZ2.mjs";
9
- import "../../../chunk-NA7AQLQH.mjs";
7
+ import "../../../chunk-NDCCQODD.mjs";
8
+ import "../../../chunk-76TM4A24.mjs";
9
+ import "../../../chunk-LYG5KMUA.mjs";
10
10
  export {
11
11
  runExecutor as default
12
12
  };
@@ -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 _chunkWKNE5PIRjs = require('../../../chunk-WKNE5PIR.js');
3
+ var _chunkNWIDJAADjs = require('../../../chunk-NWIDJAAD.js');
4
4
 
5
5
 
6
6
  var _chunkN7FW365Qjs = require('../../../chunk-N7FW365Q.js');
7
- require('../../../chunk-OEP2XBU4.js');
8
- require('../../../chunk-RIBK362W.js');
7
+ require('../../../chunk-M67NVAFN.js');
8
+ require('../../../chunk-X4EH7JKI.js');
9
9
 
10
10
 
11
11
  var _chunkMCKGQKYUjs = require('../../../chunk-MCKGQKYU.js');
@@ -55,7 +55,7 @@ async function* serveExecutor(options, context) {
55
55
  success: true
56
56
  };
57
57
  }
58
- var executor_default = _chunkWKNE5PIRjs.withRunExecutor.call(void 0,
58
+ var executor_default = _chunkNWIDJAADjs.withRunExecutor.call(void 0,
59
59
  "Cloudflare Serve executor",
60
60
  serveExecutor,
61
61
  {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "../../../chunk-AUZL2N67.mjs";
3
+ } from "../../../chunk-AIE6CJKD.mjs";
4
4
  import {
5
5
  createCliOptions
6
6
  } from "../../../chunk-3MAI3FU2.mjs";
7
- import "../../../chunk-5QM4JUN3.mjs";
8
- import "../../../chunk-ZDABHOZ2.mjs";
7
+ import "../../../chunk-NDCCQODD.mjs";
8
+ import "../../../chunk-76TM4A24.mjs";
9
9
  import {
10
10
  __require
11
- } from "../../../chunk-NA7AQLQH.mjs";
11
+ } from "../../../chunk-LYG5KMUA.mjs";
12
12
 
13
13
  // src/executors/serve/executor.ts
14
14
  import { createAsyncIterable } from "@nx/devkit/src/utils/async-iterable";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkNPNZ7YFKjs = require('../../../chunk-NPNZ7YFK.js');
5
+ var _chunkHE3K36NWjs = require('../../../chunk-HE3K36NW.js');
6
6
  require('../../../chunk-MCKGQKYU.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunkNPNZ7YFKjs.generator_default; exports.initGenerator = _chunkNPNZ7YFKjs.initGenerator; exports.initSchematic = _chunkNPNZ7YFKjs.initSchematic;
11
+ exports.default = _chunkHE3K36NWjs.generator_default; exports.initGenerator = _chunkHE3K36NWjs.initGenerator; exports.initSchematic = _chunkHE3K36NWjs.initSchematic;
@@ -2,8 +2,8 @@ import {
2
2
  generator_default,
3
3
  initGenerator,
4
4
  initSchematic
5
- } from "../../../chunk-5HMCQMIT.mjs";
6
- import "../../../chunk-NA7AQLQH.mjs";
5
+ } from "../../../chunk-VOVP7YKV.mjs";
6
+ import "../../../chunk-LYG5KMUA.mjs";
7
7
  export {
8
8
  generator_default as default,
9
9
  initGenerator,
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkTDK6ZA5Njs = require('../../../chunk-TDK6ZA5N.js');
6
- require('../../../chunk-NPNZ7YFK.js');
7
- require('../../../chunk-OEP2XBU4.js');
8
- require('../../../chunk-RIBK362W.js');
5
+ var _chunkH75TB6VSjs = require('../../../chunk-H75TB6VS.js');
6
+ require('../../../chunk-HE3K36NW.js');
7
+ require('../../../chunk-M67NVAFN.js');
8
+ require('../../../chunk-X4EH7JKI.js');
9
9
  require('../../../chunk-MCKGQKYU.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.applicationGenerator = _chunkTDK6ZA5Njs.applicationGenerator; exports.applicationSchematic = _chunkTDK6ZA5Njs.applicationSchematic; exports.default = _chunkTDK6ZA5Njs.generator_default;
14
+ exports.applicationGenerator = _chunkH75TB6VSjs.applicationGenerator; exports.applicationSchematic = _chunkH75TB6VSjs.applicationSchematic; exports.default = _chunkH75TB6VSjs.generator_default;
@@ -2,11 +2,11 @@ import {
2
2
  applicationGenerator,
3
3
  applicationSchematic,
4
4
  generator_default
5
- } from "../../../chunk-VJ7YMMMW.mjs";
6
- import "../../../chunk-5HMCQMIT.mjs";
7
- import "../../../chunk-5QM4JUN3.mjs";
8
- import "../../../chunk-ZDABHOZ2.mjs";
9
- import "../../../chunk-NA7AQLQH.mjs";
5
+ } from "../../../chunk-SU7QCMHP.mjs";
6
+ import "../../../chunk-VOVP7YKV.mjs";
7
+ import "../../../chunk-NDCCQODD.mjs";
8
+ import "../../../chunk-76TM4A24.mjs";
9
+ import "../../../chunk-LYG5KMUA.mjs";
10
10
  export {
11
11
  applicationGenerator,
12
12
  applicationSchematic,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createHttpHandler
3
3
  } from "../../chunk-SWYYMID7.mjs";
4
- import "../../chunk-NA7AQLQH.mjs";
4
+ import "../../chunk-LYG5KMUA.mjs";
5
5
  export {
6
6
  createHttpHandler
7
7
  };
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkSIS5VQAUjs = require('../../chunk-SIS5VQAU.js');
8
- require('../../chunk-RIBK362W.js');
7
+ var _chunkRFTWAZAHjs = require('../../chunk-RFTWAZAH.js');
8
+ require('../../chunk-X4EH7JKI.js');
9
9
  require('../../chunk-MCKGQKYU.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
- exports.getEncoding = _chunkSIS5VQAUjs.getEncoding; exports.getInternalDependencies = _chunkSIS5VQAUjs.getInternalDependencies; exports.isTextFile = _chunkSIS5VQAUjs.isTextFile; exports.uploadFile = _chunkSIS5VQAUjs.uploadFile;
15
+ exports.getEncoding = _chunkRFTWAZAHjs.getEncoding; exports.getInternalDependencies = _chunkRFTWAZAHjs.getInternalDependencies; exports.isTextFile = _chunkRFTWAZAHjs.isTextFile; exports.uploadFile = _chunkRFTWAZAHjs.uploadFile;
@@ -4,9 +4,9 @@ import {
4
4
  getInternalDependencies,
5
5
  isTextFile,
6
6
  uploadFile
7
- } from "../../chunk-M3VAGNJQ.mjs";
8
- import "../../chunk-ZDABHOZ2.mjs";
9
- import "../../chunk-NA7AQLQH.mjs";
7
+ } from "../../chunk-RV2PLDCF.mjs";
8
+ import "../../chunk-76TM4A24.mjs";
9
+ import "../../chunk-LYG5KMUA.mjs";
10
10
  export {
11
11
  getEncoding,
12
12
  getInternalDependencies,