@storm-software/cloudflare-tools 0.71.41 → 0.71.43

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 (36) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/{chunk-NFHONUD4.mjs → chunk-BG4BOS55.mjs} +4 -4
  3. package/dist/{chunk-QJJBMXLH.js → chunk-EAEYODL7.js} +4 -4
  4. package/dist/{chunk-UIJO3L53.js → chunk-EEHCZLIG.js} +175 -168
  5. package/dist/{chunk-D2C4YN2P.mjs → chunk-FJC6NTFV.mjs} +1 -1
  6. package/dist/{chunk-WRQN6TUO.js → chunk-FZGJMP4V.js} +5 -5
  7. package/dist/{chunk-CET7FSBB.mjs → chunk-KP72CV3N.mjs} +31 -0
  8. package/dist/{chunk-ZNZEZZQ3.mjs → chunk-LRWE7JIO.mjs} +1 -1
  9. package/dist/{chunk-F62R4VXI.mjs → chunk-RH3QEZJL.mjs} +16 -9
  10. package/dist/{chunk-APKXT2II.js → chunk-U63JI4YT.js} +34 -34
  11. package/dist/{chunk-OVTCUMRN.js → chunk-WKCHZUJS.js} +18 -18
  12. package/dist/{chunk-JC5YYXOF.mjs → chunk-XTJO7LT5.mjs} +3 -3
  13. package/dist/{chunk-B3DTG4AE.mjs → chunk-YHOL7SZX.mjs} +11 -7
  14. package/dist/{chunk-ENJ4VPTU.js → chunk-YQSZDW5I.js} +17 -13
  15. package/dist/{chunk-J756GE67.js → chunk-ZVAXGNHM.js} +36 -5
  16. package/dist/executors.js +5 -5
  17. package/dist/executors.mjs +5 -5
  18. package/dist/generators.js +5 -5
  19. package/dist/generators.mjs +4 -4
  20. package/dist/index.js +8 -8
  21. package/dist/index.mjs +7 -7
  22. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  23. package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
  24. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  25. package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
  26. package/dist/src/executors/serve/executor.js +4 -4
  27. package/dist/src/executors/serve/executor.mjs +3 -3
  28. package/dist/src/generators/init/generator.js +2 -2
  29. package/dist/src/generators/init/generator.mjs +1 -1
  30. package/dist/src/generators/worker/generator.js +5 -5
  31. package/dist/src/generators/worker/generator.mjs +4 -4
  32. package/dist/src/utils/index.js +3 -3
  33. package/dist/src/utils/index.mjs +2 -2
  34. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  35. package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
  36. package/package.json +5 -5
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkQJJBMXLHjs = require('./chunk-QJJBMXLH.js');
3
+ var _chunkEAEYODL7js = require('./chunk-EAEYODL7.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkAPKXT2IIjs = require('./chunk-APKXT2II.js');
7
+ var _chunkU63JI4YTjs = require('./chunk-U63JI4YT.js');
8
8
 
9
9
 
10
10
 
@@ -12,7 +12,8 @@ var _chunkAPKXT2IIjs = require('./chunk-APKXT2II.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkJ756GE67js = require('./chunk-J756GE67.js');
15
+
16
+ var _chunkZVAXGNHMjs = require('./chunk-ZVAXGNHM.js');
16
17
 
17
18
  // src/generators/worker/generator.ts
18
19
 
@@ -45,20 +46,23 @@ var vitestScript = `"test": "vitest run"`;
45
46
 
46
47
  // src/generators/worker/generator.ts
47
48
  async function applicationGenerator(tree, schema) {
48
- const stopwatch = _chunkJ756GE67js.getStopwatch.call(void 0, "Storm Worker generator");
49
+ const stopwatch = _chunkZVAXGNHMjs.getStopwatch.call(void 0, "Storm Worker generator");
49
50
  let config;
50
51
  try {
51
- _chunkJ756GE67js.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
52
+ const workspaceRoot = _chunkU63JI4YTjs.findWorkspaceRoot.call(void 0, );
53
+ config = await _chunkU63JI4YTjs.getConfig.call(void 0, workspaceRoot);
54
+ _chunkZVAXGNHMjs.writeInfo.call(void 0,
55
+ `${_chunkZVAXGNHMjs.brandIcon.call(void 0, config)} Running the Storm Worker generator...
52
56
 
53
- `, config);
54
- const workspaceRoot = _chunkAPKXT2IIjs.findWorkspaceRoot.call(void 0, );
55
- _chunkJ756GE67js.writeDebug.call(void 0,
57
+ `,
58
+ config
59
+ );
60
+ _chunkZVAXGNHMjs.writeDebug.call(void 0,
56
61
  `Loading the Storm Config from environment variables and storm.json file...
57
62
  - workspaceRoot: ${workspaceRoot}`,
58
63
  config
59
64
  );
60
- config = await _chunkAPKXT2IIjs.getConfig.call(void 0, workspaceRoot);
61
- _chunkJ756GE67js.writeTrace.call(void 0,
65
+ _chunkZVAXGNHMjs.writeTrace.call(void 0,
62
66
  `Loaded Storm config into env:
63
67
  ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`,
64
68
  config
@@ -66,7 +70,7 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
66
70
  const options = await normalizeOptions(tree, schema, config);
67
71
  const tasks = [];
68
72
  tasks.push(
69
- await _chunkQJJBMXLHjs.generator_default.call(void 0, tree, {
73
+ await _chunkEAEYODL7js.generator_default.call(void 0, tree, {
70
74
  ...options,
71
75
  skipFormat: true
72
76
  })
@@ -134,11 +138,11 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
134
138
  return _devkit.runTasksInSerial.call(void 0, ...tasks);
135
139
  } catch (error) {
136
140
  return () => {
137
- _chunkJ756GE67js.writeFatal.call(void 0,
141
+ _chunkZVAXGNHMjs.writeFatal.call(void 0,
138
142
  "A fatal error occurred while running the generator - the process was forced to terminate",
139
143
  config
140
144
  );
141
- _chunkJ756GE67js.writeError.call(void 0,
145
+ _chunkZVAXGNHMjs.writeError.call(void 0,
142
146
  `An exception was thrown in the generator's process
143
147
  - Details: ${error.message}
144
148
  - Stacktrace: ${error.stack}`,
@@ -62,6 +62,35 @@ var DEFAULT_COLOR_CONFIG = {
62
62
  gradient: ["#1fb2a6", "#db2777", "#818cf8"]
63
63
  }
64
64
  };
65
+ function getColors(config) {
66
+ if (!_optionalChain([config, 'optionalAccess', _2 => _2.colors]) || typeof config.colors !== "object" || !config.colors["dark"] && (!config.colors["base"] || typeof config.colors !== "object" || !_optionalChain([config, 'access', _3 => _3.colors, 'access', _4 => _4["base"], 'optionalAccess', _5 => _5["dark"]]))) {
67
+ return DEFAULT_COLOR_CONFIG;
68
+ }
69
+ if (config.colors["base"]) {
70
+ if (typeof config.colors["base"]["dark"] === "object") {
71
+ return config.colors["base"]["dark"];
72
+ } else if (config.colors["base"]["dark"] === "string") {
73
+ return config.colors["base"];
74
+ }
75
+ }
76
+ if (typeof config.colors["dark"] === "object") {
77
+ return config.colors["dark"];
78
+ }
79
+ return _nullishCoalesce(config.colors, () => ( DEFAULT_COLOR_CONFIG));
80
+ }
81
+ function getColor(key, config) {
82
+ const colors = getColors(config);
83
+ const result = (typeof colors["dark"] === "object" ? colors["dark"][key] : colors[key]) || DEFAULT_COLOR_CONFIG["dark"][key] || DEFAULT_COLOR_CONFIG[key];
84
+ if (result) {
85
+ return result;
86
+ }
87
+ if (key === "link" || key === "debug") {
88
+ return getColor("info", config);
89
+ } else if (key === "fatal") {
90
+ return getColor("danger", config);
91
+ }
92
+ return getColor("brand", config);
93
+ }
65
94
 
66
95
  // ../config-tools/src/logger/chalk.ts
67
96
  var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
@@ -90,7 +119,7 @@ var chalkDefault = {
90
119
  };
91
120
  var getChalk = () => {
92
121
  let _chalk = _chalk3.default;
93
- if (!_optionalChain([_chalk, 'optionalAccess', _2 => _2.hex]) || !_optionalChain([_chalk, 'optionalAccess', _3 => _3.bold, 'optionalAccess', _4 => _4.hex]) || !_optionalChain([_chalk, 'optionalAccess', _5 => _5.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _6 => _6.whiteBright]) || !_optionalChain([_chalk, 'optionalAccess', _7 => _7.white])) {
122
+ if (!_optionalChain([_chalk, 'optionalAccess', _6 => _6.hex]) || !_optionalChain([_chalk, 'optionalAccess', _7 => _7.bold, 'optionalAccess', _8 => _8.hex]) || !_optionalChain([_chalk, 'optionalAccess', _9 => _9.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _10 => _10.whiteBright]) || !_optionalChain([_chalk, 'optionalAccess', _11 => _11.white])) {
94
123
  _chalk = chalkDefault;
95
124
  }
96
125
  return _chalk;
@@ -178,7 +207,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
178
207
 
179
208
  // ../config-tools/src/logger/console.ts
180
209
  var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
181
- const colors = !_optionalChain([config, 'access', _8 => _8.colors, 'optionalAccess', _9 => _9.dark]) && !_optionalChain([config, 'access', _10 => _10.colors, 'optionalAccess', _11 => _11["base"]]) && !_optionalChain([config, 'access', _12 => _12.colors, 'optionalAccess', _13 => _13["base"], 'optionalAccess', _14 => _14.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _15 => _15.colors, 'optionalAccess', _16 => _16.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _17 => _17.colors, 'optionalAccess', _18 => _18["base"], 'optionalAccess', _19 => _19.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _20 => _20.colors, 'optionalAccess', _21 => _21["base"]]) ? _optionalChain([config, 'access', _22 => _22.colors, 'optionalAccess', _23 => _23["base"]]) : DEFAULT_COLOR_CONFIG;
210
+ 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;
182
211
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
183
212
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
184
213
  return (_) => {
@@ -323,11 +352,12 @@ ${Object.keys(message).filter((key) => !skip.includes(key)).map(
323
352
  };
324
353
  var _isFunction = (value) => {
325
354
  try {
326
- return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _24 => _24.constructor]) && _optionalChain([value, 'optionalAccess', _25 => _25.call]) && _optionalChain([value, 'optionalAccess', _26 => _26.apply]));
355
+ return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _28 => _28.constructor]) && _optionalChain([value, 'optionalAccess', _29 => _29.call]) && _optionalChain([value, 'optionalAccess', _30 => _30.apply]));
327
356
  } catch (e) {
328
357
  return false;
329
358
  }
330
359
  };
360
+ var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
331
361
 
332
362
  // ../config-tools/src/utilities/correct-paths.ts
333
363
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
@@ -346,7 +376,7 @@ var correctPaths = function(path) {
346
376
  return ".";
347
377
  }
348
378
  path = normalizeWindowsPath(path);
349
- const isUNCPath = _optionalChain([path, 'optionalAccess', _27 => _27.match, 'call', _28 => _28(_UNC_REGEX)]);
379
+ const isUNCPath = _optionalChain([path, 'optionalAccess', _31 => _31.match, 'call', _32 => _32(_UNC_REGEX)]);
350
380
  const isPathAbsolute = isAbsolute(path);
351
381
  const trailingSeparator = path[path.length - 1] === "/";
352
382
  path = normalizeString(path, !isPathAbsolute);
@@ -512,4 +542,5 @@ var relative = function(from, to) {
512
542
 
513
543
 
514
544
 
515
- exports.LogLevel = LogLevel; exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.correctPaths = correctPaths; exports.joinPaths = joinPaths; exports.isAbsolute = isAbsolute; exports.relative = relative;
545
+
546
+ exports.LogLevel = LogLevel; exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage; exports.brandIcon = brandIcon; exports.correctPaths = correctPaths; exports.joinPaths = joinPaths; exports.isAbsolute = isAbsolute; exports.relative = relative;
package/dist/executors.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
- require('./chunk-OVTCUMRN.js');
2
+ require('./chunk-WKCHZUJS.js');
3
3
  require('./chunk-KUGEZPUO.js');
4
- require('./chunk-WRQN6TUO.js');
4
+ require('./chunk-FZGJMP4V.js');
5
5
  require('./chunk-QBD2OGUY.js');
6
- require('./chunk-UIJO3L53.js');
6
+ require('./chunk-EEHCZLIG.js');
7
7
  require('./chunk-N7FW365Q.js');
8
- require('./chunk-APKXT2II.js');
9
- require('./chunk-J756GE67.js');
8
+ require('./chunk-U63JI4YT.js');
9
+ require('./chunk-ZVAXGNHM.js');
10
10
  require('./chunk-MCKGQKYU.js');
@@ -1,10 +1,10 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
- import "./chunk-JC5YYXOF.mjs";
2
+ import "./chunk-XTJO7LT5.mjs";
3
3
  import "./chunk-SWYYMID7.mjs";
4
- import "./chunk-D2C4YN2P.mjs";
4
+ import "./chunk-FJC6NTFV.mjs";
5
5
  import "./chunk-NEU7F2AO.mjs";
6
- import "./chunk-F62R4VXI.mjs";
6
+ import "./chunk-RH3QEZJL.mjs";
7
7
  import "./chunk-3MAI3FU2.mjs";
8
- import "./chunk-ZNZEZZQ3.mjs";
9
- import "./chunk-CET7FSBB.mjs";
8
+ import "./chunk-LRWE7JIO.mjs";
9
+ import "./chunk-KP72CV3N.mjs";
10
10
  import "./chunk-N5UXWPB6.mjs";
@@ -2,17 +2,17 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkENJ4VPTUjs = require('./chunk-ENJ4VPTU.js');
5
+ var _chunkYQSZDW5Ijs = require('./chunk-YQSZDW5I.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkQJJBMXLHjs = require('./chunk-QJJBMXLH.js');
10
- require('./chunk-APKXT2II.js');
11
- require('./chunk-J756GE67.js');
9
+ var _chunkEAEYODL7js = require('./chunk-EAEYODL7.js');
10
+ require('./chunk-U63JI4YT.js');
11
+ require('./chunk-ZVAXGNHM.js');
12
12
  require('./chunk-MCKGQKYU.js');
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkENJ4VPTUjs.applicationGenerator; exports.applicationSchematic = _chunkENJ4VPTUjs.applicationSchematic; exports.initGenerator = _chunkQJJBMXLHjs.initGenerator; exports.initSchematic = _chunkQJJBMXLHjs.initSchematic;
18
+ exports.applicationGenerator = _chunkYQSZDW5Ijs.applicationGenerator; exports.applicationSchematic = _chunkYQSZDW5Ijs.applicationSchematic; exports.initGenerator = _chunkEAEYODL7js.initGenerator; exports.initSchematic = _chunkEAEYODL7js.initSchematic;
@@ -2,13 +2,13 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-B3DTG4AE.mjs";
5
+ } from "./chunk-YHOL7SZX.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-NFHONUD4.mjs";
10
- import "./chunk-ZNZEZZQ3.mjs";
11
- import "./chunk-CET7FSBB.mjs";
9
+ } from "./chunk-BG4BOS55.mjs";
10
+ import "./chunk-LRWE7JIO.mjs";
11
+ import "./chunk-KP72CV3N.mjs";
12
12
  import "./chunk-N5UXWPB6.mjs";
13
13
  export {
14
14
  applicationGenerator,
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-OVTCUMRN.js');
2
+ require('./chunk-WKCHZUJS.js');
3
3
  require('./chunk-DHBG5ASJ.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkENJ4VPTUjs = require('./chunk-ENJ4VPTU.js');
7
+ var _chunkYQSZDW5Ijs = require('./chunk-YQSZDW5I.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkQJJBMXLHjs = require('./chunk-QJJBMXLH.js');
11
+ var _chunkEAEYODL7js = require('./chunk-EAEYODL7.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 _chunkWRQN6TUOjs = require('./chunk-WRQN6TUO.js');
19
+ var _chunkFZGJMP4Vjs = require('./chunk-FZGJMP4V.js');
20
20
  require('./chunk-QBD2OGUY.js');
21
- require('./chunk-UIJO3L53.js');
21
+ require('./chunk-EEHCZLIG.js');
22
22
 
23
23
 
24
24
 
25
25
  var _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
26
- require('./chunk-APKXT2II.js');
27
- require('./chunk-J756GE67.js');
26
+ require('./chunk-U63JI4YT.js');
27
+ require('./chunk-ZVAXGNHM.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 = _chunkENJ4VPTUjs.applicationGenerator; exports.applicationSchematic = _chunkENJ4VPTUjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getEncoding = _chunkWRQN6TUOjs.getEncoding; exports.getInternalDependencies = _chunkWRQN6TUOjs.getInternalDependencies; exports.initGenerator = _chunkQJJBMXLHjs.initGenerator; exports.initSchematic = _chunkQJJBMXLHjs.initSchematic; exports.isTextFile = _chunkWRQN6TUOjs.isTextFile; exports.name = name; exports.uploadFile = _chunkWRQN6TUOjs.uploadFile;
163
+ exports.applicationGenerator = _chunkYQSZDW5Ijs.applicationGenerator; exports.applicationSchematic = _chunkYQSZDW5Ijs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getEncoding = _chunkFZGJMP4Vjs.getEncoding; exports.getInternalDependencies = _chunkFZGJMP4Vjs.getInternalDependencies; exports.initGenerator = _chunkEAEYODL7js.initGenerator; exports.initSchematic = _chunkEAEYODL7js.initSchematic; exports.isTextFile = _chunkFZGJMP4Vjs.isTextFile; exports.name = name; exports.uploadFile = _chunkFZGJMP4Vjs.uploadFile;
package/dist/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
- import "./chunk-JC5YYXOF.mjs";
2
+ import "./chunk-XTJO7LT5.mjs";
3
3
  import "./chunk-3J7KBHMJ.mjs";
4
4
  import {
5
5
  applicationGenerator,
6
6
  applicationSchematic
7
- } from "./chunk-B3DTG4AE.mjs";
7
+ } from "./chunk-YHOL7SZX.mjs";
8
8
  import {
9
9
  initGenerator,
10
10
  initSchematic
11
- } from "./chunk-NFHONUD4.mjs";
11
+ } from "./chunk-BG4BOS55.mjs";
12
12
  import "./chunk-SWYYMID7.mjs";
13
13
  import "./chunk-7Z5PILRU.mjs";
14
14
  import {
@@ -16,15 +16,15 @@ import {
16
16
  getInternalDependencies,
17
17
  isTextFile,
18
18
  uploadFile
19
- } from "./chunk-D2C4YN2P.mjs";
19
+ } from "./chunk-FJC6NTFV.mjs";
20
20
  import "./chunk-NEU7F2AO.mjs";
21
- import "./chunk-F62R4VXI.mjs";
21
+ import "./chunk-RH3QEZJL.mjs";
22
22
  import {
23
23
  ProjectTagConstants,
24
24
  addProjectTag
25
25
  } from "./chunk-3MAI3FU2.mjs";
26
- import "./chunk-ZNZEZZQ3.mjs";
27
- import "./chunk-CET7FSBB.mjs";
26
+ import "./chunk-LRWE7JIO.mjs";
27
+ import "./chunk-KP72CV3N.mjs";
28
28
  import "./chunk-N5UXWPB6.mjs";
29
29
 
30
30
  // src/plugins/index.ts
@@ -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-UIJO3L53.js');
4
+ require('../../../chunk-EEHCZLIG.js');
5
5
  require('../../../chunk-N7FW365Q.js');
6
- require('../../../chunk-APKXT2II.js');
7
- require('../../../chunk-J756GE67.js');
6
+ require('../../../chunk-U63JI4YT.js');
7
+ require('../../../chunk-ZVAXGNHM.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-NEU7F2AO.mjs";
4
- import "../../../chunk-F62R4VXI.mjs";
4
+ import "../../../chunk-RH3QEZJL.mjs";
5
5
  import "../../../chunk-3MAI3FU2.mjs";
6
- import "../../../chunk-ZNZEZZQ3.mjs";
7
- import "../../../chunk-CET7FSBB.mjs";
6
+ import "../../../chunk-LRWE7JIO.mjs";
7
+ import "../../../chunk-KP72CV3N.mjs";
8
8
  import "../../../chunk-N5UXWPB6.mjs";
9
9
  export {
10
10
  runExecutor as default
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOVTCUMRNjs = require('../../../chunk-OVTCUMRN.js');
3
+ var _chunkWKCHZUJSjs = require('../../../chunk-WKCHZUJS.js');
4
4
  require('../../../chunk-KUGEZPUO.js');
5
- require('../../../chunk-WRQN6TUO.js');
5
+ require('../../../chunk-FZGJMP4V.js');
6
6
  require('../../../chunk-N7FW365Q.js');
7
- require('../../../chunk-APKXT2II.js');
8
- require('../../../chunk-J756GE67.js');
7
+ require('../../../chunk-U63JI4YT.js');
8
+ require('../../../chunk-ZVAXGNHM.js');
9
9
  require('../../../chunk-MCKGQKYU.js');
10
10
 
11
11
 
12
- exports.default = _chunkOVTCUMRNjs.runExecutor;
12
+ exports.default = _chunkWKCHZUJSjs.runExecutor;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  runExecutor
3
- } from "../../../chunk-JC5YYXOF.mjs";
3
+ } from "../../../chunk-XTJO7LT5.mjs";
4
4
  import "../../../chunk-SWYYMID7.mjs";
5
- import "../../../chunk-D2C4YN2P.mjs";
5
+ import "../../../chunk-FJC6NTFV.mjs";
6
6
  import "../../../chunk-3MAI3FU2.mjs";
7
- import "../../../chunk-ZNZEZZQ3.mjs";
8
- import "../../../chunk-CET7FSBB.mjs";
7
+ import "../../../chunk-LRWE7JIO.mjs";
8
+ import "../../../chunk-KP72CV3N.mjs";
9
9
  import "../../../chunk-N5UXWPB6.mjs";
10
10
  export {
11
11
  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 _chunkUIJO3L53js = require('../../../chunk-UIJO3L53.js');
3
+ var _chunkEEHCZLIGjs = require('../../../chunk-EEHCZLIG.js');
4
4
 
5
5
 
6
6
  var _chunkN7FW365Qjs = require('../../../chunk-N7FW365Q.js');
7
- require('../../../chunk-APKXT2II.js');
8
- require('../../../chunk-J756GE67.js');
7
+ require('../../../chunk-U63JI4YT.js');
8
+ require('../../../chunk-ZVAXGNHM.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 = _chunkUIJO3L53js.withRunExecutor.call(void 0,
58
+ var executor_default = _chunkEEHCZLIGjs.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-F62R4VXI.mjs";
3
+ } from "../../../chunk-RH3QEZJL.mjs";
4
4
  import {
5
5
  createCliOptions
6
6
  } from "../../../chunk-3MAI3FU2.mjs";
7
- import "../../../chunk-ZNZEZZQ3.mjs";
8
- import "../../../chunk-CET7FSBB.mjs";
7
+ import "../../../chunk-LRWE7JIO.mjs";
8
+ import "../../../chunk-KP72CV3N.mjs";
9
9
  import {
10
10
  __require
11
11
  } from "../../../chunk-N5UXWPB6.mjs";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkQJJBMXLHjs = require('../../../chunk-QJJBMXLH.js');
5
+ var _chunkEAEYODL7js = require('../../../chunk-EAEYODL7.js');
6
6
  require('../../../chunk-MCKGQKYU.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.default = _chunkQJJBMXLHjs.generator_default; exports.initGenerator = _chunkQJJBMXLHjs.initGenerator; exports.initSchematic = _chunkQJJBMXLHjs.initSchematic;
11
+ exports.default = _chunkEAEYODL7js.generator_default; exports.initGenerator = _chunkEAEYODL7js.initGenerator; exports.initSchematic = _chunkEAEYODL7js.initSchematic;
@@ -2,7 +2,7 @@ import {
2
2
  generator_default,
3
3
  initGenerator,
4
4
  initSchematic
5
- } from "../../../chunk-NFHONUD4.mjs";
5
+ } from "../../../chunk-BG4BOS55.mjs";
6
6
  import "../../../chunk-N5UXWPB6.mjs";
7
7
  export {
8
8
  generator_default as default,
@@ -2,13 +2,13 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkENJ4VPTUjs = require('../../../chunk-ENJ4VPTU.js');
6
- require('../../../chunk-QJJBMXLH.js');
7
- require('../../../chunk-APKXT2II.js');
8
- require('../../../chunk-J756GE67.js');
5
+ var _chunkYQSZDW5Ijs = require('../../../chunk-YQSZDW5I.js');
6
+ require('../../../chunk-EAEYODL7.js');
7
+ require('../../../chunk-U63JI4YT.js');
8
+ require('../../../chunk-ZVAXGNHM.js');
9
9
  require('../../../chunk-MCKGQKYU.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.applicationGenerator = _chunkENJ4VPTUjs.applicationGenerator; exports.applicationSchematic = _chunkENJ4VPTUjs.applicationSchematic; exports.default = _chunkENJ4VPTUjs.generator_default;
14
+ exports.applicationGenerator = _chunkYQSZDW5Ijs.applicationGenerator; exports.applicationSchematic = _chunkYQSZDW5Ijs.applicationSchematic; exports.default = _chunkYQSZDW5Ijs.generator_default;
@@ -2,10 +2,10 @@ import {
2
2
  applicationGenerator,
3
3
  applicationSchematic,
4
4
  generator_default
5
- } from "../../../chunk-B3DTG4AE.mjs";
6
- import "../../../chunk-NFHONUD4.mjs";
7
- import "../../../chunk-ZNZEZZQ3.mjs";
8
- import "../../../chunk-CET7FSBB.mjs";
5
+ } from "../../../chunk-YHOL7SZX.mjs";
6
+ import "../../../chunk-BG4BOS55.mjs";
7
+ import "../../../chunk-LRWE7JIO.mjs";
8
+ import "../../../chunk-KP72CV3N.mjs";
9
9
  import "../../../chunk-N5UXWPB6.mjs";
10
10
  export {
11
11
  applicationGenerator,
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkWRQN6TUOjs = require('../../chunk-WRQN6TUO.js');
8
- require('../../chunk-J756GE67.js');
7
+ var _chunkFZGJMP4Vjs = require('../../chunk-FZGJMP4V.js');
8
+ require('../../chunk-ZVAXGNHM.js');
9
9
  require('../../chunk-MCKGQKYU.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
- exports.getEncoding = _chunkWRQN6TUOjs.getEncoding; exports.getInternalDependencies = _chunkWRQN6TUOjs.getInternalDependencies; exports.isTextFile = _chunkWRQN6TUOjs.isTextFile; exports.uploadFile = _chunkWRQN6TUOjs.uploadFile;
15
+ exports.getEncoding = _chunkFZGJMP4Vjs.getEncoding; exports.getInternalDependencies = _chunkFZGJMP4Vjs.getInternalDependencies; exports.isTextFile = _chunkFZGJMP4Vjs.isTextFile; exports.uploadFile = _chunkFZGJMP4Vjs.uploadFile;
@@ -4,8 +4,8 @@ import {
4
4
  getInternalDependencies,
5
5
  isTextFile,
6
6
  uploadFile
7
- } from "../../chunk-D2C4YN2P.mjs";
8
- import "../../chunk-CET7FSBB.mjs";
7
+ } from "../../chunk-FJC6NTFV.mjs";
8
+ import "../../chunk-KP72CV3N.mjs";
9
9
  import "../../chunk-N5UXWPB6.mjs";
10
10
  export {
11
11
  getEncoding,
@@ -3,12 +3,12 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkWRQN6TUOjs = require('../../chunk-WRQN6TUO.js');
7
- require('../../chunk-J756GE67.js');
6
+ var _chunkFZGJMP4Vjs = require('../../chunk-FZGJMP4V.js');
7
+ require('../../chunk-ZVAXGNHM.js');
8
8
  require('../../chunk-MCKGQKYU.js');
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- exports.getEncoding = _chunkWRQN6TUOjs.getEncoding; exports.getInternalDependencies = _chunkWRQN6TUOjs.getInternalDependencies; exports.isTextFile = _chunkWRQN6TUOjs.isTextFile; exports.uploadFile = _chunkWRQN6TUOjs.uploadFile;
14
+ exports.getEncoding = _chunkFZGJMP4Vjs.getEncoding; exports.getInternalDependencies = _chunkFZGJMP4Vjs.getInternalDependencies; exports.isTextFile = _chunkFZGJMP4Vjs.isTextFile; exports.uploadFile = _chunkFZGJMP4Vjs.uploadFile;
@@ -3,8 +3,8 @@ import {
3
3
  getInternalDependencies,
4
4
  isTextFile,
5
5
  uploadFile
6
- } from "../../chunk-D2C4YN2P.mjs";
7
- import "../../chunk-CET7FSBB.mjs";
6
+ } from "../../chunk-FJC6NTFV.mjs";
7
+ import "../../chunk-KP72CV3N.mjs";
8
8
  import "../../chunk-N5UXWPB6.mjs";
9
9
  export {
10
10
  getEncoding,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/cloudflare-tools",
3
- "version": "0.71.41",
3
+ "version": "0.71.43",
4
4
  "description": "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -117,9 +117,9 @@
117
117
  "@nx/js": "^22.3.3",
118
118
  "@nx/node": "^22.3.3",
119
119
  "@nx/web": "^22.3.3",
120
- "@storm-software/config": "1.135.0",
121
- "@storm-software/config-tools": "1.188.79",
122
- "@storm-software/workspace-tools": "1.294.25",
120
+ "@storm-software/config": "1.135.1",
121
+ "@storm-software/config-tools": "1.189.0",
122
+ "@storm-software/workspace-tools": "1.294.27",
123
123
  "nx": "^22.3.3",
124
124
  "tsup": "8.4.0",
125
125
  "wrangler": ">=3.58.0"
@@ -155,5 +155,5 @@
155
155
  "publishConfig": { "access": "public" },
156
156
  "executors": "./executors.json",
157
157
  "generators": "./generators.json",
158
- "gitHead": "f0da2445e3b4764750c75fdcd1d0ec13a10c6602"
158
+ "gitHead": "830464e15f990a59f7f1bea0484149baab78954a"
159
159
  }