@storm-software/cloudflare-tools 0.55.42 → 0.55.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/dist/{chunk-SUJFP32E.js → chunk-247N3JYF.js} +2 -2
- package/dist/{chunk-NVJMBKZX.mjs → chunk-5QU7G4BP.mjs} +1 -1
- package/dist/{chunk-LR5EYY2W.js → chunk-6D3NUIUL.js} +10 -1
- package/dist/{chunk-COKKJUVA.mjs → chunk-E22S7JBO.mjs} +10 -1
- package/dist/{chunk-2AZYWCCE.js → chunk-PW324BYD.js} +1 -1
- package/dist/{chunk-GMFRV3ZA.mjs → chunk-Q67NQSCF.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 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.55.43](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.55.43) (2025-03-18)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([4a6eeab3f](https://github.com/storm-software/storm-ops/commit/4a6eeab3f))
|
|
11
|
+
|
|
5
12
|
## [0.55.42](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.55.42) (2025-03-18)
|
|
6
13
|
|
|
7
14
|
### 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 -->
|
|
@@ -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 _chunkPW324BYDjs = require('./chunk-PW324BYD.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkH2ML72QFjs = require('./chunk-H2ML72QF.js');
|
|
@@ -52,7 +52,7 @@ async function applicationGenerator(tree, schema) {
|
|
|
52
52
|
${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`, config);
|
|
53
53
|
const options = await normalizeOptions(tree, schema, config);
|
|
54
54
|
const tasks = [];
|
|
55
|
-
tasks.push(await
|
|
55
|
+
tasks.push(await _chunkPW324BYDjs.generator_default.call(void 0, tree, {
|
|
56
56
|
...options,
|
|
57
57
|
skipFormat: true
|
|
58
58
|
}));
|
|
@@ -1441,7 +1441,12 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
|
|
|
1441
1441
|
};
|
|
1442
1442
|
result.plugins = _nullishCoalesce(userOptions.plugins, () => ( getDefaultBuildPlugins(userOptions, result)));
|
|
1443
1443
|
if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
|
|
1444
|
-
result.inject =
|
|
1444
|
+
result.inject = options.inject.reduce((ret, inj) => {
|
|
1445
|
+
if (inj && typeof inj === "string" && ret.includes(inj)) {
|
|
1446
|
+
ret.push(inj);
|
|
1447
|
+
}
|
|
1448
|
+
return ret;
|
|
1449
|
+
}, result.inject);
|
|
1445
1450
|
}
|
|
1446
1451
|
delete result.entry;
|
|
1447
1452
|
delete result.outputPath;
|
|
@@ -1534,6 +1539,10 @@ async function executeEsBuild(context2) {
|
|
|
1534
1539
|
...context2.options
|
|
1535
1540
|
};
|
|
1536
1541
|
options.outdir = _chunkFK6PN2T3js.joinPaths.call(void 0, context2.options.outdir, context2.options.distDir);
|
|
1542
|
+
if (!options.inject || !Array.isArray(options.inject) || options.inject.length === 0 || // eslint-disable-next-line no-constant-binary-expression, @typescript-eslint/no-explicit-any
|
|
1543
|
+
options.inject === {}) {
|
|
1544
|
+
delete options.inject;
|
|
1545
|
+
}
|
|
1537
1546
|
delete options.env;
|
|
1538
1547
|
delete options.name;
|
|
1539
1548
|
delete options.assets;
|
|
@@ -1442,7 +1442,12 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1442
1442
|
};
|
|
1443
1443
|
result.plugins = userOptions.plugins ?? getDefaultBuildPlugins(userOptions, result);
|
|
1444
1444
|
if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
|
|
1445
|
-
result.inject =
|
|
1445
|
+
result.inject = options.inject.reduce((ret, inj) => {
|
|
1446
|
+
if (inj && typeof inj === "string" && ret.includes(inj)) {
|
|
1447
|
+
ret.push(inj);
|
|
1448
|
+
}
|
|
1449
|
+
return ret;
|
|
1450
|
+
}, result.inject);
|
|
1446
1451
|
}
|
|
1447
1452
|
delete result.entry;
|
|
1448
1453
|
delete result.outputPath;
|
|
@@ -1535,6 +1540,10 @@ async function executeEsBuild(context2) {
|
|
|
1535
1540
|
...context2.options
|
|
1536
1541
|
};
|
|
1537
1542
|
options.outdir = joinPaths(context2.options.outdir, context2.options.distDir);
|
|
1543
|
+
if (!options.inject || !Array.isArray(options.inject) || options.inject.length === 0 || // eslint-disable-next-line no-constant-binary-expression, @typescript-eslint/no-explicit-any
|
|
1544
|
+
options.inject === {}) {
|
|
1545
|
+
delete options.inject;
|
|
1546
|
+
}
|
|
1538
1547
|
delete options.env;
|
|
1539
1548
|
delete options.name;
|
|
1540
1549
|
delete options.assets;
|
|
@@ -8,7 +8,7 @@ var require_package = _chunkJ5SB6L2Ljs.__commonJS.call(void 0, {
|
|
|
8
8
|
"package.json"(exports, module) {
|
|
9
9
|
module.exports = {
|
|
10
10
|
name: "@storm-software/cloudflare-tools",
|
|
11
|
-
version: "0.55.
|
|
11
|
+
version: "0.55.43",
|
|
12
12
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
13
13
|
repository: {
|
|
14
14
|
type: "github",
|
|
@@ -8,7 +8,7 @@ var require_package = __commonJS({
|
|
|
8
8
|
"package.json"(exports, module) {
|
|
9
9
|
module.exports = {
|
|
10
10
|
name: "@storm-software/cloudflare-tools",
|
|
11
|
-
version: "0.55.
|
|
11
|
+
version: "0.55.43",
|
|
12
12
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
13
13
|
repository: {
|
|
14
14
|
type: "github",
|
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 _chunk247N3JYFjs = require('./chunk-247N3JYF.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkPW324BYDjs = require('./chunk-PW324BYD.js');
|
|
10
10
|
require('./chunk-H2ML72QF.js');
|
|
11
11
|
require('./chunk-FK6PN2T3.js');
|
|
12
12
|
require('./chunk-J5SB6L2L.js');
|
|
@@ -15,4 +15,4 @@ require('./chunk-J5SB6L2L.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunk247N3JYFjs.applicationGenerator; exports.applicationSchematic = _chunk247N3JYFjs.applicationSchematic; exports.initGenerator = _chunkPW324BYDjs.initGenerator; exports.initSchematic = _chunkPW324BYDjs.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-5QU7G4BP.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Q67NQSCF.mjs";
|
|
10
10
|
import "./chunk-MESLYSHV.mjs";
|
|
11
11
|
import "./chunk-M4FHQYTZ.mjs";
|
|
12
12
|
import "./chunk-3HMZSKJD.mjs";
|
package/dist/index.js
CHANGED
|
@@ -3,14 +3,14 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk247N3JYFjs = require('./chunk-247N3JYF.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkPW324BYDjs = require('./chunk-PW324BYD.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-R7AIVBS7.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-6D3NUIUL.js');
|
|
14
14
|
require('./chunk-MCQ4YOON.js');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -148,4 +148,4 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, createPackageJson, "createPackageJson");
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
exports.applicationGenerator =
|
|
151
|
+
exports.applicationGenerator = _chunk247N3JYFjs.applicationGenerator; exports.applicationSchematic = _chunk247N3JYFjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkHF5FM2V2js.getInternalDependencies; exports.initGenerator = _chunkPW324BYDjs.initGenerator; exports.initSchematic = _chunkPW324BYDjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkHF5FM2V2js.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-5QU7G4BP.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q67NQSCF.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
12
|
import "./chunk-VNLZQQ5C.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-E22S7JBO.mjs";
|
|
14
14
|
import "./chunk-S3S7EN37.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 _chunkR7AIVBS7js = require('../../../chunk-R7AIVBS7.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-6D3NUIUL.js');
|
|
5
5
|
require('../../../chunk-VTHBMY4B.js');
|
|
6
6
|
require('../../../chunk-H2ML72QF.js');
|
|
7
7
|
require('../../../chunk-FK6PN2T3.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 _chunk6D3NUIULjs = require('../../../chunk-6D3NUIUL.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkVTHBMY4Bjs = require('../../../chunk-VTHBMY4B.js');
|
|
@@ -60,7 +60,7 @@ async function* serveExecutor(options, context, config) {
|
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
_chunkJ5SB6L2Ljs.__name.call(void 0, serveExecutor, "serveExecutor");
|
|
63
|
-
var executor_default =
|
|
63
|
+
var executor_default = _chunk6D3NUIULjs.withRunExecutor.call(void 0, "Cloudflare Serve executor", serveExecutor, {
|
|
64
64
|
skipReadingConfig: false,
|
|
65
65
|
hooks: {
|
|
66
66
|
applyDefaultOptions: /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options) => {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkPW324BYDjs = require('../../../chunk-PW324BYD.js');
|
|
6
6
|
require('../../../chunk-J5SB6L2L.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkPW324BYDjs.generator_default; exports.initGenerator = _chunkPW324BYDjs.initGenerator; exports.initSchematic = _chunkPW324BYDjs.initSchematic;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunk247N3JYFjs = require('../../../chunk-247N3JYF.js');
|
|
6
|
+
require('../../../chunk-PW324BYD.js');
|
|
7
7
|
require('../../../chunk-H2ML72QF.js');
|
|
8
8
|
require('../../../chunk-FK6PN2T3.js');
|
|
9
9
|
require('../../../chunk-J5SB6L2L.js');
|
|
@@ -11,4 +11,4 @@ require('../../../chunk-J5SB6L2L.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunk247N3JYFjs.applicationGenerator; exports.applicationSchematic = _chunk247N3JYFjs.applicationSchematic; exports.default = _chunk247N3JYFjs.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-5QU7G4BP.mjs";
|
|
6
|
+
import "../../../chunk-Q67NQSCF.mjs";
|
|
7
7
|
import "../../../chunk-MESLYSHV.mjs";
|
|
8
8
|
import "../../../chunk-M4FHQYTZ.mjs";
|
|
9
9
|
import "../../../chunk-3HMZSKJD.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.43",
|
|
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",
|