@storm-software/cloudflare-tools 0.63.25 → 0.63.26
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 +7 -0
- package/README.md +1 -1
- package/dist/{chunk-SJE3AZ5R.mjs → chunk-3OAEUWSP.mjs} +1 -1
- package/dist/{chunk-IPQFZI7C.mjs → chunk-5WE4TNLQ.mjs} +35 -3
- package/dist/{chunk-PUKUSS7F.mjs → chunk-6LXAWJUW.mjs} +3 -3
- package/dist/{chunk-VKJE4IV6.mjs → chunk-77YKYAKQ.mjs} +3 -3
- package/dist/{chunk-46LEVY35.js → chunk-EDVXAHJB.js} +77 -45
- package/dist/{chunk-E2ZPWAPC.mjs → chunk-GGWEYZ6F.mjs} +12 -1
- package/dist/{chunk-VI7OHBFH.js → chunk-GLPDUIZ5.js} +16 -16
- package/dist/{chunk-HKXGZZ4U.js → chunk-JFRM3B2T.js} +132 -132
- package/dist/{chunk-5ENKRUAU.js → chunk-LR64JTPC.js} +12 -1
- package/dist/{chunk-AG2PERXB.mjs → chunk-LVA3TEJC.mjs} +2 -2
- package/dist/{chunk-IMASMF4S.js → chunk-TSJWYL6Q.js} +2 -2
- package/dist/{chunk-EPBMBQ4K.mjs → chunk-UUPXZQE4.mjs} +3 -3
- package/dist/{chunk-DTL2T3BP.js → chunk-WT7TBR2C.js} +3 -3
- package/dist/{chunk-2WZ5MDJJ.js → chunk-X3P4PVUJ.js} +12 -12
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +5 -5
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/src/executors/cloudflare-publish/executor.js +3 -3
- package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
- package/dist/src/executors/r2-upload-publish/executor.js +5 -5
- package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
- package/dist/src/executors/serve/executor.js +4 -4
- package/dist/src/executors/serve/executor.mjs +3 -3
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +1 -1
- package/dist/src/generators/worker/generator.js +5 -5
- package/dist/src/generators/worker/generator.mjs +4 -4
- package/dist/src/utils/index.js +3 -3
- package/dist/src/utils/index.mjs +2 -2
- package/dist/src/utils/r2-bucket-helpers.js +3 -3
- package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
- package/package.json +2 -2
|
@@ -406,6 +406,15 @@ var errorConfigSchema = _zod2.default.object({
|
|
|
406
406
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
407
407
|
)
|
|
408
408
|
}).describe("The workspace's error config used during the error process");
|
|
409
|
+
var organizationConfigSchema = _zod2.default.object({
|
|
410
|
+
name: _zod2.default.string().trim().describe("The name of the organization"),
|
|
411
|
+
description: _zod2.default.string().trim().optional().describe("A description of the organization"),
|
|
412
|
+
logo: _zod2.default.string().trim().url().optional().describe("A URL to the organization's logo image"),
|
|
413
|
+
icon: _zod2.default.string().trim().url().optional().describe("A URL to the organization's icon image"),
|
|
414
|
+
url: _zod2.default.string().trim().url().optional().describe(
|
|
415
|
+
"A URL to a page that provides more information about the organization"
|
|
416
|
+
)
|
|
417
|
+
}).describe("The workspace's organization details");
|
|
409
418
|
var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
410
419
|
$schema: _zod2.default.string().trim().default(
|
|
411
420
|
"https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
|
|
@@ -417,7 +426,9 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
|
417
426
|
"The name of the service/package/scope using this configuration"
|
|
418
427
|
),
|
|
419
428
|
namespace: _zod2.default.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
420
|
-
organization: _zod2.default.string().trim().
|
|
429
|
+
organization: organizationConfigSchema.or(_zod2.default.string().trim().describe("The organization of the workspace")).optional().describe(
|
|
430
|
+
"The organization of the workspace. This can be a string or an object containing the organization's details"
|
|
431
|
+
),
|
|
421
432
|
repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
422
433
|
license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
423
434
|
homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
@@ -7,7 +7,7 @@ var require_package = __commonJS({
|
|
|
7
7
|
"package.json"(exports, module) {
|
|
8
8
|
module.exports = {
|
|
9
9
|
name: "@storm-software/cloudflare-tools",
|
|
10
|
-
version: "0.63.
|
|
10
|
+
version: "0.63.25",
|
|
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",
|
|
@@ -175,7 +175,7 @@ var require_package = __commonJS({
|
|
|
175
175
|
nx: "catalog:",
|
|
176
176
|
tsup: "catalog:",
|
|
177
177
|
untyped: "catalog:",
|
|
178
|
-
wrangler: "^4.20.
|
|
178
|
+
wrangler: "^4.20.3"
|
|
179
179
|
},
|
|
180
180
|
publishConfig: {
|
|
181
181
|
access: "public"
|
|
@@ -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.63.
|
|
10
|
+
version: "0.63.25",
|
|
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",
|
|
@@ -175,7 +175,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
|
|
|
175
175
|
nx: "catalog:",
|
|
176
176
|
tsup: "catalog:",
|
|
177
177
|
untyped: "catalog:",
|
|
178
|
-
wrangler: "^4.20.
|
|
178
|
+
wrangler: "^4.20.3"
|
|
179
179
|
},
|
|
180
180
|
publishConfig: {
|
|
181
181
|
access: "public"
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInternalDependencies,
|
|
3
3
|
r2UploadFile
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3OAEUWSP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createCliOptions,
|
|
7
7
|
getPackageInfo
|
|
8
8
|
} from "./chunk-RH2IXKSC.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5WE4TNLQ.mjs";
|
|
12
12
|
import {
|
|
13
13
|
findWorkspaceRoot,
|
|
14
14
|
writeDebug,
|
|
15
15
|
writeInfo,
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeWarning
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GGWEYZ6F.mjs";
|
|
19
19
|
|
|
20
20
|
// src/executors/r2-upload-publish/executor.ts
|
|
21
21
|
import { S3 } from "@aws-sdk/client-s3";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkLR64JTPCjs = require('./chunk-LR64JTPC.js');
|
|
5
5
|
|
|
6
6
|
// src/utils/r2-bucket-helpers.ts
|
|
7
7
|
var _crypto = require('crypto');
|
|
8
8
|
var r2UploadFile = async (client, bucketName, projectPath, fileName, version, fileContent, contentType = "text/plain", isDryRun = false) => {
|
|
9
9
|
const checksum = _crypto.createHash.call(void 0, "sha256").update(fileContent).digest("base64");
|
|
10
10
|
const fileKey = `${projectPath}/${fileName.startsWith("/") ? fileName.substring(1) : fileName}`;
|
|
11
|
-
|
|
11
|
+
_chunkLR64JTPCjs.writeDebug.call(void 0, `Uploading file: ${fileKey}`);
|
|
12
12
|
if (!isDryRun) {
|
|
13
13
|
await client.putObject({
|
|
14
14
|
Bucket: bucketName,
|
|
@@ -21,7 +21,7 @@ var r2UploadFile = async (client, bucketName, projectPath, fileName, version, fi
|
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
} else {
|
|
24
|
-
|
|
24
|
+
_chunkLR64JTPCjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
var getInternalDependencies = (projectName, graph) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkTSJWYL6Qjs = require('./chunk-TSJWYL6Q.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkEDVXAHJBjs = require('./chunk-EDVXAHJB.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ var _chunk46LEVY35js = require('./chunk-46LEVY35.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkLR64JTPCjs = require('./chunk-LR64JTPC.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 =
|
|
48
|
+
const stopwatch = _chunkLR64JTPCjs.getStopwatch.call(void 0, "Storm Worker generator");
|
|
49
49
|
let config;
|
|
50
50
|
try {
|
|
51
|
-
|
|
51
|
+
_chunkLR64JTPCjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
|
|
52
52
|
|
|
53
53
|
`, config);
|
|
54
|
-
const workspaceRoot =
|
|
55
|
-
|
|
54
|
+
const workspaceRoot = _chunkLR64JTPCjs.findWorkspaceRoot.call(void 0, );
|
|
55
|
+
_chunkLR64JTPCjs.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
|
|
61
|
-
|
|
60
|
+
config = await _chunkEDVXAHJBjs.getConfig.call(void 0, workspaceRoot);
|
|
61
|
+
_chunkLR64JTPCjs.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
|
|
69
|
+
await _chunkTSJWYL6Qjs.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
|
-
|
|
137
|
+
_chunkLR64JTPCjs.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
|
-
|
|
141
|
+
_chunkLR64JTPCjs.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}`,
|
package/dist/executors.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
2
|
require('./chunk-T2OGA6MB.js');
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
require('./chunk-JFRM3B2T.js');
|
|
4
|
+
require('./chunk-GLPDUIZ5.js');
|
|
5
|
+
require('./chunk-WT7TBR2C.js');
|
|
6
6
|
require('./chunk-KTFMIXUN.js');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-EDVXAHJB.js');
|
|
8
|
+
require('./chunk-LR64JTPC.js');
|
|
9
9
|
require('./chunk-MCKGQKYU.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
2
|
import "./chunk-YKB65IP2.mjs";
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-77YKYAKQ.mjs";
|
|
4
|
+
import "./chunk-UUPXZQE4.mjs";
|
|
5
|
+
import "./chunk-3OAEUWSP.mjs";
|
|
6
6
|
import "./chunk-RH2IXKSC.mjs";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-5WE4TNLQ.mjs";
|
|
8
|
+
import "./chunk-GGWEYZ6F.mjs";
|
|
9
9
|
import "./chunk-B7N6WOYD.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkX3P4PVUJjs = require('./chunk-X3P4PVUJ.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
var _chunkTSJWYL6Qjs = require('./chunk-TSJWYL6Q.js');
|
|
10
|
+
require('./chunk-EDVXAHJB.js');
|
|
11
|
+
require('./chunk-LR64JTPC.js');
|
|
12
12
|
require('./chunk-MCKGQKYU.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkX3P4PVUJjs.applicationGenerator; exports.applicationSchematic = _chunkX3P4PVUJjs.applicationSchematic; exports.initGenerator = _chunkTSJWYL6Qjs.initGenerator; exports.initSchematic = _chunkTSJWYL6Qjs.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,13 +2,13 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6LXAWJUW.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-LVA3TEJC.mjs";
|
|
10
|
+
import "./chunk-5WE4TNLQ.mjs";
|
|
11
|
+
import "./chunk-GGWEYZ6F.mjs";
|
|
12
12
|
import "./chunk-B7N6WOYD.mjs";
|
|
13
13
|
export {
|
|
14
14
|
applicationGenerator,
|
package/dist/index.js
CHANGED
|
@@ -3,25 +3,25 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkX3P4PVUJjs = require('./chunk-X3P4PVUJ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkTSJWYL6Qjs = require('./chunk-TSJWYL6Q.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-T2OGA6MB.js');
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-JFRM3B2T.js');
|
|
14
|
+
require('./chunk-GLPDUIZ5.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkWT7TBR2Cjs = require('./chunk-WT7TBR2C.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunkKTFMIXUNjs = require('./chunk-KTFMIXUN.js');
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-EDVXAHJB.js');
|
|
24
|
+
require('./chunk-LR64JTPC.js');
|
|
25
25
|
require('./chunk-MCKGQKYU.js');
|
|
26
26
|
|
|
27
27
|
// src/plugins/index.ts
|
|
@@ -162,4 +162,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
exports.applicationGenerator =
|
|
165
|
+
exports.applicationGenerator = _chunkX3P4PVUJjs.applicationGenerator; exports.applicationSchematic = _chunkX3P4PVUJjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkWT7TBR2Cjs.getInternalDependencies; exports.initGenerator = _chunkTSJWYL6Qjs.initGenerator; exports.initSchematic = _chunkTSJWYL6Qjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkWT7TBR2Cjs.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -3,25 +3,25 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
applicationGenerator,
|
|
5
5
|
applicationSchematic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6LXAWJUW.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LVA3TEJC.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
12
|
import "./chunk-YKB65IP2.mjs";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-77YKYAKQ.mjs";
|
|
14
|
+
import "./chunk-UUPXZQE4.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
17
17
|
r2UploadFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3OAEUWSP.mjs";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTagConstants,
|
|
21
21
|
addProjectTag
|
|
22
22
|
} from "./chunk-RH2IXKSC.mjs";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-5WE4TNLQ.mjs";
|
|
24
|
+
import "./chunk-GGWEYZ6F.mjs";
|
|
25
25
|
import "./chunk-B7N6WOYD.mjs";
|
|
26
26
|
|
|
27
27
|
// src/plugins/index.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkT2OGA6MBjs = require('../../../chunk-T2OGA6MB.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-JFRM3B2T.js');
|
|
5
5
|
require('../../../chunk-KTFMIXUN.js');
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-EDVXAHJB.js');
|
|
7
|
+
require('../../../chunk-LR64JTPC.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-YKB65IP2.mjs";
|
|
4
|
-
import "../../../chunk-
|
|
4
|
+
import "../../../chunk-77YKYAKQ.mjs";
|
|
5
5
|
import "../../../chunk-RH2IXKSC.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-5WE4TNLQ.mjs";
|
|
7
|
+
import "../../../chunk-GGWEYZ6F.mjs";
|
|
8
8
|
import "../../../chunk-B7N6WOYD.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkGLPDUIZ5js = require('../../../chunk-GLPDUIZ5.js');
|
|
4
|
+
require('../../../chunk-WT7TBR2C.js');
|
|
5
5
|
require('../../../chunk-KTFMIXUN.js');
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-EDVXAHJB.js');
|
|
7
|
+
require('../../../chunk-LR64JTPC.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkGLPDUIZ5js.runExecutor;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-UUPXZQE4.mjs";
|
|
4
|
+
import "../../../chunk-3OAEUWSP.mjs";
|
|
5
5
|
import "../../../chunk-RH2IXKSC.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-5WE4TNLQ.mjs";
|
|
7
|
+
import "../../../chunk-GGWEYZ6F.mjs";
|
|
8
8
|
import "../../../chunk-B7N6WOYD.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJFRM3B2Tjs = require('../../../chunk-JFRM3B2T.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkKTFMIXUNjs = require('../../../chunk-KTFMIXUN.js');
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
7
|
+
require('../../../chunk-EDVXAHJB.js');
|
|
8
|
+
require('../../../chunk-LR64JTPC.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkMCKGQKYUjs = require('../../../chunk-MCKGQKYU.js');
|
|
@@ -55,7 +55,7 @@ async function* serveExecutor(options, context, config) {
|
|
|
55
55
|
success: true
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
var executor_default =
|
|
58
|
+
var executor_default = _chunkJFRM3B2Tjs.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-
|
|
3
|
+
} from "../../../chunk-77YKYAKQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
6
|
} from "../../../chunk-RH2IXKSC.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-5WE4TNLQ.mjs";
|
|
8
|
+
import "../../../chunk-GGWEYZ6F.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__require
|
|
11
11
|
} from "../../../chunk-B7N6WOYD.mjs";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkTSJWYL6Qjs = require('../../../chunk-TSJWYL6Q.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkTSJWYL6Qjs.generator_default; exports.initGenerator = _chunkTSJWYL6Qjs.initGenerator; exports.initSchematic = _chunkTSJWYL6Qjs.initSchematic;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkX3P4PVUJjs = require('../../../chunk-X3P4PVUJ.js');
|
|
6
|
+
require('../../../chunk-TSJWYL6Q.js');
|
|
7
|
+
require('../../../chunk-EDVXAHJB.js');
|
|
8
|
+
require('../../../chunk-LR64JTPC.js');
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkX3P4PVUJjs.applicationGenerator; exports.applicationSchematic = _chunkX3P4PVUJjs.applicationSchematic; exports.default = _chunkX3P4PVUJjs.generator_default;
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-6LXAWJUW.mjs";
|
|
6
|
+
import "../../../chunk-LVA3TEJC.mjs";
|
|
7
|
+
import "../../../chunk-5WE4TNLQ.mjs";
|
|
8
|
+
import "../../../chunk-GGWEYZ6F.mjs";
|
|
9
9
|
import "../../../chunk-B7N6WOYD.mjs";
|
|
10
10
|
export {
|
|
11
11
|
applicationGenerator,
|
package/dist/src/utils/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-
|
|
5
|
+
var _chunkWT7TBR2Cjs = require('../../chunk-WT7TBR2C.js');
|
|
6
|
+
require('../../chunk-LR64JTPC.js');
|
|
7
7
|
require('../../chunk-MCKGQKYU.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.getInternalDependencies =
|
|
11
|
+
exports.getInternalDependencies = _chunkWT7TBR2Cjs.getInternalDependencies; exports.r2UploadFile = _chunkWT7TBR2Cjs.r2UploadFile;
|
package/dist/src/utils/index.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import "../../chunk-7Z5PILRU.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
getInternalDependencies,
|
|
4
4
|
r2UploadFile
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-3OAEUWSP.mjs";
|
|
6
|
+
import "../../chunk-GGWEYZ6F.mjs";
|
|
7
7
|
import "../../chunk-B7N6WOYD.mjs";
|
|
8
8
|
export {
|
|
9
9
|
getInternalDependencies,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
4
|
+
var _chunkWT7TBR2Cjs = require('../../chunk-WT7TBR2C.js');
|
|
5
|
+
require('../../chunk-LR64JTPC.js');
|
|
6
6
|
require('../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.getInternalDependencies =
|
|
10
|
+
exports.getInternalDependencies = _chunkWT7TBR2Cjs.getInternalDependencies; exports.r2UploadFile = _chunkWT7TBR2Cjs.r2UploadFile;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInternalDependencies,
|
|
3
3
|
r2UploadFile
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-3OAEUWSP.mjs";
|
|
5
|
+
import "../../chunk-GGWEYZ6F.mjs";
|
|
6
6
|
import "../../chunk-B7N6WOYD.mjs";
|
|
7
7
|
export {
|
|
8
8
|
getInternalDependencies,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.26",
|
|
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",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"nx": "21.0.3",
|
|
142
142
|
"tsup": "8.4.0",
|
|
143
143
|
"untyped": "^1.5.2",
|
|
144
|
-
"wrangler": "^4.20.
|
|
144
|
+
"wrangler": "^4.20.3"
|
|
145
145
|
},
|
|
146
146
|
"publishConfig": { "access": "public" },
|
|
147
147
|
"executors": "./executors.json",
|