@storm-software/cloudflare-tools 0.71.5 → 0.71.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/README.md +1 -1
- package/dist/{chunk-BAINZIOH.js → chunk-2SRZ2J7D.js} +3 -3
- package/dist/{chunk-PH3DHY4Q.mjs → chunk-3MAI3FU2.mjs} +13 -0
- package/dist/{chunk-PMQP7IYF.js → chunk-4S4CCYBL.js} +2 -2
- package/dist/{chunk-XDQBFBX4.mjs → chunk-F6FHDDUJ.mjs} +2 -2
- package/dist/{chunk-NYGOCQMG.mjs → chunk-FWIGE74R.mjs} +2 -2
- package/dist/{chunk-EKIV24FH.js → chunk-J5JJZJO5.js} +4 -4
- package/dist/{chunk-NU34IEWN.js → chunk-N7FW365Q.js} +13 -0
- package/dist/{chunk-ZZBQ7OZD.js → chunk-NMP6HE73.js} +4 -4
- package/dist/{chunk-ST7JGBB3.mjs → chunk-OFFMHZ3Z.mjs} +2 -2
- package/dist/{chunk-IRORGRVZ.js → chunk-QBD2OGUY.js} +2 -2
- package/dist/{chunk-XLO7NMJ6.mjs → chunk-R77S76A2.mjs} +5 -5
- package/dist/{chunk-QN6OKPMU.mjs → chunk-TYYFTZLS.mjs} +1 -1
- package/dist/{chunk-4EEXR4IG.mjs → chunk-WSBHUYOP.mjs} +1 -1
- package/dist/executors.js +4 -4
- package/dist/executors.mjs +5 -5
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +3 -3
- package/dist/index.js +15 -15
- package/dist/index.mjs +7 -7
- package/dist/src/executors/cloudflare-publish/executor.js +4 -4
- package/dist/src/executors/cloudflare-publish/executor.mjs +4 -4
- package/dist/src/executors/r2-upload-publish/executor.js +3 -3
- package/dist/src/executors/r2-upload-publish/executor.mjs +3 -3
- package/dist/src/executors/serve/executor.js +4 -4
- package/dist/src/executors/serve/executor.mjs +3 -3
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +2 -2
- package/dist/src/generators/worker/generator.js +3 -3
- package/dist/src/generators/worker/generator.mjs +3 -3
- package/dist/src/utils/index.mjs +1 -1
- package/dist/src/utils/r2-bucket-helpers.mjs +1 -1
- package/dist/tsup.config.mjs +1 -1
- package/package.json +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.6](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.6) (12/05/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Reformat README markdown files
|
|
10
|
+
([67f5cb4ca](https://github.com/storm-software/storm-ops/commit/67f5cb4ca))
|
|
11
|
+
|
|
12
|
+
### Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated **workspace-tools** to **v1.294.0**
|
|
15
|
+
- Updated **config-tools** to **v1.188.56**
|
|
16
|
+
- Updated **config** to **v1.134.56**
|
|
17
|
+
|
|
18
|
+
## [0.71.5](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.5) (12/05/2025)
|
|
19
|
+
|
|
20
|
+
### Miscellaneous
|
|
21
|
+
|
|
22
|
+
- **monorepo:** Update the banner image used in markdown files
|
|
23
|
+
([fc48aee3c](https://github.com/storm-software/storm-ops/commit/fc48aee3c))
|
|
24
|
+
|
|
25
|
+
### Updated Dependencies
|
|
26
|
+
|
|
27
|
+
- Updated **workspace-tools** to **v1.293.25**
|
|
28
|
+
- Updated **config-tools** to **v1.188.55**
|
|
29
|
+
- Updated **config** to **v1.134.55**
|
|
30
|
+
|
|
5
31
|
## [0.71.4](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.4) (12/05/2025)
|
|
6
32
|
|
|
7
33
|
### Miscellaneous
|
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 -->
|
|
@@ -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 _chunkNMP6HE73js = require('./chunk-NMP6HE73.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 _chunkNMP6HE73js.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3MAI3FU2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TYYFTZLS.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/cloudflare-publish/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectTagConstants,
|
|
3
3
|
addProjectTag
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3MAI3FU2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findWorkspaceRoot,
|
|
7
7
|
getConfig,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-TPNHSNNZ.mjs";
|
|
27
27
|
import {
|
|
28
28
|
__dirname
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TYYFTZLS.mjs";
|
|
30
30
|
|
|
31
31
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
32
32
|
var applyWorkspaceBaseTokens = async (option, tokenParams) => {
|
|
@@ -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) => {
|
|
@@ -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.6",
|
|
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.
|
|
139
|
+
"@storm-software/config": "1.134.56",
|
|
140
|
+
"@storm-software/config-tools": "1.188.56",
|
|
141
|
+
"@storm-software/workspace-tools": "1.294.0",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R77S76A2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
findWorkspaceRoot,
|
|
6
6
|
getConfig
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-TPNHSNNZ.mjs";
|
|
16
16
|
import {
|
|
17
17
|
__dirname
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TYYFTZLS.mjs";
|
|
19
19
|
|
|
20
20
|
// src/generators/worker/generator.ts
|
|
21
21
|
import {
|
|
@@ -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
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TYYFTZLS.mjs";
|
|
4
4
|
|
|
5
5
|
// package.json
|
|
6
6
|
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.6",
|
|
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.
|
|
139
|
+
"@storm-software/config": "1.134.56",
|
|
140
|
+
"@storm-software/config-tools": "1.188.56",
|
|
141
|
+
"@storm-software/workspace-tools": "1.294.0",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
|
@@ -9,7 +9,7 @@ var __commonJS = (cb, mod) => function __require2() {
|
|
|
9
9
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
12
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__c3e4998479ad18f48a2d876d2ab799a7/node_modules/tsup/assets/esm_shims.js
|
|
13
13
|
import { fileURLToPath } from "url";
|
|
14
14
|
import path from "path";
|
|
15
15
|
var getFilename = () => fileURLToPath(import.meta.url);
|
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-F6FHDDUJ.mjs";
|
|
3
|
+
import "./chunk-FWIGE74R.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
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-TYYFTZLS.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk4S4CCYBLjs = require('./chunk-4S4CCYBL.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkNMP6HE73js = require('./chunk-NMP6HE73.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 = _chunk4S4CCYBLjs.applicationGenerator; exports.applicationSchematic = _chunk4S4CCYBLjs.applicationSchematic; exports.initGenerator = _chunkNMP6HE73js.initGenerator; exports.initSchematic = _chunkNMP6HE73js.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,14 +2,14 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OFFMHZ3Z.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-R77S76A2.mjs";
|
|
10
10
|
import "./chunk-SGTAZO2Q.mjs";
|
|
11
11
|
import "./chunk-TPNHSNNZ.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-TYYFTZLS.mjs";
|
|
13
13
|
export {
|
|
14
14
|
applicationGenerator,
|
|
15
15
|
applicationSchematic,
|
package/dist/index.js
CHANGED
|
@@ -3,15 +3,15 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk4S4CCYBLjs = require('./chunk-4S4CCYBL.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkNMP6HE73js = require('./chunk-NMP6HE73.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 = _chunk4S4CCYBLjs.applicationGenerator; exports.applicationSchematic = _chunk4S4CCYBLjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkUAKLE2QOjs.getInternalDependencies; exports.initGenerator = _chunkNMP6HE73js.initGenerator; exports.initSchematic = _chunkNMP6HE73js.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-OFFMHZ3Z.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-R77S76A2.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-F6FHDDUJ.mjs";
|
|
13
|
+
import "./chunk-FWIGE74R.mjs";
|
|
14
|
+
import "./chunk-WSBHUYOP.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
17
17
|
r2UploadFile
|
|
@@ -19,10 +19,10 @@ 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
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-TYYFTZLS.mjs";
|
|
26
26
|
|
|
27
27
|
// src/plugins/index.ts
|
|
28
28
|
import {
|
|
@@ -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,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-F6FHDDUJ.mjs";
|
|
4
|
+
import "../../../chunk-FWIGE74R.mjs";
|
|
5
|
+
import "../../../chunk-3MAI3FU2.mjs";
|
|
6
6
|
import "../../../chunk-SGTAZO2Q.mjs";
|
|
7
7
|
import "../../../chunk-TPNHSNNZ.mjs";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-TYYFTZLS.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _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,11 +1,11 @@
|
|
|
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
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-TYYFTZLS.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
11
11
|
};
|
|
@@ -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,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-FWIGE74R.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 {
|
|
10
10
|
__require
|
|
11
|
-
} from "../../../chunk-
|
|
11
|
+
} from "../../../chunk-TYYFTZLS.mjs";
|
|
12
12
|
|
|
13
13
|
// src/executors/serve/executor.ts
|
|
14
14
|
import { createAsyncIterable } from "@nx/devkit/src/utils/async-iterable";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkNMP6HE73js = require('../../../chunk-NMP6HE73.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkNMP6HE73js.generator_default; exports.initGenerator = _chunkNMP6HE73js.initGenerator; exports.initSchematic = _chunkNMP6HE73js.initSchematic;
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
generator_default,
|
|
3
3
|
initGenerator,
|
|
4
4
|
initSchematic
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-R77S76A2.mjs";
|
|
6
|
+
import "../../../chunk-TYYFTZLS.mjs";
|
|
7
7
|
export {
|
|
8
8
|
generator_default as default,
|
|
9
9
|
initGenerator,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunk4S4CCYBLjs = require('../../../chunk-4S4CCYBL.js');
|
|
6
|
+
require('../../../chunk-NMP6HE73.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 = _chunk4S4CCYBLjs.applicationGenerator; exports.applicationSchematic = _chunk4S4CCYBLjs.applicationSchematic; exports.default = _chunk4S4CCYBLjs.generator_default;
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-OFFMHZ3Z.mjs";
|
|
6
|
+
import "../../../chunk-R77S76A2.mjs";
|
|
7
7
|
import "../../../chunk-SGTAZO2Q.mjs";
|
|
8
8
|
import "../../../chunk-TPNHSNNZ.mjs";
|
|
9
|
-
import "../../../chunk-
|
|
9
|
+
import "../../../chunk-TYYFTZLS.mjs";
|
|
10
10
|
export {
|
|
11
11
|
applicationGenerator,
|
|
12
12
|
applicationSchematic,
|
package/dist/src/utils/index.mjs
CHANGED
package/dist/tsup.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.71.
|
|
3
|
+
"version": "0.71.7",
|
|
4
4
|
"description": "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -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.
|
|
120
|
+
"@storm-software/config": "1.134.56",
|
|
121
|
+
"@storm-software/config-tools": "1.188.56",
|
|
122
|
+
"@storm-software/workspace-tools": "1.294.0",
|
|
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": "8855a858e9e0857415046899657d00d209b59c0c"
|
|
155
155
|
}
|