@storm-software/cloudflare-tools 0.71.4 → 0.71.6
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 +27 -1
- package/README.md +7 -2
- package/dist/{chunk-BAINZIOH.js → chunk-2SRZ2J7D.js} +3 -3
- package/dist/{chunk-KSI6XHC2.mjs → chunk-3BCXIFOD.mjs} +1 -1
- package/dist/{chunk-PH3DHY4Q.mjs → chunk-3MAI3FU2.mjs} +13 -0
- package/dist/{chunk-ODODTGMB.js → chunk-7WBNY5YM.js} +2 -2
- package/dist/{chunk-EKIV24FH.js → chunk-J5JJZJO5.js} +4 -4
- package/dist/{chunk-NYGOCQMG.mjs → chunk-KOS5AZFG.mjs} +1 -1
- package/dist/{chunk-NU34IEWN.js → chunk-N7FW365Q.js} +13 -0
- package/dist/{chunk-IRORGRVZ.js → chunk-QBD2OGUY.js} +2 -2
- package/dist/{chunk-TP74CGBA.js → chunk-QRN2NBFN.js} +4 -4
- package/dist/{chunk-XDQBFBX4.mjs → chunk-RFYZOB5X.mjs} +1 -1
- package/dist/{chunk-MDAZ6JEL.mjs → chunk-V3VVWHLV.mjs} +4 -4
- package/dist/{chunk-4EEXR4IG.mjs → chunk-WSBHUYOP.mjs} +1 -1
- package/dist/executors.js +4 -4
- package/dist/executors.mjs +4 -4
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +15 -15
- package/dist/index.mjs +6 -6
- package/dist/src/executors/cloudflare-publish/executor.js +4 -4
- package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
- package/dist/src/executors/r2-upload-publish/executor.js +3 -3
- package/dist/src/executors/r2-upload-publish/executor.mjs +2 -2
- package/dist/src/executors/serve/executor.js +4 -4
- package/dist/src/executors/serve/executor.mjs +2 -2
- 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,32 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.71.5](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.5) (12/05/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update the banner image used in markdown files
|
|
10
|
+
([fc48aee3c](https://github.com/storm-software/storm-ops/commit/fc48aee3c))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated **workspace-tools** to **v1.293.25**
|
|
15
|
+
- Updated **config-tools** to **v1.188.55**
|
|
16
|
+
- Updated **config** to **v1.134.55**
|
|
17
|
+
|
|
18
|
+
## [0.71.4](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.4) (12/05/2025)
|
|
19
|
+
|
|
20
|
+
### Miscellaneous
|
|
21
|
+
|
|
22
|
+
- **monorepo:** Update pnpm to v10.24.0
|
|
23
|
+
([05b011cc8](https://github.com/storm-software/storm-ops/commit/05b011cc8))
|
|
24
|
+
|
|
25
|
+
### Updated Dependencies
|
|
26
|
+
|
|
27
|
+
- Updated **workspace-tools** to **v1.293.24**
|
|
28
|
+
- Updated **config-tools** to **v1.188.54**
|
|
29
|
+
- Updated **config** to **v1.134.54**
|
|
30
|
+
|
|
5
31
|
## [0.71.3](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.3) (12/05/2025)
|
|
6
32
|
|
|
7
33
|
### Miscellaneous
|
|
@@ -40,7 +66,7 @@
|
|
|
40
66
|
- Updated **config-tools** to **v1.188.52**
|
|
41
67
|
- Updated **config** to **v1.134.52**
|
|
42
68
|
|
|
43
|
-

|
|
44
70
|
|
|
45
71
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
46
72
|
|
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -46,6 +46,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
46
46
|
|
|
47
47
|
<!-- START doctoc -->
|
|
48
48
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
49
|
+
|
|
49
50
|
## Table of Contents
|
|
50
51
|
|
|
51
52
|
- [Storm Cloudflare Tools](#storm-cloudflare-tools)
|
|
@@ -336,7 +337,11 @@ specification. Contributions of any kind welcome!
|
|
|
336
337
|
<br />
|
|
337
338
|
|
|
338
339
|
<div align="center">
|
|
339
|
-
<
|
|
340
|
+
<picture>
|
|
341
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x320-dark-optimized.webp">
|
|
342
|
+
<source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x320-light-optimized.webp">
|
|
343
|
+
<img src="https://public.storm-cdn.com/storm-software/banner-1280x320-dark-optimized.webp" width="100%" alt="Storm Software" />
|
|
344
|
+
</picture>
|
|
340
345
|
</div>
|
|
341
346
|
<br />
|
|
342
347
|
|
|
@@ -5,7 +5,7 @@ var _chunkUAKLE2QOjs = require('./chunk-UAKLE2QO.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -45,7 +45,7 @@ async function runExecutor(options, context) {
|
|
|
45
45
|
const config = await _chunkVKMAYBQXjs.getConfig.call(void 0, workspaceRoot);
|
|
46
46
|
const sourceRoot = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.sourceRoot]), () => ( workspaceRoot));
|
|
47
47
|
const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
|
|
48
|
-
const projectDetails =
|
|
48
|
+
const projectDetails = _chunkN7FW365Qjs.getPackageInfo.call(void 0,
|
|
49
49
|
context.projectsConfigurations.projects[context.projectName]
|
|
50
50
|
);
|
|
51
51
|
const bucketId = options.bucketId;
|
|
@@ -53,7 +53,7 @@ async function runExecutor(options, context) {
|
|
|
53
53
|
if (!bucketId) {
|
|
54
54
|
throw new Error("The executor requires a bucketId.");
|
|
55
55
|
}
|
|
56
|
-
const args =
|
|
56
|
+
const args = _chunkN7FW365Qjs.createCliOptions.call(void 0, { ...options });
|
|
57
57
|
if (isDryRun) {
|
|
58
58
|
args.push("--dry-run");
|
|
59
59
|
}
|
|
@@ -34,6 +34,11 @@ var ProjectTagConstants = {
|
|
|
34
34
|
LIBRARY: "library",
|
|
35
35
|
APPLICATION: "application"
|
|
36
36
|
},
|
|
37
|
+
ProjectLinking: {
|
|
38
|
+
TAG_ID: "project-linking",
|
|
39
|
+
REFERENCE: "reference",
|
|
40
|
+
ALIAS: "alias"
|
|
41
|
+
},
|
|
37
42
|
DistStyle: {
|
|
38
43
|
TAG_ID: "dist-style",
|
|
39
44
|
NORMAL: "normal",
|
|
@@ -58,6 +63,14 @@ var ProjectTagConstants = {
|
|
|
58
63
|
},
|
|
59
64
|
Plugin: {
|
|
60
65
|
TAG_ID: "plugin"
|
|
66
|
+
},
|
|
67
|
+
Builder: {
|
|
68
|
+
TAG_ID: "builder",
|
|
69
|
+
TSC: "tsc",
|
|
70
|
+
TSUP: "tsup",
|
|
71
|
+
TSDOWN: "tsdown",
|
|
72
|
+
VITE: "vite",
|
|
73
|
+
ROLLDOWN: "rolldown"
|
|
61
74
|
}
|
|
62
75
|
};
|
|
63
76
|
var formatProjectTag = (variant, value) => {
|
|
@@ -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 _chunkQRN2NBFNjs = require('./chunk-QRN2NBFN.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 _chunkQRN2NBFNjs.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -2000,10 +2000,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2000
2000
|
if (options.platform) {
|
|
2001
2001
|
projectConfig.targets.build.options.platform = options.platform === "worker" ? "node" : options.platform;
|
|
2002
2002
|
}
|
|
2003
|
-
|
|
2003
|
+
_chunkN7FW365Qjs.addProjectTag.call(void 0,
|
|
2004
2004
|
projectConfig,
|
|
2005
|
-
|
|
2006
|
-
options.platform === "node" ?
|
|
2005
|
+
_chunkN7FW365Qjs.ProjectTagConstants.Platform.TAG_ID,
|
|
2006
|
+
options.platform === "node" ? _chunkN7FW365Qjs.ProjectTagConstants.Platform.NODE : options.platform === "worker" ? _chunkN7FW365Qjs.ProjectTagConstants.Platform.WORKER : options.platform === "browser" ? _chunkN7FW365Qjs.ProjectTagConstants.Platform.BROWSER : _chunkN7FW365Qjs.ProjectTagConstants.Platform.NEUTRAL,
|
|
2007
2007
|
{ overwrite: false }
|
|
2008
2008
|
);
|
|
2009
2009
|
createProjectTsConfigJson(tree, normalized);
|
|
@@ -34,6 +34,11 @@ var ProjectTagConstants = {
|
|
|
34
34
|
LIBRARY: "library",
|
|
35
35
|
APPLICATION: "application"
|
|
36
36
|
},
|
|
37
|
+
ProjectLinking: {
|
|
38
|
+
TAG_ID: "project-linking",
|
|
39
|
+
REFERENCE: "reference",
|
|
40
|
+
ALIAS: "alias"
|
|
41
|
+
},
|
|
37
42
|
DistStyle: {
|
|
38
43
|
TAG_ID: "dist-style",
|
|
39
44
|
NORMAL: "normal",
|
|
@@ -58,6 +63,14 @@ var ProjectTagConstants = {
|
|
|
58
63
|
},
|
|
59
64
|
Plugin: {
|
|
60
65
|
TAG_ID: "plugin"
|
|
66
|
+
},
|
|
67
|
+
Builder: {
|
|
68
|
+
TAG_ID: "builder",
|
|
69
|
+
TSC: "tsc",
|
|
70
|
+
TSUP: "tsup",
|
|
71
|
+
TSDOWN: "tsdown",
|
|
72
|
+
VITE: "vite",
|
|
73
|
+
ROLLDOWN: "rolldown"
|
|
61
74
|
}
|
|
62
75
|
};
|
|
63
76
|
var formatProjectTag = (variant, value) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkMCKGQKYUjs = require('./chunk-MCKGQKYU.js');
|
|
@@ -24,7 +24,7 @@ async function runExecutor(options, context) {
|
|
|
24
24
|
_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.root])
|
|
25
25
|
);
|
|
26
26
|
try {
|
|
27
|
-
const args =
|
|
27
|
+
const args = _chunkN7FW365Qjs.createCliOptions.call(void 0, { ...options });
|
|
28
28
|
if (isDryRun) {
|
|
29
29
|
args.push("--dry-run");
|
|
30
30
|
}
|
|
@@ -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.71.
|
|
10
|
+
version: "0.71.5",
|
|
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.293.
|
|
139
|
+
"@storm-software/config": "1.134.55",
|
|
140
|
+
"@storm-software/config-tools": "1.188.55",
|
|
141
|
+
"@storm-software/workspace-tools": "1.293.25",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
|
@@ -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.71.
|
|
10
|
+
version: "0.71.5",
|
|
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.293.
|
|
139
|
+
"@storm-software/config": "1.134.55",
|
|
140
|
+
"@storm-software/config-tools": "1.188.55",
|
|
141
|
+
"@storm-software/workspace-tools": "1.293.25",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
package/dist/executors.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
|
-
require('./chunk-
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
2
|
+
require('./chunk-QBD2OGUY.js');
|
|
3
|
+
require('./chunk-J5JJZJO5.js');
|
|
4
|
+
require('./chunk-2SRZ2J7D.js');
|
|
5
5
|
require('./chunk-UAKLE2QO.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-N7FW365Q.js');
|
|
7
7
|
require('./chunk-VKMAYBQX.js');
|
|
8
8
|
require('./chunk-Z2WQB55R.js');
|
|
9
9
|
require('./chunk-MCKGQKYU.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-RFYZOB5X.mjs";
|
|
3
|
+
import "./chunk-KOS5AZFG.mjs";
|
|
4
|
+
import "./chunk-WSBHUYOP.mjs";
|
|
5
5
|
import "./chunk-5CMG7SUH.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-3MAI3FU2.mjs";
|
|
7
7
|
import "./chunk-SGTAZO2Q.mjs";
|
|
8
8
|
import "./chunk-TPNHSNNZ.mjs";
|
|
9
9
|
import "./chunk-QN6OKPMU.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk7WBNY5YMjs = require('./chunk-7WBNY5YM.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkQRN2NBFNjs = require('./chunk-QRN2NBFN.js');
|
|
10
10
|
require('./chunk-VKMAYBQX.js');
|
|
11
11
|
require('./chunk-Z2WQB55R.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 = _chunk7WBNY5YMjs.applicationGenerator; exports.applicationSchematic = _chunk7WBNY5YMjs.applicationSchematic; exports.initGenerator = _chunkQRN2NBFNjs.initGenerator; exports.initSchematic = _chunkQRN2NBFNjs.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-3BCXIFOD.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-V3VVWHLV.mjs";
|
|
10
10
|
import "./chunk-SGTAZO2Q.mjs";
|
|
11
11
|
import "./chunk-TPNHSNNZ.mjs";
|
|
12
12
|
import "./chunk-QN6OKPMU.mjs";
|
package/dist/index.js
CHANGED
|
@@ -3,15 +3,15 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk7WBNY5YMjs = require('./chunk-7WBNY5YM.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkQRN2NBFNjs = require('./chunk-QRN2NBFN.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-QBD2OGUY.js');
|
|
13
|
+
require('./chunk-J5JJZJO5.js');
|
|
14
|
+
require('./chunk-2SRZ2J7D.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ var _chunkUAKLE2QOjs = require('./chunk-UAKLE2QO.js');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
|
|
23
23
|
require('./chunk-VKMAYBQX.js');
|
|
24
24
|
require('./chunk-Z2WQB55R.js');
|
|
25
25
|
require('./chunk-MCKGQKYU.js');
|
|
@@ -75,21 +75,21 @@ var createNodesV2 = [
|
|
|
75
75
|
executor: "@storm-software/cloudflare-tools:cloudflare-publish",
|
|
76
76
|
options: {}
|
|
77
77
|
};
|
|
78
|
-
|
|
78
|
+
_chunkN7FW365Qjs.addProjectTag.call(void 0,
|
|
79
79
|
project,
|
|
80
|
-
|
|
81
|
-
project.projectType === "application" ?
|
|
80
|
+
_chunkN7FW365Qjs.ProjectTagConstants.ProjectType.TAG_ID,
|
|
81
|
+
project.projectType === "application" ? _chunkN7FW365Qjs.ProjectTagConstants.ProjectType.APPLICATION : _chunkN7FW365Qjs.ProjectTagConstants.ProjectType.LIBRARY,
|
|
82
82
|
{ overwrite: true }
|
|
83
83
|
);
|
|
84
|
-
|
|
84
|
+
_chunkN7FW365Qjs.addProjectTag.call(void 0,
|
|
85
85
|
project,
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
_chunkN7FW365Qjs.ProjectTagConstants.DistStyle.TAG_ID,
|
|
87
|
+
_chunkN7FW365Qjs.ProjectTagConstants.DistStyle.CLEAN,
|
|
88
88
|
{ overwrite: true }
|
|
89
89
|
);
|
|
90
|
-
|
|
90
|
+
_chunkN7FW365Qjs.addProjectTag.call(void 0,
|
|
91
91
|
project,
|
|
92
|
-
|
|
92
|
+
_chunkN7FW365Qjs.ProjectTagConstants.Provider.TAG_ID,
|
|
93
93
|
"cloudflare",
|
|
94
94
|
{
|
|
95
95
|
overwrite: true
|
|
@@ -155,4 +155,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
exports.applicationGenerator =
|
|
158
|
+
exports.applicationGenerator = _chunk7WBNY5YMjs.applicationGenerator; exports.applicationSchematic = _chunk7WBNY5YMjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkUAKLE2QOjs.getInternalDependencies; exports.initGenerator = _chunkQRN2NBFNjs.initGenerator; exports.initSchematic = _chunkQRN2NBFNjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkUAKLE2QOjs.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -3,15 +3,15 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
applicationGenerator,
|
|
5
5
|
applicationSchematic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3BCXIFOD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-V3VVWHLV.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-RFYZOB5X.mjs";
|
|
13
|
+
import "./chunk-KOS5AZFG.mjs";
|
|
14
|
+
import "./chunk-WSBHUYOP.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
17
17
|
r2UploadFile
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
ProjectTagConstants,
|
|
21
21
|
addProjectTag
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3MAI3FU2.mjs";
|
|
23
23
|
import "./chunk-SGTAZO2Q.mjs";
|
|
24
24
|
import "./chunk-TPNHSNNZ.mjs";
|
|
25
25
|
import "./chunk-QN6OKPMU.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkQBD2OGUYjs = require('../../../chunk-QBD2OGUY.js');
|
|
4
|
+
require('../../../chunk-J5JJZJO5.js');
|
|
5
|
+
require('../../../chunk-N7FW365Q.js');
|
|
6
6
|
require('../../../chunk-VKMAYBQX.js');
|
|
7
7
|
require('../../../chunk-Z2WQB55R.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkQBD2OGUYjs.runExecutor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-RFYZOB5X.mjs";
|
|
4
|
+
import "../../../chunk-KOS5AZFG.mjs";
|
|
5
|
+
import "../../../chunk-3MAI3FU2.mjs";
|
|
6
6
|
import "../../../chunk-SGTAZO2Q.mjs";
|
|
7
7
|
import "../../../chunk-TPNHSNNZ.mjs";
|
|
8
8
|
import "../../../chunk-QN6OKPMU.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2SRZ2J7Djs = require('../../../chunk-2SRZ2J7D.js');
|
|
4
4
|
require('../../../chunk-UAKLE2QO.js');
|
|
5
|
-
require('../../../chunk-
|
|
5
|
+
require('../../../chunk-N7FW365Q.js');
|
|
6
6
|
require('../../../chunk-VKMAYBQX.js');
|
|
7
7
|
require('../../../chunk-Z2WQB55R.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunk2SRZ2J7Djs.runExecutor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-WSBHUYOP.mjs";
|
|
4
4
|
import "../../../chunk-5CMG7SUH.mjs";
|
|
5
|
-
import "../../../chunk-
|
|
5
|
+
import "../../../chunk-3MAI3FU2.mjs";
|
|
6
6
|
import "../../../chunk-SGTAZO2Q.mjs";
|
|
7
7
|
import "../../../chunk-TPNHSNNZ.mjs";
|
|
8
8
|
import "../../../chunk-QN6OKPMU.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
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 _chunkJ5JJZJO5js = require('../../../chunk-J5JJZJO5.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkN7FW365Qjs = require('../../../chunk-N7FW365Q.js');
|
|
7
7
|
require('../../../chunk-VKMAYBQX.js');
|
|
8
8
|
require('../../../chunk-Z2WQB55R.js');
|
|
9
9
|
|
|
@@ -19,7 +19,7 @@ async function* serveExecutor(options, context) {
|
|
|
19
19
|
throw new Error("Nx executor context was invalid");
|
|
20
20
|
}
|
|
21
21
|
const projectRoot = context.projectsConfigurations.projects[context.projectName].root;
|
|
22
|
-
const wranglerOptions =
|
|
22
|
+
const wranglerOptions = _chunkN7FW365Qjs.createCliOptions.call(void 0, { ...options });
|
|
23
23
|
const wranglerBin = _chunkMCKGQKYUjs.__require.resolve("wrangler/bin/wrangler");
|
|
24
24
|
yield* _asynciterable.createAsyncIterable.call(void 0,
|
|
25
25
|
async ({ done, next, error }) => {
|
|
@@ -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 = _chunkJ5JJZJO5js.withRunExecutor.call(void 0,
|
|
59
59
|
"Cloudflare Serve executor",
|
|
60
60
|
serveExecutor,
|
|
61
61
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-KOS5AZFG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-3MAI3FU2.mjs";
|
|
7
7
|
import "../../../chunk-SGTAZO2Q.mjs";
|
|
8
8
|
import "../../../chunk-TPNHSNNZ.mjs";
|
|
9
9
|
import {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkQRN2NBFNjs = require('../../../chunk-QRN2NBFN.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkQRN2NBFNjs.generator_default; exports.initGenerator = _chunkQRN2NBFNjs.initGenerator; exports.initSchematic = _chunkQRN2NBFNjs.initSchematic;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunk7WBNY5YMjs = require('../../../chunk-7WBNY5YM.js');
|
|
6
|
+
require('../../../chunk-QRN2NBFN.js');
|
|
7
7
|
require('../../../chunk-VKMAYBQX.js');
|
|
8
8
|
require('../../../chunk-Z2WQB55R.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 = _chunk7WBNY5YMjs.applicationGenerator; exports.applicationSchematic = _chunk7WBNY5YMjs.applicationSchematic; exports.default = _chunk7WBNY5YMjs.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-3BCXIFOD.mjs";
|
|
6
|
+
import "../../../chunk-V3VVWHLV.mjs";
|
|
7
7
|
import "../../../chunk-SGTAZO2Q.mjs";
|
|
8
8
|
import "../../../chunk-TPNHSNNZ.mjs";
|
|
9
9
|
import "../../../chunk-QN6OKPMU.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.71.
|
|
3
|
+
"version": "0.71.6",
|
|
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.1.3",
|
|
118
118
|
"@nx/node": "^22.1.3",
|
|
119
119
|
"@nx/web": "^22.1.3",
|
|
120
|
-
"@storm-software/config": "1.134.
|
|
121
|
-
"@storm-software/config-tools": "1.188.
|
|
122
|
-
"@storm-software/workspace-tools": "1.293.
|
|
120
|
+
"@storm-software/config": "1.134.55",
|
|
121
|
+
"@storm-software/config-tools": "1.188.55",
|
|
122
|
+
"@storm-software/workspace-tools": "1.293.25",
|
|
123
123
|
"nx": "^22.1.3",
|
|
124
124
|
"tsup": "8.4.0",
|
|
125
125
|
"wrangler": ">=3.58.0"
|
|
@@ -151,5 +151,5 @@
|
|
|
151
151
|
"publishConfig": { "access": "public" },
|
|
152
152
|
"executors": "./executors.json",
|
|
153
153
|
"generators": "./generators.json",
|
|
154
|
-
"gitHead": "
|
|
154
|
+
"gitHead": "0196a90ff3532eea38d6c72c6bcb5a08c94853bc"
|
|
155
155
|
}
|