@storm-software/cloudflare-tools 0.71.36 → 0.71.38

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 +21 -0
  2. package/dist/{chunk-VZQDXTIP.js → chunk-2ZIJOJWK.js} +5 -5
  3. package/dist/{chunk-5GILNZWS.js → chunk-EEK3W5XU.js} +49 -34
  4. package/dist/{chunk-G4ZCI2MN.mjs → chunk-EMWNJOID.mjs} +16 -1
  5. package/dist/{chunk-IVVRVG36.js → chunk-JVYJRSQA.js} +165 -165
  6. package/dist/{chunk-Z2D7AKMD.mjs → chunk-NJQ45CM7.mjs} +1 -1
  7. package/dist/{chunk-XRUTB3YT.mjs → chunk-OS6UT3W4.mjs} +4 -4
  8. package/dist/{chunk-WJNXHOQX.js → chunk-OUJRXMHB.js} +4 -4
  9. package/dist/{chunk-GIZHFP3I.mjs → chunk-PGZG5NYJ.mjs} +2 -2
  10. package/dist/{chunk-Z2WQB55R.js → chunk-UBHPQSHE.js} +4 -2
  11. package/dist/{chunk-UQBLSDWU.js → chunk-XEORWITW.js} +18 -18
  12. package/dist/{chunk-ZAGSYBDS.js → chunk-XNJDY3LT.js} +12 -12
  13. package/dist/{chunk-4WRUZBE7.mjs → chunk-YH22CWP6.mjs} +3 -3
  14. package/dist/{chunk-TPNHSNNZ.mjs → chunk-YIOQQ66Z.mjs} +4 -2
  15. package/dist/{chunk-4RYJLPOF.mjs → chunk-ZLA3QUDW.mjs} +3 -3
  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
@@ -3,7 +3,7 @@ import {
3
3
  writeDebug,
4
4
  writeError,
5
5
  writeWarning
6
- } from "./chunk-TPNHSNNZ.mjs";
6
+ } from "./chunk-YIOQQ66Z.mjs";
7
7
 
8
8
  // src/utils/r2-bucket-helpers.ts
9
9
  import { Upload } from "@aws-sdk/lib-storage";
@@ -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.71.35",
10
+ version: "0.71.37",
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",
@@ -136,9 +136,9 @@ var require_package = __commonJS({
136
136
  "@nx/js": "catalog:",
137
137
  "@nx/node": "catalog:",
138
138
  "@nx/web": "catalog:",
139
- "@storm-software/config": "1.134.74",
140
- "@storm-software/config-tools": "1.188.74",
141
- "@storm-software/workspace-tools": "1.294.20",
139
+ "@storm-software/config": "1.135.0",
140
+ "@storm-software/config-tools": "1.188.76",
141
+ "@storm-software/workspace-tools": "1.294.22",
142
142
  nx: "catalog:",
143
143
  tsup: "catalog:",
144
144
  wrangler: ">=3.58.0"
@@ -7,7 +7,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
7
7
  "package.json"(exports, module) {
8
8
  module.exports = {
9
9
  name: "@storm-software/cloudflare-tools",
10
- version: "0.71.35",
10
+ version: "0.71.37",
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",
@@ -136,9 +136,9 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
136
136
  "@nx/js": "catalog:",
137
137
  "@nx/node": "catalog:",
138
138
  "@nx/web": "catalog:",
139
- "@storm-software/config": "1.134.74",
140
- "@storm-software/config-tools": "1.188.74",
141
- "@storm-software/workspace-tools": "1.294.20",
139
+ "@storm-software/config": "1.135.0",
140
+ "@storm-software/config-tools": "1.188.76",
141
+ "@storm-software/workspace-tools": "1.294.22",
142
142
  nx: "catalog:",
143
143
  tsup: "catalog:",
144
144
  wrangler: ">=3.58.0"
@@ -8,7 +8,7 @@ import {
8
8
  getWorkspaceConfig,
9
9
  schemaRegistry,
10
10
  workspaceConfigSchema
11
- } from "./chunk-G4ZCI2MN.mjs";
11
+ } from "./chunk-EMWNJOID.mjs";
12
12
  import {
13
13
  correctPaths,
14
14
  formatLogMessage,
@@ -23,7 +23,7 @@ import {
23
23
  writeSuccess,
24
24
  writeTrace,
25
25
  writeWarning
26
- } from "./chunk-TPNHSNNZ.mjs";
26
+ } from "./chunk-YIOQQ66Z.mjs";
27
27
  import {
28
28
  __dirname
29
29
  } from "./chunk-N5UXWPB6.mjs";
@@ -35,6 +35,7 @@ var DEFAULT_COLOR_CONFIG = {
35
35
  help: "#5C4EE5",
36
36
  success: "#087f5b",
37
37
  info: "#0550ae",
38
+ debug: "#8afafc",
38
39
  warning: "#e3b341",
39
40
  danger: "#D8314A",
40
41
  fatal: "#51070f",
@@ -51,6 +52,7 @@ var DEFAULT_COLOR_CONFIG = {
51
52
  help: "#818cf8",
52
53
  success: "#10b981",
53
54
  info: "#58a6ff",
55
+ debug: "#8afafc",
54
56
  warning: "#f3d371",
55
57
  danger: "#D8314A",
56
58
  fatal: "#a40e26",
@@ -231,7 +233,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
231
233
  return (message) => {
232
234
  console.debug(
233
235
  `
234
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
236
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug)))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
235
237
  `
236
238
  );
237
239
  };
@@ -240,7 +242,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
240
242
  return (message) => {
241
243
  console.debug(
242
244
  `
243
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
245
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
244
246
  `
245
247
  );
246
248
  };
@@ -5,7 +5,7 @@ var _chunkKUGEZPUOjs = require('./chunk-KUGEZPUO.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkVZQDXTIPjs = require('./chunk-VZQDXTIP.js');
8
+ var _chunk2ZIJOJWKjs = require('./chunk-2ZIJOJWK.js');
9
9
 
10
10
 
11
11
 
@@ -13,7 +13,7 @@ var _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
13
13
 
14
14
 
15
15
 
16
- var _chunk5GILNZWSjs = require('./chunk-5GILNZWS.js');
16
+ var _chunkEEK3W5XUjs = require('./chunk-EEK3W5XU.js');
17
17
 
18
18
 
19
19
 
@@ -21,7 +21,7 @@ var _chunk5GILNZWSjs = require('./chunk-5GILNZWS.js');
21
21
 
22
22
 
23
23
 
24
- var _chunkZ2WQB55Rjs = require('./chunk-Z2WQB55R.js');
24
+ var _chunkUBHPQSHEjs = require('./chunk-UBHPQSHE.js');
25
25
 
26
26
  // src/executors/r2-upload-publish/executor.ts
27
27
 
@@ -53,8 +53,8 @@ async function runExecutor(options, context) {
53
53
  throw new Error("The executor requires projectsConfigurations.");
54
54
  }
55
55
  try {
56
- const workspaceRoot = _chunk5GILNZWSjs.findWorkspaceRoot.call(void 0, );
57
- const config = await _chunk5GILNZWSjs.getConfig.call(void 0, workspaceRoot);
56
+ const workspaceRoot = _chunkEEK3W5XUjs.findWorkspaceRoot.call(void 0, );
57
+ const config = await _chunkEEK3W5XUjs.getConfig.call(void 0, workspaceRoot);
58
58
  const projectName = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.name]), () => ( context.projectName));
59
59
  const projectDetails = _chunkN7FW365Qjs.getPackageInfo.call(void 0,
60
60
  context.projectsConfigurations.projects[context.projectName]
@@ -92,7 +92,7 @@ async function runExecutor(options, context) {
92
92
  "The executor failed because the project graph is not available. Please run the build command again."
93
93
  );
94
94
  }
95
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
95
+ _chunkUBHPQSHEjs.writeDebug.call(void 0,
96
96
  `Publishing ${context.projectName} to the ${bucketId} R2 Bucket (at ${registry})`
97
97
  );
98
98
  const client = new (0, _clients3.S3Client)({
@@ -108,13 +108,13 @@ async function runExecutor(options, context) {
108
108
  });
109
109
  const version = _optionalChain([projectDetails, 'optionalAccess', _13 => _13.content, 'optionalAccess', _14 => _14.version]);
110
110
  if (version) {
111
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, `Starting upload version ${version}`);
111
+ _chunkUBHPQSHEjs.writeDebug.call(void 0, `Starting upload version ${version}`);
112
112
  }
113
113
  const basePath = options.path;
114
- const files = await _glob.glob.call(void 0, _chunkZ2WQB55Rjs.joinPaths.call(void 0, basePath, "**/*"), {
114
+ const files = await _glob.glob.call(void 0, _chunkUBHPQSHEjs.joinPaths.call(void 0, basePath, "**/*"), {
115
115
  ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
116
116
  });
117
- const internalDependencies = await _chunkVZQDXTIPjs.getInternalDependencies.call(void 0,
117
+ const internalDependencies = await _chunk2ZIJOJWKjs.getInternalDependencies.call(void 0,
118
118
  context.projectName,
119
119
  projectGraph
120
120
  );
@@ -128,7 +128,7 @@ async function runExecutor(options, context) {
128
128
  }, _nullishCoalesce(_optionalChain([projectDetails, 'optionalAccess', _15 => _15.content, 'access', _16 => _16.dependencies]), () => ( {})));
129
129
  const release = _nullishCoalesce(options.tag, () => ( _child_process.execSync.call(void 0, "npm config get tag").toString().trim()));
130
130
  if (options.clean === true) {
131
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, `Clearing out existing items in ${bucketPath}`);
131
+ _chunkUBHPQSHEjs.writeDebug.call(void 0, `Clearing out existing items in ${bucketPath}`);
132
132
  if (!isDryRun) {
133
133
  const response = await client.send(
134
134
  new (0, _clients3.ListObjectsCommand)({
@@ -137,7 +137,7 @@ async function runExecutor(options, context) {
137
137
  })
138
138
  );
139
139
  if (_optionalChain([response, 'optionalAccess', _17 => _17.Contents]) && response.Contents.length > 0) {
140
- _chunkZ2WQB55Rjs.writeTrace.call(void 0,
140
+ _chunkUBHPQSHEjs.writeTrace.call(void 0,
141
141
  `Deleting the following existing items from the R2 bucket path ${bucketPath}: ${response.Contents.map((item) => item.Key).join(", ")}`
142
142
  );
143
143
  await client.send(
@@ -152,12 +152,12 @@ async function runExecutor(options, context) {
152
152
  })
153
153
  );
154
154
  } else {
155
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
155
+ _chunkUBHPQSHEjs.writeDebug.call(void 0,
156
156
  `No existing items to delete in the R2 bucket path ${bucketPath}`
157
157
  );
158
158
  }
159
159
  } else {
160
- _chunkZ2WQB55Rjs.writeWarning.call(void 0, "[Dry run]: Skipping R2 bucket clean.");
160
+ _chunkUBHPQSHEjs.writeWarning.call(void 0, "[Dry run]: Skipping R2 bucket clean.");
161
161
  }
162
162
  }
163
163
  if (options.writeMetaJson === true) {
@@ -178,7 +178,7 @@ async function runExecutor(options, context) {
178
178
  if (_optionalChain([projectDetails, 'optionalAccess', _22 => _22.type]) === "package.json") {
179
179
  meta.devDependencies = _optionalChain([projectDetails, 'optionalAccess', _23 => _23.content, 'optionalAccess', _24 => _24.devDependencies]);
180
180
  }
181
- await _chunkVZQDXTIPjs.uploadFile.call(void 0,
181
+ await _chunk2ZIJOJWKjs.uploadFile.call(void 0,
182
182
  client,
183
183
  bucketId,
184
184
  bucketPath,
@@ -194,22 +194,22 @@ async function runExecutor(options, context) {
194
194
  if (_optionalChain([_fs.statSync.call(void 0, file, {
195
195
  throwIfNoEntry: false
196
196
  }), 'optionalAccess', _25 => _25.isFile, 'call', _26 => _26()])) {
197
- const name = _chunkZ2WQB55Rjs.correctPaths.call(void 0, file).replace(_chunkZ2WQB55Rjs.correctPaths.call(void 0, basePath), "");
197
+ const name = _chunkUBHPQSHEjs.correctPaths.call(void 0, file).replace(_chunkUBHPQSHEjs.correctPaths.call(void 0, basePath), "");
198
198
  const type = _mimetypes2.default.lookup(name) || "application/octet-stream";
199
- await _chunkVZQDXTIPjs.uploadFile.call(void 0,
199
+ await _chunk2ZIJOJWKjs.uploadFile.call(void 0,
200
200
  client,
201
201
  bucketId,
202
202
  bucketPath,
203
203
  name,
204
204
  version,
205
- await _promises.readFile.call(void 0, file, _chunkVZQDXTIPjs.getEncoding.call(void 0, type)),
205
+ await _promises.readFile.call(void 0, file, _chunk2ZIJOJWKjs.getEncoding.call(void 0, type)),
206
206
  type,
207
207
  isDryRun
208
208
  );
209
209
  }
210
210
  })
211
211
  );
212
- _chunkZ2WQB55Rjs.writeSuccess.call(void 0,
212
+ _chunkUBHPQSHEjs.writeSuccess.call(void 0,
213
213
  `Successfully uploaded the ${projectName} project to the Cloudflare R2 bucket.`,
214
214
  config
215
215
  );
@@ -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 _chunkWJNXHOQXjs = require('./chunk-WJNXHOQX.js');
3
+ var _chunkOUJRXMHBjs = require('./chunk-OUJRXMHB.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk5GILNZWSjs = require('./chunk-5GILNZWS.js');
7
+ var _chunkEEK3W5XUjs = require('./chunk-EEK3W5XU.js');
8
8
 
9
9
 
10
10
 
@@ -12,7 +12,7 @@ var _chunk5GILNZWSjs = require('./chunk-5GILNZWS.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkZ2WQB55Rjs = require('./chunk-Z2WQB55R.js');
15
+ var _chunkUBHPQSHEjs = require('./chunk-UBHPQSHE.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 = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, "Storm Worker generator");
48
+ const stopwatch = _chunkUBHPQSHEjs.getStopwatch.call(void 0, "Storm Worker generator");
49
49
  let config;
50
50
  try {
51
- _chunkZ2WQB55Rjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
51
+ _chunkUBHPQSHEjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
52
52
 
53
53
  `, config);
54
- const workspaceRoot = _chunk5GILNZWSjs.findWorkspaceRoot.call(void 0, );
55
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
54
+ const workspaceRoot = _chunkEEK3W5XUjs.findWorkspaceRoot.call(void 0, );
55
+ _chunkUBHPQSHEjs.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 _chunk5GILNZWSjs.getConfig.call(void 0, workspaceRoot);
61
- _chunkZ2WQB55Rjs.writeTrace.call(void 0,
60
+ config = await _chunkEEK3W5XUjs.getConfig.call(void 0, workspaceRoot);
61
+ _chunkUBHPQSHEjs.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 _chunkWJNXHOQXjs.generator_default.call(void 0, tree, {
69
+ await _chunkOUJRXMHBjs.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
- _chunkZ2WQB55Rjs.writeFatal.call(void 0,
137
+ _chunkUBHPQSHEjs.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
- _chunkZ2WQB55Rjs.writeError.call(void 0,
141
+ _chunkUBHPQSHEjs.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}`,
@@ -5,7 +5,7 @@ import {
5
5
  getEncoding,
6
6
  getInternalDependencies,
7
7
  uploadFile
8
- } from "./chunk-Z2D7AKMD.mjs";
8
+ } from "./chunk-NJQ45CM7.mjs";
9
9
  import {
10
10
  createCliOptions,
11
11
  getPackageInfo
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  findWorkspaceRoot,
15
15
  getConfig
16
- } from "./chunk-G4ZCI2MN.mjs";
16
+ } from "./chunk-EMWNJOID.mjs";
17
17
  import {
18
18
  correctPaths,
19
19
  joinPaths,
@@ -21,7 +21,7 @@ import {
21
21
  writeSuccess,
22
22
  writeTrace,
23
23
  writeWarning
24
- } from "./chunk-TPNHSNNZ.mjs";
24
+ } from "./chunk-YIOQQ66Z.mjs";
25
25
 
26
26
  // src/executors/r2-upload-publish/executor.ts
27
27
  import {
@@ -35,6 +35,7 @@ var DEFAULT_COLOR_CONFIG = {
35
35
  help: "#5C4EE5",
36
36
  success: "#087f5b",
37
37
  info: "#0550ae",
38
+ debug: "#8afafc",
38
39
  warning: "#e3b341",
39
40
  danger: "#D8314A",
40
41
  fatal: "#51070f",
@@ -51,6 +52,7 @@ var DEFAULT_COLOR_CONFIG = {
51
52
  help: "#818cf8",
52
53
  success: "#10b981",
53
54
  info: "#58a6ff",
55
+ debug: "#8afafc",
54
56
  warning: "#f3d371",
55
57
  danger: "#D8314A",
56
58
  fatal: "#a40e26",
@@ -231,7 +233,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
231
233
  return (message) => {
232
234
  console.debug(
233
235
  `
234
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
236
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
235
237
  `
236
238
  );
237
239
  };
@@ -240,7 +242,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONF
240
242
  return (message) => {
241
243
  console.debug(
242
244
  `
243
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
245
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
244
246
  `
245
247
  );
246
248
  };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-XRUTB3YT.mjs";
3
+ } from "./chunk-OS6UT3W4.mjs";
4
4
  import {
5
5
  findWorkspaceRoot,
6
6
  getConfig
7
- } from "./chunk-G4ZCI2MN.mjs";
7
+ } from "./chunk-EMWNJOID.mjs";
8
8
  import {
9
9
  getStopwatch,
10
10
  writeDebug,
@@ -12,7 +12,7 @@ import {
12
12
  writeFatal,
13
13
  writeInfo,
14
14
  writeTrace
15
- } from "./chunk-TPNHSNNZ.mjs";
15
+ } from "./chunk-YIOQQ66Z.mjs";
16
16
  import {
17
17
  __dirname
18
18
  } from "./chunk-N5UXWPB6.mjs";
package/dist/executors.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";require('./chunk-XO66D74Z.js');
2
- require('./chunk-UQBLSDWU.js');
2
+ require('./chunk-XEORWITW.js');
3
3
  require('./chunk-KUGEZPUO.js');
4
- require('./chunk-VZQDXTIP.js');
4
+ require('./chunk-2ZIJOJWK.js');
5
5
  require('./chunk-QBD2OGUY.js');
6
- require('./chunk-IVVRVG36.js');
6
+ require('./chunk-JVYJRSQA.js');
7
7
  require('./chunk-N7FW365Q.js');
8
- require('./chunk-5GILNZWS.js');
9
- require('./chunk-Z2WQB55R.js');
8
+ require('./chunk-EEK3W5XU.js');
9
+ require('./chunk-UBHPQSHE.js');
10
10
  require('./chunk-MCKGQKYU.js');
@@ -1,10 +1,10 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
- import "./chunk-4WRUZBE7.mjs";
2
+ import "./chunk-YH22CWP6.mjs";
3
3
  import "./chunk-SWYYMID7.mjs";
4
- import "./chunk-Z2D7AKMD.mjs";
4
+ import "./chunk-NJQ45CM7.mjs";
5
5
  import "./chunk-NEU7F2AO.mjs";
6
- import "./chunk-GIZHFP3I.mjs";
6
+ import "./chunk-PGZG5NYJ.mjs";
7
7
  import "./chunk-3MAI3FU2.mjs";
8
- import "./chunk-G4ZCI2MN.mjs";
9
- import "./chunk-TPNHSNNZ.mjs";
8
+ import "./chunk-EMWNJOID.mjs";
9
+ import "./chunk-YIOQQ66Z.mjs";
10
10
  import "./chunk-N5UXWPB6.mjs";
@@ -2,17 +2,17 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkZAGSYBDSjs = require('./chunk-ZAGSYBDS.js');
5
+ var _chunkXNJDY3LTjs = require('./chunk-XNJDY3LT.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkWJNXHOQXjs = require('./chunk-WJNXHOQX.js');
10
- require('./chunk-5GILNZWS.js');
11
- require('./chunk-Z2WQB55R.js');
9
+ var _chunkOUJRXMHBjs = require('./chunk-OUJRXMHB.js');
10
+ require('./chunk-EEK3W5XU.js');
11
+ require('./chunk-UBHPQSHE.js');
12
12
  require('./chunk-MCKGQKYU.js');
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- exports.applicationGenerator = _chunkZAGSYBDSjs.applicationGenerator; exports.applicationSchematic = _chunkZAGSYBDSjs.applicationSchematic; exports.initGenerator = _chunkWJNXHOQXjs.initGenerator; exports.initSchematic = _chunkWJNXHOQXjs.initSchematic;
18
+ exports.applicationGenerator = _chunkXNJDY3LTjs.applicationGenerator; exports.applicationSchematic = _chunkXNJDY3LTjs.applicationSchematic; exports.initGenerator = _chunkOUJRXMHBjs.initGenerator; exports.initSchematic = _chunkOUJRXMHBjs.initSchematic;
@@ -2,13 +2,13 @@ import "./chunk-3J7KBHMJ.mjs";
2
2
  import {
3
3
  applicationGenerator,
4
4
  applicationSchematic
5
- } from "./chunk-4RYJLPOF.mjs";
5
+ } from "./chunk-ZLA3QUDW.mjs";
6
6
  import {
7
7
  initGenerator,
8
8
  initSchematic
9
- } from "./chunk-XRUTB3YT.mjs";
10
- import "./chunk-G4ZCI2MN.mjs";
11
- import "./chunk-TPNHSNNZ.mjs";
9
+ } from "./chunk-OS6UT3W4.mjs";
10
+ import "./chunk-EMWNJOID.mjs";
11
+ import "./chunk-YIOQQ66Z.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-UQBLSDWU.js');
2
+ require('./chunk-XEORWITW.js');
3
3
  require('./chunk-DHBG5ASJ.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkZAGSYBDSjs = require('./chunk-ZAGSYBDS.js');
7
+ var _chunkXNJDY3LTjs = require('./chunk-XNJDY3LT.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkWJNXHOQXjs = require('./chunk-WJNXHOQX.js');
11
+ var _chunkOUJRXMHBjs = require('./chunk-OUJRXMHB.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 _chunkVZQDXTIPjs = require('./chunk-VZQDXTIP.js');
19
+ var _chunk2ZIJOJWKjs = require('./chunk-2ZIJOJWK.js');
20
20
  require('./chunk-QBD2OGUY.js');
21
- require('./chunk-IVVRVG36.js');
21
+ require('./chunk-JVYJRSQA.js');
22
22
 
23
23
 
24
24
 
25
25
  var _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
26
- require('./chunk-5GILNZWS.js');
27
- require('./chunk-Z2WQB55R.js');
26
+ require('./chunk-EEK3W5XU.js');
27
+ require('./chunk-UBHPQSHE.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 = _chunkZAGSYBDSjs.applicationGenerator; exports.applicationSchematic = _chunkZAGSYBDSjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getEncoding = _chunkVZQDXTIPjs.getEncoding; exports.getInternalDependencies = _chunkVZQDXTIPjs.getInternalDependencies; exports.initGenerator = _chunkWJNXHOQXjs.initGenerator; exports.initSchematic = _chunkWJNXHOQXjs.initSchematic; exports.isTextFile = _chunkVZQDXTIPjs.isTextFile; exports.name = name; exports.uploadFile = _chunkVZQDXTIPjs.uploadFile;
163
+ exports.applicationGenerator = _chunkXNJDY3LTjs.applicationGenerator; exports.applicationSchematic = _chunkXNJDY3LTjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getEncoding = _chunk2ZIJOJWKjs.getEncoding; exports.getInternalDependencies = _chunk2ZIJOJWKjs.getInternalDependencies; exports.initGenerator = _chunkOUJRXMHBjs.initGenerator; exports.initSchematic = _chunkOUJRXMHBjs.initSchematic; exports.isTextFile = _chunk2ZIJOJWKjs.isTextFile; exports.name = name; exports.uploadFile = _chunk2ZIJOJWKjs.uploadFile;
package/dist/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  import "./chunk-YSCEY447.mjs";
2
- import "./chunk-4WRUZBE7.mjs";
2
+ import "./chunk-YH22CWP6.mjs";
3
3
  import "./chunk-3J7KBHMJ.mjs";
4
4
  import {
5
5
  applicationGenerator,
6
6
  applicationSchematic
7
- } from "./chunk-4RYJLPOF.mjs";
7
+ } from "./chunk-ZLA3QUDW.mjs";
8
8
  import {
9
9
  initGenerator,
10
10
  initSchematic
11
- } from "./chunk-XRUTB3YT.mjs";
11
+ } from "./chunk-OS6UT3W4.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-Z2D7AKMD.mjs";
19
+ } from "./chunk-NJQ45CM7.mjs";
20
20
  import "./chunk-NEU7F2AO.mjs";
21
- import "./chunk-GIZHFP3I.mjs";
21
+ import "./chunk-PGZG5NYJ.mjs";
22
22
  import {
23
23
  ProjectTagConstants,
24
24
  addProjectTag
25
25
  } from "./chunk-3MAI3FU2.mjs";
26
- import "./chunk-G4ZCI2MN.mjs";
27
- import "./chunk-TPNHSNNZ.mjs";
26
+ import "./chunk-EMWNJOID.mjs";
27
+ import "./chunk-YIOQQ66Z.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-IVVRVG36.js');
4
+ require('../../../chunk-JVYJRSQA.js');
5
5
  require('../../../chunk-N7FW365Q.js');
6
- require('../../../chunk-5GILNZWS.js');
7
- require('../../../chunk-Z2WQB55R.js');
6
+ require('../../../chunk-EEK3W5XU.js');
7
+ require('../../../chunk-UBHPQSHE.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-GIZHFP3I.mjs";
4
+ import "../../../chunk-PGZG5NYJ.mjs";
5
5
  import "../../../chunk-3MAI3FU2.mjs";
6
- import "../../../chunk-G4ZCI2MN.mjs";
7
- import "../../../chunk-TPNHSNNZ.mjs";
6
+ import "../../../chunk-EMWNJOID.mjs";
7
+ import "../../../chunk-YIOQQ66Z.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 _chunkUQBLSDWUjs = require('../../../chunk-UQBLSDWU.js');
3
+ var _chunkXEORWITWjs = require('../../../chunk-XEORWITW.js');
4
4
  require('../../../chunk-KUGEZPUO.js');
5
- require('../../../chunk-VZQDXTIP.js');
5
+ require('../../../chunk-2ZIJOJWK.js');
6
6
  require('../../../chunk-N7FW365Q.js');
7
- require('../../../chunk-5GILNZWS.js');
8
- require('../../../chunk-Z2WQB55R.js');
7
+ require('../../../chunk-EEK3W5XU.js');
8
+ require('../../../chunk-UBHPQSHE.js');
9
9
  require('../../../chunk-MCKGQKYU.js');
10
10
 
11
11
 
12
- exports.default = _chunkUQBLSDWUjs.runExecutor;
12
+ exports.default = _chunkXEORWITWjs.runExecutor;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  runExecutor
3
- } from "../../../chunk-4WRUZBE7.mjs";
3
+ } from "../../../chunk-YH22CWP6.mjs";
4
4
  import "../../../chunk-SWYYMID7.mjs";
5
- import "../../../chunk-Z2D7AKMD.mjs";
5
+ import "../../../chunk-NJQ45CM7.mjs";
6
6
  import "../../../chunk-3MAI3FU2.mjs";
7
- import "../../../chunk-G4ZCI2MN.mjs";
8
- import "../../../chunk-TPNHSNNZ.mjs";
7
+ import "../../../chunk-EMWNJOID.mjs";
8
+ import "../../../chunk-YIOQQ66Z.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 _chunkIVVRVG36js = require('../../../chunk-IVVRVG36.js');
3
+ var _chunkJVYJRSQAjs = require('../../../chunk-JVYJRSQA.js');
4
4
 
5
5
 
6
6
  var _chunkN7FW365Qjs = require('../../../chunk-N7FW365Q.js');
7
- require('../../../chunk-5GILNZWS.js');
8
- require('../../../chunk-Z2WQB55R.js');
7
+ require('../../../chunk-EEK3W5XU.js');
8
+ require('../../../chunk-UBHPQSHE.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 = _chunkIVVRVG36js.withRunExecutor.call(void 0,
58
+ var executor_default = _chunkJVYJRSQAjs.withRunExecutor.call(void 0,
59
59
  "Cloudflare Serve executor",
60
60
  serveExecutor,
61
61
  {