@storm-software/cloudflare-tools 0.71.139 → 0.71.140
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/dist/{chunk-WHNN3F7K.mjs → chunk-5MF5D4B7.mjs} +1 -1
- package/dist/{chunk-NWIDJAAD.js → chunk-CBHCGTOG.js} +4 -4
- package/dist/{chunk-3MAI3FU2.mjs → chunk-F5RW4AZL.mjs} +3 -1
- package/dist/{chunk-5G2MEC53.mjs → chunk-FXKNC34W.mjs} +1 -1
- package/dist/{chunk-QBD2OGUY.js → chunk-LBHXS7RE.js} +2 -2
- package/dist/{chunk-I6AXMB5Z.mjs → chunk-UZ6RF6PL.mjs} +1 -1
- package/dist/{chunk-N7FW365Q.js → chunk-XKQ3HGET.js} +3 -1
- package/dist/{chunk-XS3GCBKI.js → chunk-YI4AECN3.js} +3 -3
- package/dist/executors.js +4 -4
- package/dist/executors.mjs +4 -4
- package/dist/generators.js +4 -4
- package/dist/generators.mjs +3 -3
- package/dist/index.js +19 -19
- package/dist/index.mjs +12 -12
- 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/worker/generator.js +3 -3
- package/dist/src/generators/worker/generator.mjs +2 -2
- package/package.json +5 -5
- package/dist/{chunk-V5JH2KC2.js → chunk-W4PTQKTA.js} +3 -3
- package/dist/{chunk-JZJTCOKN.mjs → chunk-XNGDXT7A.mjs} +3 -3
|
@@ -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 _chunkXKQ3HGETjs = require('./chunk-XKQ3HGET.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -2018,10 +2018,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2018
2018
|
if (options.platform) {
|
|
2019
2019
|
projectConfig.targets.build.options.platform = options.platform === "worker" ? "node" : options.platform;
|
|
2020
2020
|
}
|
|
2021
|
-
|
|
2021
|
+
_chunkXKQ3HGETjs.addProjectTag.call(void 0,
|
|
2022
2022
|
projectConfig,
|
|
2023
|
-
|
|
2024
|
-
options.platform === "node" ?
|
|
2023
|
+
_chunkXKQ3HGETjs.ProjectTagConstants.Platform.TAG_ID,
|
|
2024
|
+
options.platform === "node" ? _chunkXKQ3HGETjs.ProjectTagConstants.Platform.NODE : options.platform === "worker" ? _chunkXKQ3HGETjs.ProjectTagConstants.Platform.WORKER : options.platform === "browser" ? _chunkXKQ3HGETjs.ProjectTagConstants.Platform.BROWSER : _chunkXKQ3HGETjs.ProjectTagConstants.Platform.NEUTRAL,
|
|
2025
2025
|
{ overwrite: false }
|
|
2026
2026
|
);
|
|
2027
2027
|
createProjectTsConfigJson(tree, normalized);
|
|
@@ -22,7 +22,7 @@ import { readFile, writeFile } from "node:fs/promises";
|
|
|
22
22
|
import { dirname, resolve } from "path";
|
|
23
23
|
import { format } from "prettier";
|
|
24
24
|
|
|
25
|
-
// ../
|
|
25
|
+
// ../package-constants/src/tags.ts
|
|
26
26
|
var ProjectTagConstants = {
|
|
27
27
|
Language: {
|
|
28
28
|
TAG_ID: "language",
|
|
@@ -96,6 +96,8 @@ var isEqualProjectTag = (project, variant, value) => {
|
|
|
96
96
|
const tag = getProjectTag(project, variant);
|
|
97
97
|
return !!(tag && tag?.toUpperCase() === value.toUpperCase());
|
|
98
98
|
};
|
|
99
|
+
|
|
100
|
+
// ../workspace-tools/src/utils/project-tags.ts
|
|
99
101
|
var addProjectTag = (project, variant, value, options = {
|
|
100
102
|
overwrite: false
|
|
101
103
|
}) => {
|
|
@@ -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 _chunkXKQ3HGETjs = require('./chunk-XKQ3HGET.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 = _chunkXKQ3HGETjs.createCliOptions.call(void 0, { ...options });
|
|
28
28
|
if (isDryRun) {
|
|
29
29
|
args.push("--dry-run");
|
|
30
30
|
}
|
|
@@ -22,7 +22,7 @@ var _promises = require('fs/promises');
|
|
|
22
22
|
var _path = require('path');
|
|
23
23
|
var _prettier = require('prettier');
|
|
24
24
|
|
|
25
|
-
// ../
|
|
25
|
+
// ../package-constants/src/tags.ts
|
|
26
26
|
var ProjectTagConstants = {
|
|
27
27
|
Language: {
|
|
28
28
|
TAG_ID: "language",
|
|
@@ -96,6 +96,8 @@ var isEqualProjectTag = (project, variant, value) => {
|
|
|
96
96
|
const tag = getProjectTag(project, variant);
|
|
97
97
|
return !!(tag && _optionalChain([tag, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]) === value.toUpperCase());
|
|
98
98
|
};
|
|
99
|
+
|
|
100
|
+
// ../workspace-tools/src/utils/project-tags.ts
|
|
99
101
|
var addProjectTag = (project, variant, value, options = {
|
|
100
102
|
overwrite: false
|
|
101
103
|
}) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkXKQ3HGETjs = require('./chunk-XKQ3HGET.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -56,7 +56,7 @@ async function runExecutor(options, context) {
|
|
|
56
56
|
const workspaceRoot = _chunkM67NVAFNjs.findWorkspaceRoot.call(void 0, );
|
|
57
57
|
const config = await _chunkM67NVAFNjs.getConfig.call(void 0, workspaceRoot);
|
|
58
58
|
const projectName = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.name]), () => ( context.projectName));
|
|
59
|
-
const projectDetails =
|
|
59
|
+
const projectDetails = _chunkXKQ3HGETjs.getPackageInfo.call(void 0,
|
|
60
60
|
context.projectsConfigurations.projects[context.projectName]
|
|
61
61
|
);
|
|
62
62
|
const bucketId = options.bucketId;
|
|
@@ -64,7 +64,7 @@ async function runExecutor(options, context) {
|
|
|
64
64
|
if (!bucketId) {
|
|
65
65
|
throw new Error("The executor requires a bucketId.");
|
|
66
66
|
}
|
|
67
|
-
const args =
|
|
67
|
+
const args = _chunkXKQ3HGETjs.createCliOptions.call(void 0, { ...options });
|
|
68
68
|
if (isDryRun) {
|
|
69
69
|
args.push("--dry-run");
|
|
70
70
|
}
|
package/dist/executors.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
|
-
require('./chunk-
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
2
|
+
require('./chunk-LBHXS7RE.js');
|
|
3
|
+
require('./chunk-CBHCGTOG.js');
|
|
4
|
+
require('./chunk-YI4AECN3.js');
|
|
5
|
+
require('./chunk-XKQ3HGET.js');
|
|
6
6
|
require('./chunk-M67NVAFN.js');
|
|
7
7
|
require('./chunk-KUGEZPUO.js');
|
|
8
8
|
require('./chunk-RFTWAZAH.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-5MF5D4B7.mjs";
|
|
3
|
+
import "./chunk-UZ6RF6PL.mjs";
|
|
4
|
+
import "./chunk-FXKNC34W.mjs";
|
|
5
|
+
import "./chunk-F5RW4AZL.mjs";
|
|
6
6
|
import "./chunk-NDCCQODD.mjs";
|
|
7
7
|
import "./chunk-SWYYMID7.mjs";
|
|
8
8
|
import "./chunk-RV2PLDCF.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-M67NVAFN.js');
|
|
7
|
-
require('./chunk-X4EH7JKI.js');
|
|
5
|
+
var _chunkW4PTQKTAjs = require('./chunk-W4PTQKTA.js');
|
|
8
6
|
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
var _chunkDJTQV3PNjs = require('./chunk-DJTQV3PN.js');
|
|
10
|
+
require('./chunk-M67NVAFN.js');
|
|
11
|
+
require('./chunk-X4EH7JKI.js');
|
|
12
12
|
require('./chunk-MCKGQKYU.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkW4PTQKTAjs.applicationGenerator; exports.applicationSchematic = _chunkW4PTQKTAjs.applicationSchematic; exports.initGenerator = _chunkDJTQV3PNjs.initGenerator; exports.initSchematic = _chunkDJTQV3PNjs.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,13 +2,13 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-NDCCQODD.mjs";
|
|
7
|
-
import "./chunk-76TM4A24.mjs";
|
|
5
|
+
} from "./chunk-XNGDXT7A.mjs";
|
|
8
6
|
import {
|
|
9
7
|
initGenerator,
|
|
10
8
|
initSchematic
|
|
11
9
|
} from "./chunk-C7WPY7XT.mjs";
|
|
10
|
+
import "./chunk-NDCCQODD.mjs";
|
|
11
|
+
import "./chunk-76TM4A24.mjs";
|
|
12
12
|
import "./chunk-6UC2RMLH.mjs";
|
|
13
13
|
export {
|
|
14
14
|
applicationGenerator,
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('./chunk-XO66D74Z.js');
|
|
2
|
-
require('./chunk-
|
|
3
|
-
require('./chunk-XS3GCBKI.js');
|
|
4
|
-
require('./chunk-NWIDJAAD.js');
|
|
2
|
+
require('./chunk-DHBG5ASJ.js');
|
|
5
3
|
|
|
6
4
|
|
|
7
5
|
|
|
8
|
-
var
|
|
9
|
-
|
|
6
|
+
var _chunkW4PTQKTAjs = require('./chunk-W4PTQKTA.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkDJTQV3PNjs = require('./chunk-DJTQV3PN.js');
|
|
11
|
+
require('./chunk-LBHXS7RE.js');
|
|
12
|
+
require('./chunk-CBHCGTOG.js');
|
|
13
|
+
require('./chunk-YI4AECN3.js');
|
|
10
14
|
|
|
11
15
|
|
|
12
16
|
|
|
13
|
-
var
|
|
17
|
+
var _chunkXKQ3HGETjs = require('./chunk-XKQ3HGET.js');
|
|
14
18
|
require('./chunk-M67NVAFN.js');
|
|
15
19
|
require('./chunk-KUGEZPUO.js');
|
|
16
20
|
require('./chunk-CVGPWUNP.js');
|
|
@@ -21,10 +25,6 @@ require('./chunk-CVGPWUNP.js');
|
|
|
21
25
|
|
|
22
26
|
var _chunkRFTWAZAHjs = require('./chunk-RFTWAZAH.js');
|
|
23
27
|
require('./chunk-X4EH7JKI.js');
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
var _chunkDJTQV3PNjs = require('./chunk-DJTQV3PN.js');
|
|
28
28
|
require('./chunk-MCKGQKYU.js');
|
|
29
29
|
|
|
30
30
|
// src/plugins/index.ts
|
|
@@ -78,21 +78,21 @@ var createNodesV2 = [
|
|
|
78
78
|
executor: "@storm-software/cloudflare-tools:cloudflare-publish",
|
|
79
79
|
options: {}
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
_chunkXKQ3HGETjs.addProjectTag.call(void 0,
|
|
82
82
|
project,
|
|
83
|
-
|
|
84
|
-
project.projectType === "application" ?
|
|
83
|
+
_chunkXKQ3HGETjs.ProjectTagConstants.ProjectType.TAG_ID,
|
|
84
|
+
project.projectType === "application" ? _chunkXKQ3HGETjs.ProjectTagConstants.ProjectType.APPLICATION : _chunkXKQ3HGETjs.ProjectTagConstants.ProjectType.LIBRARY,
|
|
85
85
|
{ overwrite: true }
|
|
86
86
|
);
|
|
87
|
-
|
|
87
|
+
_chunkXKQ3HGETjs.addProjectTag.call(void 0,
|
|
88
88
|
project,
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
_chunkXKQ3HGETjs.ProjectTagConstants.DistStyle.TAG_ID,
|
|
90
|
+
_chunkXKQ3HGETjs.ProjectTagConstants.DistStyle.CLEAN,
|
|
91
91
|
{ overwrite: true }
|
|
92
92
|
);
|
|
93
|
-
|
|
93
|
+
_chunkXKQ3HGETjs.addProjectTag.call(void 0,
|
|
94
94
|
project,
|
|
95
|
-
|
|
95
|
+
_chunkXKQ3HGETjs.ProjectTagConstants.Provider.TAG_ID,
|
|
96
96
|
"cloudflare",
|
|
97
97
|
{
|
|
98
98
|
overwrite: true
|
|
@@ -160,4 +160,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
exports.applicationGenerator =
|
|
163
|
+
exports.applicationGenerator = _chunkW4PTQKTAjs.applicationGenerator; exports.applicationSchematic = _chunkW4PTQKTAjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getEncoding = _chunkRFTWAZAHjs.getEncoding; exports.getInternalDependencies = _chunkRFTWAZAHjs.getInternalDependencies; exports.initGenerator = _chunkDJTQV3PNjs.initGenerator; exports.initSchematic = _chunkDJTQV3PNjs.initSchematic; exports.isTextFile = _chunkRFTWAZAHjs.isTextFile; exports.name = name; exports.uploadFile = _chunkRFTWAZAHjs.uploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-WHNN3F7K.mjs";
|
|
3
|
-
import "./chunk-5G2MEC53.mjs";
|
|
4
|
-
import "./chunk-I6AXMB5Z.mjs";
|
|
5
|
-
import {
|
|
6
|
-
ProjectTagConstants,
|
|
7
|
-
addProjectTag
|
|
8
|
-
} from "./chunk-3MAI3FU2.mjs";
|
|
9
2
|
import "./chunk-3J7KBHMJ.mjs";
|
|
10
3
|
import {
|
|
11
4
|
applicationGenerator,
|
|
12
5
|
applicationSchematic
|
|
13
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XNGDXT7A.mjs";
|
|
7
|
+
import {
|
|
8
|
+
initGenerator,
|
|
9
|
+
initSchematic
|
|
10
|
+
} from "./chunk-C7WPY7XT.mjs";
|
|
11
|
+
import "./chunk-5MF5D4B7.mjs";
|
|
12
|
+
import "./chunk-UZ6RF6PL.mjs";
|
|
13
|
+
import "./chunk-FXKNC34W.mjs";
|
|
14
|
+
import {
|
|
15
|
+
ProjectTagConstants,
|
|
16
|
+
addProjectTag
|
|
17
|
+
} from "./chunk-F5RW4AZL.mjs";
|
|
14
18
|
import "./chunk-NDCCQODD.mjs";
|
|
15
19
|
import "./chunk-SWYYMID7.mjs";
|
|
16
20
|
import "./chunk-7Z5PILRU.mjs";
|
|
@@ -21,10 +25,6 @@ import {
|
|
|
21
25
|
uploadFile
|
|
22
26
|
} from "./chunk-RV2PLDCF.mjs";
|
|
23
27
|
import "./chunk-76TM4A24.mjs";
|
|
24
|
-
import {
|
|
25
|
-
initGenerator,
|
|
26
|
-
initSchematic
|
|
27
|
-
} from "./chunk-C7WPY7XT.mjs";
|
|
28
28
|
import "./chunk-6UC2RMLH.mjs";
|
|
29
29
|
|
|
30
30
|
// src/plugins/index.ts
|
|
@@ -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 _chunkLBHXS7REjs = require('../../../chunk-LBHXS7RE.js');
|
|
4
|
+
require('../../../chunk-CBHCGTOG.js');
|
|
5
|
+
require('../../../chunk-XKQ3HGET.js');
|
|
6
6
|
require('../../../chunk-M67NVAFN.js');
|
|
7
7
|
require('../../../chunk-X4EH7JKI.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkLBHXS7REjs.runExecutor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-5MF5D4B7.mjs";
|
|
4
|
+
import "../../../chunk-UZ6RF6PL.mjs";
|
|
5
|
+
import "../../../chunk-F5RW4AZL.mjs";
|
|
6
6
|
import "../../../chunk-NDCCQODD.mjs";
|
|
7
7
|
import "../../../chunk-76TM4A24.mjs";
|
|
8
8
|
import "../../../chunk-6UC2RMLH.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkYI4AECN3js = require('../../../chunk-YI4AECN3.js');
|
|
4
|
+
require('../../../chunk-XKQ3HGET.js');
|
|
5
5
|
require('../../../chunk-M67NVAFN.js');
|
|
6
6
|
require('../../../chunk-KUGEZPUO.js');
|
|
7
7
|
require('../../../chunk-RFTWAZAH.js');
|
|
@@ -9,4 +9,4 @@ require('../../../chunk-X4EH7JKI.js');
|
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunkYI4AECN3js.runExecutor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-FXKNC34W.mjs";
|
|
4
|
+
import "../../../chunk-F5RW4AZL.mjs";
|
|
5
5
|
import "../../../chunk-NDCCQODD.mjs";
|
|
6
6
|
import "../../../chunk-SWYYMID7.mjs";
|
|
7
7
|
import "../../../chunk-RV2PLDCF.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 _chunkCBHCGTOGjs = require('../../../chunk-CBHCGTOG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkXKQ3HGETjs = require('../../../chunk-XKQ3HGET.js');
|
|
7
7
|
require('../../../chunk-M67NVAFN.js');
|
|
8
8
|
require('../../../chunk-X4EH7JKI.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 = _chunkXKQ3HGETjs.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 = _chunkCBHCGTOGjs.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-UZ6RF6PL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-F5RW4AZL.mjs";
|
|
7
7
|
import "../../../chunk-NDCCQODD.mjs";
|
|
8
8
|
import "../../../chunk-76TM4A24.mjs";
|
|
9
9
|
import {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkW4PTQKTAjs = require('../../../chunk-W4PTQKTA.js');
|
|
6
|
+
require('../../../chunk-DJTQV3PN.js');
|
|
6
7
|
require('../../../chunk-M67NVAFN.js');
|
|
7
8
|
require('../../../chunk-X4EH7JKI.js');
|
|
8
|
-
require('../../../chunk-DJTQV3PN.js');
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkW4PTQKTAjs.applicationGenerator; exports.applicationSchematic = _chunkW4PTQKTAjs.applicationSchematic; exports.default = _chunkW4PTQKTAjs.generator_default;
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
5
|
+
} from "../../../chunk-XNGDXT7A.mjs";
|
|
6
|
+
import "../../../chunk-C7WPY7XT.mjs";
|
|
6
7
|
import "../../../chunk-NDCCQODD.mjs";
|
|
7
8
|
import "../../../chunk-76TM4A24.mjs";
|
|
8
|
-
import "../../../chunk-C7WPY7XT.mjs";
|
|
9
9
|
import "../../../chunk-6UC2RMLH.mjs";
|
|
10
10
|
export {
|
|
11
11
|
applicationGenerator,
|
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.140",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
6
6
|
"keywords": [
|
|
@@ -137,9 +137,9 @@
|
|
|
137
137
|
"@nx/js": "22.7.1",
|
|
138
138
|
"@nx/node": "22.5.1",
|
|
139
139
|
"@nx/web": "22.5.1",
|
|
140
|
-
"@storm-software/config": "1.137.
|
|
141
|
-
"@storm-software/config-tools": "1.190.
|
|
142
|
-
"@storm-software/workspace-tools": "1.295.
|
|
140
|
+
"@storm-software/config": "1.137.39",
|
|
141
|
+
"@storm-software/config-tools": "1.190.6",
|
|
142
|
+
"@storm-software/workspace-tools": "1.295.66",
|
|
143
143
|
"nx": "22.7.1",
|
|
144
144
|
"tsup": "8.4.0",
|
|
145
145
|
"wrangler": ">=3.58.0"
|
|
@@ -155,5 +155,5 @@
|
|
|
155
155
|
"publishConfig": { "access": "public" },
|
|
156
156
|
"executors": "./executors.json",
|
|
157
157
|
"generators": "./generators.json",
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "0156312b2f7b27223734e49a41834c30314ae10a"
|
|
159
159
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
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 _chunkDJTQV3PNjs = require('./chunk-DJTQV3PN.js');
|
|
3
4
|
|
|
4
|
-
var _chunkM67NVAFNjs = require('./chunk-M67NVAFN.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
var _chunkM67NVAFNjs = require('./chunk-M67NVAFN.js');
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
|
|
13
|
-
var _chunkX4EH7JKIjs = require('./chunk-X4EH7JKI.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkX4EH7JKIjs = require('./chunk-X4EH7JKI.js');
|
|
17
17
|
|
|
18
18
|
// src/generators/worker/generator.ts
|
|
19
19
|
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
generator_default
|
|
3
|
+
} from "./chunk-C7WPY7XT.mjs";
|
|
1
4
|
import {
|
|
2
5
|
findWorkspaceRoot,
|
|
3
6
|
getConfig
|
|
@@ -11,9 +14,6 @@ import {
|
|
|
11
14
|
writeInfo,
|
|
12
15
|
writeTrace
|
|
13
16
|
} from "./chunk-76TM4A24.mjs";
|
|
14
|
-
import {
|
|
15
|
-
generator_default
|
|
16
|
-
} from "./chunk-C7WPY7XT.mjs";
|
|
17
17
|
import {
|
|
18
18
|
__dirname
|
|
19
19
|
} from "./chunk-6UC2RMLH.mjs";
|