@storm-software/cloudflare-tools 0.71.210 → 0.71.212
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 +19 -1
- package/README.md +7 -7
- package/dist/{chunk-MZFOPOSA.mjs → chunk-3Z2F7VN4.mjs} +1 -1
- package/dist/{chunk-2UW4WAHW.js → chunk-6KDWHW2G.js} +29 -1
- package/dist/{chunk-37JKGWKW.mjs → chunk-6Z2WUPYH.mjs} +4 -4
- package/dist/{chunk-F5RW4AZL.mjs → chunk-CSTZEHUP.mjs} +2 -73
- package/dist/chunk-E52DON6Y.mjs +132 -0
- package/dist/{chunk-75CHHXTR.js → chunk-E5RARE7E.js} +2 -2
- package/dist/chunk-E7ITICBK.js +77 -0
- package/dist/chunk-FBLD25X4.js +93 -0
- package/dist/{chunk-O7L7SGHE.js → chunk-KUGKM6MY.js} +5 -5
- package/dist/{chunk-LBHXS7RE.js → chunk-O327KKPU.js} +2 -2
- package/dist/{chunk-FEGLXQK4.mjs → chunk-OL24QIXM.mjs} +1 -1
- package/dist/chunk-T6GKRQUF.mjs +77 -0
- package/dist/{chunk-TNVZ6KHS.mjs → chunk-U6OMVOFA.mjs} +1 -1
- package/dist/{chunk-5KJIDUNK.mjs → chunk-UUTVNCRX.mjs} +29 -1
- package/dist/chunk-VJLWHQ5B.js +132 -0
- package/dist/{chunk-U7XMCD6Y.js → chunk-XB6S7S3C.js} +3 -3
- package/dist/executors.js +5 -4
- package/dist/executors.mjs +5 -4
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.d.mts +2 -6
- package/dist/index.d.ts +2 -6
- package/dist/index.js +23 -144
- package/dist/index.mjs +11 -132
- package/dist/src/executors/cloudflare-publish/executor.js +5 -4
- package/dist/src/executors/cloudflare-publish/executor.mjs +4 -3
- package/dist/src/executors/r2-upload-publish/executor.js +4 -3
- package/dist/src/executors/r2-upload-publish/executor.mjs +3 -2
- package/dist/src/executors/r2-upload-publish/untyped.d.mts +5 -0
- package/dist/src/executors/r2-upload-publish/untyped.d.ts +5 -0
- package/dist/src/executors/r2-upload-publish/untyped.js +86 -0
- package/dist/src/executors/r2-upload-publish/untyped.mjs +86 -0
- package/dist/src/executors/serve/executor.js +5 -4
- package/dist/src/executors/serve/executor.mjs +3 -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/dist/src/plugins/index.d.mts +6 -0
- package/dist/src/plugins/index.d.ts +6 -0
- package/dist/src/plugins/index.js +10 -0
- package/dist/src/plugins/index.mjs +10 -0
- package/package.json +33 -5
- package/dist/chunk-XKQ3HGET.js +0 -164
- package/dist/tsup.config.d.mts +0 -5
- package/dist/tsup.config.d.ts +0 -5
- package/dist/tsup.config.js +0 -31
- package/dist/tsup.config.mjs +0 -31
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-U6OMVOFA.mjs";
|
|
3
3
|
import "./chunk-3J7KBHMJ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
applicationGenerator,
|
|
6
6
|
applicationSchematic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3Z2F7VN4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
initGenerator,
|
|
10
10
|
initSchematic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UUTVNCRX.mjs";
|
|
12
|
+
import {
|
|
13
|
+
createNodesV2,
|
|
14
|
+
name
|
|
15
|
+
} from "./chunk-E52DON6Y.mjs";
|
|
12
16
|
import "./chunk-SWYYMID7.mjs";
|
|
13
17
|
import "./chunk-7Z5PILRU.mjs";
|
|
14
18
|
import {
|
|
@@ -17,138 +21,13 @@ import {
|
|
|
17
21
|
isTextFile,
|
|
18
22
|
uploadFile
|
|
19
23
|
} from "./chunk-BY7MA3SM.mjs";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import
|
|
23
|
-
ProjectTagConstants,
|
|
24
|
-
addProjectTag
|
|
25
|
-
} from "./chunk-F5RW4AZL.mjs";
|
|
24
|
+
import "./chunk-OL24QIXM.mjs";
|
|
25
|
+
import "./chunk-6Z2WUPYH.mjs";
|
|
26
|
+
import "./chunk-T6GKRQUF.mjs";
|
|
26
27
|
import "./chunk-5MAMLVMV.mjs";
|
|
28
|
+
import "./chunk-CSTZEHUP.mjs";
|
|
27
29
|
import "./chunk-K4H5ZMYA.mjs";
|
|
28
30
|
import "./chunk-5RBVGYWH.mjs";
|
|
29
|
-
|
|
30
|
-
// src/plugins/index.ts
|
|
31
|
-
import {
|
|
32
|
-
createNodesFromFiles
|
|
33
|
-
} from "@nx/devkit";
|
|
34
|
-
import defu from "defu";
|
|
35
|
-
import { existsSync } from "node:fs";
|
|
36
|
-
import { dirname, join } from "node:path";
|
|
37
|
-
import { readJsonFile } from "nx/src/utils/fileutils";
|
|
38
|
-
var name = "storm-software/cloudflare-tools/cloudflare";
|
|
39
|
-
var createNodesV2 = [
|
|
40
|
-
"{**/wrangler.toml}",
|
|
41
|
-
async (configFiles, options = { includeApps: true }, context) => {
|
|
42
|
-
return await createNodesFromFiles(
|
|
43
|
-
async (file, options2, context2) => {
|
|
44
|
-
try {
|
|
45
|
-
const packageJson = createPackageJson(file, context2.workspaceRoot);
|
|
46
|
-
if (!packageJson) {
|
|
47
|
-
return {};
|
|
48
|
-
}
|
|
49
|
-
const project = createProjectFromPackageJsonNextToProjectJson(
|
|
50
|
-
file,
|
|
51
|
-
packageJson
|
|
52
|
-
);
|
|
53
|
-
const targets = {};
|
|
54
|
-
targets["serve"] = {
|
|
55
|
-
cache: false,
|
|
56
|
-
inputs: ["typescript", "^production"],
|
|
57
|
-
dependsOn: ["build"],
|
|
58
|
-
executor: "@storm-software/cloudflare-tools:serve",
|
|
59
|
-
options: {
|
|
60
|
-
port: 4500
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
targets["clean-package"] = {
|
|
64
|
-
cache: true,
|
|
65
|
-
dependsOn: ["build"],
|
|
66
|
-
inputs: ["typescript", "^production"],
|
|
67
|
-
outputs: ["{workspaceRoot}/dist/{projectRoot}"],
|
|
68
|
-
executor: "@storm-software/workspace-tools:clean-package",
|
|
69
|
-
options: {
|
|
70
|
-
cleanReadMe: true,
|
|
71
|
-
cleanComments: true
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
targets["nx-release-publish"] = {
|
|
75
|
-
cache: false,
|
|
76
|
-
inputs: ["typescript", "^production"],
|
|
77
|
-
dependsOn: ["clean-package", "^nx-release-publish"],
|
|
78
|
-
executor: "@storm-software/cloudflare-tools:cloudflare-publish",
|
|
79
|
-
options: {}
|
|
80
|
-
};
|
|
81
|
-
addProjectTag(
|
|
82
|
-
project,
|
|
83
|
-
ProjectTagConstants.ProjectType.TAG_ID,
|
|
84
|
-
project.projectType === "application" ? ProjectTagConstants.ProjectType.APPLICATION : ProjectTagConstants.ProjectType.LIBRARY,
|
|
85
|
-
{ overwrite: true }
|
|
86
|
-
);
|
|
87
|
-
addProjectTag(
|
|
88
|
-
project,
|
|
89
|
-
ProjectTagConstants.DistStyle.TAG_ID,
|
|
90
|
-
ProjectTagConstants.DistStyle.CLEAN,
|
|
91
|
-
{ overwrite: true }
|
|
92
|
-
);
|
|
93
|
-
addProjectTag(
|
|
94
|
-
project,
|
|
95
|
-
ProjectTagConstants.Provider.TAG_ID,
|
|
96
|
-
"cloudflare",
|
|
97
|
-
{
|
|
98
|
-
overwrite: true
|
|
99
|
-
}
|
|
100
|
-
);
|
|
101
|
-
const projects = {};
|
|
102
|
-
const externalNodes = {};
|
|
103
|
-
projects[project.root] = defu(
|
|
104
|
-
{
|
|
105
|
-
targets,
|
|
106
|
-
release: {
|
|
107
|
-
version: {
|
|
108
|
-
versionActions: "@storm-software/workspace-tools/release/js-release-actions"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
project
|
|
113
|
-
);
|
|
114
|
-
return {
|
|
115
|
-
projects,
|
|
116
|
-
externalNodes
|
|
117
|
-
};
|
|
118
|
-
} catch (e) {
|
|
119
|
-
console.error(e);
|
|
120
|
-
return {};
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
configFiles,
|
|
124
|
-
options,
|
|
125
|
-
context
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
];
|
|
129
|
-
function createProjectFromPackageJsonNextToProjectJson(projectJsonPath, packageJson) {
|
|
130
|
-
const { nx, name: name2 } = packageJson;
|
|
131
|
-
const root = dirname(projectJsonPath);
|
|
132
|
-
return {
|
|
133
|
-
...nx,
|
|
134
|
-
name: name2,
|
|
135
|
-
root,
|
|
136
|
-
targets: {}
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
140
|
-
try {
|
|
141
|
-
const root = dirname(projectJsonPath);
|
|
142
|
-
const packageJsonPath = join(workspaceRoot, root, "package.json");
|
|
143
|
-
if (!existsSync(packageJsonPath)) {
|
|
144
|
-
return null;
|
|
145
|
-
}
|
|
146
|
-
return readJsonFile(packageJsonPath);
|
|
147
|
-
} catch (e) {
|
|
148
|
-
console.log(e);
|
|
149
|
-
return null;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
31
|
export {
|
|
153
32
|
applicationGenerator,
|
|
154
33
|
applicationSchematic,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkO327KKPUjs = require('../../../chunk-O327KKPU.js');
|
|
4
|
+
require('../../../chunk-KUGKM6MY.js');
|
|
5
|
+
require('../../../chunk-E7ITICBK.js');
|
|
6
6
|
require('../../../chunk-PGTHXO6M.js');
|
|
7
|
+
require('../../../chunk-FBLD25X4.js');
|
|
7
8
|
require('../../../chunk-AWKQRM2H.js');
|
|
8
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
exports.default =
|
|
12
|
+
exports.default = _chunkO327KKPUjs.runExecutor;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-OL24QIXM.mjs";
|
|
4
|
+
import "../../../chunk-6Z2WUPYH.mjs";
|
|
5
|
+
import "../../../chunk-T6GKRQUF.mjs";
|
|
6
6
|
import "../../../chunk-5MAMLVMV.mjs";
|
|
7
|
+
import "../../../chunk-CSTZEHUP.mjs";
|
|
7
8
|
import "../../../chunk-K4H5ZMYA.mjs";
|
|
8
9
|
import "../../../chunk-5RBVGYWH.mjs";
|
|
9
10
|
export {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkXB6S7S3Cjs = require('../../../chunk-XB6S7S3C.js');
|
|
4
4
|
require('../../../chunk-KUGEZPUO.js');
|
|
5
5
|
require('../../../chunk-CLCKX6UN.js');
|
|
6
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-E7ITICBK.js');
|
|
7
7
|
require('../../../chunk-PGTHXO6M.js');
|
|
8
|
+
require('../../../chunk-FBLD25X4.js');
|
|
8
9
|
require('../../../chunk-AWKQRM2H.js');
|
|
9
10
|
require('../../../chunk-MCKGQKYU.js');
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
exports.default =
|
|
13
|
+
exports.default = _chunkXB6S7S3Cjs.runExecutor;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-U6OMVOFA.mjs";
|
|
4
4
|
import "../../../chunk-SWYYMID7.mjs";
|
|
5
5
|
import "../../../chunk-BY7MA3SM.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-T6GKRQUF.mjs";
|
|
7
7
|
import "../../../chunk-5MAMLVMV.mjs";
|
|
8
|
+
import "../../../chunk-CSTZEHUP.mjs";
|
|
8
9
|
import "../../../chunk-K4H5ZMYA.mjs";
|
|
9
10
|
import "../../../chunk-5RBVGYWH.mjs";
|
|
10
11
|
export {
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../../chunk-MCKGQKYU.js');
|
|
2
|
+
|
|
3
|
+
// src/executors/r2-upload-publish/untyped.ts
|
|
4
|
+
var _untyped = require('untyped');
|
|
5
|
+
var untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
6
|
+
$schema: {
|
|
7
|
+
id: "R2UploadPublishExecutorSchema",
|
|
8
|
+
title: "R2 Upload Publish Executor",
|
|
9
|
+
description: "A type definition for the R2 Upload Publish executor schema",
|
|
10
|
+
requires: ["path", "bucketId", "bucketPath"]
|
|
11
|
+
},
|
|
12
|
+
path: {
|
|
13
|
+
$schema: {
|
|
14
|
+
title: "Local Uploads File Path",
|
|
15
|
+
type: "string",
|
|
16
|
+
format: "path",
|
|
17
|
+
description: "The base path to the files that will be uploaded to the R2 bucket"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
registry: {
|
|
21
|
+
$schema: {
|
|
22
|
+
title: "Registry",
|
|
23
|
+
type: "string",
|
|
24
|
+
description: "The registry URL to publish to"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
bucketId: {
|
|
28
|
+
$schema: {
|
|
29
|
+
title: "Bucket ID",
|
|
30
|
+
type: "string",
|
|
31
|
+
description: "The ID of the R2 bucket"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
bucketPath: {
|
|
35
|
+
$schema: {
|
|
36
|
+
title: "Bucket Path",
|
|
37
|
+
type: "string",
|
|
38
|
+
format: "path",
|
|
39
|
+
description: "The path in the R2 bucket to upload files to"
|
|
40
|
+
},
|
|
41
|
+
$default: "/"
|
|
42
|
+
},
|
|
43
|
+
tag: {
|
|
44
|
+
$schema: {
|
|
45
|
+
title: "Tag",
|
|
46
|
+
type: "string",
|
|
47
|
+
description: "The tag to publish with"
|
|
48
|
+
},
|
|
49
|
+
$default: "latest"
|
|
50
|
+
},
|
|
51
|
+
writeMetaJson: {
|
|
52
|
+
$schema: {
|
|
53
|
+
title: "Write Meta JSON",
|
|
54
|
+
type: "boolean",
|
|
55
|
+
description: "Write a `meta.json` file to the upload bucket"
|
|
56
|
+
},
|
|
57
|
+
$default: false
|
|
58
|
+
},
|
|
59
|
+
clean: {
|
|
60
|
+
$schema: {
|
|
61
|
+
title: "Clean",
|
|
62
|
+
type: "boolean",
|
|
63
|
+
description: "Clean the bucket before uploading files"
|
|
64
|
+
},
|
|
65
|
+
$default: false
|
|
66
|
+
},
|
|
67
|
+
verbose: {
|
|
68
|
+
$schema: {
|
|
69
|
+
title: "Verbose",
|
|
70
|
+
type: "boolean",
|
|
71
|
+
description: "Enable verbose logging"
|
|
72
|
+
},
|
|
73
|
+
$default: false
|
|
74
|
+
},
|
|
75
|
+
dryRun: {
|
|
76
|
+
$schema: {
|
|
77
|
+
title: "Dry Run",
|
|
78
|
+
type: "boolean",
|
|
79
|
+
description: "Perform a dry run"
|
|
80
|
+
},
|
|
81
|
+
$default: false
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
exports.default = untyped_default;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import "../../../chunk-5RBVGYWH.mjs";
|
|
2
|
+
|
|
3
|
+
// src/executors/r2-upload-publish/untyped.ts
|
|
4
|
+
import { defineUntypedSchema } from "untyped";
|
|
5
|
+
var untyped_default = defineUntypedSchema({
|
|
6
|
+
$schema: {
|
|
7
|
+
id: "R2UploadPublishExecutorSchema",
|
|
8
|
+
title: "R2 Upload Publish Executor",
|
|
9
|
+
description: "A type definition for the R2 Upload Publish executor schema",
|
|
10
|
+
requires: ["path", "bucketId", "bucketPath"]
|
|
11
|
+
},
|
|
12
|
+
path: {
|
|
13
|
+
$schema: {
|
|
14
|
+
title: "Local Uploads File Path",
|
|
15
|
+
type: "string",
|
|
16
|
+
format: "path",
|
|
17
|
+
description: "The base path to the files that will be uploaded to the R2 bucket"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
registry: {
|
|
21
|
+
$schema: {
|
|
22
|
+
title: "Registry",
|
|
23
|
+
type: "string",
|
|
24
|
+
description: "The registry URL to publish to"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
bucketId: {
|
|
28
|
+
$schema: {
|
|
29
|
+
title: "Bucket ID",
|
|
30
|
+
type: "string",
|
|
31
|
+
description: "The ID of the R2 bucket"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
bucketPath: {
|
|
35
|
+
$schema: {
|
|
36
|
+
title: "Bucket Path",
|
|
37
|
+
type: "string",
|
|
38
|
+
format: "path",
|
|
39
|
+
description: "The path in the R2 bucket to upload files to"
|
|
40
|
+
},
|
|
41
|
+
$default: "/"
|
|
42
|
+
},
|
|
43
|
+
tag: {
|
|
44
|
+
$schema: {
|
|
45
|
+
title: "Tag",
|
|
46
|
+
type: "string",
|
|
47
|
+
description: "The tag to publish with"
|
|
48
|
+
},
|
|
49
|
+
$default: "latest"
|
|
50
|
+
},
|
|
51
|
+
writeMetaJson: {
|
|
52
|
+
$schema: {
|
|
53
|
+
title: "Write Meta JSON",
|
|
54
|
+
type: "boolean",
|
|
55
|
+
description: "Write a `meta.json` file to the upload bucket"
|
|
56
|
+
},
|
|
57
|
+
$default: false
|
|
58
|
+
},
|
|
59
|
+
clean: {
|
|
60
|
+
$schema: {
|
|
61
|
+
title: "Clean",
|
|
62
|
+
type: "boolean",
|
|
63
|
+
description: "Clean the bucket before uploading files"
|
|
64
|
+
},
|
|
65
|
+
$default: false
|
|
66
|
+
},
|
|
67
|
+
verbose: {
|
|
68
|
+
$schema: {
|
|
69
|
+
title: "Verbose",
|
|
70
|
+
type: "boolean",
|
|
71
|
+
description: "Enable verbose logging"
|
|
72
|
+
},
|
|
73
|
+
$default: false
|
|
74
|
+
},
|
|
75
|
+
dryRun: {
|
|
76
|
+
$schema: {
|
|
77
|
+
title: "Dry Run",
|
|
78
|
+
type: "boolean",
|
|
79
|
+
description: "Perform a dry run"
|
|
80
|
+
},
|
|
81
|
+
$default: false
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
export {
|
|
85
|
+
untyped_default as default
|
|
86
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
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 _chunkKUGKM6MYjs = require('../../../chunk-KUGKM6MY.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkE7ITICBKjs = require('../../../chunk-E7ITICBK.js');
|
|
7
7
|
require('../../../chunk-PGTHXO6M.js');
|
|
8
|
+
require('../../../chunk-FBLD25X4.js');
|
|
8
9
|
require('../../../chunk-AWKQRM2H.js');
|
|
9
10
|
|
|
10
11
|
|
|
@@ -19,7 +20,7 @@ async function* serveExecutor(options, context) {
|
|
|
19
20
|
throw new Error("Nx executor context was invalid");
|
|
20
21
|
}
|
|
21
22
|
const projectRoot = context.projectsConfigurations.projects[context.projectName].root;
|
|
22
|
-
const wranglerOptions =
|
|
23
|
+
const wranglerOptions = _chunkE7ITICBKjs.createCliOptions.call(void 0, { ...options });
|
|
23
24
|
const wranglerBin = _chunkMCKGQKYUjs.__require.resolve("wrangler/bin/wrangler");
|
|
24
25
|
yield* _asynciterable.createAsyncIterable.call(void 0,
|
|
25
26
|
async ({ done, next, error }) => {
|
|
@@ -55,7 +56,7 @@ async function* serveExecutor(options, context) {
|
|
|
55
56
|
success: true
|
|
56
57
|
};
|
|
57
58
|
}
|
|
58
|
-
var executor_default =
|
|
59
|
+
var executor_default = _chunkKUGKM6MYjs.withRunExecutor.call(void 0,
|
|
59
60
|
"Cloudflare Serve executor",
|
|
60
61
|
serveExecutor,
|
|
61
62
|
{
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-6Z2WUPYH.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
|
-
} from "../../../chunk-
|
|
6
|
+
} from "../../../chunk-T6GKRQUF.mjs";
|
|
7
7
|
import "../../../chunk-5MAMLVMV.mjs";
|
|
8
|
+
import "../../../chunk-CSTZEHUP.mjs";
|
|
8
9
|
import "../../../chunk-K4H5ZMYA.mjs";
|
|
9
10
|
import {
|
|
10
11
|
__require
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk6KDWHW2Gjs = require('../../../chunk-6KDWHW2G.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunk6KDWHW2Gjs.generator_default; exports.initGenerator = _chunk6KDWHW2Gjs.initGenerator; exports.initSchematic = _chunk6KDWHW2Gjs.initSchematic;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkE5RARE7Ejs = require('../../../chunk-E5RARE7E.js');
|
|
6
|
+
require('../../../chunk-6KDWHW2G.js');
|
|
7
7
|
require('../../../chunk-PGTHXO6M.js');
|
|
8
8
|
require('../../../chunk-AWKQRM2H.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 = _chunkE5RARE7Ejs.applicationGenerator; exports.applicationSchematic = _chunkE5RARE7Ejs.applicationSchematic; exports.default = _chunkE5RARE7Ejs.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-3Z2F7VN4.mjs";
|
|
6
|
+
import "../../../chunk-UUTVNCRX.mjs";
|
|
7
7
|
import "../../../chunk-5MAMLVMV.mjs";
|
|
8
8
|
import "../../../chunk-K4H5ZMYA.mjs";
|
|
9
9
|
import "../../../chunk-5RBVGYWH.mjs";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkVJLWHQ5Bjs = require('../../chunk-VJLWHQ5B.js');
|
|
5
|
+
require('../../chunk-FBLD25X4.js');
|
|
6
|
+
require('../../chunk-MCKGQKYU.js');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.createNodesV2 = _chunkVJLWHQ5Bjs.createNodesV2; exports.name = _chunkVJLWHQ5Bjs.name;
|
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.212",
|
|
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": [
|
|
@@ -63,6 +63,20 @@
|
|
|
63
63
|
"default": "./dist/executors.js"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
+
"./executors/*": {
|
|
67
|
+
"import": {
|
|
68
|
+
"types": "./dist/src/executors/*.d.mts",
|
|
69
|
+
"default": "./dist/src/executors/*.mjs"
|
|
70
|
+
},
|
|
71
|
+
"require": {
|
|
72
|
+
"types": "./dist/src/executors/*.d.ts",
|
|
73
|
+
"default": "./dist/src/executors/*.js"
|
|
74
|
+
},
|
|
75
|
+
"default": {
|
|
76
|
+
"types": "./dist/src/executors/*.d.ts",
|
|
77
|
+
"default": "./dist/src/executors/*.js"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
66
80
|
"./generators": {
|
|
67
81
|
"import": {
|
|
68
82
|
"types": "./dist/generators.d.mts",
|
|
@@ -77,6 +91,20 @@
|
|
|
77
91
|
"default": "./dist/generators.js"
|
|
78
92
|
}
|
|
79
93
|
},
|
|
94
|
+
"./generators/*": {
|
|
95
|
+
"import": {
|
|
96
|
+
"types": "./dist/src/generators/*.d.mts",
|
|
97
|
+
"default": "./dist/src/generators/*.mjs"
|
|
98
|
+
},
|
|
99
|
+
"require": {
|
|
100
|
+
"types": "./dist/src/generators/*.d.ts",
|
|
101
|
+
"default": "./dist/src/generators/*.js"
|
|
102
|
+
},
|
|
103
|
+
"default": {
|
|
104
|
+
"types": "./dist/src/generators/*.d.ts",
|
|
105
|
+
"default": "./dist/src/generators/*.js"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
80
108
|
"./utils": {
|
|
81
109
|
"import": {
|
|
82
110
|
"types": "./dist/src/utils/index.d.mts",
|
|
@@ -116,9 +144,9 @@
|
|
|
116
144
|
"@aws-sdk/client-s3": "^3.1068.0",
|
|
117
145
|
"@aws-sdk/lib-storage": "^3.1068.0",
|
|
118
146
|
"@smithy/node-http-handler": "^4.7.8",
|
|
119
|
-
"@storm-software/config": "1.138.
|
|
120
|
-
"@storm-software/config-tools": "1.190.
|
|
121
|
-
"@storm-software/workspace-tools": "1.296.
|
|
147
|
+
"@storm-software/config": "1.138.6",
|
|
148
|
+
"@storm-software/config-tools": "1.190.69",
|
|
149
|
+
"@storm-software/workspace-tools": "1.296.49",
|
|
122
150
|
"defu": "^6.1.7",
|
|
123
151
|
"glob": "^11.1.0",
|
|
124
152
|
"mime-types": "^3.0.2",
|
|
@@ -143,5 +171,5 @@
|
|
|
143
171
|
"publishConfig": { "access": "public" },
|
|
144
172
|
"executors": "./executors.json",
|
|
145
173
|
"generators": "./generators.json",
|
|
146
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "5e767e625b4b6646f1cfc91a939c375a1aecd9ef"
|
|
147
175
|
}
|