@storm-software/cloudflare-tools 0.71.12 → 0.71.13
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 +8 -0
- package/dist/{chunk-F6IVLZIC.js → chunk-HWGGRR3Y.js} +2 -2
- package/dist/{chunk-MAE2ZXHO.mjs → chunk-IG57VHT6.mjs} +18 -13
- package/dist/{chunk-T6V63PPD.js → chunk-PBIYDCVZ.js} +18 -13
- package/dist/{chunk-LVH5M4ZY.mjs → chunk-T74Z7LCN.mjs} +1 -1
- package/dist/{chunk-IOQZNUPE.js → chunk-UY2WTOQG.js} +4 -4
- package/dist/{chunk-YILGYTQ4.mjs → chunk-ZASFPAJZ.mjs} +4 -4
- package/dist/executors.js +1 -1
- package/dist/executors.mjs +1 -1
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/src/executors/r2-upload-publish/executor.js +2 -2
- package/dist/src/executors/r2-upload-publish/executor.mjs +1 -1
- 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 +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.71.12](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.12) (12/08/2025)
|
|
6
|
+
|
|
7
|
+
### Updated Dependencies
|
|
8
|
+
|
|
9
|
+
- Updated **workspace-tools** to **v1.294.5**
|
|
10
|
+
- Updated **config-tools** to **v1.188.61**
|
|
11
|
+
- Updated **config** to **v1.134.61**
|
|
12
|
+
|
|
5
13
|
## [0.71.11](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.11) (12/08/2025)
|
|
6
14
|
|
|
7
15
|
### Bug Fixes
|
|
@@ -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 _chunkUY2WTOQGjs = require('./chunk-UY2WTOQG.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 _chunkUY2WTOQGjs.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
import { glob } from "glob";
|
|
29
29
|
import mime from "mime-types";
|
|
30
30
|
import { execSync } from "node:child_process";
|
|
31
|
+
import { statSync } from "node:fs";
|
|
31
32
|
import { readFile } from "node:fs/promises";
|
|
32
33
|
async function runExecutor(options, context) {
|
|
33
34
|
const isDryRun = process.env.NX_DRY_RUN === "true" || options.dryRun || false;
|
|
@@ -186,19 +187,23 @@ ${metaJson}`);
|
|
|
186
187
|
}
|
|
187
188
|
await Promise.all(
|
|
188
189
|
files.map(async (file) => {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
190
|
+
if (statSync(file, {
|
|
191
|
+
throwIfNoEntry: false
|
|
192
|
+
})?.isFile()) {
|
|
193
|
+
const name = correctPaths(file).replace(correctPaths(basePath), "");
|
|
194
|
+
const type = mime.lookup(name) || "application/octet-stream";
|
|
195
|
+
writeTrace(`Uploading file: ${name} (content-type: ${type})`);
|
|
196
|
+
await r2UploadFile(
|
|
197
|
+
client,
|
|
198
|
+
bucketId,
|
|
199
|
+
bucketPath,
|
|
200
|
+
name,
|
|
201
|
+
version,
|
|
202
|
+
await readFile(file, { encoding: "utf8" }),
|
|
203
|
+
type,
|
|
204
|
+
isDryRun
|
|
205
|
+
);
|
|
206
|
+
}
|
|
202
207
|
})
|
|
203
208
|
);
|
|
204
209
|
writeSuccess(
|
|
@@ -28,6 +28,7 @@ var _devkit = require('@nx/devkit');
|
|
|
28
28
|
var _glob = require('glob');
|
|
29
29
|
var _mimetypes = require('mime-types'); var _mimetypes2 = _interopRequireDefault(_mimetypes);
|
|
30
30
|
var _child_process = require('child_process');
|
|
31
|
+
var _fs = require('fs');
|
|
31
32
|
var _promises = require('fs/promises');
|
|
32
33
|
async function runExecutor(options, context) {
|
|
33
34
|
const isDryRun = process.env.NX_DRY_RUN === "true" || options.dryRun || false;
|
|
@@ -186,19 +187,23 @@ ${metaJson}`);
|
|
|
186
187
|
}
|
|
187
188
|
await Promise.all(
|
|
188
189
|
files.map(async (file) => {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
190
|
+
if (_optionalChain([_fs.statSync.call(void 0, file, {
|
|
191
|
+
throwIfNoEntry: false
|
|
192
|
+
}), 'optionalAccess', _25 => _25.isFile, 'call', _26 => _26()])) {
|
|
193
|
+
const name = _chunkZ2WQB55Rjs.correctPaths.call(void 0, file).replace(_chunkZ2WQB55Rjs.correctPaths.call(void 0, basePath), "");
|
|
194
|
+
const type = _mimetypes2.default.lookup(name) || "application/octet-stream";
|
|
195
|
+
_chunkZ2WQB55Rjs.writeTrace.call(void 0, `Uploading file: ${name} (content-type: ${type})`);
|
|
196
|
+
await _chunkUAKLE2QOjs.r2UploadFile.call(void 0,
|
|
197
|
+
client,
|
|
198
|
+
bucketId,
|
|
199
|
+
bucketPath,
|
|
200
|
+
name,
|
|
201
|
+
version,
|
|
202
|
+
await _promises.readFile.call(void 0, file, { encoding: "utf8" }),
|
|
203
|
+
type,
|
|
204
|
+
isDryRun
|
|
205
|
+
);
|
|
206
|
+
}
|
|
202
207
|
})
|
|
203
208
|
);
|
|
204
209
|
_chunkZ2WQB55Rjs.writeSuccess.call(void 0,
|
|
@@ -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.12",
|
|
11
11
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
12
12
|
repository: {
|
|
13
13
|
type: "github",
|
|
@@ -136,9 +136,9 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
|
|
|
136
136
|
"@nx/js": "catalog:",
|
|
137
137
|
"@nx/node": "catalog:",
|
|
138
138
|
"@nx/web": "catalog:",
|
|
139
|
-
"@storm-software/config": "1.134.
|
|
140
|
-
"@storm-software/config-tools": "1.188.
|
|
141
|
-
"@storm-software/workspace-tools": "1.294.
|
|
139
|
+
"@storm-software/config": "1.134.61",
|
|
140
|
+
"@storm-software/config-tools": "1.188.61",
|
|
141
|
+
"@storm-software/workspace-tools": "1.294.5",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
|
@@ -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.12",
|
|
11
11
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
12
12
|
repository: {
|
|
13
13
|
type: "github",
|
|
@@ -136,9 +136,9 @@ var require_package = __commonJS({
|
|
|
136
136
|
"@nx/js": "catalog:",
|
|
137
137
|
"@nx/node": "catalog:",
|
|
138
138
|
"@nx/web": "catalog:",
|
|
139
|
-
"@storm-software/config": "1.134.
|
|
140
|
-
"@storm-software/config-tools": "1.188.
|
|
141
|
-
"@storm-software/workspace-tools": "1.294.
|
|
139
|
+
"@storm-software/config": "1.134.61",
|
|
140
|
+
"@storm-software/config-tools": "1.188.61",
|
|
141
|
+
"@storm-software/workspace-tools": "1.294.5",
|
|
142
142
|
nx: "catalog:",
|
|
143
143
|
tsup: "catalog:",
|
|
144
144
|
wrangler: ">=3.58.0"
|
package/dist/executors.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
2
|
require('./chunk-QBD2OGUY.js');
|
|
3
3
|
require('./chunk-J5JJZJO5.js');
|
|
4
|
-
require('./chunk-
|
|
4
|
+
require('./chunk-PBIYDCVZ.js');
|
|
5
5
|
require('./chunk-UAKLE2QO.js');
|
|
6
6
|
require('./chunk-N7FW365Q.js');
|
|
7
7
|
require('./chunk-VKMAYBQX.js');
|
package/dist/executors.mjs
CHANGED
package/dist/generators.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkHWGGRR3Yjs = require('./chunk-HWGGRR3Y.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkUY2WTOQGjs = require('./chunk-UY2WTOQG.js');
|
|
10
10
|
require('./chunk-VKMAYBQX.js');
|
|
11
11
|
require('./chunk-Z2WQB55R.js');
|
|
12
12
|
require('./chunk-MCKGQKYU.js');
|
|
@@ -15,4 +15,4 @@ require('./chunk-MCKGQKYU.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkHWGGRR3Yjs.applicationGenerator; exports.applicationSchematic = _chunkHWGGRR3Yjs.applicationSchematic; exports.initGenerator = _chunkUY2WTOQGjs.initGenerator; exports.initSchematic = _chunkUY2WTOQGjs.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-T74Z7LCN.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZASFPAJZ.mjs";
|
|
10
10
|
import "./chunk-SGTAZO2Q.mjs";
|
|
11
11
|
import "./chunk-TPNHSNNZ.mjs";
|
|
12
12
|
import "./chunk-TYYFTZLS.mjs";
|
package/dist/index.js
CHANGED
|
@@ -3,15 +3,15 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkHWGGRR3Yjs = require('./chunk-HWGGRR3Y.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkUY2WTOQGjs = require('./chunk-UY2WTOQG.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-QBD2OGUY.js');
|
|
13
13
|
require('./chunk-J5JJZJO5.js');
|
|
14
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-PBIYDCVZ.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -155,4 +155,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
exports.applicationGenerator =
|
|
158
|
+
exports.applicationGenerator = _chunkHWGGRR3Yjs.applicationGenerator; exports.applicationSchematic = _chunkHWGGRR3Yjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkUAKLE2QOjs.getInternalDependencies; exports.initGenerator = _chunkUY2WTOQGjs.initGenerator; exports.initSchematic = _chunkUY2WTOQGjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkUAKLE2QOjs.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -3,15 +3,15 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
applicationGenerator,
|
|
5
5
|
applicationSchematic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T74Z7LCN.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZASFPAJZ.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
12
|
import "./chunk-F6FHDDUJ.mjs";
|
|
13
13
|
import "./chunk-FWIGE74R.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-IG57VHT6.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
17
17
|
r2UploadFile
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkPBIYDCVZjs = require('../../../chunk-PBIYDCVZ.js');
|
|
4
4
|
require('../../../chunk-UAKLE2QO.js');
|
|
5
5
|
require('../../../chunk-N7FW365Q.js');
|
|
6
6
|
require('../../../chunk-VKMAYBQX.js');
|
|
@@ -8,4 +8,4 @@ require('../../../chunk-Z2WQB55R.js');
|
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkPBIYDCVZjs.runExecutor;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkUY2WTOQGjs = require('../../../chunk-UY2WTOQG.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkUY2WTOQGjs.generator_default; exports.initGenerator = _chunkUY2WTOQGjs.initGenerator; exports.initSchematic = _chunkUY2WTOQGjs.initSchematic;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkHWGGRR3Yjs = require('../../../chunk-HWGGRR3Y.js');
|
|
6
|
+
require('../../../chunk-UY2WTOQG.js');
|
|
7
7
|
require('../../../chunk-VKMAYBQX.js');
|
|
8
8
|
require('../../../chunk-Z2WQB55R.js');
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
@@ -11,4 +11,4 @@ require('../../../chunk-MCKGQKYU.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkHWGGRR3Yjs.applicationGenerator; exports.applicationSchematic = _chunkHWGGRR3Yjs.applicationSchematic; exports.default = _chunkHWGGRR3Yjs.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-T74Z7LCN.mjs";
|
|
6
|
+
import "../../../chunk-ZASFPAJZ.mjs";
|
|
7
7
|
import "../../../chunk-SGTAZO2Q.mjs";
|
|
8
8
|
import "../../../chunk-TPNHSNNZ.mjs";
|
|
9
9
|
import "../../../chunk-TYYFTZLS.mjs";
|
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.13",
|
|
4
4
|
"description": "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
"@nx/js": "^22.1.3",
|
|
118
118
|
"@nx/node": "^22.1.3",
|
|
119
119
|
"@nx/web": "^22.1.3",
|
|
120
|
-
"@storm-software/config": "1.134.
|
|
121
|
-
"@storm-software/config-tools": "1.188.
|
|
122
|
-
"@storm-software/workspace-tools": "1.294.
|
|
120
|
+
"@storm-software/config": "1.134.61",
|
|
121
|
+
"@storm-software/config-tools": "1.188.61",
|
|
122
|
+
"@storm-software/workspace-tools": "1.294.5",
|
|
123
123
|
"nx": "^22.1.3",
|
|
124
124
|
"tsup": "8.4.0",
|
|
125
125
|
"wrangler": ">=3.58.0"
|
|
@@ -151,5 +151,5 @@
|
|
|
151
151
|
"publishConfig": { "access": "public" },
|
|
152
152
|
"executors": "./executors.json",
|
|
153
153
|
"generators": "./generators.json",
|
|
154
|
-
"gitHead": "
|
|
154
|
+
"gitHead": "8d71eaf37ce5ce8925bdd8a23af534d3adb786ef"
|
|
155
155
|
}
|