@storm-software/cloudflare-tools 0.65.6 → 0.65.7
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 +9 -0
- package/dist/{chunk-QBISXDXF.mjs → chunk-436YFSDY.mjs} +1 -1
- package/dist/{chunk-G6PGMOAM.mjs → chunk-DAVZT6KF.mjs} +3 -3
- package/dist/{chunk-SN6UJZ2G.mjs → chunk-EIZU6AAN.mjs} +3 -3
- package/dist/{chunk-NYUGUHRY.mjs → chunk-FXMVUKUI.mjs} +1 -1
- package/dist/{chunk-537PH6YK.mjs → chunk-HHVUEOQK.mjs} +6 -4
- package/dist/{chunk-6CP6ARGM.js → chunk-HUZVQCWL.js} +6 -4
- package/dist/{chunk-U3IGSCX3.js → chunk-LRGILLMQ.js} +57 -172
- package/dist/{chunk-N3UQB43Z.js → chunk-PUBL4ZFL.js} +3 -3
- package/dist/{chunk-N6YTSDTM.mjs → chunk-QY2F3NDP.mjs} +1 -1
- package/dist/{chunk-B44VJUAX.js → chunk-R5DICCMW.js} +2 -2
- package/dist/{chunk-EHEXWPEP.mjs → chunk-UGFKKNQI.mjs} +8 -121
- package/dist/{chunk-QAVQTJUQ.js → chunk-ZZEFABTA.js} +5 -5
- package/dist/executors.js +3 -3
- package/dist/executors.mjs +5 -5
- package/dist/generators.js +4 -4
- package/dist/generators.mjs +4 -4
- package/dist/index.js +6 -6
- package/dist/index.mjs +7 -7
- package/dist/src/executors/cloudflare-publish/executor.js +2 -2
- package/dist/src/executors/cloudflare-publish/executor.mjs +4 -4
- package/dist/src/executors/r2-upload-publish/executor.js +3 -3
- package/dist/src/executors/r2-upload-publish/executor.mjs +3 -3
- package/dist/src/executors/serve/executor.js +3 -3
- 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 +2 -2
- package/dist/src/generators/worker/generator.js +4 -4
- package/dist/src/generators/worker/generator.mjs +4 -4
- package/dist/src/utils/index.mjs +1 -1
- package/dist/src/utils/r2-bucket-helpers.mjs +1 -1
- package/dist/tsup.config.mjs +1 -1
- package/package.json +3 -3
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
joinPaths,
|
|
10
10
|
schemaRegistry,
|
|
11
11
|
workspaceConfigSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HHVUEOQK.mjs";
|
|
13
13
|
import {
|
|
14
14
|
formatLogMessage,
|
|
15
15
|
getStopwatch,
|
|
@@ -22,9 +22,8 @@ import {
|
|
|
22
22
|
writeWarning
|
|
23
23
|
} from "./chunk-V44DYGWX.mjs";
|
|
24
24
|
import {
|
|
25
|
-
__dirname
|
|
26
|
-
|
|
27
|
-
} from "./chunk-N6YTSDTM.mjs";
|
|
25
|
+
__dirname
|
|
26
|
+
} from "./chunk-QY2F3NDP.mjs";
|
|
28
27
|
|
|
29
28
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
30
29
|
var applyWorkspaceBaseTokens = async (option, tokenParams) => {
|
|
@@ -452,10 +451,6 @@ import { readFileSync } from "node:fs";
|
|
|
452
451
|
import https from "node:https";
|
|
453
452
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
454
453
|
|
|
455
|
-
// ../esbuild/src/build.ts
|
|
456
|
-
import * as esbuild from "esbuild";
|
|
457
|
-
import { globbySync } from "globby";
|
|
458
|
-
|
|
459
454
|
// ../build-tools/src/config.ts
|
|
460
455
|
var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
461
456
|
*
|
|
@@ -1031,88 +1026,6 @@ async function generatePackageJson(context) {
|
|
|
1031
1026
|
return context;
|
|
1032
1027
|
}
|
|
1033
1028
|
|
|
1034
|
-
// ../esbuild/src/plugins/deps-check.ts
|
|
1035
|
-
import { builtinModules as builtinModules2 } from "node:module";
|
|
1036
|
-
import path2 from "node:path";
|
|
1037
|
-
var unusedIgnore = [
|
|
1038
|
-
// these are our dev dependencies
|
|
1039
|
-
/@types\/.*?/,
|
|
1040
|
-
/@typescript-eslint.*?/,
|
|
1041
|
-
/eslint.*?/,
|
|
1042
|
-
"esbuild",
|
|
1043
|
-
"husky",
|
|
1044
|
-
"is-ci",
|
|
1045
|
-
"lint-staged",
|
|
1046
|
-
"prettier",
|
|
1047
|
-
"typescript",
|
|
1048
|
-
"ts-node",
|
|
1049
|
-
"ts-jest",
|
|
1050
|
-
"@swc/core",
|
|
1051
|
-
"@swc/jest",
|
|
1052
|
-
"jest",
|
|
1053
|
-
// these are missing 3rd party deps
|
|
1054
|
-
"spdx-exceptions",
|
|
1055
|
-
"spdx-license-ids",
|
|
1056
|
-
// type-only, so it is not detected
|
|
1057
|
-
"ts-toolbelt",
|
|
1058
|
-
// these are indirectly used by build
|
|
1059
|
-
"buffer"
|
|
1060
|
-
];
|
|
1061
|
-
var missingIgnore = [".prisma", "@prisma/client", "ts-toolbelt"];
|
|
1062
|
-
var depsCheckPlugin = (bundle) => ({
|
|
1063
|
-
name: "storm:deps-check",
|
|
1064
|
-
setup(build3) {
|
|
1065
|
-
const pkgJsonPath = path2.join(process.cwd(), "package.json");
|
|
1066
|
-
const pkgContents = __require(pkgJsonPath);
|
|
1067
|
-
const regDependencies = Object.keys(pkgContents["dependencies"] ?? {});
|
|
1068
|
-
const devDependencies = Object.keys(pkgContents["devDependencies"] ?? {});
|
|
1069
|
-
const peerDependencies = Object.keys(pkgContents["peerDependencies"] ?? {});
|
|
1070
|
-
const dependencies = [
|
|
1071
|
-
...regDependencies,
|
|
1072
|
-
...bundle ? devDependencies : []
|
|
1073
|
-
];
|
|
1074
|
-
const collectedDependencies = /* @__PURE__ */ new Set();
|
|
1075
|
-
const onlyPackages = /^[^./](?!:)|^\.[^./]|^\.\.[^/]/;
|
|
1076
|
-
build3.onResolve({ filter: onlyPackages }, (args) => {
|
|
1077
|
-
if (args.importer.includes(process.cwd())) {
|
|
1078
|
-
if (args.path[0] === "@") {
|
|
1079
|
-
const [org, pkg] = args.path.split("/");
|
|
1080
|
-
collectedDependencies.add(`${org}/${pkg}`);
|
|
1081
|
-
} else {
|
|
1082
|
-
const [pkg] = args.path.split("/");
|
|
1083
|
-
collectedDependencies.add(pkg);
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
return { external: true };
|
|
1087
|
-
});
|
|
1088
|
-
build3.onEnd(() => {
|
|
1089
|
-
const unusedDependencies = [...dependencies].filter((dep) => {
|
|
1090
|
-
return !collectedDependencies.has(dep) || builtinModules2.includes(dep);
|
|
1091
|
-
});
|
|
1092
|
-
const missingDependencies = [...collectedDependencies].filter((dep) => {
|
|
1093
|
-
return !dependencies.includes(dep) && !builtinModules2.includes(dep);
|
|
1094
|
-
});
|
|
1095
|
-
const filteredUnusedDeps = unusedDependencies.filter((dep) => {
|
|
1096
|
-
return !unusedIgnore.some((pattern) => dep.match(pattern));
|
|
1097
|
-
});
|
|
1098
|
-
const filteredMissingDeps = missingDependencies.filter((dep) => {
|
|
1099
|
-
return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
|
|
1100
|
-
});
|
|
1101
|
-
writeWarning(
|
|
1102
|
-
`Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`
|
|
1103
|
-
);
|
|
1104
|
-
writeError(
|
|
1105
|
-
`Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`
|
|
1106
|
-
);
|
|
1107
|
-
if (filteredMissingDeps.length > 0) {
|
|
1108
|
-
throw new Error(`Missing dependencies detected - please install them:
|
|
1109
|
-
${JSON.stringify(filteredMissingDeps)}
|
|
1110
|
-
`);
|
|
1111
|
-
}
|
|
1112
|
-
});
|
|
1113
|
-
}
|
|
1114
|
-
});
|
|
1115
|
-
|
|
1116
1029
|
// ../esbuild/src/tsup.ts
|
|
1117
1030
|
import { build as tsup } from "tsup";
|
|
1118
1031
|
async function executeTsup(context) {
|
|
@@ -1153,32 +1066,6 @@ async function reportResults(context) {
|
|
|
1153
1066
|
);
|
|
1154
1067
|
}
|
|
1155
1068
|
}
|
|
1156
|
-
async function dependencyCheck(options) {
|
|
1157
|
-
if (process.env.DEV === "true") {
|
|
1158
|
-
return void 0;
|
|
1159
|
-
}
|
|
1160
|
-
if (process.env.CI && !process.env.BUILDKITE) {
|
|
1161
|
-
return void 0;
|
|
1162
|
-
}
|
|
1163
|
-
const buildPromise = esbuild.build({
|
|
1164
|
-
entryPoints: globbySync("**/*.{j,t}s", {
|
|
1165
|
-
// We don't check dependencies in ecosystem tests because tests are isolated from the build.
|
|
1166
|
-
ignore: ["./src/__tests__/**/*", "./tests/e2e/**/*", "./dist/**/*"],
|
|
1167
|
-
gitignore: true
|
|
1168
|
-
}),
|
|
1169
|
-
logLevel: "silent",
|
|
1170
|
-
// there will be errors
|
|
1171
|
-
bundle: true,
|
|
1172
|
-
// we bundle to get everything
|
|
1173
|
-
write: false,
|
|
1174
|
-
// no need to write for analysis
|
|
1175
|
-
outdir: "out",
|
|
1176
|
-
plugins: [depsCheckPlugin(options.bundle)]
|
|
1177
|
-
});
|
|
1178
|
-
await buildPromise.catch(() => {
|
|
1179
|
-
});
|
|
1180
|
-
return void 0;
|
|
1181
|
-
}
|
|
1182
1069
|
async function cleanOutputPath(context) {
|
|
1183
1070
|
if (context.clean !== false && context.outputPath) {
|
|
1184
1071
|
writeDebug(
|
|
@@ -1191,7 +1078,7 @@ async function cleanOutputPath(context) {
|
|
|
1191
1078
|
}
|
|
1192
1079
|
return context;
|
|
1193
1080
|
}
|
|
1194
|
-
async function
|
|
1081
|
+
async function build(options) {
|
|
1195
1082
|
writeDebug(` \u26A1 Executing Storm ESBuild pipeline`);
|
|
1196
1083
|
const stopwatch = getStopwatch("ESBuild pipeline");
|
|
1197
1084
|
try {
|
|
@@ -1202,7 +1089,7 @@ async function build2(options) {
|
|
|
1202
1089
|
const context = await resolveContext(options);
|
|
1203
1090
|
await cleanOutputPath(context);
|
|
1204
1091
|
await Promise.all([
|
|
1205
|
-
dependencyCheck(context.options),
|
|
1092
|
+
// dependencyCheck(context.options),
|
|
1206
1093
|
generatePackageJson(context),
|
|
1207
1094
|
copyBuildAssets(context),
|
|
1208
1095
|
executeTsup(context)
|
|
@@ -1227,7 +1114,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
1227
1114
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
1228
1115
|
);
|
|
1229
1116
|
}
|
|
1230
|
-
await
|
|
1117
|
+
await build({
|
|
1231
1118
|
...options,
|
|
1232
1119
|
projectRoot: context.projectsConfigurations.projects?.[context.projectName].root,
|
|
1233
1120
|
name: context.projectName,
|
|
@@ -2119,7 +2006,7 @@ import {
|
|
|
2119
2006
|
joinPathFragments as joinPathFragments4,
|
|
2120
2007
|
updateJson as updateJson2
|
|
2121
2008
|
} from "@nx/devkit";
|
|
2122
|
-
import * as
|
|
2009
|
+
import * as path2 from "node:path";
|
|
2123
2010
|
async function presetGeneratorFn(tree, options) {
|
|
2124
2011
|
const projectRoot = ".";
|
|
2125
2012
|
options.description ??= `\u26A1The ${options.namespace ? options.namespace : options.name} monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.`;
|
|
@@ -2267,7 +2154,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
2267
2154
|
};
|
|
2268
2155
|
return json;
|
|
2269
2156
|
});
|
|
2270
|
-
generateFiles4(tree,
|
|
2157
|
+
generateFiles4(tree, path2.join(__dirname, "files"), projectRoot, {
|
|
2271
2158
|
...options,
|
|
2272
2159
|
pnpmVersion,
|
|
2273
2160
|
nodeVersion
|
|
@@ -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
|
|
3
|
+
var _chunkR5DICCMWjs = require('./chunk-R5DICCMW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkHUZVQCWLjs = require('./chunk-HUZVQCWL.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -51,13 +51,13 @@ async function applicationGenerator(tree, schema) {
|
|
|
51
51
|
_chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
|
|
52
52
|
|
|
53
53
|
`, config);
|
|
54
|
-
const workspaceRoot =
|
|
54
|
+
const workspaceRoot = _chunkHUZVQCWLjs.findWorkspaceRoot.call(void 0, );
|
|
55
55
|
_chunk2CDSXWFAjs.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
|
|
60
|
+
config = await _chunkHUZVQCWLjs.getConfig.call(void 0, workspaceRoot);
|
|
61
61
|
_chunk2CDSXWFAjs.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")}`,
|
|
@@ -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 _chunkR5DICCMWjs.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
package/dist/executors.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
2
|
require('./chunk-IRORGRVZ.js');
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
3
|
+
require('./chunk-LRGILLMQ.js');
|
|
4
|
+
require('./chunk-PUBL4ZFL.js');
|
|
5
5
|
require('./chunk-NCQM44P3.js');
|
|
6
6
|
require('./chunk-NU34IEWN.js');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-HUZVQCWL.js');
|
|
8
8
|
require('./chunk-2CDSXWFA.js');
|
|
9
9
|
require('./chunk-MCKGQKYU.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-436YFSDY.mjs";
|
|
3
|
+
import "./chunk-UGFKKNQI.mjs";
|
|
4
|
+
import "./chunk-FXMVUKUI.mjs";
|
|
5
5
|
import "./chunk-IANDAPQS.mjs";
|
|
6
6
|
import "./chunk-PH3DHY4Q.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-HHVUEOQK.mjs";
|
|
8
8
|
import "./chunk-V44DYGWX.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-QY2F3NDP.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkZZEFABTAjs = require('./chunk-ZZEFABTA.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
9
|
+
var _chunkR5DICCMWjs = require('./chunk-R5DICCMW.js');
|
|
10
|
+
require('./chunk-HUZVQCWL.js');
|
|
11
11
|
require('./chunk-2CDSXWFA.js');
|
|
12
12
|
require('./chunk-MCKGQKYU.js');
|
|
13
13
|
|
|
@@ -15,4 +15,4 @@ require('./chunk-MCKGQKYU.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkZZEFABTAjs.applicationGenerator; exports.applicationSchematic = _chunkZZEFABTAjs.applicationSchematic; exports.initGenerator = _chunkR5DICCMWjs.initGenerator; exports.initSchematic = _chunkR5DICCMWjs.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-DAVZT6KF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-EIZU6AAN.mjs";
|
|
10
|
+
import "./chunk-HHVUEOQK.mjs";
|
|
11
11
|
import "./chunk-V44DYGWX.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-QY2F3NDP.mjs";
|
|
13
13
|
export {
|
|
14
14
|
applicationGenerator,
|
|
15
15
|
applicationSchematic,
|
package/dist/index.js
CHANGED
|
@@ -3,15 +3,15 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkZZEFABTAjs = require('./chunk-ZZEFABTA.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkR5DICCMWjs = require('./chunk-R5DICCMW.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-IRORGRVZ.js');
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-LRGILLMQ.js');
|
|
14
|
+
require('./chunk-PUBL4ZFL.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ var _chunkNCQM44P3js = require('./chunk-NCQM44P3.js');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunkNU34IEWNjs = require('./chunk-NU34IEWN.js');
|
|
23
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-HUZVQCWL.js');
|
|
24
24
|
require('./chunk-2CDSXWFA.js');
|
|
25
25
|
require('./chunk-MCKGQKYU.js');
|
|
26
26
|
|
|
@@ -163,4 +163,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
163
163
|
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
exports.applicationGenerator =
|
|
166
|
+
exports.applicationGenerator = _chunkZZEFABTAjs.applicationGenerator; exports.applicationSchematic = _chunkZZEFABTAjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkNCQM44P3js.getInternalDependencies; exports.initGenerator = _chunkR5DICCMWjs.initGenerator; exports.initSchematic = _chunkR5DICCMWjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkNCQM44P3js.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -3,15 +3,15 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
applicationGenerator,
|
|
5
5
|
applicationSchematic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DAVZT6KF.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EIZU6AAN.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-436YFSDY.mjs";
|
|
13
|
+
import "./chunk-UGFKKNQI.mjs";
|
|
14
|
+
import "./chunk-FXMVUKUI.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
17
17
|
r2UploadFile
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
ProjectTagConstants,
|
|
21
21
|
addProjectTag
|
|
22
22
|
} from "./chunk-PH3DHY4Q.mjs";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-HHVUEOQK.mjs";
|
|
24
24
|
import "./chunk-V44DYGWX.mjs";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-QY2F3NDP.mjs";
|
|
26
26
|
|
|
27
27
|
// src/plugins/index.ts
|
|
28
28
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkIRORGRVZjs = require('../../../chunk-IRORGRVZ.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-LRGILLMQ.js');
|
|
5
5
|
require('../../../chunk-NU34IEWN.js');
|
|
6
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-HUZVQCWL.js');
|
|
7
7
|
require('../../../chunk-2CDSXWFA.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-436YFSDY.mjs";
|
|
4
|
+
import "../../../chunk-UGFKKNQI.mjs";
|
|
5
5
|
import "../../../chunk-PH3DHY4Q.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-HHVUEOQK.mjs";
|
|
7
7
|
import "../../../chunk-V44DYGWX.mjs";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-QY2F3NDP.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkPUBL4ZFLjs = require('../../../chunk-PUBL4ZFL.js');
|
|
4
4
|
require('../../../chunk-NCQM44P3.js');
|
|
5
5
|
require('../../../chunk-NU34IEWN.js');
|
|
6
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-HUZVQCWL.js');
|
|
7
7
|
require('../../../chunk-2CDSXWFA.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkPUBL4ZFLjs.runExecutor;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-FXMVUKUI.mjs";
|
|
4
4
|
import "../../../chunk-IANDAPQS.mjs";
|
|
5
5
|
import "../../../chunk-PH3DHY4Q.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-HHVUEOQK.mjs";
|
|
7
7
|
import "../../../chunk-V44DYGWX.mjs";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-QY2F3NDP.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
11
11
|
};
|
|
@@ -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
|
|
3
|
+
var _chunkLRGILLMQjs = require('../../../chunk-LRGILLMQ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkNU34IEWNjs = require('../../../chunk-NU34IEWN.js');
|
|
7
|
-
require('../../../chunk-
|
|
7
|
+
require('../../../chunk-HUZVQCWL.js');
|
|
8
8
|
require('../../../chunk-2CDSXWFA.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -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 = _chunkLRGILLMQjs.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-UGFKKNQI.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
6
|
} from "../../../chunk-PH3DHY4Q.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-HHVUEOQK.mjs";
|
|
8
8
|
import "../../../chunk-V44DYGWX.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__require
|
|
11
|
-
} from "../../../chunk-
|
|
11
|
+
} from "../../../chunk-QY2F3NDP.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 _chunkR5DICCMWjs = require('../../../chunk-R5DICCMW.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkR5DICCMWjs.generator_default; exports.initGenerator = _chunkR5DICCMWjs.initGenerator; exports.initSchematic = _chunkR5DICCMWjs.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-EIZU6AAN.mjs";
|
|
6
|
+
import "../../../chunk-QY2F3NDP.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-
|
|
5
|
+
var _chunkZZEFABTAjs = require('../../../chunk-ZZEFABTA.js');
|
|
6
|
+
require('../../../chunk-R5DICCMW.js');
|
|
7
|
+
require('../../../chunk-HUZVQCWL.js');
|
|
8
8
|
require('../../../chunk-2CDSXWFA.js');
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkZZEFABTAjs.applicationGenerator; exports.applicationSchematic = _chunkZZEFABTAjs.applicationSchematic; exports.default = _chunkZZEFABTAjs.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-
|
|
5
|
+
} from "../../../chunk-DAVZT6KF.mjs";
|
|
6
|
+
import "../../../chunk-EIZU6AAN.mjs";
|
|
7
|
+
import "../../../chunk-HHVUEOQK.mjs";
|
|
8
8
|
import "../../../chunk-V44DYGWX.mjs";
|
|
9
|
-
import "../../../chunk-
|
|
9
|
+
import "../../../chunk-QY2F3NDP.mjs";
|
|
10
10
|
export {
|
|
11
11
|
applicationGenerator,
|
|
12
12
|
applicationSchematic,
|
package/dist/src/utils/index.mjs
CHANGED
package/dist/tsup.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.65.
|
|
3
|
+
"version": "0.65.7",
|
|
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",
|
|
@@ -145,10 +145,10 @@
|
|
|
145
145
|
"nx": "^21.3.10",
|
|
146
146
|
"tsup": "8.4.0",
|
|
147
147
|
"untyped": "^1.5.2",
|
|
148
|
-
"wrangler": "^4.
|
|
148
|
+
"wrangler": "^4.30.0"
|
|
149
149
|
},
|
|
150
150
|
"publishConfig": { "access": "public" },
|
|
151
151
|
"executors": "./executors.json",
|
|
152
152
|
"generators": "./generators.json",
|
|
153
|
-
"gitHead": "
|
|
153
|
+
"gitHead": "4350a6d02b440c658e3bc88c00c8197914c23128"
|
|
154
154
|
}
|