@storm-software/cloudflare-tools 0.60.0 → 0.62.0
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 +10 -0
- package/README.md +2 -1
- package/dist/{chunk-ISGKIYF5.mjs → chunk-2SPHXGUN.mjs} +1 -1
- package/dist/{chunk-SZONRMZR.mjs → chunk-4TLRIFWG.mjs} +1 -1
- package/dist/{chunk-WEQTU7QO.mjs → chunk-BNUSDC74.mjs} +3 -2
- package/dist/{chunk-7QZXI5HN.mjs → chunk-DGCWJNVR.mjs} +1 -1
- package/dist/{chunk-EGZ3BGPS.mjs → chunk-DMXSIYMO.mjs} +1 -1
- package/dist/{chunk-T2DEGTEZ.js → chunk-FF4AKPZG.js} +6 -5
- package/dist/{chunk-4HXW4ZJY.js → chunk-FQNDIEPP.js} +2 -2
- package/dist/{chunk-HIUZ6UL7.js → chunk-FUSFC5AM.js} +3 -3
- package/dist/{chunk-6XDOBG77.js → chunk-KTFMIXUN.js} +13 -12
- package/dist/{chunk-L4WFYC7K.mjs → chunk-RH2IXKSC.mjs} +13 -12
- package/dist/{chunk-I4P7DVDN.js → chunk-T2OGA6MB.js} +2 -2
- package/dist/{chunk-E3TZJX67.js → chunk-UVH563JH.js} +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 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.61.1](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.61.1) (2025-05-07)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **git-tools:** Remove auto-commit on versioning step
|
|
10
|
+
|
|
11
|
+
### Miscellaneous
|
|
12
|
+
|
|
13
|
+
- **monorepo:** Regenerate README markdown files
|
|
14
|
+
|
|
5
15
|
## [0.60.0](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.60.0) (2025-05-06)
|
|
6
16
|
|
|
7
17
|
### Features
|
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)
|
|
@@ -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.
|
|
10
|
+
version: "0.61.1",
|
|
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",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProjectTagConstants,
|
|
3
3
|
addProjectTag
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RH2IXKSC.mjs";
|
|
5
5
|
import {
|
|
6
6
|
getConfig,
|
|
7
7
|
getWorkspaceConfig
|
|
@@ -1249,7 +1249,8 @@ var executor_default6 = withRunExecutor(
|
|
|
1249
1249
|
|
|
1250
1250
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
1251
1251
|
import { execSync as execSync3 } from "node:child_process";
|
|
1252
|
-
import { readFile as readFile5 } from "node:fs/promises";
|
|
1252
|
+
import { readFile as readFile5, writeFile as writeFile3 } from "node:fs/promises";
|
|
1253
|
+
import { format as format2 } from "prettier";
|
|
1253
1254
|
|
|
1254
1255
|
// ../workspace-tools/src/utils/pnpm-deps-update.ts
|
|
1255
1256
|
import {
|
|
@@ -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 _chunkKTFMIXUNjs = require('./chunk-KTFMIXUN.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -1249,6 +1249,7 @@ var executor_default6 = withRunExecutor(
|
|
|
1249
1249
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
1250
1250
|
|
|
1251
1251
|
|
|
1252
|
+
var _prettier = require('prettier');
|
|
1252
1253
|
|
|
1253
1254
|
// ../workspace-tools/src/utils/pnpm-deps-update.ts
|
|
1254
1255
|
|
|
@@ -1257,7 +1258,7 @@ var executor_default6 = withRunExecutor(
|
|
|
1257
1258
|
|
|
1258
1259
|
|
|
1259
1260
|
|
|
1260
|
-
|
|
1261
|
+
|
|
1261
1262
|
var _readyamlfile = require('read-yaml-file'); var _readyamlfile2 = _interopRequireDefault(_readyamlfile);
|
|
1262
1263
|
|
|
1263
1264
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
@@ -1620,10 +1621,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1620
1621
|
if (options.platform) {
|
|
1621
1622
|
projectConfig.targets.build.options.platform = options.platform === "worker" ? "node" : options.platform;
|
|
1622
1623
|
}
|
|
1623
|
-
|
|
1624
|
+
_chunkKTFMIXUNjs.addProjectTag.call(void 0,
|
|
1624
1625
|
projectConfig,
|
|
1625
|
-
|
|
1626
|
-
options.platform === "node" ?
|
|
1626
|
+
_chunkKTFMIXUNjs.ProjectTagConstants.Platform.TAG_ID,
|
|
1627
|
+
options.platform === "node" ? _chunkKTFMIXUNjs.ProjectTagConstants.Platform.NODE : options.platform === "worker" ? _chunkKTFMIXUNjs.ProjectTagConstants.Platform.WORKER : options.platform === "browser" ? _chunkKTFMIXUNjs.ProjectTagConstants.Platform.BROWSER : _chunkKTFMIXUNjs.ProjectTagConstants.Platform.NEUTRAL,
|
|
1627
1628
|
{ overwrite: false }
|
|
1628
1629
|
);
|
|
1629
1630
|
createProjectTsConfigJson(tree, normalized);
|
|
@@ -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 _chunkUVH563JHjs = require('./chunk-UVH563JH.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkHBASMEU5js = require('./chunk-HBASMEU5.js');
|
|
@@ -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 _chunkUVH563JHjs.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
|
@@ -5,7 +5,7 @@ var _chunkRIUVF72Kjs = require('./chunk-RIUVF72K.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkKTFMIXUNjs = require('./chunk-KTFMIXUN.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkHBASMEU5js = require('./chunk-HBASMEU5.js');
|
|
@@ -43,7 +43,7 @@ async function runExecutor(options, context) {
|
|
|
43
43
|
const config = await _chunkHBASMEU5js.getConfig.call(void 0, workspaceRoot);
|
|
44
44
|
const sourceRoot = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.sourceRoot]), () => ( workspaceRoot));
|
|
45
45
|
const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
|
|
46
|
-
const projectDetails =
|
|
46
|
+
const projectDetails = _chunkKTFMIXUNjs.getPackageInfo.call(void 0,
|
|
47
47
|
context.projectsConfigurations.projects[context.projectName]
|
|
48
48
|
);
|
|
49
49
|
if (!_optionalChain([projectDetails, 'optionalAccess', _15 => _15.content])) {
|
|
@@ -51,7 +51,7 @@ async function runExecutor(options, context) {
|
|
|
51
51
|
`Could not find the project details for ${context.projectName}`
|
|
52
52
|
);
|
|
53
53
|
}
|
|
54
|
-
const args =
|
|
54
|
+
const args = _chunkKTFMIXUNjs.createCliOptions.call(void 0, { ...options });
|
|
55
55
|
if (isDryRun) {
|
|
56
56
|
args.push("--dry-run");
|
|
57
57
|
}
|
|
@@ -23,6 +23,19 @@ function createCliOptions(obj) {
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
+
|
|
27
|
+
// ../config-tools/src/utilities/toml.ts
|
|
28
|
+
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
29
|
+
function parseCargoToml(cargoString) {
|
|
30
|
+
if (!cargoString) {
|
|
31
|
+
throw new Error("Cargo.toml is empty");
|
|
32
|
+
}
|
|
33
|
+
return _jtoml2.default.parse(cargoString, {
|
|
34
|
+
x: { comment: true }
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// ../workspace-tools/src/utils/package-helpers.ts
|
|
26
39
|
var _fs = require('fs');
|
|
27
40
|
|
|
28
41
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
@@ -98,18 +111,6 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
98
111
|
}
|
|
99
112
|
};
|
|
100
113
|
|
|
101
|
-
// ../workspace-tools/src/utils/toml.ts
|
|
102
|
-
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
103
|
-
|
|
104
|
-
function parseCargoToml(cargoString) {
|
|
105
|
-
if (!cargoString) {
|
|
106
|
-
throw new Error("Cargo.toml is empty");
|
|
107
|
-
}
|
|
108
|
-
return _jtoml2.default.parse(cargoString, {
|
|
109
|
-
x: { comment: true }
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
|
|
113
114
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
114
115
|
var getPackageInfo = (project) => {
|
|
115
116
|
if (isEqualProjectTag(
|
|
@@ -23,6 +23,19 @@ import {
|
|
|
23
23
|
joinPathFragments,
|
|
24
24
|
readJsonFile
|
|
25
25
|
} from "@nx/devkit";
|
|
26
|
+
|
|
27
|
+
// ../config-tools/src/utilities/toml.ts
|
|
28
|
+
import TOML from "@ltd/j-toml";
|
|
29
|
+
function parseCargoToml(cargoString) {
|
|
30
|
+
if (!cargoString) {
|
|
31
|
+
throw new Error("Cargo.toml is empty");
|
|
32
|
+
}
|
|
33
|
+
return TOML.parse(cargoString, {
|
|
34
|
+
x: { comment: true }
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// ../workspace-tools/src/utils/package-helpers.ts
|
|
26
39
|
import { existsSync } from "node:fs";
|
|
27
40
|
|
|
28
41
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
@@ -98,18 +111,6 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
98
111
|
}
|
|
99
112
|
};
|
|
100
113
|
|
|
101
|
-
// ../workspace-tools/src/utils/toml.ts
|
|
102
|
-
import TOML from "@ltd/j-toml";
|
|
103
|
-
import { logger } from "@nx/devkit";
|
|
104
|
-
function parseCargoToml(cargoString) {
|
|
105
|
-
if (!cargoString) {
|
|
106
|
-
throw new Error("Cargo.toml is empty");
|
|
107
|
-
}
|
|
108
|
-
return TOML.parse(cargoString, {
|
|
109
|
-
x: { comment: true }
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
|
|
113
114
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
114
115
|
var getPackageInfo = (project) => {
|
|
115
116
|
if (isEqualProjectTag(
|
|
@@ -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 _chunkKTFMIXUNjs = require('./chunk-KTFMIXUN.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 = _chunkKTFMIXUNjs.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.
|
|
10
|
+
version: "0.61.1",
|
|
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",
|
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-T2OGA6MB.js');
|
|
3
|
+
require('./chunk-FF4AKPZG.js');
|
|
4
|
+
require('./chunk-FUSFC5AM.js');
|
|
5
5
|
require('./chunk-RIUVF72K.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-KTFMIXUN.js');
|
|
7
7
|
require('./chunk-HBASMEU5.js');
|
|
8
8
|
require('./chunk-PZ5CI56F.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-DMXSIYMO.mjs";
|
|
3
|
+
import "./chunk-BNUSDC74.mjs";
|
|
4
|
+
import "./chunk-2SPHXGUN.mjs";
|
|
5
5
|
import "./chunk-FABNT5TZ.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-RH2IXKSC.mjs";
|
|
7
7
|
import "./chunk-GPAI4NHQ.mjs";
|
|
8
8
|
import "./chunk-MV24QW26.mjs";
|
|
9
9
|
import "./chunk-2P2Y3PCF.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkFQNDIEPPjs = require('./chunk-FQNDIEPP.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkUVH563JHjs = require('./chunk-UVH563JH.js');
|
|
10
10
|
require('./chunk-HBASMEU5.js');
|
|
11
11
|
require('./chunk-PZ5CI56F.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 = _chunkFQNDIEPPjs.applicationGenerator; exports.applicationSchematic = _chunkFQNDIEPPjs.applicationSchematic; exports.initGenerator = _chunkUVH563JHjs.initGenerator; exports.initSchematic = _chunkUVH563JHjs.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-DGCWJNVR.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4TLRIFWG.mjs";
|
|
10
10
|
import "./chunk-GPAI4NHQ.mjs";
|
|
11
11
|
import "./chunk-MV24QW26.mjs";
|
|
12
12
|
import "./chunk-2P2Y3PCF.mjs";
|
package/dist/index.js
CHANGED
|
@@ -3,15 +3,15 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkFQNDIEPPjs = require('./chunk-FQNDIEPP.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkUVH563JHjs = require('./chunk-UVH563JH.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-T2OGA6MB.js');
|
|
13
|
+
require('./chunk-FF4AKPZG.js');
|
|
14
|
+
require('./chunk-FUSFC5AM.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -19,7 +19,7 @@ var _chunkRIUVF72Kjs = require('./chunk-RIUVF72K.js');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkKTFMIXUNjs = require('./chunk-KTFMIXUN.js');
|
|
23
23
|
require('./chunk-HBASMEU5.js');
|
|
24
24
|
require('./chunk-PZ5CI56F.js');
|
|
25
25
|
require('./chunk-MCKGQKYU.js');
|
|
@@ -84,21 +84,21 @@ var createNodesV2 = [
|
|
|
84
84
|
executor: "@storm-software/cloudflare-tools:cloudflare-publish",
|
|
85
85
|
options: {}
|
|
86
86
|
};
|
|
87
|
-
|
|
87
|
+
_chunkKTFMIXUNjs.addProjectTag.call(void 0,
|
|
88
88
|
project,
|
|
89
|
-
|
|
90
|
-
project.projectType === "application" ?
|
|
89
|
+
_chunkKTFMIXUNjs.ProjectTagConstants.ProjectType.TAG_ID,
|
|
90
|
+
project.projectType === "application" ? _chunkKTFMIXUNjs.ProjectTagConstants.ProjectType.APPLICATION : _chunkKTFMIXUNjs.ProjectTagConstants.ProjectType.LIBRARY,
|
|
91
91
|
{ overwrite: true }
|
|
92
92
|
);
|
|
93
|
-
|
|
93
|
+
_chunkKTFMIXUNjs.addProjectTag.call(void 0,
|
|
94
94
|
project,
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
_chunkKTFMIXUNjs.ProjectTagConstants.DistStyle.TAG_ID,
|
|
96
|
+
_chunkKTFMIXUNjs.ProjectTagConstants.DistStyle.CLEAN,
|
|
97
97
|
{ overwrite: true }
|
|
98
98
|
);
|
|
99
|
-
|
|
99
|
+
_chunkKTFMIXUNjs.addProjectTag.call(void 0,
|
|
100
100
|
project,
|
|
101
|
-
|
|
101
|
+
_chunkKTFMIXUNjs.ProjectTagConstants.Provider.TAG_ID,
|
|
102
102
|
"cloudflare",
|
|
103
103
|
{
|
|
104
104
|
overwrite: true
|
|
@@ -162,4 +162,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
exports.applicationGenerator =
|
|
165
|
+
exports.applicationGenerator = _chunkFQNDIEPPjs.applicationGenerator; exports.applicationSchematic = _chunkFQNDIEPPjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkRIUVF72Kjs.getInternalDependencies; exports.initGenerator = _chunkUVH563JHjs.initGenerator; exports.initSchematic = _chunkUVH563JHjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkRIUVF72Kjs.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-DGCWJNVR.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4TLRIFWG.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-DMXSIYMO.mjs";
|
|
13
|
+
import "./chunk-BNUSDC74.mjs";
|
|
14
|
+
import "./chunk-2SPHXGUN.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-RH2IXKSC.mjs";
|
|
23
23
|
import "./chunk-GPAI4NHQ.mjs";
|
|
24
24
|
import "./chunk-MV24QW26.mjs";
|
|
25
25
|
import "./chunk-2P2Y3PCF.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 _chunkT2OGA6MBjs = require('../../../chunk-T2OGA6MB.js');
|
|
4
|
+
require('../../../chunk-FF4AKPZG.js');
|
|
5
|
+
require('../../../chunk-KTFMIXUN.js');
|
|
6
6
|
require('../../../chunk-HBASMEU5.js');
|
|
7
7
|
require('../../../chunk-PZ5CI56F.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkT2OGA6MBjs.runExecutor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-DMXSIYMO.mjs";
|
|
4
|
+
import "../../../chunk-BNUSDC74.mjs";
|
|
5
|
+
import "../../../chunk-RH2IXKSC.mjs";
|
|
6
6
|
import "../../../chunk-GPAI4NHQ.mjs";
|
|
7
7
|
import "../../../chunk-MV24QW26.mjs";
|
|
8
8
|
import "../../../chunk-2P2Y3PCF.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFUSFC5AMjs = require('../../../chunk-FUSFC5AM.js');
|
|
4
4
|
require('../../../chunk-RIUVF72K.js');
|
|
5
|
-
require('../../../chunk-
|
|
5
|
+
require('../../../chunk-KTFMIXUN.js');
|
|
6
6
|
require('../../../chunk-HBASMEU5.js');
|
|
7
7
|
require('../../../chunk-PZ5CI56F.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkFUSFC5AMjs.runExecutor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-2SPHXGUN.mjs";
|
|
4
4
|
import "../../../chunk-FABNT5TZ.mjs";
|
|
5
|
-
import "../../../chunk-
|
|
5
|
+
import "../../../chunk-RH2IXKSC.mjs";
|
|
6
6
|
import "../../../chunk-GPAI4NHQ.mjs";
|
|
7
7
|
import "../../../chunk-MV24QW26.mjs";
|
|
8
8
|
import "../../../chunk-2P2Y3PCF.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 _chunkFF4AKPZGjs = require('../../../chunk-FF4AKPZG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkKTFMIXUNjs = require('../../../chunk-KTFMIXUN.js');
|
|
7
7
|
require('../../../chunk-HBASMEU5.js');
|
|
8
8
|
require('../../../chunk-PZ5CI56F.js');
|
|
9
9
|
|
|
@@ -19,7 +19,7 @@ async function* serveExecutor(options, context, config) {
|
|
|
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 = _chunkKTFMIXUNjs.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, config) {
|
|
|
55
55
|
success: true
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
var executor_default =
|
|
58
|
+
var executor_default = _chunkFF4AKPZGjs.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-BNUSDC74.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-RH2IXKSC.mjs";
|
|
7
7
|
import "../../../chunk-GPAI4NHQ.mjs";
|
|
8
8
|
import "../../../chunk-MV24QW26.mjs";
|
|
9
9
|
import {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkUVH563JHjs = require('../../../chunk-UVH563JH.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkUVH563JHjs.generator_default; exports.initGenerator = _chunkUVH563JHjs.initGenerator; exports.initSchematic = _chunkUVH563JHjs.initSchematic;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkFQNDIEPPjs = require('../../../chunk-FQNDIEPP.js');
|
|
6
|
+
require('../../../chunk-UVH563JH.js');
|
|
7
7
|
require('../../../chunk-HBASMEU5.js');
|
|
8
8
|
require('../../../chunk-PZ5CI56F.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 = _chunkFQNDIEPPjs.applicationGenerator; exports.applicationSchematic = _chunkFQNDIEPPjs.applicationSchematic; exports.default = _chunkFQNDIEPPjs.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-DGCWJNVR.mjs";
|
|
6
|
+
import "../../../chunk-4TLRIFWG.mjs";
|
|
7
7
|
import "../../../chunk-GPAI4NHQ.mjs";
|
|
8
8
|
import "../../../chunk-MV24QW26.mjs";
|
|
9
9
|
import "../../../chunk-2P2Y3PCF.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.62.0",
|
|
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",
|