@storm-software/cloudflare-tools 0.55.65 → 0.55.67
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 +16 -0
- package/README.md +2 -1
- package/dist/{chunk-4KLMKQMN.mjs → chunk-2FAHL7XD.mjs} +2 -2
- package/dist/{chunk-NGKRYZY2.mjs → chunk-3ESJSOQV.mjs} +9 -7
- package/dist/{chunk-XPLMFM2J.mjs → chunk-3RLBM7SP.mjs} +1 -1
- package/dist/{chunk-UQLMM4XV.js → chunk-4O3YATGZ.js} +10 -1
- package/dist/{chunk-PFHP5EL7.mjs → chunk-5VCVZQT4.mjs} +2 -2
- package/dist/{chunk-2YQVZSHO.js → chunk-6B5PUF7X.js} +8 -2
- package/dist/{chunk-65QGIJV4.mjs → chunk-AMOQ2QRI.mjs} +17 -8
- package/dist/{chunk-6YO5XRT2.mjs → chunk-IEYD3WT2.mjs} +1 -1
- package/dist/{chunk-U2DL5OU3.mjs → chunk-IGW2CIUT.mjs} +2 -2
- package/dist/{chunk-7TRJIJ2N.mjs → chunk-KMLUC6Q2.mjs} +4 -4
- package/dist/{chunk-U5WWE2HS.mjs → chunk-LEJPLULT.mjs} +1 -1
- package/dist/{chunk-DWDJDH7W.js → chunk-PGCJTAXN.js} +8 -6
- package/dist/{chunk-NNDGLEEI.js → chunk-U2WGDK2E.js} +2 -2
- package/dist/{chunk-YV555N5S.mjs → chunk-W2PVKWMH.mjs} +14 -8
- package/dist/executors.js +2 -2
- package/dist/executors.mjs +8 -8
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +5 -5
- package/dist/index.js +5 -5
- package/dist/index.mjs +10 -10
- package/dist/src/executors/cloudflare-publish/executor.js +1 -1
- package/dist/src/executors/cloudflare-publish/executor.mjs +6 -6
- package/dist/src/executors/r2-upload-publish/executor.js +2 -2
- package/dist/src/executors/r2-upload-publish/executor.mjs +6 -6
- package/dist/src/executors/serve/executor.d.mts +2 -1300
- package/dist/src/executors/serve/executor.d.ts +2 -1300
- package/dist/src/executors/serve/executor.js +2 -2
- package/dist/src/executors/serve/executor.mjs +5 -5
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +2 -2
- package/dist/src/generators/worker/generator.js +3 -3
- package/dist/src/generators/worker/generator.mjs +5 -5
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
- package/dist/tsup.config.d.mts +3 -3
- package/dist/tsup.config.d.ts +3 -3
- package/dist/tsup.config.js +2 -1
- package/dist/tsup.config.mjs +3 -2
- package/package.json +8 -9
|
@@ -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 _chunk4O3YATGZjs = require('../../../chunk-4O3YATGZ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkVTHBMY4Bjs = require('../../../chunk-VTHBMY4B.js');
|
|
@@ -60,7 +60,7 @@ async function* serveExecutor(options, context, config) {
|
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
_chunkJ5SB6L2Ljs.__name.call(void 0, serveExecutor, "serveExecutor");
|
|
63
|
-
var executor_default =
|
|
63
|
+
var executor_default = _chunk4O3YATGZjs.withRunExecutor.call(void 0, "Cloudflare Serve executor", serveExecutor, {
|
|
64
64
|
skipReadingConfig: false,
|
|
65
65
|
hooks: {
|
|
66
66
|
applyDefaultOptions: /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-AMOQ2QRI.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
|
-
} from "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
6
|
+
} from "../../../chunk-3RLBM7SP.mjs";
|
|
7
|
+
import "../../../chunk-2FAHL7XD.mjs";
|
|
8
|
+
import "../../../chunk-LEJPLULT.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__name,
|
|
11
11
|
__require
|
|
12
|
-
} from "../../../chunk-
|
|
12
|
+
} from "../../../chunk-IEYD3WT2.mjs";
|
|
13
13
|
|
|
14
14
|
// src/executors/serve/executor.ts
|
|
15
15
|
import { createAsyncIterable } from "@nx/devkit/src/utils/async-iterable";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkPGCJTAXNjs = require('../../../chunk-PGCJTAXN.js');
|
|
6
6
|
require('../../../chunk-J5SB6L2L.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkPGCJTAXNjs.generator_default; exports.initGenerator = _chunkPGCJTAXNjs.initGenerator; exports.initSchematic = _chunkPGCJTAXNjs.initSchematic;
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
generator_default,
|
|
3
3
|
initGenerator,
|
|
4
4
|
initSchematic
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-3ESJSOQV.mjs";
|
|
6
|
+
import "../../../chunk-IEYD3WT2.mjs";
|
|
7
7
|
export {
|
|
8
8
|
generator_default as default,
|
|
9
9
|
initGenerator,
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkU2WGDK2Ejs = require('../../../chunk-U2WGDK2E.js');
|
|
6
|
+
require('../../../chunk-PGCJTAXN.js');
|
|
7
7
|
require('../../../chunk-IVLCYFXD.js');
|
|
8
8
|
require('../../../chunk-V7LBWOVV.js');
|
|
9
9
|
require('../../../chunk-J5SB6L2L.js');
|
|
@@ -11,4 +11,4 @@ require('../../../chunk-J5SB6L2L.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkU2WGDK2Ejs.applicationGenerator; exports.applicationSchematic = _chunkU2WGDK2Ejs.applicationSchematic; exports.default = _chunkU2WGDK2Ejs.generator_default;
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-KMLUC6Q2.mjs";
|
|
6
|
+
import "../../../chunk-3ESJSOQV.mjs";
|
|
7
|
+
import "../../../chunk-2FAHL7XD.mjs";
|
|
8
|
+
import "../../../chunk-LEJPLULT.mjs";
|
|
9
|
+
import "../../../chunk-IEYD3WT2.mjs";
|
|
10
10
|
export {
|
|
11
11
|
applicationGenerator,
|
|
12
12
|
applicationSchematic,
|
package/dist/src/utils/index.mjs
CHANGED
|
@@ -2,9 +2,9 @@ import "../../chunk-7Z5PILRU.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
getInternalDependencies,
|
|
4
4
|
r2UploadFile
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-IGW2CIUT.mjs";
|
|
6
|
+
import "../../chunk-LEJPLULT.mjs";
|
|
7
|
+
import "../../chunk-IEYD3WT2.mjs";
|
|
8
8
|
export {
|
|
9
9
|
getInternalDependencies,
|
|
10
10
|
r2UploadFile
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInternalDependencies,
|
|
3
3
|
r2UploadFile
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-IGW2CIUT.mjs";
|
|
5
|
+
import "../../chunk-LEJPLULT.mjs";
|
|
6
|
+
import "../../chunk-IEYD3WT2.mjs";
|
|
7
7
|
export {
|
|
8
8
|
getInternalDependencies,
|
|
9
9
|
r2UploadFile
|
package/dist/tsup.config.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Options } from 'tsup';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const config: Options;
|
|
4
4
|
|
|
5
|
-
export {
|
|
5
|
+
export { config as default };
|
package/dist/tsup.config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Options } from 'tsup';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const config: Options;
|
|
4
4
|
|
|
5
|
-
export {
|
|
5
|
+
export { config as default };
|
package/dist/tsup.config.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
// tsup.config.ts
|
|
4
4
|
var _tsup = require('tsup');
|
|
5
|
-
var
|
|
5
|
+
var config = _tsup.defineConfig.call(void 0, [
|
|
6
6
|
{
|
|
7
7
|
name: "cloudflare-tools",
|
|
8
8
|
target: "node22",
|
|
@@ -30,6 +30,7 @@ var tsup_config_default = _tsup.defineConfig.call(void 0, [
|
|
|
30
30
|
]
|
|
31
31
|
}
|
|
32
32
|
]);
|
|
33
|
+
var tsup_config_default = config;
|
|
33
34
|
|
|
34
35
|
|
|
35
36
|
exports.default = tsup_config_default;
|
package/dist/tsup.config.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-IEYD3WT2.mjs";
|
|
2
2
|
|
|
3
3
|
// tsup.config.ts
|
|
4
4
|
import { defineConfig } from "tsup";
|
|
5
|
-
var
|
|
5
|
+
var config = defineConfig([
|
|
6
6
|
{
|
|
7
7
|
name: "cloudflare-tools",
|
|
8
8
|
target: "node22",
|
|
@@ -30,6 +30,7 @@ var tsup_config_default = defineConfig([
|
|
|
30
30
|
]
|
|
31
31
|
}
|
|
32
32
|
]);
|
|
33
|
+
var tsup_config_default = config;
|
|
33
34
|
export {
|
|
34
35
|
tsup_config_default as default
|
|
35
36
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.67",
|
|
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",
|
|
@@ -114,10 +114,14 @@
|
|
|
114
114
|
],
|
|
115
115
|
"peerDependencies": {
|
|
116
116
|
"@nx/devkit": "20.8.0",
|
|
117
|
+
"@nx/js": "20.8.0",
|
|
117
118
|
"@nx/node": "20.8.0",
|
|
118
119
|
"@nx/web": "20.8.0",
|
|
119
|
-
"@
|
|
120
|
+
"@storm-software/config": "1.113.5",
|
|
121
|
+
"@storm-software/config-tools": "1.163.5",
|
|
122
|
+
"@storm-software/workspace-tools": "1.267.0",
|
|
120
123
|
"nx": "20.8.0",
|
|
124
|
+
"tsup": "8.4.0",
|
|
121
125
|
"wrangler": ">=3.58.0"
|
|
122
126
|
},
|
|
123
127
|
"peerDependenciesMeta": {
|
|
@@ -128,12 +132,7 @@
|
|
|
128
132
|
"nx": { "optional": false },
|
|
129
133
|
"wrangler": { "optional": false }
|
|
130
134
|
},
|
|
131
|
-
"dependencies": {
|
|
132
|
-
"@aws-sdk/client-s3": "3.47.0",
|
|
133
|
-
"c12": "^2.0.0-beta.2",
|
|
134
|
-
"glob": "^11.0.1",
|
|
135
|
-
"jest-resolve": "29.7.0"
|
|
136
|
-
},
|
|
135
|
+
"dependencies": { "@aws-sdk/client-s3": "3.47.0", "glob": "^11.0.1" },
|
|
137
136
|
"devDependencies": {
|
|
138
137
|
"@nx/devkit": "20.8.0",
|
|
139
138
|
"@nx/node": "20.8.0",
|
|
@@ -142,7 +141,7 @@
|
|
|
142
141
|
"nx": "20.8.0",
|
|
143
142
|
"tsup": "8.4.0",
|
|
144
143
|
"untyped": "^1.5.2",
|
|
145
|
-
"wrangler": "
|
|
144
|
+
"wrangler": "^4.13.2"
|
|
146
145
|
},
|
|
147
146
|
"publishConfig": { "access": "public" },
|
|
148
147
|
"executors": "./executors.json",
|