@storm-software/cloudflare-tools 0.71.24 → 0.71.25
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 +13 -0
- package/dist/{chunk-2UGNQSIZ.js → chunk-4YO62FZR.js} +28 -20
- package/dist/{chunk-TNUSTPPB.mjs → chunk-5Q7AA7NZ.mjs} +2 -2
- package/dist/{chunk-7RMJ56AS.js → chunk-AAK4343T.js} +2 -2
- package/dist/{chunk-NG7NVFNF.js → chunk-CNDGMWIX.js} +2 -2
- package/dist/{chunk-M2N5CL5V.mjs → chunk-DU7SPVRQ.mjs} +13 -10
- package/dist/{chunk-XNUQXOE3.mjs → chunk-EUGCYITK.mjs} +1 -1
- package/dist/{chunk-P6WO67UU.mjs → chunk-KDYREYFA.mjs} +25 -17
- package/dist/{chunk-2A2OE6L4.js → chunk-RJXIDZI4.js} +13 -10
- package/dist/{chunk-ZSPFNYXC.js → chunk-RLL4TKJF.js} +4 -4
- package/dist/{chunk-742JJR5A.mjs → chunk-SNF7EFGO.mjs} +4 -4
- package/dist/executors.js +3 -3
- package/dist/executors.mjs +3 -3
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +5 -5
- package/dist/src/executors/r2-upload-publish/executor.js +4 -4
- package/dist/src/executors/r2-upload-publish/executor.mjs +3 -3
- 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/utils/http-handler.js +2 -2
- package/dist/src/utils/http-handler.mjs +1 -1
- package/dist/src/utils/index.js +2 -2
- package/dist/src/utils/index.mjs +1 -1
- package/dist/src/utils/r2-bucket-helpers.d.mts +2 -2
- package/dist/src/utils/r2-bucket-helpers.d.ts +2 -2
- package/dist/src/utils/r2-bucket-helpers.js +2 -2
- package/dist/src/utils/r2-bucket-helpers.mjs +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.71.24](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.24) (12/17/2025)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **cloudflare-tools:** Increase timeout on upload to 45 minutes
|
|
10
|
+
([0ee87295f](https://github.com/storm-software/storm-ops/commit/0ee87295f))
|
|
11
|
+
- **monorepo:** Format generated schema files for Nx plugins
|
|
12
|
+
([828fdbc29](https://github.com/storm-software/storm-ops/commit/828fdbc29))
|
|
13
|
+
|
|
14
|
+
### Updated Dependencies
|
|
15
|
+
|
|
16
|
+
- Updated **workspace-tools** to **v1.294.15**
|
|
17
|
+
|
|
5
18
|
## [0.71.23](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.23) (12/17/2025)
|
|
6
19
|
|
|
7
20
|
### Updated Dependencies
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunkRLL4TKJFjs = require('./chunk-RLL4TKJF.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkRJXIDZI4js = require('./chunk-RJXIDZI4.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -23,6 +23,10 @@ var _chunk5GILNZWSjs = require('./chunk-5GILNZWS.js');
|
|
|
23
23
|
var _chunkZ2WQB55Rjs = require('./chunk-Z2WQB55R.js');
|
|
24
24
|
|
|
25
25
|
// src/executors/r2-upload-publish/executor.ts
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
26
30
|
var _clients3 = require('@aws-sdk/client-s3');
|
|
27
31
|
|
|
28
32
|
|
|
@@ -90,7 +94,7 @@ async function runExecutor(options, context) {
|
|
|
90
94
|
_chunkZ2WQB55Rjs.writeDebug.call(void 0,
|
|
91
95
|
`Publishing ${context.projectName} to the ${bucketId} R2 Bucket (at ${registry})`
|
|
92
96
|
);
|
|
93
|
-
const client = new (0, _clients3.
|
|
97
|
+
const client = new (0, _clients3.S3Client)({
|
|
94
98
|
region: "auto",
|
|
95
99
|
endpoint: registry,
|
|
96
100
|
credentials: {
|
|
@@ -99,7 +103,7 @@ async function runExecutor(options, context) {
|
|
|
99
103
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
100
104
|
secretAccessKey: process.env.STORM_BOT_SECRET_ACCESS_KEY || process.env.CLOUDFLARE_SECRET_ACCESS_KEY || process.env.AWS_SECRET_ACCESS_KEY || process.env.SECRET_ACCESS_KEY
|
|
101
105
|
},
|
|
102
|
-
requestHandler:
|
|
106
|
+
requestHandler: _chunkRLL4TKJFjs.createHttpHandler.call(void 0, )
|
|
103
107
|
});
|
|
104
108
|
const version = _optionalChain([projectDetails, 'optionalAccess', _13 => _13.content, 'optionalAccess', _14 => _14.version]);
|
|
105
109
|
if (version) {
|
|
@@ -109,7 +113,7 @@ async function runExecutor(options, context) {
|
|
|
109
113
|
const files = await _glob.glob.call(void 0, _chunkZ2WQB55Rjs.joinPaths.call(void 0, basePath, "**/*"), {
|
|
110
114
|
ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
|
|
111
115
|
});
|
|
112
|
-
const internalDependencies = await
|
|
116
|
+
const internalDependencies = await _chunkRJXIDZI4js.getInternalDependencies.call(void 0,
|
|
113
117
|
context.projectName,
|
|
114
118
|
projectGraph
|
|
115
119
|
);
|
|
@@ -125,23 +129,27 @@ async function runExecutor(options, context) {
|
|
|
125
129
|
if (options.clean === true) {
|
|
126
130
|
_chunkZ2WQB55Rjs.writeDebug.call(void 0, `Clearing out existing items in ${bucketPath}`);
|
|
127
131
|
if (!isDryRun) {
|
|
128
|
-
const response = await client.
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
const response = await client.send(
|
|
133
|
+
new (0, _clients3.ListObjectsCommand)({
|
|
134
|
+
Bucket: bucketId,
|
|
135
|
+
Prefix: !bucketPath || bucketPath === "/" ? void 0 : bucketPath
|
|
136
|
+
})
|
|
137
|
+
);
|
|
132
138
|
if (_optionalChain([response, 'optionalAccess', _17 => _17.Contents]) && response.Contents.length > 0) {
|
|
133
139
|
_chunkZ2WQB55Rjs.writeTrace.call(void 0,
|
|
134
140
|
`Deleting the following existing items from the R2 bucket path ${bucketPath}: ${response.Contents.map((item) => item.Key).join(", ")}`
|
|
135
141
|
);
|
|
136
|
-
await client.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
await client.send(
|
|
143
|
+
new (0, _clients3.DeleteObjectsCommand)({
|
|
144
|
+
Bucket: bucketId,
|
|
145
|
+
Delete: {
|
|
146
|
+
Objects: response.Contents.map((item) => ({
|
|
147
|
+
Key: item.Key
|
|
148
|
+
})),
|
|
149
|
+
Quiet: false
|
|
150
|
+
}
|
|
151
|
+
})
|
|
152
|
+
);
|
|
145
153
|
} else {
|
|
146
154
|
_chunkZ2WQB55Rjs.writeDebug.call(void 0,
|
|
147
155
|
`No existing items to delete in the R2 bucket path ${bucketPath}`
|
|
@@ -169,7 +177,7 @@ async function runExecutor(options, context) {
|
|
|
169
177
|
if (_optionalChain([projectDetails, 'optionalAccess', _22 => _22.type]) === "package.json") {
|
|
170
178
|
meta.devDependencies = _optionalChain([projectDetails, 'optionalAccess', _23 => _23.content, 'optionalAccess', _24 => _24.devDependencies]);
|
|
171
179
|
}
|
|
172
|
-
await
|
|
180
|
+
await _chunkRJXIDZI4js.uploadFile.call(void 0,
|
|
173
181
|
client,
|
|
174
182
|
bucketId,
|
|
175
183
|
bucketPath,
|
|
@@ -187,7 +195,7 @@ async function runExecutor(options, context) {
|
|
|
187
195
|
}), 'optionalAccess', _25 => _25.isFile, 'call', _26 => _26()])) {
|
|
188
196
|
const name = _chunkZ2WQB55Rjs.correctPaths.call(void 0, file).replace(_chunkZ2WQB55Rjs.correctPaths.call(void 0, basePath), "");
|
|
189
197
|
const type = _mimetypes2.default.lookup(name) || "application/octet-stream";
|
|
190
|
-
await
|
|
198
|
+
await _chunkRJXIDZI4js.uploadFile.call(void 0,
|
|
191
199
|
client,
|
|
192
200
|
bucketId,
|
|
193
201
|
bucketPath,
|
|
@@ -7,7 +7,7 @@ var require_package = __commonJS({
|
|
|
7
7
|
"package.json"(exports, module) {
|
|
8
8
|
module.exports = {
|
|
9
9
|
name: "@storm-software/cloudflare-tools",
|
|
10
|
-
version: "0.71.
|
|
10
|
+
version: "0.71.24",
|
|
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",
|
|
@@ -138,7 +138,7 @@ var require_package = __commonJS({
|
|
|
138
138
|
"@nx/web": "catalog:",
|
|
139
139
|
"@storm-software/config": "1.134.69",
|
|
140
140
|
"@storm-software/config-tools": "1.188.69",
|
|
141
|
-
"@storm-software/workspace-tools": "1.294.
|
|
141
|
+
"@storm-software/workspace-tools": "1.294.15",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
|
@@ -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 _chunkCNDGMWIXjs = require('./chunk-CNDGMWIX.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 _chunkCNDGMWIXjs.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
|
@@ -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.24",
|
|
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",
|
|
@@ -138,7 +138,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
|
|
|
138
138
|
"@nx/web": "catalog:",
|
|
139
139
|
"@storm-software/config": "1.134.69",
|
|
140
140
|
"@storm-software/config-tools": "1.188.69",
|
|
141
|
-
"@storm-software/workspace-tools": "1.294.
|
|
141
|
+
"@storm-software/workspace-tools": "1.294.15",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-TPNHSNNZ.mjs";
|
|
6
6
|
|
|
7
7
|
// src/utils/r2-bucket-helpers.ts
|
|
8
|
+
import { PutObjectCommand } from "@aws-sdk/client-s3";
|
|
8
9
|
import { createHash } from "node:crypto";
|
|
9
10
|
async function uploadFile(client, bucketName, bucketPath, fileName, version, fileContent, contentType = "application/octet-stream", isDryRun = false) {
|
|
10
11
|
const key = (!bucketPath?.trim() || bucketPath?.trim() === "/" ? fileName : joinPaths(bucketPath.trim(), fileName))?.replace(/^\/+/g, "") || "";
|
|
@@ -12,16 +13,18 @@ async function uploadFile(client, bucketName, bucketPath, fileName, version, fil
|
|
|
12
13
|
`Uploading ${key} (content-type: ${contentType}) to the ${bucketName} R2 bucket`
|
|
13
14
|
);
|
|
14
15
|
if (!isDryRun) {
|
|
15
|
-
await client.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
await client.send(
|
|
17
|
+
new PutObjectCommand({
|
|
18
|
+
Bucket: bucketName,
|
|
19
|
+
Key: key,
|
|
20
|
+
Body: fileContent,
|
|
21
|
+
ContentType: contentType,
|
|
22
|
+
Metadata: {
|
|
23
|
+
version,
|
|
24
|
+
checksum: createHash("sha256").update(fileContent).digest("base64")
|
|
25
|
+
}
|
|
26
|
+
})
|
|
27
|
+
);
|
|
25
28
|
} else {
|
|
26
29
|
writeWarning("[Dry run]: Skipping upload to the R2 bucket.");
|
|
27
30
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createHttpHandler
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SNF7EFGO.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getInternalDependencies,
|
|
6
6
|
uploadFile
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DU7SPVRQ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
createCliOptions,
|
|
10
10
|
getPackageInfo
|
|
@@ -23,7 +23,11 @@ import {
|
|
|
23
23
|
} from "./chunk-TPNHSNNZ.mjs";
|
|
24
24
|
|
|
25
25
|
// src/executors/r2-upload-publish/executor.ts
|
|
26
|
-
import {
|
|
26
|
+
import {
|
|
27
|
+
DeleteObjectsCommand,
|
|
28
|
+
ListObjectsCommand,
|
|
29
|
+
S3Client
|
|
30
|
+
} from "@aws-sdk/client-s3";
|
|
27
31
|
import {
|
|
28
32
|
createProjectGraphAsync,
|
|
29
33
|
readCachedProjectGraph
|
|
@@ -90,7 +94,7 @@ async function runExecutor(options, context) {
|
|
|
90
94
|
writeDebug(
|
|
91
95
|
`Publishing ${context.projectName} to the ${bucketId} R2 Bucket (at ${registry})`
|
|
92
96
|
);
|
|
93
|
-
const client = new
|
|
97
|
+
const client = new S3Client({
|
|
94
98
|
region: "auto",
|
|
95
99
|
endpoint: registry,
|
|
96
100
|
credentials: {
|
|
@@ -125,23 +129,27 @@ async function runExecutor(options, context) {
|
|
|
125
129
|
if (options.clean === true) {
|
|
126
130
|
writeDebug(`Clearing out existing items in ${bucketPath}`);
|
|
127
131
|
if (!isDryRun) {
|
|
128
|
-
const response = await client.
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
const response = await client.send(
|
|
133
|
+
new ListObjectsCommand({
|
|
134
|
+
Bucket: bucketId,
|
|
135
|
+
Prefix: !bucketPath || bucketPath === "/" ? void 0 : bucketPath
|
|
136
|
+
})
|
|
137
|
+
);
|
|
132
138
|
if (response?.Contents && response.Contents.length > 0) {
|
|
133
139
|
writeTrace(
|
|
134
140
|
`Deleting the following existing items from the R2 bucket path ${bucketPath}: ${response.Contents.map((item) => item.Key).join(", ")}`
|
|
135
141
|
);
|
|
136
|
-
await client.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
await client.send(
|
|
143
|
+
new DeleteObjectsCommand({
|
|
144
|
+
Bucket: bucketId,
|
|
145
|
+
Delete: {
|
|
146
|
+
Objects: response.Contents.map((item) => ({
|
|
147
|
+
Key: item.Key
|
|
148
|
+
})),
|
|
149
|
+
Quiet: false
|
|
150
|
+
}
|
|
151
|
+
})
|
|
152
|
+
);
|
|
145
153
|
} else {
|
|
146
154
|
writeDebug(
|
|
147
155
|
`No existing items to delete in the R2 bucket path ${bucketPath}`
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
var _chunkZ2WQB55Rjs = require('./chunk-Z2WQB55R.js');
|
|
6
6
|
|
|
7
7
|
// src/utils/r2-bucket-helpers.ts
|
|
8
|
+
var _clients3 = require('@aws-sdk/client-s3');
|
|
8
9
|
var _crypto = require('crypto');
|
|
9
10
|
async function uploadFile(client, bucketName, bucketPath, fileName, version, fileContent, contentType = "application/octet-stream", isDryRun = false) {
|
|
10
11
|
const key = _optionalChain([(!_optionalChain([bucketPath, 'optionalAccess', _ => _.trim, 'call', _2 => _2()]) || _optionalChain([bucketPath, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]) === "/" ? fileName : _chunkZ2WQB55Rjs.joinPaths.call(void 0, bucketPath.trim(), fileName)), 'optionalAccess', _5 => _5.replace, 'call', _6 => _6(/^\/+/g, "")]) || "";
|
|
@@ -12,16 +13,18 @@ async function uploadFile(client, bucketName, bucketPath, fileName, version, fil
|
|
|
12
13
|
`Uploading ${key} (content-type: ${contentType}) to the ${bucketName} R2 bucket`
|
|
13
14
|
);
|
|
14
15
|
if (!isDryRun) {
|
|
15
|
-
await client.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
await client.send(
|
|
17
|
+
new (0, _clients3.PutObjectCommand)({
|
|
18
|
+
Bucket: bucketName,
|
|
19
|
+
Key: key,
|
|
20
|
+
Body: fileContent,
|
|
21
|
+
ContentType: contentType,
|
|
22
|
+
Metadata: {
|
|
23
|
+
version,
|
|
24
|
+
checksum: _crypto.createHash.call(void 0, "sha256").update(fileContent).digest("base64")
|
|
25
|
+
}
|
|
26
|
+
})
|
|
27
|
+
);
|
|
25
28
|
} else {
|
|
26
29
|
_chunkZ2WQB55Rjs.writeWarning.call(void 0, "[Dry run]: Skipping upload to the R2 bucket.");
|
|
27
30
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
var _nodehttphandler = require('@smithy/node-http-handler');
|
|
3
3
|
function createHttpHandler() {
|
|
4
4
|
return _nodehttphandler.NodeHttpHandler.create({
|
|
5
|
-
connectionTimeout:
|
|
6
|
-
//
|
|
7
|
-
requestTimeout:
|
|
8
|
-
//
|
|
5
|
+
connectionTimeout: 5 * 60 * 1e3,
|
|
6
|
+
// 5 minutes
|
|
7
|
+
requestTimeout: 5 * 60 * 1e3
|
|
8
|
+
// 5 minutes
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { NodeHttpHandler } from "@smithy/node-http-handler";
|
|
3
3
|
function createHttpHandler() {
|
|
4
4
|
return NodeHttpHandler.create({
|
|
5
|
-
connectionTimeout:
|
|
6
|
-
//
|
|
7
|
-
requestTimeout:
|
|
8
|
-
//
|
|
5
|
+
connectionTimeout: 5 * 60 * 1e3,
|
|
6
|
+
// 5 minutes
|
|
7
|
+
requestTimeout: 5 * 60 * 1e3
|
|
8
|
+
// 5 minutes
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
|
package/dist/executors.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
|
-
require('./chunk-
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
2
|
+
require('./chunk-4YO62FZR.js');
|
|
3
|
+
require('./chunk-RLL4TKJF.js');
|
|
4
|
+
require('./chunk-RJXIDZI4.js');
|
|
5
5
|
require('./chunk-QBD2OGUY.js');
|
|
6
6
|
require('./chunk-IVVRVG36.js');
|
|
7
7
|
require('./chunk-N7FW365Q.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-KDYREYFA.mjs";
|
|
3
|
+
import "./chunk-SNF7EFGO.mjs";
|
|
4
|
+
import "./chunk-DU7SPVRQ.mjs";
|
|
5
5
|
import "./chunk-WFPKBGV3.mjs";
|
|
6
6
|
import "./chunk-NIOOY3TB.mjs";
|
|
7
7
|
import "./chunk-3MAI3FU2.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkAAK4343Tjs = require('./chunk-AAK4343T.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkCNDGMWIXjs = require('./chunk-CNDGMWIX.js');
|
|
10
10
|
require('./chunk-5GILNZWS.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 = _chunkAAK4343Tjs.applicationGenerator; exports.applicationSchematic = _chunkAAK4343Tjs.applicationSchematic; exports.initGenerator = _chunkCNDGMWIXjs.initGenerator; exports.initSchematic = _chunkCNDGMWIXjs.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-EUGCYITK.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5Q7AA7NZ.mjs";
|
|
10
10
|
import "./chunk-G4ZCI2MN.mjs";
|
|
11
11
|
import "./chunk-TPNHSNNZ.mjs";
|
|
12
12
|
import "./chunk-PALWHFOL.mjs";
|
package/dist/index.js
CHANGED
|
@@ -1,20 +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-
|
|
2
|
+
require('./chunk-4YO62FZR.js');
|
|
3
3
|
require('./chunk-DHBG5ASJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkAAK4343Tjs = require('./chunk-AAK4343T.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
11
|
+
var _chunkCNDGMWIXjs = require('./chunk-CNDGMWIX.js');
|
|
12
|
+
require('./chunk-RLL4TKJF.js');
|
|
13
13
|
require('./chunk-CVGPWUNP.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkRJXIDZI4js = require('./chunk-RJXIDZI4.js');
|
|
18
18
|
require('./chunk-QBD2OGUY.js');
|
|
19
19
|
require('./chunk-IVVRVG36.js');
|
|
20
20
|
|
|
@@ -156,4 +156,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
|
|
159
|
-
exports.applicationGenerator =
|
|
159
|
+
exports.applicationGenerator = _chunkAAK4343Tjs.applicationGenerator; exports.applicationSchematic = _chunkAAK4343Tjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkRJXIDZI4js.getInternalDependencies; exports.initGenerator = _chunkCNDGMWIXjs.initGenerator; exports.initSchematic = _chunkCNDGMWIXjs.initSchematic; exports.name = name; exports.uploadFile = _chunkRJXIDZI4js.uploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-KDYREYFA.mjs";
|
|
3
3
|
import "./chunk-3J7KBHMJ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
applicationGenerator,
|
|
6
6
|
applicationSchematic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EUGCYITK.mjs";
|
|
8
8
|
import {
|
|
9
9
|
initGenerator,
|
|
10
10
|
initSchematic
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-5Q7AA7NZ.mjs";
|
|
12
|
+
import "./chunk-SNF7EFGO.mjs";
|
|
13
13
|
import "./chunk-7Z5PILRU.mjs";
|
|
14
14
|
import {
|
|
15
15
|
getInternalDependencies,
|
|
16
16
|
uploadFile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DU7SPVRQ.mjs";
|
|
18
18
|
import "./chunk-WFPKBGV3.mjs";
|
|
19
19
|
import "./chunk-NIOOY3TB.mjs";
|
|
20
20
|
import {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
3
|
+
var _chunk4YO62FZRjs = require('../../../chunk-4YO62FZR.js');
|
|
4
|
+
require('../../../chunk-RLL4TKJF.js');
|
|
5
|
+
require('../../../chunk-RJXIDZI4.js');
|
|
6
6
|
require('../../../chunk-N7FW365Q.js');
|
|
7
7
|
require('../../../chunk-5GILNZWS.js');
|
|
8
8
|
require('../../../chunk-Z2WQB55R.js');
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunk4YO62FZRjs.runExecutor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-KDYREYFA.mjs";
|
|
4
|
+
import "../../../chunk-SNF7EFGO.mjs";
|
|
5
|
+
import "../../../chunk-DU7SPVRQ.mjs";
|
|
6
6
|
import "../../../chunk-3MAI3FU2.mjs";
|
|
7
7
|
import "../../../chunk-G4ZCI2MN.mjs";
|
|
8
8
|
import "../../../chunk-TPNHSNNZ.mjs";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkCNDGMWIXjs = require('../../../chunk-CNDGMWIX.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkCNDGMWIXjs.generator_default; exports.initGenerator = _chunkCNDGMWIXjs.initGenerator; exports.initSchematic = _chunkCNDGMWIXjs.initSchematic;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkAAK4343Tjs = require('../../../chunk-AAK4343T.js');
|
|
6
|
+
require('../../../chunk-CNDGMWIX.js');
|
|
7
7
|
require('../../../chunk-5GILNZWS.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 = _chunkAAK4343Tjs.applicationGenerator; exports.applicationSchematic = _chunkAAK4343Tjs.applicationSchematic; exports.default = _chunkAAK4343Tjs.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-EUGCYITK.mjs";
|
|
6
|
+
import "../../../chunk-5Q7AA7NZ.mjs";
|
|
7
7
|
import "../../../chunk-G4ZCI2MN.mjs";
|
|
8
8
|
import "../../../chunk-TPNHSNNZ.mjs";
|
|
9
9
|
import "../../../chunk-PALWHFOL.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkRLL4TKJFjs = require('../../chunk-RLL4TKJF.js');
|
|
4
4
|
require('../../chunk-MCKGQKYU.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.createHttpHandler =
|
|
7
|
+
exports.createHttpHandler = _chunkRLL4TKJFjs.createHttpHandler;
|
package/dist/src/utils/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkRJXIDZI4js = require('../../chunk-RJXIDZI4.js');
|
|
6
6
|
require('../../chunk-Z2WQB55R.js');
|
|
7
7
|
require('../../chunk-MCKGQKYU.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.getInternalDependencies =
|
|
11
|
+
exports.getInternalDependencies = _chunkRJXIDZI4js.getInternalDependencies; exports.uploadFile = _chunkRJXIDZI4js.uploadFile;
|
package/dist/src/utils/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S3Client } from '@aws-sdk/client-s3';
|
|
2
2
|
import { ProjectGraph, ProjectGraphProjectNode } from '@nx/devkit';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -13,7 +13,7 @@ import { ProjectGraph, ProjectGraphProjectNode } from '@nx/devkit';
|
|
|
13
13
|
* @param contentType - The MIME type of the file content
|
|
14
14
|
* @param isDryRun - Whether to perform a dry run without actual upload
|
|
15
15
|
*/
|
|
16
|
-
declare function uploadFile(client:
|
|
16
|
+
declare function uploadFile(client: S3Client, bucketName: string, bucketPath: string | undefined, fileName: string, version: string, fileContent: string, contentType?: string, isDryRun?: boolean): Promise<void>;
|
|
17
17
|
/**
|
|
18
18
|
* Get internal dependencies of a project from the project graph
|
|
19
19
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S3Client } from '@aws-sdk/client-s3';
|
|
2
2
|
import { ProjectGraph, ProjectGraphProjectNode } from '@nx/devkit';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -13,7 +13,7 @@ import { ProjectGraph, ProjectGraphProjectNode } from '@nx/devkit';
|
|
|
13
13
|
* @param contentType - The MIME type of the file content
|
|
14
14
|
* @param isDryRun - Whether to perform a dry run without actual upload
|
|
15
15
|
*/
|
|
16
|
-
declare function uploadFile(client:
|
|
16
|
+
declare function uploadFile(client: S3Client, bucketName: string, bucketPath: string | undefined, fileName: string, version: string, fileContent: string, contentType?: string, isDryRun?: boolean): Promise<void>;
|
|
17
17
|
/**
|
|
18
18
|
* Get internal dependencies of a project from the project graph
|
|
19
19
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkRJXIDZI4js = require('../../chunk-RJXIDZI4.js');
|
|
5
5
|
require('../../chunk-Z2WQB55R.js');
|
|
6
6
|
require('../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.getInternalDependencies =
|
|
10
|
+
exports.getInternalDependencies = _chunkRJXIDZI4js.getInternalDependencies; exports.uploadFile = _chunkRJXIDZI4js.uploadFile;
|
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.25",
|
|
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",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"@nx/web": "^22.2.3",
|
|
120
120
|
"@storm-software/config": "1.134.69",
|
|
121
121
|
"@storm-software/config-tools": "1.188.69",
|
|
122
|
-
"@storm-software/workspace-tools": "1.294.
|
|
122
|
+
"@storm-software/workspace-tools": "1.294.15",
|
|
123
123
|
"nx": "^22.2.3",
|
|
124
124
|
"tsup": "8.4.0",
|
|
125
125
|
"wrangler": ">=3.58.0"
|
|
@@ -153,5 +153,5 @@
|
|
|
153
153
|
"publishConfig": { "access": "public" },
|
|
154
154
|
"executors": "./executors.json",
|
|
155
155
|
"generators": "./generators.json",
|
|
156
|
-
"gitHead": "
|
|
156
|
+
"gitHead": "380dba14b8f5fde2b8bb29c0a5ba1f0dbda7b784"
|
|
157
157
|
}
|