@storm-software/cloudflare-tools 0.70.26 → 0.70.27
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 +15 -0
- package/README.md +1 -2
- package/dist/{chunk-6I5II54Q.mjs → chunk-462IXXIY.mjs} +4 -4
- package/dist/{chunk-Y542ITTQ.mjs → chunk-N77SPSI5.mjs} +42 -42
- package/dist/{chunk-WDX5QEWA.js → chunk-VUKZUGE2.js} +37 -37
- package/dist/{chunk-FPQRUJE2.js → chunk-WEDNGEEE.js} +2 -2
- package/dist/{chunk-M5OYEN5I.js → chunk-WJH4HPPZ.js} +4 -4
- package/dist/{chunk-QMDUTWFJ.mjs → chunk-ZQMZOSDG.mjs} +1 -1
- package/dist/executors.js +1 -1
- package/dist/executors.mjs +1 -1
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/src/executors/cloudflare-publish/executor.js +1 -1
- package/dist/src/executors/cloudflare-publish/executor.mjs +1 -1
- package/dist/src/executors/serve/executor.js +2 -2
- package/dist/src/executors/serve/executor.mjs +1 -1
- 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 +3 -3
- package/dist/src/generators/worker/generator.mjs +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.70.26](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.70.26) (11/12/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update workspace `Cargo.lock` file
|
|
10
|
+
([cf76a171f](https://github.com/storm-software/storm-ops/commit/cf76a171f))
|
|
11
|
+
- **monorepo:** Regenerate README markdown files
|
|
12
|
+
([a27c96498](https://github.com/storm-software/storm-ops/commit/a27c96498))
|
|
13
|
+
|
|
14
|
+
### Updated Dependencies
|
|
15
|
+
|
|
16
|
+
- Updated **workspace-tools** to **v1.292.26**
|
|
17
|
+
- Updated **config-tools** to **v1.188.26**
|
|
18
|
+
- Updated **config** to **v1.134.26**
|
|
19
|
+
|
|
5
20
|
## [0.70.25](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.70.25) (11/12/2025)
|
|
6
21
|
|
|
7
22
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -40,7 +40,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
-
|
|
44
43
|
## Table of Contents
|
|
45
44
|
|
|
46
45
|
- [Storm Cloudflare Tools](#storm-cloudflare-tools)
|
|
@@ -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.70.
|
|
10
|
+
version: "0.70.26",
|
|
11
11
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
12
12
|
repository: {
|
|
13
13
|
type: "github",
|
|
@@ -136,9 +136,9 @@ var require_package = __commonJS({
|
|
|
136
136
|
"@nx/js": "catalog:",
|
|
137
137
|
"@nx/node": "catalog:",
|
|
138
138
|
"@nx/web": "catalog:",
|
|
139
|
-
"@storm-software/config": "1.134.
|
|
140
|
-
"@storm-software/config-tools": "1.188.
|
|
141
|
-
"@storm-software/workspace-tools": "1.292.
|
|
139
|
+
"@storm-software/config": "1.134.26",
|
|
140
|
+
"@storm-software/config-tools": "1.188.26",
|
|
141
|
+
"@storm-software/workspace-tools": "1.292.26",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
|
@@ -109,23 +109,23 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
109
109
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
110
110
|
);
|
|
111
111
|
}
|
|
112
|
-
const
|
|
113
|
-
const projectRoot = context.projectsConfigurations.projects[context.projectName].root ||
|
|
114
|
-
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot ||
|
|
112
|
+
const workspaceRoot2 = findWorkspaceRoot();
|
|
113
|
+
const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot2;
|
|
114
|
+
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot2;
|
|
115
115
|
const projectName = context.projectName;
|
|
116
|
-
config.workspaceRoot =
|
|
116
|
+
config.workspaceRoot = workspaceRoot2;
|
|
117
117
|
writeInfo(`\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
118
118
|
if (!executorOptions.skipReadingConfig) {
|
|
119
119
|
writeTrace(
|
|
120
120
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
121
|
-
- workspaceRoot: ${
|
|
121
|
+
- workspaceRoot: ${workspaceRoot2}
|
|
122
122
|
- projectRoot: ${projectRoot}
|
|
123
123
|
- sourceRoot: ${sourceRoot}
|
|
124
124
|
- projectName: ${projectName}
|
|
125
125
|
`,
|
|
126
126
|
config
|
|
127
127
|
);
|
|
128
|
-
config = await getConfig(
|
|
128
|
+
config = await getConfig(workspaceRoot2);
|
|
129
129
|
}
|
|
130
130
|
if (executorOptions?.hooks?.applyDefaultOptions) {
|
|
131
131
|
writeDebug("Running the applyDefaultOptions hook...", config);
|
|
@@ -143,7 +143,7 @@ ${formatLogMessage(options)}
|
|
|
143
143
|
const tokenized = await applyWorkspaceTokens(
|
|
144
144
|
options,
|
|
145
145
|
defu(
|
|
146
|
-
{ workspaceRoot:
|
|
146
|
+
{ workspaceRoot: workspaceRoot2, projectRoot, sourceRoot, projectName, config },
|
|
147
147
|
config,
|
|
148
148
|
context.projectsConfigurations.projects[context.projectName]
|
|
149
149
|
),
|
|
@@ -220,7 +220,7 @@ var _isFunction = (value) => {
|
|
|
220
220
|
};
|
|
221
221
|
|
|
222
222
|
// ../workspace-tools/src/utils/cargo.ts
|
|
223
|
-
import { joinPathFragments
|
|
223
|
+
import { joinPathFragments } from "@nx/devkit";
|
|
224
224
|
import {
|
|
225
225
|
execSync,
|
|
226
226
|
spawn
|
|
@@ -273,10 +273,10 @@ var buildCargoCommand = (baseCommand, options, context) => {
|
|
|
273
273
|
}
|
|
274
274
|
return args;
|
|
275
275
|
};
|
|
276
|
-
async function cargoCommand(...args) {
|
|
276
|
+
async function cargoCommand(workspaceRoot2, ...args) {
|
|
277
277
|
console.log(`> cargo ${args.join(" ")}`);
|
|
278
278
|
args.push("--color", "always");
|
|
279
|
-
return await Promise.resolve(runProcess("cargo", ...args));
|
|
279
|
+
return await Promise.resolve(runProcess(workspaceRoot2, "cargo", ...args));
|
|
280
280
|
}
|
|
281
281
|
function cargoCommandSync(args = "", options) {
|
|
282
282
|
const normalizedOptions = {
|
|
@@ -314,9 +314,9 @@ function cargoMetadata() {
|
|
|
314
314
|
}
|
|
315
315
|
return JSON.parse(output2.output);
|
|
316
316
|
}
|
|
317
|
-
function runProcess(processCmd, ...args) {
|
|
317
|
+
function runProcess(workspaceRoot2, processCmd, ...args) {
|
|
318
318
|
const metadata = cargoMetadata();
|
|
319
|
-
const targetDir = metadata?.target_directory ?? joinPathFragments(
|
|
319
|
+
const targetDir = metadata?.target_directory ?? joinPathFragments(workspaceRoot2, "dist");
|
|
320
320
|
return new Promise((resolve) => {
|
|
321
321
|
if (process.env.VERCEL) {
|
|
322
322
|
return resolve({ success: true });
|
|
@@ -339,7 +339,7 @@ function runProcess(processCmd, ...args) {
|
|
|
339
339
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
340
340
|
async function cargoBuildExecutor(options, context) {
|
|
341
341
|
const command = buildCargoCommand("build", options, context);
|
|
342
|
-
return await cargoCommand(...command);
|
|
342
|
+
return await cargoCommand(context.root, ...command);
|
|
343
343
|
}
|
|
344
344
|
var executor_default = withRunExecutor(
|
|
345
345
|
"Cargo - Build",
|
|
@@ -359,7 +359,7 @@ var executor_default = withRunExecutor(
|
|
|
359
359
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
360
360
|
async function cargoCheckExecutor(options, context) {
|
|
361
361
|
const command = buildCargoCommand("check", options, context);
|
|
362
|
-
return await cargoCommand(...command);
|
|
362
|
+
return await cargoCommand(context.root, ...command);
|
|
363
363
|
}
|
|
364
364
|
var executor_default2 = withRunExecutor(
|
|
365
365
|
"Cargo - Check",
|
|
@@ -378,7 +378,7 @@ var executor_default2 = withRunExecutor(
|
|
|
378
378
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
379
379
|
async function cargoClippyExecutor(options, context) {
|
|
380
380
|
const command = buildCargoCommand("clippy", options, context);
|
|
381
|
-
return await cargoCommand(...command);
|
|
381
|
+
return await cargoCommand(context.root, ...command);
|
|
382
382
|
}
|
|
383
383
|
var executor_default3 = withRunExecutor(
|
|
384
384
|
"Cargo - Clippy",
|
|
@@ -401,7 +401,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
401
401
|
opts["no-deps"] = opts.noDeps;
|
|
402
402
|
delete opts.noDeps;
|
|
403
403
|
const command = buildCargoCommand("doc", options, context);
|
|
404
|
-
return await cargoCommand(...command);
|
|
404
|
+
return await cargoCommand(context.root, ...command);
|
|
405
405
|
}
|
|
406
406
|
var executor_default4 = withRunExecutor(
|
|
407
407
|
"Cargo - Doc",
|
|
@@ -427,7 +427,7 @@ var executor_default4 = withRunExecutor(
|
|
|
427
427
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
428
428
|
async function cargoFormatExecutor(options, context) {
|
|
429
429
|
const command = buildCargoCommand("fmt", options, context);
|
|
430
|
-
return await cargoCommand(...command);
|
|
430
|
+
return await cargoCommand(context.root, ...command);
|
|
431
431
|
}
|
|
432
432
|
var executor_default5 = withRunExecutor(
|
|
433
433
|
"Cargo - Format",
|
|
@@ -557,7 +557,7 @@ import {
|
|
|
557
557
|
readCachedProjectGraph,
|
|
558
558
|
readProjectsConfigurationFromProjectGraph
|
|
559
559
|
} from "nx/src/project-graph/project-graph";
|
|
560
|
-
var addPackageDependencies = async (
|
|
560
|
+
var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, packageJson) => {
|
|
561
561
|
let projectGraph;
|
|
562
562
|
try {
|
|
563
563
|
projectGraph = readCachedProjectGraph();
|
|
@@ -573,7 +573,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
573
573
|
const projectDependencies = calculateProjectBuildableDependencies(
|
|
574
574
|
void 0,
|
|
575
575
|
projectGraph,
|
|
576
|
-
|
|
576
|
+
workspaceRoot2,
|
|
577
577
|
projectName,
|
|
578
578
|
process.env.NX_TASK_TARGET_TARGET || "build",
|
|
579
579
|
process.env.NX_TASK_TARGET_CONFIGURATION || "production",
|
|
@@ -581,12 +581,12 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
581
581
|
);
|
|
582
582
|
const localPackages = [];
|
|
583
583
|
for (const project of projectDependencies.dependencies.filter(
|
|
584
|
-
(dep) => dep.node.type === "lib" && dep.node.data?.root !== projectRoot && dep.node.data?.root !==
|
|
584
|
+
(dep) => dep.node.type === "lib" && dep.node.data?.root !== projectRoot && dep.node.data?.root !== workspaceRoot2
|
|
585
585
|
)) {
|
|
586
586
|
const projectNode = project.node;
|
|
587
587
|
if (projectNode.data.root) {
|
|
588
588
|
const projectPackageJsonPath = joinPaths(
|
|
589
|
-
|
|
589
|
+
workspaceRoot2,
|
|
590
590
|
projectNode.data.root,
|
|
591
591
|
"package.json"
|
|
592
592
|
);
|
|
@@ -621,7 +621,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
621
621
|
const implicitDependencies = projectConfigurations.projects?.[projectName2].implicitDependencies?.reduce((ret, dep) => {
|
|
622
622
|
if (projectConfigurations.projects?.[dep]) {
|
|
623
623
|
const depPackageJsonPath = joinPaths(
|
|
624
|
-
|
|
624
|
+
workspaceRoot2,
|
|
625
625
|
projectConfigurations.projects[dep].root,
|
|
626
626
|
"package.json"
|
|
627
627
|
);
|
|
@@ -656,9 +656,9 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
656
656
|
return packageJson;
|
|
657
657
|
};
|
|
658
658
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
659
|
-
const
|
|
659
|
+
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
660
660
|
const workspacePackageJsonContent = await readFile2(
|
|
661
|
-
joinPaths(
|
|
661
|
+
joinPaths(workspaceRoot2, "package.json"),
|
|
662
662
|
"utf8"
|
|
663
663
|
);
|
|
664
664
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -829,12 +829,12 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
829
829
|
// ../esbuild/src/context.ts
|
|
830
830
|
async function resolveContext(userOptions) {
|
|
831
831
|
const projectRoot = userOptions.projectRoot;
|
|
832
|
-
const
|
|
833
|
-
if (!
|
|
832
|
+
const workspaceRoot2 = findWorkspaceRoot2(projectRoot);
|
|
833
|
+
if (!workspaceRoot2) {
|
|
834
834
|
throw new Error("Cannot find Nx workspace root");
|
|
835
835
|
}
|
|
836
836
|
const workspaceConfig = await getWorkspaceConfig(true, {
|
|
837
|
-
workspaceRoot:
|
|
837
|
+
workspaceRoot: workspaceRoot2.dir
|
|
838
838
|
});
|
|
839
839
|
writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
840
840
|
const stopwatch = getStopwatch("Build options resolution");
|
|
@@ -842,7 +842,7 @@ async function resolveContext(userOptions) {
|
|
|
842
842
|
exitOnError: true
|
|
843
843
|
});
|
|
844
844
|
const projectJsonPath = joinPaths(
|
|
845
|
-
|
|
845
|
+
workspaceRoot2.dir,
|
|
846
846
|
projectRoot,
|
|
847
847
|
"project.json"
|
|
848
848
|
);
|
|
@@ -861,7 +861,7 @@ async function resolveContext(userOptions) {
|
|
|
861
861
|
const options = defu2(userOptions, DEFAULT_BUILD_OPTIONS);
|
|
862
862
|
options.name ??= projectName;
|
|
863
863
|
const packageJsonPath = joinPaths(
|
|
864
|
-
|
|
864
|
+
workspaceRoot2.dir,
|
|
865
865
|
options.projectRoot,
|
|
866
866
|
"package.json"
|
|
867
867
|
);
|
|
@@ -872,7 +872,7 @@ async function resolveContext(userOptions) {
|
|
|
872
872
|
const define = defu2(options.define ?? {}, env ?? {});
|
|
873
873
|
const resolvedOptions = {
|
|
874
874
|
...options,
|
|
875
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : joinPaths(
|
|
875
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : joinPaths(workspaceRoot2.dir, projectRoot, "tsconfig.json"),
|
|
876
876
|
metafile: userOptions.mode === "development",
|
|
877
877
|
clean: false,
|
|
878
878
|
env,
|
|
@@ -1299,12 +1299,12 @@ function toTSDownFormat(format3) {
|
|
|
1299
1299
|
// ../tsdown/src/build.ts
|
|
1300
1300
|
var resolveOptions = async (userOptions) => {
|
|
1301
1301
|
const options = getDefaultOptions(userOptions);
|
|
1302
|
-
const
|
|
1303
|
-
if (!
|
|
1302
|
+
const workspaceRoot2 = findWorkspaceRoot(options.projectRoot);
|
|
1303
|
+
if (!workspaceRoot2) {
|
|
1304
1304
|
throw new Error("Cannot find Nx workspace root");
|
|
1305
1305
|
}
|
|
1306
1306
|
const workspaceConfig = await getWorkspaceConfig(options.debug === true, {
|
|
1307
|
-
workspaceRoot:
|
|
1307
|
+
workspaceRoot: workspaceRoot2
|
|
1308
1308
|
});
|
|
1309
1309
|
writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
1310
1310
|
const stopwatch = getStopwatch("Build options resolution");
|
|
@@ -1312,7 +1312,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
1312
1312
|
exitOnError: true
|
|
1313
1313
|
});
|
|
1314
1314
|
const projectJsonPath = joinPaths(
|
|
1315
|
-
|
|
1315
|
+
workspaceRoot2,
|
|
1316
1316
|
options.projectRoot,
|
|
1317
1317
|
"project.json"
|
|
1318
1318
|
);
|
|
@@ -1329,7 +1329,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
1329
1329
|
);
|
|
1330
1330
|
}
|
|
1331
1331
|
const packageJsonPath = joinPaths(
|
|
1332
|
-
|
|
1332
|
+
workspaceRoot2,
|
|
1333
1333
|
options.projectRoot,
|
|
1334
1334
|
"package.json"
|
|
1335
1335
|
);
|
|
@@ -1730,14 +1730,14 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
1730
1730
|
writeInfo(`\u26A1 Running the ${name} generator...
|
|
1731
1731
|
|
|
1732
1732
|
`, config);
|
|
1733
|
-
const
|
|
1733
|
+
const workspaceRoot2 = findWorkspaceRoot();
|
|
1734
1734
|
if (!generatorOptions.skipReadingConfig) {
|
|
1735
1735
|
writeDebug(
|
|
1736
1736
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
1737
|
-
- workspaceRoot: ${
|
|
1737
|
+
- workspaceRoot: ${workspaceRoot2}`,
|
|
1738
1738
|
config
|
|
1739
1739
|
);
|
|
1740
|
-
config = await getConfig(
|
|
1740
|
+
config = await getConfig(workspaceRoot2);
|
|
1741
1741
|
}
|
|
1742
1742
|
if (generatorOptions?.hooks?.applyDefaultOptions) {
|
|
1743
1743
|
writeDebug("Running the applyDefaultOptions hook...", config);
|
|
@@ -2998,7 +2998,7 @@ import { retrieveProjectConfigurationsWithoutPluginInference } from "nx/src/proj
|
|
|
2998
2998
|
import {
|
|
2999
2999
|
output,
|
|
3000
3000
|
readJsonFile,
|
|
3001
|
-
workspaceRoot
|
|
3001
|
+
workspaceRoot
|
|
3002
3002
|
} from "@nx/devkit";
|
|
3003
3003
|
import { existsSync as existsSync8 } from "node:fs";
|
|
3004
3004
|
import { join as join2 } from "node:path";
|
|
@@ -3017,9 +3017,9 @@ import {
|
|
|
3017
3017
|
var YARN_LOCK_FILE = "yarn.lock";
|
|
3018
3018
|
var NPM_LOCK_FILE = "package-lock.json";
|
|
3019
3019
|
var PNPM_LOCK_FILE = "pnpm-lock.yaml";
|
|
3020
|
-
var YARN_LOCK_PATH = join2(
|
|
3021
|
-
var NPM_LOCK_PATH = join2(
|
|
3022
|
-
var PNPM_LOCK_PATH = join2(
|
|
3020
|
+
var YARN_LOCK_PATH = join2(workspaceRoot, YARN_LOCK_FILE);
|
|
3021
|
+
var NPM_LOCK_PATH = join2(workspaceRoot, NPM_LOCK_FILE);
|
|
3022
|
+
var PNPM_LOCK_PATH = join2(workspaceRoot, PNPM_LOCK_FILE);
|
|
3023
3023
|
|
|
3024
3024
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
3025
3025
|
import {
|
|
@@ -106,23 +106,23 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
106
106
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
|
-
const
|
|
110
|
-
const projectRoot = context.projectsConfigurations.projects[context.projectName].root ||
|
|
111
|
-
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot ||
|
|
109
|
+
const workspaceRoot2 = _chunkDTVTFZ3Mjs.findWorkspaceRoot.call(void 0, );
|
|
110
|
+
const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot2;
|
|
111
|
+
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot2;
|
|
112
112
|
const projectName = context.projectName;
|
|
113
|
-
config.workspaceRoot =
|
|
113
|
+
config.workspaceRoot = workspaceRoot2;
|
|
114
114
|
_chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
|
|
115
115
|
if (!executorOptions.skipReadingConfig) {
|
|
116
116
|
_chunk2CDSXWFAjs.writeTrace.call(void 0,
|
|
117
117
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
118
|
-
- workspaceRoot: ${
|
|
118
|
+
- workspaceRoot: ${workspaceRoot2}
|
|
119
119
|
- projectRoot: ${projectRoot}
|
|
120
120
|
- sourceRoot: ${sourceRoot}
|
|
121
121
|
- projectName: ${projectName}
|
|
122
122
|
`,
|
|
123
123
|
config
|
|
124
124
|
);
|
|
125
|
-
config = await _chunkDTVTFZ3Mjs.getConfig.call(void 0,
|
|
125
|
+
config = await _chunkDTVTFZ3Mjs.getConfig.call(void 0, workspaceRoot2);
|
|
126
126
|
}
|
|
127
127
|
if (_optionalChain([executorOptions, 'optionalAccess', _7 => _7.hooks, 'optionalAccess', _8 => _8.applyDefaultOptions])) {
|
|
128
128
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
@@ -140,7 +140,7 @@ ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0, options)}
|
|
|
140
140
|
const tokenized = await applyWorkspaceTokens(
|
|
141
141
|
options,
|
|
142
142
|
_defu.defu.call(void 0,
|
|
143
|
-
{ workspaceRoot:
|
|
143
|
+
{ workspaceRoot: workspaceRoot2, projectRoot, sourceRoot, projectName, config },
|
|
144
144
|
config,
|
|
145
145
|
context.projectsConfigurations.projects[context.projectName]
|
|
146
146
|
),
|
|
@@ -270,10 +270,10 @@ var buildCargoCommand = (baseCommand, options, context) => {
|
|
|
270
270
|
}
|
|
271
271
|
return args;
|
|
272
272
|
};
|
|
273
|
-
async function cargoCommand(...args) {
|
|
273
|
+
async function cargoCommand(workspaceRoot2, ...args) {
|
|
274
274
|
console.log(`> cargo ${args.join(" ")}`);
|
|
275
275
|
args.push("--color", "always");
|
|
276
|
-
return await Promise.resolve(runProcess("cargo", ...args));
|
|
276
|
+
return await Promise.resolve(runProcess(workspaceRoot2, "cargo", ...args));
|
|
277
277
|
}
|
|
278
278
|
function cargoCommandSync(args = "", options) {
|
|
279
279
|
const normalizedOptions = {
|
|
@@ -311,9 +311,9 @@ function cargoMetadata() {
|
|
|
311
311
|
}
|
|
312
312
|
return JSON.parse(output2.output);
|
|
313
313
|
}
|
|
314
|
-
function runProcess(processCmd, ...args) {
|
|
314
|
+
function runProcess(workspaceRoot2, processCmd, ...args) {
|
|
315
315
|
const metadata = cargoMetadata();
|
|
316
|
-
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _28 => _28.target_directory]), () => ( _devkit.joinPathFragments.call(void 0,
|
|
316
|
+
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _28 => _28.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, workspaceRoot2, "dist")));
|
|
317
317
|
return new Promise((resolve) => {
|
|
318
318
|
if (process.env.VERCEL) {
|
|
319
319
|
return resolve({ success: true });
|
|
@@ -336,7 +336,7 @@ function runProcess(processCmd, ...args) {
|
|
|
336
336
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
337
337
|
async function cargoBuildExecutor(options, context) {
|
|
338
338
|
const command = buildCargoCommand("build", options, context);
|
|
339
|
-
return await cargoCommand(...command);
|
|
339
|
+
return await cargoCommand(context.root, ...command);
|
|
340
340
|
}
|
|
341
341
|
var executor_default = withRunExecutor(
|
|
342
342
|
"Cargo - Build",
|
|
@@ -356,7 +356,7 @@ var executor_default = withRunExecutor(
|
|
|
356
356
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
357
357
|
async function cargoCheckExecutor(options, context) {
|
|
358
358
|
const command = buildCargoCommand("check", options, context);
|
|
359
|
-
return await cargoCommand(...command);
|
|
359
|
+
return await cargoCommand(context.root, ...command);
|
|
360
360
|
}
|
|
361
361
|
var executor_default2 = withRunExecutor(
|
|
362
362
|
"Cargo - Check",
|
|
@@ -375,7 +375,7 @@ var executor_default2 = withRunExecutor(
|
|
|
375
375
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
376
376
|
async function cargoClippyExecutor(options, context) {
|
|
377
377
|
const command = buildCargoCommand("clippy", options, context);
|
|
378
|
-
return await cargoCommand(...command);
|
|
378
|
+
return await cargoCommand(context.root, ...command);
|
|
379
379
|
}
|
|
380
380
|
var executor_default3 = withRunExecutor(
|
|
381
381
|
"Cargo - Clippy",
|
|
@@ -398,7 +398,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
398
398
|
opts["no-deps"] = opts.noDeps;
|
|
399
399
|
delete opts.noDeps;
|
|
400
400
|
const command = buildCargoCommand("doc", options, context);
|
|
401
|
-
return await cargoCommand(...command);
|
|
401
|
+
return await cargoCommand(context.root, ...command);
|
|
402
402
|
}
|
|
403
403
|
var executor_default4 = withRunExecutor(
|
|
404
404
|
"Cargo - Doc",
|
|
@@ -424,7 +424,7 @@ var executor_default4 = withRunExecutor(
|
|
|
424
424
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
425
425
|
async function cargoFormatExecutor(options, context) {
|
|
426
426
|
const command = buildCargoCommand("fmt", options, context);
|
|
427
|
-
return await cargoCommand(...command);
|
|
427
|
+
return await cargoCommand(context.root, ...command);
|
|
428
428
|
}
|
|
429
429
|
var executor_default5 = withRunExecutor(
|
|
430
430
|
"Cargo - Format",
|
|
@@ -554,7 +554,7 @@ var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
|
554
554
|
|
|
555
555
|
|
|
556
556
|
var _projectgraph = require('nx/src/project-graph/project-graph');
|
|
557
|
-
var addPackageDependencies = async (
|
|
557
|
+
var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, packageJson) => {
|
|
558
558
|
let projectGraph;
|
|
559
559
|
try {
|
|
560
560
|
projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
|
|
@@ -570,7 +570,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
570
570
|
const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0,
|
|
571
571
|
void 0,
|
|
572
572
|
projectGraph,
|
|
573
|
-
|
|
573
|
+
workspaceRoot2,
|
|
574
574
|
projectName,
|
|
575
575
|
process.env.NX_TASK_TARGET_TARGET || "build",
|
|
576
576
|
process.env.NX_TASK_TARGET_CONFIGURATION || "production",
|
|
@@ -578,12 +578,12 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
578
578
|
);
|
|
579
579
|
const localPackages = [];
|
|
580
580
|
for (const project of projectDependencies.dependencies.filter(
|
|
581
|
-
(dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _29 => _29.node, 'access', _30 => _30.data, 'optionalAccess', _31 => _31.root]) !== projectRoot && _optionalChain([dep, 'access', _32 => _32.node, 'access', _33 => _33.data, 'optionalAccess', _34 => _34.root]) !==
|
|
581
|
+
(dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _29 => _29.node, 'access', _30 => _30.data, 'optionalAccess', _31 => _31.root]) !== projectRoot && _optionalChain([dep, 'access', _32 => _32.node, 'access', _33 => _33.data, 'optionalAccess', _34 => _34.root]) !== workspaceRoot2
|
|
582
582
|
)) {
|
|
583
583
|
const projectNode = project.node;
|
|
584
584
|
if (projectNode.data.root) {
|
|
585
585
|
const projectPackageJsonPath = _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
|
|
586
|
-
|
|
586
|
+
workspaceRoot2,
|
|
587
587
|
projectNode.data.root,
|
|
588
588
|
"package.json"
|
|
589
589
|
);
|
|
@@ -618,7 +618,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
618
618
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _37 => _37.projects, 'optionalAccess', _38 => _38[projectName2], 'access', _39 => _39.implicitDependencies, 'optionalAccess', _40 => _40.reduce, 'call', _41 => _41((ret, dep) => {
|
|
619
619
|
if (_optionalChain([projectConfigurations, 'access', _42 => _42.projects, 'optionalAccess', _43 => _43[dep]])) {
|
|
620
620
|
const depPackageJsonPath = _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
|
|
621
|
-
|
|
621
|
+
workspaceRoot2,
|
|
622
622
|
projectConfigurations.projects[dep].root,
|
|
623
623
|
"package.json"
|
|
624
624
|
);
|
|
@@ -653,9 +653,9 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
653
653
|
return packageJson;
|
|
654
654
|
};
|
|
655
655
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
656
|
-
const
|
|
656
|
+
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkDTVTFZ3Mjs.findWorkspaceRoot.call(void 0, );
|
|
657
657
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
658
|
-
_chunkDTVTFZ3Mjs.joinPaths.call(void 0,
|
|
658
|
+
_chunkDTVTFZ3Mjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
659
659
|
"utf8"
|
|
660
660
|
);
|
|
661
661
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -826,12 +826,12 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
826
826
|
// ../esbuild/src/context.ts
|
|
827
827
|
async function resolveContext(userOptions) {
|
|
828
828
|
const projectRoot = userOptions.projectRoot;
|
|
829
|
-
const
|
|
830
|
-
if (!
|
|
829
|
+
const workspaceRoot2 = _findworkspaceroot.findWorkspaceRoot.call(void 0, projectRoot);
|
|
830
|
+
if (!workspaceRoot2) {
|
|
831
831
|
throw new Error("Cannot find Nx workspace root");
|
|
832
832
|
}
|
|
833
833
|
const workspaceConfig = await _chunkDTVTFZ3Mjs.getWorkspaceConfig.call(void 0, true, {
|
|
834
|
-
workspaceRoot:
|
|
834
|
+
workspaceRoot: workspaceRoot2.dir
|
|
835
835
|
});
|
|
836
836
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
837
837
|
const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, "Build options resolution");
|
|
@@ -839,7 +839,7 @@ async function resolveContext(userOptions) {
|
|
|
839
839
|
exitOnError: true
|
|
840
840
|
});
|
|
841
841
|
const projectJsonPath = _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
|
|
842
|
-
|
|
842
|
+
workspaceRoot2.dir,
|
|
843
843
|
projectRoot,
|
|
844
844
|
"project.json"
|
|
845
845
|
);
|
|
@@ -858,7 +858,7 @@ async function resolveContext(userOptions) {
|
|
|
858
858
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
859
859
|
options.name ??= projectName;
|
|
860
860
|
const packageJsonPath = _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
|
|
861
|
-
|
|
861
|
+
workspaceRoot2.dir,
|
|
862
862
|
options.projectRoot,
|
|
863
863
|
"package.json"
|
|
864
864
|
);
|
|
@@ -869,7 +869,7 @@ async function resolveContext(userOptions) {
|
|
|
869
869
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
870
870
|
const resolvedOptions = {
|
|
871
871
|
...options,
|
|
872
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
|
|
872
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkDTVTFZ3Mjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
|
|
873
873
|
metafile: userOptions.mode === "development",
|
|
874
874
|
clean: false,
|
|
875
875
|
env,
|
|
@@ -1296,12 +1296,12 @@ function toTSDownFormat(format3) {
|
|
|
1296
1296
|
// ../tsdown/src/build.ts
|
|
1297
1297
|
var resolveOptions = async (userOptions) => {
|
|
1298
1298
|
const options = getDefaultOptions(userOptions);
|
|
1299
|
-
const
|
|
1300
|
-
if (!
|
|
1299
|
+
const workspaceRoot2 = _chunkDTVTFZ3Mjs.findWorkspaceRoot.call(void 0, options.projectRoot);
|
|
1300
|
+
if (!workspaceRoot2) {
|
|
1301
1301
|
throw new Error("Cannot find Nx workspace root");
|
|
1302
1302
|
}
|
|
1303
1303
|
const workspaceConfig = await _chunkDTVTFZ3Mjs.getWorkspaceConfig.call(void 0, options.debug === true, {
|
|
1304
|
-
workspaceRoot:
|
|
1304
|
+
workspaceRoot: workspaceRoot2
|
|
1305
1305
|
});
|
|
1306
1306
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
1307
1307
|
const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, "Build options resolution");
|
|
@@ -1309,7 +1309,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
1309
1309
|
exitOnError: true
|
|
1310
1310
|
});
|
|
1311
1311
|
const projectJsonPath = _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
|
|
1312
|
-
|
|
1312
|
+
workspaceRoot2,
|
|
1313
1313
|
options.projectRoot,
|
|
1314
1314
|
"project.json"
|
|
1315
1315
|
);
|
|
@@ -1326,7 +1326,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
1326
1326
|
);
|
|
1327
1327
|
}
|
|
1328
1328
|
const packageJsonPath = _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
|
|
1329
|
-
|
|
1329
|
+
workspaceRoot2,
|
|
1330
1330
|
options.projectRoot,
|
|
1331
1331
|
"package.json"
|
|
1332
1332
|
);
|
|
@@ -1727,14 +1727,14 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
1727
1727
|
_chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
|
|
1728
1728
|
|
|
1729
1729
|
`, config);
|
|
1730
|
-
const
|
|
1730
|
+
const workspaceRoot2 = _chunkDTVTFZ3Mjs.findWorkspaceRoot.call(void 0, );
|
|
1731
1731
|
if (!generatorOptions.skipReadingConfig) {
|
|
1732
1732
|
_chunk2CDSXWFAjs.writeDebug.call(void 0,
|
|
1733
1733
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
1734
|
-
- workspaceRoot: ${
|
|
1734
|
+
- workspaceRoot: ${workspaceRoot2}`,
|
|
1735
1735
|
config
|
|
1736
1736
|
);
|
|
1737
|
-
config = await _chunkDTVTFZ3Mjs.getConfig.call(void 0,
|
|
1737
|
+
config = await _chunkDTVTFZ3Mjs.getConfig.call(void 0, workspaceRoot2);
|
|
1738
1738
|
}
|
|
1739
1739
|
if (_optionalChain([generatorOptions, 'optionalAccess', _111 => _111.hooks, 'optionalAccess', _112 => _112.applyDefaultOptions])) {
|
|
1740
1740
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
@@ -1,6 +1,6 @@
|
|
|
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 _chunkWJH4HPPZjs = require('./chunk-WJH4HPPZ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -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 _chunkWJH4HPPZjs.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
|
@@ -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.70.
|
|
10
|
+
version: "0.70.26",
|
|
11
11
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
12
12
|
repository: {
|
|
13
13
|
type: "github",
|
|
@@ -136,9 +136,9 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
|
|
|
136
136
|
"@nx/js": "catalog:",
|
|
137
137
|
"@nx/node": "catalog:",
|
|
138
138
|
"@nx/web": "catalog:",
|
|
139
|
-
"@storm-software/config": "1.134.
|
|
140
|
-
"@storm-software/config-tools": "1.188.
|
|
141
|
-
"@storm-software/workspace-tools": "1.292.
|
|
139
|
+
"@storm-software/config": "1.134.26",
|
|
140
|
+
"@storm-software/config-tools": "1.188.26",
|
|
141
|
+
"@storm-software/workspace-tools": "1.292.26",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
package/dist/executors.js
CHANGED
package/dist/executors.mjs
CHANGED
package/dist/generators.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkWEDNGEEEjs = require('./chunk-WEDNGEEE.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkWJH4HPPZjs = require('./chunk-WJH4HPPZ.js');
|
|
10
10
|
require('./chunk-DTVTFZ3M.js');
|
|
11
11
|
require('./chunk-2CDSXWFA.js');
|
|
12
12
|
require('./chunk-MCKGQKYU.js');
|
|
@@ -15,4 +15,4 @@ require('./chunk-MCKGQKYU.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkWEDNGEEEjs.applicationGenerator; exports.applicationSchematic = _chunkWEDNGEEEjs.applicationSchematic; exports.initGenerator = _chunkWJH4HPPZjs.initGenerator; exports.initSchematic = _chunkWJH4HPPZjs.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,11 +2,11 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZQMZOSDG.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-462IXXIY.mjs";
|
|
10
10
|
import "./chunk-RSNYZTUY.mjs";
|
|
11
11
|
import "./chunk-V44DYGWX.mjs";
|
|
12
12
|
import "./chunk-I4HGWOGD.mjs";
|
package/dist/index.js
CHANGED
|
@@ -3,14 +3,14 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkWEDNGEEEjs = require('./chunk-WEDNGEEE.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkWJH4HPPZjs = require('./chunk-WJH4HPPZ.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-IRORGRVZ.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-VUKZUGE2.js');
|
|
14
14
|
require('./chunk-4XOYLZYF.js');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -155,4 +155,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
exports.applicationGenerator =
|
|
158
|
+
exports.applicationGenerator = _chunkWEDNGEEEjs.applicationGenerator; exports.applicationSchematic = _chunkWEDNGEEEjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkNCQM44P3js.getInternalDependencies; exports.initGenerator = _chunkWJH4HPPZjs.initGenerator; exports.initSchematic = _chunkWJH4HPPZjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkNCQM44P3js.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -3,14 +3,14 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
applicationGenerator,
|
|
5
5
|
applicationSchematic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZQMZOSDG.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-462IXXIY.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
12
|
import "./chunk-FMEUIW3K.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-N77SPSI5.mjs";
|
|
14
14
|
import "./chunk-3ND7IFGL.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
@@ -1,7 +1,7 @@
|
|
|
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-VUKZUGE2.js');
|
|
5
5
|
require('../../../chunk-NU34IEWN.js');
|
|
6
6
|
require('../../../chunk-DTVTFZ3M.js');
|
|
7
7
|
require('../../../chunk-2CDSXWFA.js');
|
|
@@ -1,6 +1,6 @@
|
|
|
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 _chunkVUKZUGE2js = require('../../../chunk-VUKZUGE2.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkNU34IEWNjs = require('../../../chunk-NU34IEWN.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 = _chunkVUKZUGE2js.withRunExecutor.call(void 0,
|
|
59
59
|
"Cloudflare Serve executor",
|
|
60
60
|
serveExecutor,
|
|
61
61
|
{
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkWJH4HPPZjs = require('../../../chunk-WJH4HPPZ.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkWJH4HPPZjs.generator_default; exports.initGenerator = _chunkWJH4HPPZjs.initGenerator; exports.initSchematic = _chunkWJH4HPPZjs.initSchematic;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkWEDNGEEEjs = require('../../../chunk-WEDNGEEE.js');
|
|
6
|
+
require('../../../chunk-WJH4HPPZ.js');
|
|
7
7
|
require('../../../chunk-DTVTFZ3M.js');
|
|
8
8
|
require('../../../chunk-2CDSXWFA.js');
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
@@ -11,4 +11,4 @@ require('../../../chunk-MCKGQKYU.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkWEDNGEEEjs.applicationGenerator; exports.applicationSchematic = _chunkWEDNGEEEjs.applicationSchematic; exports.default = _chunkWEDNGEEEjs.generator_default;
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-ZQMZOSDG.mjs";
|
|
6
|
+
import "../../../chunk-462IXXIY.mjs";
|
|
7
7
|
import "../../../chunk-RSNYZTUY.mjs";
|
|
8
8
|
import "../../../chunk-V44DYGWX.mjs";
|
|
9
9
|
import "../../../chunk-I4HGWOGD.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.70.
|
|
3
|
+
"version": "0.70.27",
|
|
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",
|
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
"@nx/js": "^22.0.3",
|
|
118
118
|
"@nx/node": "^22.0.3",
|
|
119
119
|
"@nx/web": "^22.0.3",
|
|
120
|
-
"@storm-software/config": "1.134.
|
|
121
|
-
"@storm-software/config-tools": "1.188.
|
|
122
|
-
"@storm-software/workspace-tools": "1.292.
|
|
120
|
+
"@storm-software/config": "1.134.26",
|
|
121
|
+
"@storm-software/config-tools": "1.188.26",
|
|
122
|
+
"@storm-software/workspace-tools": "1.292.26",
|
|
123
123
|
"nx": "^22.0.3",
|
|
124
124
|
"tsup": "8.4.0",
|
|
125
125
|
"wrangler": ">=3.58.0"
|
|
@@ -150,5 +150,5 @@
|
|
|
150
150
|
"publishConfig": { "access": "public" },
|
|
151
151
|
"executors": "./executors.json",
|
|
152
152
|
"generators": "./generators.json",
|
|
153
|
-
"gitHead": "
|
|
153
|
+
"gitHead": "66837092e71fdf6696904d08d853644ee138777f"
|
|
154
154
|
}
|