@storm-software/cloudflare-tools 0.71.130 → 0.71.132
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.
- package/CHANGELOG.md +24 -0
- package/README.md +1 -1
- package/dist/{chunk-EF5HODET.mjs → chunk-3ALYECD7.mjs} +1 -1
- package/dist/{chunk-ZDABHOZ2.mjs → chunk-76TM4A24.mjs} +17 -28
- package/dist/{chunk-AUZL2N67.mjs → chunk-AIE6CJKD.mjs} +3 -3
- package/dist/{chunk-FKBCEMBX.js → chunk-C45TN2ET.js} +18 -18
- package/dist/{chunk-TDK6ZA5N.js → chunk-GDM2SN2N.js} +13 -13
- package/dist/{chunk-5HMCQMIT.mjs → chunk-HLWLTR63.mjs} +8 -8
- package/dist/{chunk-NA7AQLQH.mjs → chunk-LYG5KMUA.mjs} +1 -1
- package/dist/{chunk-OEP2XBU4.js → chunk-M67NVAFN.js} +34 -34
- package/dist/{chunk-5QM4JUN3.mjs → chunk-NDCCQODD.mjs} +1 -1
- package/dist/{chunk-B6RWRHGX.mjs → chunk-NORE3RH3.mjs} +3 -3
- package/dist/{chunk-WKNE5PIR.js → chunk-NWIDJAAD.js} +168 -168
- package/dist/{chunk-SIS5VQAU.js → chunk-RFTWAZAH.js} +5 -5
- package/dist/{chunk-VJ7YMMMW.mjs → chunk-RRWFLQSB.mjs} +4 -4
- package/dist/{chunk-M3VAGNJQ.mjs → chunk-RV2PLDCF.mjs} +1 -1
- package/dist/{chunk-NPNZ7YFK.js → chunk-SCUJQAQO.js} +7 -7
- package/dist/{chunk-RIBK362W.js → chunk-X4EH7JKI.js} +17 -28
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +7 -7
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +5 -5
- package/dist/index.js +8 -8
- package/dist/index.mjs +9 -9
- package/dist/src/executors/cloudflare-publish/executor.js +3 -3
- package/dist/src/executors/cloudflare-publish/executor.mjs +5 -5
- package/dist/src/executors/r2-upload-publish/executor.js +5 -5
- package/dist/src/executors/r2-upload-publish/executor.mjs +5 -5
- package/dist/src/executors/serve/executor.js +4 -4
- package/dist/src/executors/serve/executor.mjs +4 -4
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +2 -2
- package/dist/src/generators/worker/generator.js +5 -5
- package/dist/src/generators/worker/generator.mjs +5 -5
- package/dist/src/utils/http-handler.mjs +1 -1
- package/dist/src/utils/index.js +3 -3
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/r2-bucket-helpers.js +3 -3
- package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
- package/dist/tsup.config.mjs +1 -1
- package/package.json +8 -8
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
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 :
|
|
14
|
-
|
|
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
|
-
|
|
36
|
+
_chunkX4EH7JKIjs.writeWarning.call(void 0, "[Dry run]: Skipping upload to the R2 bucket.");
|
|
37
37
|
}
|
|
38
38
|
} catch (error) {
|
|
39
|
-
|
|
39
|
+
_chunkX4EH7JKIjs.writeError.call(void 0, `Failed to upload ${key} to the ${bucketName} R2 bucket.`);
|
|
40
40
|
throw error;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HLWLTR63.mjs";
|
|
4
4
|
import {
|
|
5
5
|
findWorkspaceRoot,
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
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-
|
|
16
|
+
} from "./chunk-76TM4A24.mjs";
|
|
17
17
|
import {
|
|
18
18
|
__dirname
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-LYG5KMUA.mjs";
|
|
20
20
|
|
|
21
21
|
// src/generators/worker/generator.ts
|
|
22
22
|
import {
|
|
@@ -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.
|
|
10
|
+
version: "0.71.131",
|
|
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 = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
|
|
|
132
132
|
module: "dist/index.mjs",
|
|
133
133
|
typings: "dist/index.d.ts",
|
|
134
134
|
dependencies: {
|
|
135
|
-
"@aws-sdk/client-s3": "^3.
|
|
136
|
-
"@aws-sdk/lib-storage": "^3.
|
|
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 = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
|
|
|
149
149
|
nx: "catalog:",
|
|
150
150
|
tsup: "catalog:",
|
|
151
151
|
untyped: "catalog:",
|
|
152
|
-
wrangler: "^4.
|
|
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.
|
|
160
|
-
"@storm-software/config-tools": "1.
|
|
161
|
-
"@storm-software/workspace-tools": "1.295.
|
|
159
|
+
"@storm-software/config": "1.137.33",
|
|
160
|
+
"@storm-software/config-tools": "1.190.0",
|
|
161
|
+
"@storm-software/workspace-tools": "1.295.57",
|
|
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 = {},
|
|
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-
|
|
2
|
+
require('./chunk-C45TN2ET.js');
|
|
3
3
|
require('./chunk-KUGEZPUO.js');
|
|
4
|
-
require('./chunk-
|
|
4
|
+
require('./chunk-RFTWAZAH.js');
|
|
5
5
|
require('./chunk-QBD2OGUY.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-NWIDJAAD.js');
|
|
7
7
|
require('./chunk-N7FW365Q.js');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-M67NVAFN.js');
|
|
9
|
+
require('./chunk-X4EH7JKI.js');
|
|
10
10
|
require('./chunk-MCKGQKYU.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-NORE3RH3.mjs";
|
|
3
3
|
import "./chunk-SWYYMID7.mjs";
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-RV2PLDCF.mjs";
|
|
5
|
+
import "./chunk-3ALYECD7.mjs";
|
|
6
|
+
import "./chunk-AIE6CJKD.mjs";
|
|
7
7
|
import "./chunk-3MAI3FU2.mjs";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-NDCCQODD.mjs";
|
|
9
|
+
import "./chunk-76TM4A24.mjs";
|
|
10
|
+
import "./chunk-LYG5KMUA.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkGDM2SN2Njs = require('./chunk-GDM2SN2N.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
var _chunkSCUJQAQOjs = require('./chunk-SCUJQAQO.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 =
|
|
18
|
+
exports.applicationGenerator = _chunkGDM2SN2Njs.applicationGenerator; exports.applicationSchematic = _chunkGDM2SN2Njs.applicationSchematic; exports.initGenerator = _chunkSCUJQAQOjs.initGenerator; exports.initSchematic = _chunkSCUJQAQOjs.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,14 +2,14 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RRWFLQSB.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-HLWLTR63.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-
|
|
2
|
+
require('./chunk-C45TN2ET.js');
|
|
3
3
|
require('./chunk-DHBG5ASJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkGDM2SN2Njs = require('./chunk-GDM2SN2N.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkSCUJQAQOjs = require('./chunk-SCUJQAQO.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
|
|
19
|
+
var _chunkRFTWAZAHjs = require('./chunk-RFTWAZAH.js');
|
|
20
20
|
require('./chunk-QBD2OGUY.js');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-NWIDJAAD.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
|
|
26
|
-
require('./chunk-
|
|
27
|
-
require('./chunk-
|
|
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 =
|
|
163
|
+
exports.applicationGenerator = _chunkGDM2SN2Njs.applicationGenerator; exports.applicationSchematic = _chunkGDM2SN2Njs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getEncoding = _chunkRFTWAZAHjs.getEncoding; exports.getInternalDependencies = _chunkRFTWAZAHjs.getInternalDependencies; exports.initGenerator = _chunkSCUJQAQOjs.initGenerator; exports.initSchematic = _chunkSCUJQAQOjs.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-
|
|
2
|
+
import "./chunk-NORE3RH3.mjs";
|
|
3
3
|
import "./chunk-3J7KBHMJ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
applicationGenerator,
|
|
6
6
|
applicationSchematic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RRWFLQSB.mjs";
|
|
8
8
|
import {
|
|
9
9
|
initGenerator,
|
|
10
10
|
initSchematic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HLWLTR63.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-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
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-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
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-
|
|
4
|
+
require('../../../chunk-NWIDJAAD.js');
|
|
5
5
|
require('../../../chunk-N7FW365Q.js');
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
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-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-3ALYECD7.mjs";
|
|
4
|
+
import "../../../chunk-AIE6CJKD.mjs";
|
|
5
5
|
import "../../../chunk-3MAI3FU2.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
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
|
|
3
|
+
var _chunkC45TN2ETjs = require('../../../chunk-C45TN2ET.js');
|
|
4
4
|
require('../../../chunk-KUGEZPUO.js');
|
|
5
|
-
require('../../../chunk-
|
|
5
|
+
require('../../../chunk-RFTWAZAH.js');
|
|
6
6
|
require('../../../chunk-N7FW365Q.js');
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
7
|
+
require('../../../chunk-M67NVAFN.js');
|
|
8
|
+
require('../../../chunk-X4EH7JKI.js');
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunkC45TN2ETjs.runExecutor;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-NORE3RH3.mjs";
|
|
4
4
|
import "../../../chunk-SWYYMID7.mjs";
|
|
5
|
-
import "../../../chunk-
|
|
5
|
+
import "../../../chunk-RV2PLDCF.mjs";
|
|
6
6
|
import "../../../chunk-3MAI3FU2.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
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
|
|
3
|
+
var _chunkNWIDJAADjs = require('../../../chunk-NWIDJAAD.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkN7FW365Qjs = require('../../../chunk-N7FW365Q.js');
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
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 =
|
|
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-
|
|
3
|
+
} from "../../../chunk-AIE6CJKD.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
6
|
} from "../../../chunk-3MAI3FU2.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-NDCCQODD.mjs";
|
|
8
|
+
import "../../../chunk-76TM4A24.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__require
|
|
11
|
-
} from "../../../chunk-
|
|
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
|
|
5
|
+
var _chunkSCUJQAQOjs = require('../../../chunk-SCUJQAQO.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkSCUJQAQOjs.generator_default; exports.initGenerator = _chunkSCUJQAQOjs.initGenerator; exports.initSchematic = _chunkSCUJQAQOjs.initSchematic;
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
generator_default,
|
|
3
3
|
initGenerator,
|
|
4
4
|
initSchematic
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-HLWLTR63.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
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkGDM2SN2Njs = require('../../../chunk-GDM2SN2N.js');
|
|
6
|
+
require('../../../chunk-SCUJQAQO.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 =
|
|
14
|
+
exports.applicationGenerator = _chunkGDM2SN2Njs.applicationGenerator; exports.applicationSchematic = _chunkGDM2SN2Njs.applicationSchematic; exports.default = _chunkGDM2SN2Njs.generator_default;
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-RRWFLQSB.mjs";
|
|
6
|
+
import "../../../chunk-HLWLTR63.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,
|
package/dist/src/utils/index.js
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('../../chunk-
|
|
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 =
|
|
15
|
+
exports.getEncoding = _chunkRFTWAZAHjs.getEncoding; exports.getInternalDependencies = _chunkRFTWAZAHjs.getInternalDependencies; exports.isTextFile = _chunkRFTWAZAHjs.isTextFile; exports.uploadFile = _chunkRFTWAZAHjs.uploadFile;
|
package/dist/src/utils/index.mjs
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
getInternalDependencies,
|
|
5
5
|
isTextFile,
|
|
6
6
|
uploadFile
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-RV2PLDCF.mjs";
|
|
8
|
+
import "../../chunk-76TM4A24.mjs";
|
|
9
|
+
import "../../chunk-LYG5KMUA.mjs";
|
|
10
10
|
export {
|
|
11
11
|
getEncoding,
|
|
12
12
|
getInternalDependencies,
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('../../chunk-
|
|
6
|
+
var _chunkRFTWAZAHjs = require('../../chunk-RFTWAZAH.js');
|
|
7
|
+
require('../../chunk-X4EH7JKI.js');
|
|
8
8
|
require('../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.getEncoding =
|
|
14
|
+
exports.getEncoding = _chunkRFTWAZAHjs.getEncoding; exports.getInternalDependencies = _chunkRFTWAZAHjs.getInternalDependencies; exports.isTextFile = _chunkRFTWAZAHjs.isTextFile; exports.uploadFile = _chunkRFTWAZAHjs.uploadFile;
|