@storm-software/cloudflare-tools 0.70.28 → 0.70.30
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 +21 -0
- package/README.md +2 -1
- package/dist/{chunk-N77SPSI5.mjs → chunk-B5JIAZPS.mjs} +63 -6
- package/dist/{chunk-QTKVKMFA.mjs → chunk-C3RTCNMX.mjs} +4 -4
- package/dist/{chunk-VUKZUGE2.js → chunk-DEOKIEVB.js} +90 -33
- package/dist/{chunk-7GIGYN4F.js → chunk-DIOCYWEF.js} +2 -2
- package/dist/{chunk-ROJ7TPWE.mjs → chunk-EHN677YD.mjs} +1 -1
- package/dist/{chunk-ZW5LSACU.js → chunk-WD2MRGEQ.js} +4 -4
- package/dist/executors.js +2 -2
- package/dist/executors.mjs +2 -2
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +5 -5
- 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,27 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.70.29](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.70.29) (11/12/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([89dfbdb7f](https://github.com/storm-software/storm-ops/commit/89dfbdb7f))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated **workspace-tools** to **v1.292.29**
|
|
15
|
+
- Updated **config-tools** to **v1.188.29**
|
|
16
|
+
- Updated **config** to **v1.134.29**
|
|
17
|
+
|
|
18
|
+
## [0.70.28](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.70.28) (11/12/2025)
|
|
19
|
+
|
|
20
|
+
### Updated Dependencies
|
|
21
|
+
|
|
22
|
+
- Updated **workspace-tools** to **v1.292.28**
|
|
23
|
+
- Updated **config-tools** to **v1.188.28**
|
|
24
|
+
- Updated **config** to **v1.134.28**
|
|
25
|
+
|
|
5
26
|
## [0.70.27](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.70.27) (11/12/2025)
|
|
6
27
|
|
|
7
28
|
### 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,6 +40,7 @@ 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
|
+
|
|
43
44
|
## Table of Contents
|
|
44
45
|
|
|
45
46
|
- [Storm Cloudflare Tools](#storm-cloudflare-tools)
|
|
@@ -1181,6 +1181,63 @@ var executor_default6 = withRunExecutor(
|
|
|
1181
1181
|
}
|
|
1182
1182
|
);
|
|
1183
1183
|
|
|
1184
|
+
// ../workspace-tools/src/executors/napi/executor.ts
|
|
1185
|
+
import { createJiti } from "jiti";
|
|
1186
|
+
import { fileExists } from "nx/src/utils/fileutils";
|
|
1187
|
+
async function napiExecutor(options, context, config) {
|
|
1188
|
+
const jiti = createJiti(config.workspaceRoot, {
|
|
1189
|
+
fsCache: config.skipCache ? false : joinPaths(
|
|
1190
|
+
config.workspaceRoot,
|
|
1191
|
+
config.directories.cache || "node_modules/.cache/storm",
|
|
1192
|
+
"jiti"
|
|
1193
|
+
),
|
|
1194
|
+
interopDefault: true
|
|
1195
|
+
});
|
|
1196
|
+
const { NapiCli } = await jiti.import(
|
|
1197
|
+
jiti.esmResolve("@napi-rs/cli")
|
|
1198
|
+
);
|
|
1199
|
+
if (!context.projectGraph?.nodes[context.projectName ?? ""]) {
|
|
1200
|
+
throw new Error(
|
|
1201
|
+
"The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
|
|
1202
|
+
);
|
|
1203
|
+
}
|
|
1204
|
+
const projectRoot = context.projectGraph?.nodes[context.projectName ?? ""].data.root;
|
|
1205
|
+
const packageJson = joinPaths(projectRoot ?? ".", "package.json");
|
|
1206
|
+
if (!fileExists(packageJson)) {
|
|
1207
|
+
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
1208
|
+
}
|
|
1209
|
+
const napi = new NapiCli();
|
|
1210
|
+
const buildOptions = { ...options };
|
|
1211
|
+
const metadata = cargoMetadata();
|
|
1212
|
+
buildOptions.outputDir = options.outputPath;
|
|
1213
|
+
buildOptions.packageJsonPath = options.packageJsonPath || packageJson;
|
|
1214
|
+
buildOptions.targetDir = options.targetDir || metadata?.target_directory || joinPaths(config.workspaceRoot, "dist", "target");
|
|
1215
|
+
if (process.env.VERCEL) {
|
|
1216
|
+
return { success: true };
|
|
1217
|
+
}
|
|
1218
|
+
const { task } = await napi.build(buildOptions);
|
|
1219
|
+
return { success: true, terminalOutput: await task };
|
|
1220
|
+
}
|
|
1221
|
+
var executor_default7 = withRunExecutor(
|
|
1222
|
+
"Napi - Build Bindings",
|
|
1223
|
+
napiExecutor,
|
|
1224
|
+
{
|
|
1225
|
+
skipReadingConfig: false,
|
|
1226
|
+
hooks: {
|
|
1227
|
+
applyDefaultOptions: (options) => {
|
|
1228
|
+
options.outputPath ??= "dist/{projectRoot}/target";
|
|
1229
|
+
options.toolchain ??= "stable";
|
|
1230
|
+
options.dtsCache ??= true;
|
|
1231
|
+
options.platform ??= true;
|
|
1232
|
+
options.constEnum ??= false;
|
|
1233
|
+
options.jsBinding ??= "binding.js";
|
|
1234
|
+
options.dts ??= "binding.d.ts";
|
|
1235
|
+
return options;
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
);
|
|
1240
|
+
|
|
1184
1241
|
// ../npm-tools/src/helpers/get-registry.ts
|
|
1185
1242
|
import { exec } from "node:child_process";
|
|
1186
1243
|
|
|
@@ -1238,7 +1295,7 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
1238
1295
|
success: true
|
|
1239
1296
|
};
|
|
1240
1297
|
}
|
|
1241
|
-
var
|
|
1298
|
+
var executor_default8 = withRunExecutor(
|
|
1242
1299
|
"Size-Limit Performance Test Executor",
|
|
1243
1300
|
sizeLimitExecutorFn,
|
|
1244
1301
|
{
|
|
@@ -1565,7 +1622,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
1565
1622
|
success: true
|
|
1566
1623
|
};
|
|
1567
1624
|
}
|
|
1568
|
-
var
|
|
1625
|
+
var executor_default9 = withRunExecutor(
|
|
1569
1626
|
"Storm TSDown build",
|
|
1570
1627
|
tsdownExecutorFn,
|
|
1571
1628
|
{
|
|
@@ -1603,7 +1660,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
1603
1660
|
success: true
|
|
1604
1661
|
};
|
|
1605
1662
|
}
|
|
1606
|
-
var
|
|
1663
|
+
var executor_default10 = withRunExecutor(
|
|
1607
1664
|
"Typia runtime validation generator",
|
|
1608
1665
|
typiaExecutorFn,
|
|
1609
1666
|
{
|
|
@@ -1622,7 +1679,7 @@ var executor_default9 = withRunExecutor(
|
|
|
1622
1679
|
|
|
1623
1680
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
1624
1681
|
import { defu as defu4 } from "defu";
|
|
1625
|
-
import { createJiti } from "jiti";
|
|
1682
|
+
import { createJiti as createJiti2 } from "jiti";
|
|
1626
1683
|
async function unbuildExecutorFn(options, context, config) {
|
|
1627
1684
|
writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1628
1685
|
if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
@@ -1640,7 +1697,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
1640
1697
|
"The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory."
|
|
1641
1698
|
);
|
|
1642
1699
|
}
|
|
1643
|
-
const jiti =
|
|
1700
|
+
const jiti = createJiti2(config.workspaceRoot, {
|
|
1644
1701
|
fsCache: config.skipCache ? false : joinPaths(
|
|
1645
1702
|
config.workspaceRoot,
|
|
1646
1703
|
config.directories.cache || "node_modules/.cache/storm",
|
|
@@ -1692,7 +1749,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
1692
1749
|
success: true
|
|
1693
1750
|
};
|
|
1694
1751
|
}
|
|
1695
|
-
var
|
|
1752
|
+
var executor_default11 = withRunExecutor(
|
|
1696
1753
|
"TypeScript Unbuild build",
|
|
1697
1754
|
unbuildExecutorFn,
|
|
1698
1755
|
{
|
|
@@ -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.29",
|
|
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.29",
|
|
140
|
+
"@storm-software/config-tools": "1.188.29",
|
|
141
|
+
"@storm-software/workspace-tools": "1.292.29",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
|
@@ -1178,6 +1178,63 @@ var executor_default6 = withRunExecutor(
|
|
|
1178
1178
|
}
|
|
1179
1179
|
);
|
|
1180
1180
|
|
|
1181
|
+
// ../workspace-tools/src/executors/napi/executor.ts
|
|
1182
|
+
var _jiti = require('jiti');
|
|
1183
|
+
var _fileutils = require('nx/src/utils/fileutils');
|
|
1184
|
+
async function napiExecutor(options, context, config) {
|
|
1185
|
+
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
1186
|
+
fsCache: config.skipCache ? false : _chunkDTVTFZ3Mjs.joinPaths.call(void 0,
|
|
1187
|
+
config.workspaceRoot,
|
|
1188
|
+
config.directories.cache || "node_modules/.cache/storm",
|
|
1189
|
+
"jiti"
|
|
1190
|
+
),
|
|
1191
|
+
interopDefault: true
|
|
1192
|
+
});
|
|
1193
|
+
const { NapiCli } = await jiti.import(
|
|
1194
|
+
jiti.esmResolve("@napi-rs/cli")
|
|
1195
|
+
);
|
|
1196
|
+
if (!_optionalChain([context, 'access', _82 => _82.projectGraph, 'optionalAccess', _83 => _83.nodes, 'access', _84 => _84[_nullishCoalesce(context.projectName, () => ( ""))]])) {
|
|
1197
|
+
throw new Error(
|
|
1198
|
+
"The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
|
|
1199
|
+
);
|
|
1200
|
+
}
|
|
1201
|
+
const projectRoot = _optionalChain([context, 'access', _85 => _85.projectGraph, 'optionalAccess', _86 => _86.nodes, 'access', _87 => _87[_nullishCoalesce(context.projectName, () => ( ""))], 'access', _88 => _88.data, 'access', _89 => _89.root]);
|
|
1202
|
+
const packageJson = _chunkDTVTFZ3Mjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
1203
|
+
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
1204
|
+
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
1205
|
+
}
|
|
1206
|
+
const napi = new NapiCli();
|
|
1207
|
+
const buildOptions = { ...options };
|
|
1208
|
+
const metadata = cargoMetadata();
|
|
1209
|
+
buildOptions.outputDir = options.outputPath;
|
|
1210
|
+
buildOptions.packageJsonPath = options.packageJsonPath || packageJson;
|
|
1211
|
+
buildOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _90 => _90.target_directory]) || _chunkDTVTFZ3Mjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
1212
|
+
if (process.env.VERCEL) {
|
|
1213
|
+
return { success: true };
|
|
1214
|
+
}
|
|
1215
|
+
const { task } = await napi.build(buildOptions);
|
|
1216
|
+
return { success: true, terminalOutput: await task };
|
|
1217
|
+
}
|
|
1218
|
+
var executor_default7 = withRunExecutor(
|
|
1219
|
+
"Napi - Build Bindings",
|
|
1220
|
+
napiExecutor,
|
|
1221
|
+
{
|
|
1222
|
+
skipReadingConfig: false,
|
|
1223
|
+
hooks: {
|
|
1224
|
+
applyDefaultOptions: (options) => {
|
|
1225
|
+
options.outputPath ??= "dist/{projectRoot}/target";
|
|
1226
|
+
options.toolchain ??= "stable";
|
|
1227
|
+
options.dtsCache ??= true;
|
|
1228
|
+
options.platform ??= true;
|
|
1229
|
+
options.constEnum ??= false;
|
|
1230
|
+
options.jsBinding ??= "binding.js";
|
|
1231
|
+
options.dts ??= "binding.d.ts";
|
|
1232
|
+
return options;
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
);
|
|
1237
|
+
|
|
1181
1238
|
// ../npm-tools/src/helpers/get-registry.ts
|
|
1182
1239
|
|
|
1183
1240
|
|
|
@@ -1214,15 +1271,15 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
1214
1271
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
1215
1272
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
1216
1273
|
async function sizeLimitExecutorFn(options, context, config) {
|
|
1217
|
-
if (!_optionalChain([context, 'optionalAccess',
|
|
1274
|
+
if (!_optionalChain([context, 'optionalAccess', _91 => _91.projectName]) || !_optionalChain([context, 'access', _92 => _92.projectsConfigurations, 'optionalAccess', _93 => _93.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1218
1275
|
throw new Error(
|
|
1219
1276
|
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
1220
1277
|
);
|
|
1221
1278
|
}
|
|
1222
1279
|
_chunk2CDSXWFAjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
1223
1280
|
_sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
|
|
1224
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access',
|
|
1225
|
-
_nullishCoalesce(_optionalChain([context, 'access',
|
|
1281
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _94 => _94.projectsConfigurations, 'access', _95 => _95.projects, 'access', _96 => _96[context.projectName], 'optionalAccess', _97 => _97.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
|
|
1282
|
+
_nullishCoalesce(_optionalChain([context, 'access', _98 => _98.projectsConfigurations, 'access', _99 => _99.projects, 'access', _100 => _100[context.projectName], 'optionalAccess', _101 => _101.root]), () => ( "./")),
|
|
1226
1283
|
"src"
|
|
1227
1284
|
)))
|
|
1228
1285
|
}).then((result) => {
|
|
@@ -1235,7 +1292,7 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
1235
1292
|
success: true
|
|
1236
1293
|
};
|
|
1237
1294
|
}
|
|
1238
|
-
var
|
|
1295
|
+
var executor_default8 = withRunExecutor(
|
|
1239
1296
|
"Size-Limit Performance Test Executor",
|
|
1240
1297
|
sizeLimitExecutorFn,
|
|
1241
1298
|
{
|
|
@@ -1320,7 +1377,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
1320
1377
|
const projectJson = JSON.parse(projectJsonFile);
|
|
1321
1378
|
const projectName = projectJson.name;
|
|
1322
1379
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1323
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
1380
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _102 => _102.projects, 'optionalAccess', _103 => _103[projectName]])) {
|
|
1324
1381
|
throw new Error(
|
|
1325
1382
|
"The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
|
|
1326
1383
|
);
|
|
@@ -1542,7 +1599,7 @@ async function build3(options) {
|
|
|
1542
1599
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
1543
1600
|
async function tsdownExecutorFn(options, context, config) {
|
|
1544
1601
|
_chunk2CDSXWFAjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
|
|
1545
|
-
if (!_optionalChain([context, 'access',
|
|
1602
|
+
if (!_optionalChain([context, 'access', _104 => _104.projectsConfigurations, 'optionalAccess', _105 => _105.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _106 => _106.projectsConfigurations, 'access', _107 => _107.projects, 'access', _108 => _108[context.projectName], 'optionalAccess', _109 => _109.root])) {
|
|
1546
1603
|
throw new Error(
|
|
1547
1604
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
1548
1605
|
);
|
|
@@ -1551,10 +1608,10 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
1551
1608
|
...options,
|
|
1552
1609
|
projectRoot: (
|
|
1553
1610
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1554
|
-
_optionalChain([context, 'access',
|
|
1611
|
+
_optionalChain([context, 'access', _110 => _110.projectsConfigurations, 'access', _111 => _111.projects, 'optionalAccess', _112 => _112[context.projectName], 'access', _113 => _113.root])
|
|
1555
1612
|
),
|
|
1556
1613
|
name: context.projectName,
|
|
1557
|
-
sourceRoot: _optionalChain([context, 'access',
|
|
1614
|
+
sourceRoot: _optionalChain([context, 'access', _114 => _114.projectsConfigurations, 'access', _115 => _115.projects, 'optionalAccess', _116 => _116[context.projectName], 'optionalAccess', _117 => _117.sourceRoot]),
|
|
1558
1615
|
format: options.format,
|
|
1559
1616
|
platform: options.platform
|
|
1560
1617
|
});
|
|
@@ -1562,7 +1619,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
1562
1619
|
success: true
|
|
1563
1620
|
};
|
|
1564
1621
|
}
|
|
1565
|
-
var
|
|
1622
|
+
var executor_default9 = withRunExecutor(
|
|
1566
1623
|
"Storm TSDown build",
|
|
1567
1624
|
tsdownExecutorFn,
|
|
1568
1625
|
{
|
|
@@ -1600,7 +1657,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
1600
1657
|
success: true
|
|
1601
1658
|
};
|
|
1602
1659
|
}
|
|
1603
|
-
var
|
|
1660
|
+
var executor_default10 = withRunExecutor(
|
|
1604
1661
|
"Typia runtime validation generator",
|
|
1605
1662
|
typiaExecutorFn,
|
|
1606
1663
|
{
|
|
@@ -1619,10 +1676,10 @@ var executor_default9 = withRunExecutor(
|
|
|
1619
1676
|
|
|
1620
1677
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
1621
1678
|
|
|
1622
|
-
|
|
1679
|
+
|
|
1623
1680
|
async function unbuildExecutorFn(options, context, config) {
|
|
1624
1681
|
_chunk2CDSXWFAjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1625
|
-
if (!_optionalChain([context, 'access',
|
|
1682
|
+
if (!_optionalChain([context, 'access', _118 => _118.projectsConfigurations, 'optionalAccess', _119 => _119.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1626
1683
|
throw new Error(
|
|
1627
1684
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
1628
1685
|
);
|
|
@@ -1689,7 +1746,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
1689
1746
|
success: true
|
|
1690
1747
|
};
|
|
1691
1748
|
}
|
|
1692
|
-
var
|
|
1749
|
+
var executor_default11 = withRunExecutor(
|
|
1693
1750
|
"TypeScript Unbuild build",
|
|
1694
1751
|
unbuildExecutorFn,
|
|
1695
1752
|
{
|
|
@@ -1736,7 +1793,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
1736
1793
|
);
|
|
1737
1794
|
config = await _chunkDTVTFZ3Mjs.getConfig.call(void 0, workspaceRoot2);
|
|
1738
1795
|
}
|
|
1739
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1796
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _120 => _120.hooks, 'optionalAccess', _121 => _121.applyDefaultOptions])) {
|
|
1740
1797
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
1741
1798
|
options = await Promise.resolve(
|
|
1742
1799
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
@@ -1753,7 +1810,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1753
1810
|
{ workspaceRoot: tree.root, config },
|
|
1754
1811
|
applyWorkspaceBaseTokens
|
|
1755
1812
|
);
|
|
1756
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1813
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _122 => _122.hooks, 'optionalAccess', _123 => _123.preProcess])) {
|
|
1757
1814
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
1758
1815
|
await Promise.resolve(
|
|
1759
1816
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
@@ -1764,15 +1821,15 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1764
1821
|
generatorFn(tree, tokenized, config)
|
|
1765
1822
|
);
|
|
1766
1823
|
if (result) {
|
|
1767
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
1824
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _124 => _124.error, 'optionalAccess', _125 => _125.message]) && typeof _optionalChain([result, 'optionalAccess', _126 => _126.error, 'optionalAccess', _127 => _127.message]) === "string" && _optionalChain([result, 'optionalAccess', _128 => _128.error, 'optionalAccess', _129 => _129.name]) && typeof _optionalChain([result, 'optionalAccess', _130 => _130.error, 'optionalAccess', _131 => _131.name]) === "string") {
|
|
1768
1825
|
throw new Error(`The ${name} generator failed to run`, {
|
|
1769
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
1826
|
+
cause: _optionalChain([result, 'optionalAccess', _132 => _132.error])
|
|
1770
1827
|
});
|
|
1771
1828
|
} else if (result.success && result.data) {
|
|
1772
1829
|
return result;
|
|
1773
1830
|
}
|
|
1774
1831
|
}
|
|
1775
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1832
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _133 => _133.hooks, 'optionalAccess', _134 => _134.postProcess])) {
|
|
1776
1833
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
1777
1834
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
1778
1835
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
@@ -1904,15 +1961,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1904
1961
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
1905
1962
|
let repository = {
|
|
1906
1963
|
type: "github",
|
|
1907
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
1964
|
+
url: _optionalChain([config, 'optionalAccess', _135 => _135.repository]) || `https://github.com/${(typeof _optionalChain([config, 'optionalAccess', _136 => _136.organization]) === "string" ? _optionalChain([config, 'optionalAccess', _137 => _137.organization]) : _optionalChain([config, 'optionalAccess', _138 => _138.organization, 'optionalAccess', _139 => _139.name])) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _140 => _140.namespace]) || _optionalChain([config, 'optionalAccess', _141 => _141.name]) || "repository"}.git`
|
|
1908
1965
|
};
|
|
1909
1966
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
1910
1967
|
if (tree.exists("package.json")) {
|
|
1911
1968
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1912
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1969
|
+
if (_optionalChain([packageJson, 'optionalAccess', _142 => _142.repository])) {
|
|
1913
1970
|
repository = packageJson.repository;
|
|
1914
1971
|
}
|
|
1915
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1972
|
+
if (_optionalChain([packageJson, 'optionalAccess', _143 => _143.description])) {
|
|
1916
1973
|
description = packageJson.description;
|
|
1917
1974
|
}
|
|
1918
1975
|
}
|
|
@@ -1967,9 +2024,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1967
2024
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
1968
2025
|
...json,
|
|
1969
2026
|
pnpm: {
|
|
1970
|
-
..._optionalChain([json, 'optionalAccess',
|
|
2027
|
+
..._optionalChain([json, 'optionalAccess', _144 => _144.pnpm]),
|
|
1971
2028
|
overrides: {
|
|
1972
|
-
..._optionalChain([json, 'optionalAccess',
|
|
2029
|
+
..._optionalChain([json, 'optionalAccess', _145 => _145.pnpm, 'optionalAccess', _146 => _146.overrides]),
|
|
1973
2030
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
1974
2031
|
}
|
|
1975
2032
|
}
|
|
@@ -1987,10 +2044,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1987
2044
|
]);
|
|
1988
2045
|
if (tree.exists("package.json")) {
|
|
1989
2046
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1990
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2047
|
+
if (_optionalChain([packageJson, 'optionalAccess', _147 => _147.repository])) {
|
|
1991
2048
|
repository = packageJson.repository;
|
|
1992
2049
|
}
|
|
1993
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2050
|
+
if (_optionalChain([packageJson, 'optionalAccess', _148 => _148.description])) {
|
|
1994
2051
|
description = packageJson.description;
|
|
1995
2052
|
}
|
|
1996
2053
|
}
|
|
@@ -2027,22 +2084,22 @@ function getOutputPath(options) {
|
|
|
2027
2084
|
function createProjectTsConfigJson(tree, options) {
|
|
2028
2085
|
const tsconfig = {
|
|
2029
2086
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
2030
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2087
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _149 => _149.tsconfigOptions]), () => ( {})),
|
|
2031
2088
|
compilerOptions: {
|
|
2032
2089
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
2033
2090
|
outDir: _chunkDTVTFZ3Mjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
2034
2091
|
noEmit: true,
|
|
2035
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2092
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _150 => _150.tsconfigOptions, 'optionalAccess', _151 => _151.compilerOptions]), () => ( {}))
|
|
2036
2093
|
},
|
|
2037
|
-
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2094
|
+
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _152 => _152.tsconfigOptions, 'optionalAccess', _153 => _153.files]), () => ( []))],
|
|
2038
2095
|
include: [
|
|
2039
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2096
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _154 => _154.tsconfigOptions, 'optionalAccess', _155 => _155.include]), () => ( [])),
|
|
2040
2097
|
"src/**/*.ts",
|
|
2041
2098
|
"src/**/*.js",
|
|
2042
2099
|
"bin/**/*"
|
|
2043
2100
|
],
|
|
2044
2101
|
exclude: [
|
|
2045
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2102
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _156 => _156.tsconfigOptions, 'optionalAccess', _157 => _157.exclude]), () => ( [])),
|
|
2046
2103
|
"jest.config.ts",
|
|
2047
2104
|
"src/**/*.spec.ts",
|
|
2048
2105
|
"src/**/*.test.ts"
|
|
@@ -2052,8 +2109,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
2052
2109
|
}
|
|
2053
2110
|
async function normalizeOptions(tree, options, config) {
|
|
2054
2111
|
let importPath = options.importPath;
|
|
2055
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
2056
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
2112
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _158 => _158.namespace])) {
|
|
2113
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _159 => _159.namespace])}/${options.name}`;
|
|
2057
2114
|
}
|
|
2058
2115
|
if (options.publishable) {
|
|
2059
2116
|
if (!importPath) {
|
|
@@ -2218,7 +2275,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
2218
2275
|
);
|
|
2219
2276
|
}
|
|
2220
2277
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
2221
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2278
|
+
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _160 => _160.workspaceRoot]), () => ( _chunkDTVTFZ3Mjs.findWorkspaceRoot.call(void 0, ))),
|
|
2222
2279
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
2223
2280
|
);
|
|
2224
2281
|
_chunk2CDSXWFAjs.writeTrace.call(void 0,
|
|
@@ -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 _chunkWD2MRGEQjs = require('./chunk-WD2MRGEQ.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 _chunkWD2MRGEQjs.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.29",
|
|
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.29",
|
|
140
|
+
"@storm-software/config-tools": "1.188.29",
|
|
141
|
+
"@storm-software/workspace-tools": "1.292.29",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
package/dist/executors.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
|
-
require('./chunk-IRORGRVZ.js');
|
|
3
|
-
require('./chunk-VUKZUGE2.js');
|
|
4
2
|
require('./chunk-4XOYLZYF.js');
|
|
5
3
|
require('./chunk-NCQM44P3.js');
|
|
4
|
+
require('./chunk-IRORGRVZ.js');
|
|
5
|
+
require('./chunk-DEOKIEVB.js');
|
|
6
6
|
require('./chunk-NU34IEWN.js');
|
|
7
7
|
require('./chunk-DTVTFZ3M.js');
|
|
8
8
|
require('./chunk-2CDSXWFA.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-FMEUIW3K.mjs";
|
|
3
|
-
import "./chunk-N77SPSI5.mjs";
|
|
4
2
|
import "./chunk-3ND7IFGL.mjs";
|
|
5
3
|
import "./chunk-IANDAPQS.mjs";
|
|
4
|
+
import "./chunk-FMEUIW3K.mjs";
|
|
5
|
+
import "./chunk-B5JIAZPS.mjs";
|
|
6
6
|
import "./chunk-PH3DHY4Q.mjs";
|
|
7
7
|
import "./chunk-RSNYZTUY.mjs";
|
|
8
8
|
import "./chunk-V44DYGWX.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkDIOCYWEFjs = require('./chunk-DIOCYWEF.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkWD2MRGEQjs = require('./chunk-WD2MRGEQ.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 = _chunkDIOCYWEFjs.applicationGenerator; exports.applicationSchematic = _chunkDIOCYWEFjs.applicationSchematic; exports.initGenerator = _chunkWD2MRGEQjs.initGenerator; exports.initSchematic = _chunkWD2MRGEQjs.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-EHN677YD.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C3RTCNMX.mjs";
|
|
10
10
|
import "./chunk-RSNYZTUY.mjs";
|
|
11
11
|
import "./chunk-V44DYGWX.mjs";
|
|
12
12
|
import "./chunk-I4HGWOGD.mjs";
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('./chunk-XO66D74Z.js');
|
|
2
|
+
require('./chunk-4XOYLZYF.js');
|
|
2
3
|
require('./chunk-DHBG5ASJ.js');
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
|
|
6
|
-
var
|
|
7
|
+
var _chunkDIOCYWEFjs = require('./chunk-DIOCYWEF.js');
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
var
|
|
11
|
+
var _chunkWD2MRGEQjs = require('./chunk-WD2MRGEQ.js');
|
|
11
12
|
require('./chunk-CVGPWUNP.js');
|
|
12
|
-
require('./chunk-IRORGRVZ.js');
|
|
13
|
-
require('./chunk-VUKZUGE2.js');
|
|
14
|
-
require('./chunk-4XOYLZYF.js');
|
|
15
13
|
|
|
16
14
|
|
|
17
15
|
|
|
18
16
|
var _chunkNCQM44P3js = require('./chunk-NCQM44P3.js');
|
|
17
|
+
require('./chunk-IRORGRVZ.js');
|
|
18
|
+
require('./chunk-DEOKIEVB.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -155,4 +155,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
exports.applicationGenerator =
|
|
158
|
+
exports.applicationGenerator = _chunkDIOCYWEFjs.applicationGenerator; exports.applicationSchematic = _chunkDIOCYWEFjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkNCQM44P3js.getInternalDependencies; exports.initGenerator = _chunkWD2MRGEQjs.initGenerator; exports.initSchematic = _chunkWD2MRGEQjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkNCQM44P3js.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
+
import "./chunk-3ND7IFGL.mjs";
|
|
2
3
|
import "./chunk-3J7KBHMJ.mjs";
|
|
3
4
|
import {
|
|
4
5
|
applicationGenerator,
|
|
5
6
|
applicationSchematic
|
|
6
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EHN677YD.mjs";
|
|
7
8
|
import {
|
|
8
9
|
initGenerator,
|
|
9
10
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-C3RTCNMX.mjs";
|
|
11
12
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
|
-
import "./chunk-FMEUIW3K.mjs";
|
|
13
|
-
import "./chunk-N77SPSI5.mjs";
|
|
14
|
-
import "./chunk-3ND7IFGL.mjs";
|
|
15
13
|
import {
|
|
16
14
|
getInternalDependencies,
|
|
17
15
|
r2UploadFile
|
|
18
16
|
} from "./chunk-IANDAPQS.mjs";
|
|
17
|
+
import "./chunk-FMEUIW3K.mjs";
|
|
18
|
+
import "./chunk-B5JIAZPS.mjs";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTagConstants,
|
|
21
21
|
addProjectTag
|
|
@@ -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-DEOKIEVB.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 _chunkDEOKIEVBjs = require('../../../chunk-DEOKIEVB.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 = _chunkDEOKIEVBjs.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 _chunkWD2MRGEQjs = require('../../../chunk-WD2MRGEQ.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkWD2MRGEQjs.generator_default; exports.initGenerator = _chunkWD2MRGEQjs.initGenerator; exports.initSchematic = _chunkWD2MRGEQjs.initSchematic;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkDIOCYWEFjs = require('../../../chunk-DIOCYWEF.js');
|
|
6
|
+
require('../../../chunk-WD2MRGEQ.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 = _chunkDIOCYWEFjs.applicationGenerator; exports.applicationSchematic = _chunkDIOCYWEFjs.applicationSchematic; exports.default = _chunkDIOCYWEFjs.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-EHN677YD.mjs";
|
|
6
|
+
import "../../../chunk-C3RTCNMX.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.30",
|
|
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.29",
|
|
121
|
+
"@storm-software/config-tools": "1.188.29",
|
|
122
|
+
"@storm-software/workspace-tools": "1.292.29",
|
|
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": "9cb94503bd31113afe1893deb47dba3808c80e13"
|
|
154
154
|
}
|