@storm-software/cloudflare-tools 0.54.2 → 0.54.3
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 +6 -0
- package/README.md +1 -1
- package/dist/{chunk-KVL4WOIH.mjs → chunk-23YXGFBU.mjs} +1 -1
- package/dist/{chunk-UJORUWGK.mjs → chunk-2XNO3U7C.mjs} +5 -5
- package/dist/{chunk-H63GI4CR.js → chunk-BM5BCBD5.js} +3 -3
- package/dist/{chunk-CU5DCV52.mjs → chunk-CXOUHOZ7.mjs} +9 -9
- package/dist/{chunk-THKJZT32.js → chunk-DFG3KJWS.js} +119 -70
- package/dist/{chunk-6H63LE3D.mjs → chunk-DQHMNZ47.mjs} +88 -39
- package/dist/{chunk-6OLSW63F.mjs → chunk-EZCE5VIE.mjs} +1 -1
- package/dist/{chunk-W6YNIJQD.js → chunk-ILLCSSWN.js} +20 -17
- package/dist/{chunk-3D3WO4IH.mjs → chunk-IXEWBCGZ.mjs} +17 -14
- package/dist/{chunk-ZPVFJJMY.js → chunk-LOFONHDQ.js} +12 -12
- package/dist/{chunk-H43VNU3H.js → chunk-LW7DSVEL.js} +159 -159
- package/dist/{chunk-U6QKP7CG.js → chunk-LXXVBXFM.js} +16 -16
- package/dist/{chunk-WL2BHAOY.js → chunk-NVFBJS7C.js} +1 -1
- package/dist/{chunk-BGWUN6JU.mjs → chunk-XIDK2YZE.mjs} +5 -5
- 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.d.mts +3 -3
- package/dist/src/executors/serve/executor.d.ts +3 -3
- 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 +1 -1
|
@@ -1,21 +1,21 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkBM5BCBD5js = require('./chunk-BM5BCBD5.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkDFG3KJWSjs = require('./chunk-DFG3KJWS.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkILLCSSWNjs = require('./chunk-ILLCSSWN.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
|
|
@@ -36,8 +36,8 @@ async function runExecutor(options, context) {
|
|
|
36
36
|
throw new Error("The executor requires projectsConfigurations.");
|
|
37
37
|
}
|
|
38
38
|
try {
|
|
39
|
-
const workspaceRoot =
|
|
40
|
-
const config = await
|
|
39
|
+
const workspaceRoot = _chunkILLCSSWNjs.findWorkspaceRoot.call(void 0, );
|
|
40
|
+
const config = await _chunkDFG3KJWSjs.getConfig.call(void 0, workspaceRoot);
|
|
41
41
|
const sourceRoot = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.sourceRoot]), () => ( workspaceRoot));
|
|
42
42
|
const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
|
|
43
43
|
const projectDetails = _chunkVTHBMY4Bjs.getPackageInfo.call(void 0, context.projectsConfigurations.projects[context.projectName]);
|
|
@@ -62,7 +62,7 @@ async function runExecutor(options, context) {
|
|
|
62
62
|
if (!projectGraph) {
|
|
63
63
|
throw new Error("No project graph found in cache");
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
_chunkILLCSSWNjs.writeInfo.call(void 0, `Publishing ${context.projectName} to the Storm Registry at ${endpoint}`);
|
|
66
66
|
const s3Client = new (0, _clients3.S3)({
|
|
67
67
|
region: "auto",
|
|
68
68
|
endpoint,
|
|
@@ -72,12 +72,12 @@ async function runExecutor(options, context) {
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
const version = _optionalChain([projectDetails, 'access', _18 => _18.content, 'optionalAccess', _19 => _19.version]);
|
|
75
|
-
|
|
75
|
+
_chunkILLCSSWNjs.writeInfo.call(void 0, `Generated component version: ${version}`);
|
|
76
76
|
const files = await _glob.glob.call(void 0, _devkit.joinPathFragments.call(void 0, sourceRoot, "**/*"), {
|
|
77
77
|
ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
|
|
78
78
|
});
|
|
79
79
|
const projectPath = `registry/${context.projectName}`;
|
|
80
|
-
const internalDependencies = await
|
|
80
|
+
const internalDependencies = await _chunkBM5BCBD5js.getInternalDependencies.call(void 0, context.projectName, projectGraph);
|
|
81
81
|
const dependencies = internalDependencies.filter((projectNode) => !projectNode.data.tags || projectNode.data.tags.every((tag) => tag.toLowerCase() !== "component")).reduce((ret, dep) => {
|
|
82
82
|
if (!ret[dep.name]) {
|
|
83
83
|
ret[dep.name] = "latest";
|
|
@@ -85,14 +85,14 @@ async function runExecutor(options, context) {
|
|
|
85
85
|
return ret;
|
|
86
86
|
}, _nullishCoalesce(projectDetails.content.dependencies, () => ( {})));
|
|
87
87
|
const release = _nullishCoalesce(options.tag, () => ( _child_process.execSync.call(void 0, "npm config get tag").toString().trim()));
|
|
88
|
-
|
|
88
|
+
_chunkILLCSSWNjs.writeInfo.call(void 0, `Clearing out existing items in ${projectPath}`);
|
|
89
89
|
if (!isDryRun) {
|
|
90
90
|
const response = await s3Client.listObjects({
|
|
91
91
|
Bucket: options.bucketId,
|
|
92
92
|
Prefix: projectPath
|
|
93
93
|
});
|
|
94
94
|
if (_optionalChain([response, 'optionalAccess', _20 => _20.Contents]) && response.Contents.length > 0) {
|
|
95
|
-
|
|
95
|
+
_chunkILLCSSWNjs.writeDebug.call(void 0, `Deleting the following existing items from the component registry: ${response.Contents.map((item) => item.Key).join(", ")}`);
|
|
96
96
|
await Promise.all(response.Contents.map((item) => s3Client.deleteObjects({
|
|
97
97
|
Bucket: options.bucketId,
|
|
98
98
|
Delete: {
|
|
@@ -105,10 +105,10 @@ async function runExecutor(options, context) {
|
|
|
105
105
|
}
|
|
106
106
|
})));
|
|
107
107
|
} else {
|
|
108
|
-
|
|
108
|
+
_chunkILLCSSWNjs.writeDebug.call(void 0, `No existing items to delete in the component registry path ${projectPath}`);
|
|
109
109
|
}
|
|
110
110
|
} else {
|
|
111
|
-
|
|
111
|
+
_chunkILLCSSWNjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
|
|
112
112
|
}
|
|
113
113
|
const meta = {
|
|
114
114
|
name: context.projectName,
|
|
@@ -124,16 +124,16 @@ async function runExecutor(options, context) {
|
|
|
124
124
|
meta.devDependencies = projectDetails.content.devDependencies;
|
|
125
125
|
}
|
|
126
126
|
const metaJson = JSON.stringify(meta);
|
|
127
|
-
|
|
127
|
+
_chunkILLCSSWNjs.writeInfo.call(void 0, `Generating meta.json file:
|
|
128
128
|
${metaJson}`);
|
|
129
|
-
await
|
|
129
|
+
await _chunkBM5BCBD5js.r2UploadFile.call(void 0, s3Client, options.bucketId, projectPath, "meta.json", version, metaJson, "application/json", isDryRun);
|
|
130
130
|
await Promise.all(files.map((file) => {
|
|
131
131
|
const fileName = file.replaceAll("\\", "/").replace(sourceRoot.replaceAll("\\", "/"), "");
|
|
132
132
|
return _promises.readFile.call(void 0, file, {
|
|
133
133
|
encoding: "utf8"
|
|
134
|
-
}).then((fileContent) =>
|
|
134
|
+
}).then((fileContent) => _chunkBM5BCBD5js.r2UploadFile.call(void 0, s3Client, options.bucketId, projectPath, fileName, version, fileContent, "text/plain", isDryRun));
|
|
135
135
|
}));
|
|
136
|
-
|
|
136
|
+
_chunkILLCSSWNjs.writeSuccess.call(void 0, `Successfully uploaded the ${projectName} component to the Cyclone Registry`, config);
|
|
137
137
|
return {
|
|
138
138
|
success: true
|
|
139
139
|
};
|
|
@@ -8,7 +8,7 @@ var require_package = _chunkJ5SB6L2Ljs.__commonJS.call(void 0, {
|
|
|
8
8
|
"package.json"(exports, module) {
|
|
9
9
|
module.exports = {
|
|
10
10
|
name: "@storm-software/cloudflare-tools",
|
|
11
|
-
version: "0.54.
|
|
11
|
+
version: "0.54.3",
|
|
12
12
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
13
13
|
repository: {
|
|
14
14
|
type: "github",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInternalDependencies,
|
|
3
3
|
r2UploadFile
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-23YXGFBU.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createCliOptions,
|
|
7
7
|
getPackageInfo
|
|
8
8
|
} from "./chunk-XU6MTFCV.mjs";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./chunk-
|
|
10
|
+
getConfig
|
|
11
|
+
} from "./chunk-DQHMNZ47.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-IXEWBCGZ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-A7FFSBE6.mjs";
|
|
@@ -37,7 +37,7 @@ async function runExecutor(options, context) {
|
|
|
37
37
|
}
|
|
38
38
|
try {
|
|
39
39
|
const workspaceRoot = findWorkspaceRoot();
|
|
40
|
-
const config = await
|
|
40
|
+
const config = await getConfig(workspaceRoot);
|
|
41
41
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot;
|
|
42
42
|
const projectName = context.projectsConfigurations.projects[context.projectName]?.name ?? context.projectName;
|
|
43
43
|
const projectDetails = getPackageInfo(context.projectsConfigurations.projects[context.projectName]);
|
package/dist/executors.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
2
|
require('./chunk-R7AIVBS7.js');
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
require('./chunk-LW7DSVEL.js');
|
|
4
|
+
require('./chunk-LXXVBXFM.js');
|
|
5
|
+
require('./chunk-BM5BCBD5.js');
|
|
6
6
|
require('./chunk-VTHBMY4B.js');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-DFG3KJWS.js');
|
|
8
|
+
require('./chunk-ILLCSSWN.js');
|
|
9
9
|
require('./chunk-J5SB6L2L.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
2
|
import "./chunk-QEWY5YJA.mjs";
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-CXOUHOZ7.mjs";
|
|
4
|
+
import "./chunk-XIDK2YZE.mjs";
|
|
5
|
+
import "./chunk-23YXGFBU.mjs";
|
|
6
6
|
import "./chunk-XU6MTFCV.mjs";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-DQHMNZ47.mjs";
|
|
8
|
+
import "./chunk-IXEWBCGZ.mjs";
|
|
9
9
|
import "./chunk-A7FFSBE6.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkLOFONHDQjs = require('./chunk-LOFONHDQ.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
var _chunkNVFBJS7Cjs = require('./chunk-NVFBJS7C.js');
|
|
10
|
+
require('./chunk-DFG3KJWS.js');
|
|
11
|
+
require('./chunk-ILLCSSWN.js');
|
|
12
12
|
require('./chunk-J5SB6L2L.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkLOFONHDQjs.applicationGenerator; exports.applicationSchematic = _chunkLOFONHDQjs.applicationSchematic; exports.initGenerator = _chunkNVFBJS7Cjs.initGenerator; exports.initSchematic = _chunkNVFBJS7Cjs.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-2XNO3U7C.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-EZCE5VIE.mjs";
|
|
10
|
+
import "./chunk-DQHMNZ47.mjs";
|
|
11
|
+
import "./chunk-IXEWBCGZ.mjs";
|
|
12
12
|
import "./chunk-A7FFSBE6.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 _chunkLOFONHDQjs = require('./chunk-LOFONHDQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkNVFBJS7Cjs = require('./chunk-NVFBJS7C.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-R7AIVBS7.js');
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-LW7DSVEL.js');
|
|
14
|
+
require('./chunk-LXXVBXFM.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkBM5BCBD5js = require('./chunk-BM5BCBD5.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-DFG3KJWS.js');
|
|
24
|
+
require('./chunk-ILLCSSWN.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
|
|
@@ -148,4 +148,4 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, createPackageJson, "createPackageJson");
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
exports.applicationGenerator =
|
|
151
|
+
exports.applicationGenerator = _chunkLOFONHDQjs.applicationGenerator; exports.applicationSchematic = _chunkLOFONHDQjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkBM5BCBD5js.getInternalDependencies; exports.initGenerator = _chunkNVFBJS7Cjs.initGenerator; exports.initSchematic = _chunkNVFBJS7Cjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkBM5BCBD5js.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-2XNO3U7C.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EZCE5VIE.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
12
|
import "./chunk-QEWY5YJA.mjs";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-CXOUHOZ7.mjs";
|
|
14
|
+
import "./chunk-XIDK2YZE.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
17
17
|
r2UploadFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-23YXGFBU.mjs";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTagConstants,
|
|
21
21
|
addProjectTag
|
|
22
22
|
} from "./chunk-XU6MTFCV.mjs";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-DQHMNZ47.mjs";
|
|
24
|
+
import "./chunk-IXEWBCGZ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-A7FFSBE6.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkR7AIVBS7js = require('../../../chunk-R7AIVBS7.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-LW7DSVEL.js');
|
|
5
5
|
require('../../../chunk-VTHBMY4B.js');
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-DFG3KJWS.js');
|
|
7
|
+
require('../../../chunk-ILLCSSWN.js');
|
|
8
8
|
require('../../../chunk-J5SB6L2L.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
3
|
} from "../../../chunk-QEWY5YJA.mjs";
|
|
4
|
-
import "../../../chunk-
|
|
4
|
+
import "../../../chunk-CXOUHOZ7.mjs";
|
|
5
5
|
import "../../../chunk-XU6MTFCV.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-DQHMNZ47.mjs";
|
|
7
|
+
import "../../../chunk-IXEWBCGZ.mjs";
|
|
8
8
|
import "../../../chunk-A7FFSBE6.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 _chunkLXXVBXFMjs = require('../../../chunk-LXXVBXFM.js');
|
|
4
|
+
require('../../../chunk-BM5BCBD5.js');
|
|
5
5
|
require('../../../chunk-VTHBMY4B.js');
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-DFG3KJWS.js');
|
|
7
|
+
require('../../../chunk-ILLCSSWN.js');
|
|
8
8
|
require('../../../chunk-J5SB6L2L.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkLXXVBXFMjs.runExecutor;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-XIDK2YZE.mjs";
|
|
4
|
+
import "../../../chunk-23YXGFBU.mjs";
|
|
5
5
|
import "../../../chunk-XU6MTFCV.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-DQHMNZ47.mjs";
|
|
7
|
+
import "../../../chunk-IXEWBCGZ.mjs";
|
|
8
8
|
import "../../../chunk-A7FFSBE6.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
@@ -6,7 +6,7 @@ import z from 'zod';
|
|
|
6
6
|
*/
|
|
7
7
|
declare const StormConfigSchema: z.ZodObject<{
|
|
8
8
|
$schema: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodString>>>>;
|
|
9
|
-
extends: z.ZodOptional<z.ZodString
|
|
9
|
+
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
10
10
|
name: z.ZodOptional<z.ZodString>;
|
|
11
11
|
namespace: z.ZodOptional<z.ZodString>;
|
|
12
12
|
organization: z.ZodDefault<z.ZodString>;
|
|
@@ -980,7 +980,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
980
980
|
extensions: Record<string, any>;
|
|
981
981
|
name?: string | undefined;
|
|
982
982
|
$schema?: string | null | undefined;
|
|
983
|
-
extends?: string | undefined;
|
|
983
|
+
extends?: string | string[] | undefined;
|
|
984
984
|
namespace?: string | undefined;
|
|
985
985
|
repository?: string | undefined;
|
|
986
986
|
preid?: string | undefined;
|
|
@@ -1146,7 +1146,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1146
1146
|
}>;
|
|
1147
1147
|
name?: string | undefined;
|
|
1148
1148
|
$schema?: string | null | undefined;
|
|
1149
|
-
extends?: string | undefined;
|
|
1149
|
+
extends?: string | string[] | undefined;
|
|
1150
1150
|
namespace?: string | undefined;
|
|
1151
1151
|
organization?: string | undefined;
|
|
1152
1152
|
repository?: string | undefined;
|
|
@@ -6,7 +6,7 @@ import z from 'zod';
|
|
|
6
6
|
*/
|
|
7
7
|
declare const StormConfigSchema: z.ZodObject<{
|
|
8
8
|
$schema: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodString>>>>;
|
|
9
|
-
extends: z.ZodOptional<z.ZodString
|
|
9
|
+
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
10
10
|
name: z.ZodOptional<z.ZodString>;
|
|
11
11
|
namespace: z.ZodOptional<z.ZodString>;
|
|
12
12
|
organization: z.ZodDefault<z.ZodString>;
|
|
@@ -980,7 +980,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
980
980
|
extensions: Record<string, any>;
|
|
981
981
|
name?: string | undefined;
|
|
982
982
|
$schema?: string | null | undefined;
|
|
983
|
-
extends?: string | undefined;
|
|
983
|
+
extends?: string | string[] | undefined;
|
|
984
984
|
namespace?: string | undefined;
|
|
985
985
|
repository?: string | undefined;
|
|
986
986
|
preid?: string | undefined;
|
|
@@ -1146,7 +1146,7 @@ declare const StormConfigSchema: z.ZodObject<{
|
|
|
1146
1146
|
}>;
|
|
1147
1147
|
name?: string | undefined;
|
|
1148
1148
|
$schema?: string | null | undefined;
|
|
1149
|
-
extends?: string | undefined;
|
|
1149
|
+
extends?: string | string[] | undefined;
|
|
1150
1150
|
namespace?: string | undefined;
|
|
1151
1151
|
organization?: string | undefined;
|
|
1152
1152
|
repository?: string | undefined;
|
|
@@ -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 _chunkLW7DSVELjs = require('../../../chunk-LW7DSVEL.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkVTHBMY4Bjs = require('../../../chunk-VTHBMY4B.js');
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
7
|
+
require('../../../chunk-DFG3KJWS.js');
|
|
8
|
+
require('../../../chunk-ILLCSSWN.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -60,7 +60,7 @@ async function* serveExecutor(options, context, config) {
|
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
_chunkJ5SB6L2Ljs.__name.call(void 0, serveExecutor, "serveExecutor");
|
|
63
|
-
var executor_default =
|
|
63
|
+
var executor_default = _chunkLW7DSVELjs.withRunExecutor.call(void 0, "Cloudflare Serve executor", serveExecutor, {
|
|
64
64
|
skipReadingConfig: false,
|
|
65
65
|
hooks: {
|
|
66
66
|
applyDefaultOptions: /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-CXOUHOZ7.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
6
|
} from "../../../chunk-XU6MTFCV.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-DQHMNZ47.mjs";
|
|
8
|
+
import "../../../chunk-IXEWBCGZ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__name,
|
|
11
11
|
__require
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkNVFBJS7Cjs = require('../../../chunk-NVFBJS7C.js');
|
|
6
6
|
require('../../../chunk-J5SB6L2L.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkNVFBJS7Cjs.generator_default; exports.initGenerator = _chunkNVFBJS7Cjs.initGenerator; exports.initSchematic = _chunkNVFBJS7Cjs.initSchematic;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkLOFONHDQjs = require('../../../chunk-LOFONHDQ.js');
|
|
6
|
+
require('../../../chunk-NVFBJS7C.js');
|
|
7
|
+
require('../../../chunk-DFG3KJWS.js');
|
|
8
|
+
require('../../../chunk-ILLCSSWN.js');
|
|
9
9
|
require('../../../chunk-J5SB6L2L.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkLOFONHDQjs.applicationGenerator; exports.applicationSchematic = _chunkLOFONHDQjs.applicationSchematic; exports.default = _chunkLOFONHDQjs.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-2XNO3U7C.mjs";
|
|
6
|
+
import "../../../chunk-EZCE5VIE.mjs";
|
|
7
|
+
import "../../../chunk-DQHMNZ47.mjs";
|
|
8
|
+
import "../../../chunk-IXEWBCGZ.mjs";
|
|
9
9
|
import "../../../chunk-A7FFSBE6.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 _chunkBM5BCBD5js = require('../../chunk-BM5BCBD5.js');
|
|
6
|
+
require('../../chunk-ILLCSSWN.js');
|
|
7
7
|
require('../../chunk-J5SB6L2L.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.getInternalDependencies =
|
|
11
|
+
exports.getInternalDependencies = _chunkBM5BCBD5js.getInternalDependencies; exports.r2UploadFile = _chunkBM5BCBD5js.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-23YXGFBU.mjs";
|
|
6
|
+
import "../../chunk-IXEWBCGZ.mjs";
|
|
7
7
|
import "../../chunk-A7FFSBE6.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 _chunkBM5BCBD5js = require('../../chunk-BM5BCBD5.js');
|
|
5
|
+
require('../../chunk-ILLCSSWN.js');
|
|
6
6
|
require('../../chunk-J5SB6L2L.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.getInternalDependencies =
|
|
10
|
+
exports.getInternalDependencies = _chunkBM5BCBD5js.getInternalDependencies; exports.r2UploadFile = _chunkBM5BCBD5js.r2UploadFile;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInternalDependencies,
|
|
3
3
|
r2UploadFile
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-23YXGFBU.mjs";
|
|
5
|
+
import "../../chunk-IXEWBCGZ.mjs";
|
|
6
6
|
import "../../chunk-A7FFSBE6.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.54.
|
|
3
|
+
"version": "0.54.3",
|
|
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",
|