@storm-software/cloudflare-tools 0.71.224 → 0.71.225
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 +28 -0
- package/README.md +1 -1
- package/dist/{chunk-VFK7WI6O.js → chunk-4MIUPZ4C.js} +7 -18
- package/dist/{chunk-WO7IPWNX.mjs → chunk-6LBDQPVT.mjs} +4 -4
- package/dist/chunk-6XTILRPH.mjs +70 -0
- package/dist/{chunk-XSO2NEF3.js → chunk-DQMGW6HJ.js} +4 -4
- package/dist/{chunk-KDPTLM6V.mjs → chunk-EIJGRLEG.mjs} +1 -1
- package/dist/chunk-F37ESSZE.js +70 -0
- package/dist/{chunk-NPLOIBSW.mjs → chunk-FGVJOBJP.mjs} +1 -1
- package/dist/{chunk-NTAVFPAR.mjs → chunk-J5A7VLNZ.mjs} +3 -3
- package/dist/{chunk-4WESWVMR.js → chunk-JVXHQADT.js} +3 -3
- package/dist/chunk-PS2AUG7M.js +266 -0
- package/dist/chunk-QDWACPEV.mjs +269 -0
- package/dist/{chunk-WYT4G6BW.mjs → chunk-UZMB4DDU.mjs} +5 -16
- package/dist/executors.js +1 -1
- package/dist/executors.mjs +3 -3
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +3 -3
- package/dist/index.js +4 -4
- package/dist/index.mjs +5 -5
- package/dist/src/executors/cloudflare-publish/executor.js +1 -1
- package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
- package/dist/src/executors/r2-upload-publish/executor.mjs +1 -1
- package/dist/src/executors/r2-upload-publish/untyped.mjs +1 -1
- package/dist/src/executors/serve/executor.js +4 -4
- package/dist/src/executors/serve/executor.mjs +3 -3
- 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 +3 -3
- package/dist/src/plugins/index.d.mts +2 -2
- package/dist/src/plugins/index.d.ts +2 -2
- package/dist/src/plugins/index.mjs +1 -1
- package/dist/src/utils/http-handler.mjs +1 -1
- package/dist/src/utils/index.mjs +1 -1
- package/dist/src/utils/r2-bucket-helpers.mjs +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -4,11 +4,11 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkDQMGW6HJjs = require('./chunk-DQMGW6HJ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkF37ESSZEjs = require('./chunk-F37ESSZE.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -22,7 +22,7 @@ require('./chunk-CVGPWUNP.js');
|
|
|
22
22
|
|
|
23
23
|
var _chunkCLCKX6UNjs = require('./chunk-CLCKX6UN.js');
|
|
24
24
|
require('./chunk-HNDXHX7M.js');
|
|
25
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-4MIUPZ4C.js');
|
|
26
26
|
require('./chunk-NCVDTA5M.js');
|
|
27
27
|
require('./chunk-PGTHXO6M.js');
|
|
28
28
|
require('./chunk-FBLD25X4.js');
|
|
@@ -39,4 +39,4 @@ require('./chunk-MCKGQKYU.js');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
exports.applicationGenerator =
|
|
42
|
+
exports.applicationGenerator = _chunkDQMGW6HJjs.applicationGenerator; exports.applicationSchematic = _chunkDQMGW6HJjs.applicationSchematic; exports.createNodesV2 = _chunkVJLWHQ5Bjs.createNodesV2; exports.getEncoding = _chunkCLCKX6UNjs.getEncoding; exports.getInternalDependencies = _chunkCLCKX6UNjs.getInternalDependencies; exports.initGenerator = _chunkF37ESSZEjs.initGenerator; exports.initSchematic = _chunkF37ESSZEjs.initSchematic; exports.isTextFile = _chunkCLCKX6UNjs.isTextFile; exports.name = _chunkVJLWHQ5Bjs.name; exports.uploadFile = _chunkCLCKX6UNjs.uploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -4,11 +4,11 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
4
4
|
import {
|
|
5
5
|
applicationGenerator,
|
|
6
6
|
applicationSchematic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J5A7VLNZ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
initGenerator,
|
|
10
10
|
initSchematic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6XTILRPH.mjs";
|
|
12
12
|
import {
|
|
13
13
|
createNodesV2,
|
|
14
14
|
name
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
isTextFile,
|
|
22
22
|
uploadFile
|
|
23
23
|
} from "./chunk-BY7MA3SM.mjs";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-FGVJOBJP.mjs";
|
|
25
|
+
import "./chunk-UZMB4DDU.mjs";
|
|
26
26
|
import "./chunk-ZXLMDNFQ.mjs";
|
|
27
27
|
import "./chunk-5MAMLVMV.mjs";
|
|
28
28
|
import "./chunk-CSTZEHUP.mjs";
|
|
29
29
|
import "./chunk-K4H5ZMYA.mjs";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-EIJGRLEG.mjs";
|
|
31
31
|
export {
|
|
32
32
|
applicationGenerator,
|
|
33
33
|
applicationSchematic,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkHNDXHX7Mjs = require('../../../chunk-HNDXHX7M.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-4MIUPZ4C.js');
|
|
5
5
|
require('../../../chunk-NCVDTA5M.js');
|
|
6
6
|
require('../../../chunk-PGTHXO6M.js');
|
|
7
7
|
require('../../../chunk-FBLD25X4.js');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-FGVJOBJP.mjs";
|
|
4
|
+
import "../../../chunk-UZMB4DDU.mjs";
|
|
5
5
|
import "../../../chunk-ZXLMDNFQ.mjs";
|
|
6
6
|
import "../../../chunk-5MAMLVMV.mjs";
|
|
7
7
|
import "../../../chunk-CSTZEHUP.mjs";
|
|
8
8
|
import "../../../chunk-K4H5ZMYA.mjs";
|
|
9
|
-
import "../../../chunk-
|
|
9
|
+
import "../../../chunk-EIJGRLEG.mjs";
|
|
10
10
|
export {
|
|
11
11
|
runExecutor as default
|
|
12
12
|
};
|
|
@@ -7,7 +7,7 @@ import "../../../chunk-ZXLMDNFQ.mjs";
|
|
|
7
7
|
import "../../../chunk-5MAMLVMV.mjs";
|
|
8
8
|
import "../../../chunk-CSTZEHUP.mjs";
|
|
9
9
|
import "../../../chunk-K4H5ZMYA.mjs";
|
|
10
|
-
import "../../../chunk-
|
|
10
|
+
import "../../../chunk-EIJGRLEG.mjs";
|
|
11
11
|
export {
|
|
12
12
|
runExecutor as default
|
|
13
13
|
};
|
|
@@ -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 _chunk4MIUPZ4Cjs = require('../../../chunk-4MIUPZ4C.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkNCVDTA5Mjs = require('../../../chunk-NCVDTA5M.js');
|
|
@@ -12,7 +12,7 @@ require('../../../chunk-AWKQRM2H.js');
|
|
|
12
12
|
var _chunkMCKGQKYUjs = require('../../../chunk-MCKGQKYU.js');
|
|
13
13
|
|
|
14
14
|
// src/executors/serve/executor.ts
|
|
15
|
-
var
|
|
15
|
+
var _internal = require('@nx/devkit/internal');
|
|
16
16
|
var _waitforportopen = require('@nx/web/src/utils/wait-for-port-open');
|
|
17
17
|
var _child_process = require('child_process');
|
|
18
18
|
async function* serveExecutor(options, context) {
|
|
@@ -22,7 +22,7 @@ async function* serveExecutor(options, context) {
|
|
|
22
22
|
const projectRoot = context.projectsConfigurations.projects[context.projectName].root;
|
|
23
23
|
const wranglerOptions = _chunkNCVDTA5Mjs.createCliOptions.call(void 0, { ...options });
|
|
24
24
|
const wranglerBin = _chunkMCKGQKYUjs.__require.resolve("wrangler/bin/wrangler");
|
|
25
|
-
yield*
|
|
25
|
+
yield* _internal.createAsyncIterable.call(void 0,
|
|
26
26
|
async ({ done, next, error }) => {
|
|
27
27
|
process.env.PWD = projectRoot;
|
|
28
28
|
const server = _child_process.fork.call(void 0, wranglerBin, ["dev", ...wranglerOptions], {
|
|
@@ -56,7 +56,7 @@ async function* serveExecutor(options, context) {
|
|
|
56
56
|
success: true
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
var executor_default =
|
|
59
|
+
var executor_default = _chunk4MIUPZ4Cjs.withRunExecutor.call(void 0,
|
|
60
60
|
"Cloudflare Serve executor",
|
|
61
61
|
serveExecutor,
|
|
62
62
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-UZMB4DDU.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
6
|
} from "../../../chunk-ZXLMDNFQ.mjs";
|
|
@@ -9,10 +9,10 @@ import "../../../chunk-CSTZEHUP.mjs";
|
|
|
9
9
|
import "../../../chunk-K4H5ZMYA.mjs";
|
|
10
10
|
import {
|
|
11
11
|
__require
|
|
12
|
-
} from "../../../chunk-
|
|
12
|
+
} from "../../../chunk-EIJGRLEG.mjs";
|
|
13
13
|
|
|
14
14
|
// src/executors/serve/executor.ts
|
|
15
|
-
import { createAsyncIterable } from "@nx/devkit/
|
|
15
|
+
import { createAsyncIterable } from "@nx/devkit/internal";
|
|
16
16
|
import { waitForPortOpen } from "@nx/web/src/utils/wait-for-port-open";
|
|
17
17
|
import { fork } from "child_process";
|
|
18
18
|
async function* serveExecutor(options, context) {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkF37ESSZEjs = require('../../../chunk-F37ESSZE.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkF37ESSZEjs.generator_default; exports.initGenerator = _chunkF37ESSZEjs.initGenerator; exports.initSchematic = _chunkF37ESSZEjs.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-6XTILRPH.mjs";
|
|
6
|
+
import "../../../chunk-EIJGRLEG.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 _chunkDQMGW6HJjs = require('../../../chunk-DQMGW6HJ.js');
|
|
6
|
+
require('../../../chunk-F37ESSZE.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 = _chunkDQMGW6HJjs.applicationGenerator; exports.applicationSchematic = _chunkDQMGW6HJjs.applicationSchematic; exports.default = _chunkDQMGW6HJjs.generator_default;
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-J5A7VLNZ.mjs";
|
|
6
|
+
import "../../../chunk-6XTILRPH.mjs";
|
|
7
7
|
import "../../../chunk-5MAMLVMV.mjs";
|
|
8
8
|
import "../../../chunk-K4H5ZMYA.mjs";
|
|
9
|
-
import "../../../chunk-
|
|
9
|
+
import "../../../chunk-EIJGRLEG.mjs";
|
|
10
10
|
export {
|
|
11
11
|
applicationGenerator,
|
|
12
12
|
applicationSchematic,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreateNodes } from '@nx/devkit';
|
|
2
2
|
|
|
3
3
|
declare const name = "storm-software/cloudflare-tools/cloudflare";
|
|
4
|
-
declare const createNodesV2:
|
|
4
|
+
declare const createNodesV2: CreateNodes;
|
|
5
5
|
|
|
6
6
|
export { createNodesV2, name };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreateNodes } from '@nx/devkit';
|
|
2
2
|
|
|
3
3
|
declare const name = "storm-software/cloudflare-tools/cloudflare";
|
|
4
|
-
declare const createNodesV2:
|
|
4
|
+
declare const createNodesV2: CreateNodes;
|
|
5
5
|
|
|
6
6
|
export { createNodesV2, name };
|
package/dist/src/utils/index.mjs
CHANGED
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.225",
|
|
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": [
|
|
@@ -143,22 +143,22 @@
|
|
|
143
143
|
"dependencies": {
|
|
144
144
|
"@aws-sdk/client-s3": "^3.1075.0",
|
|
145
145
|
"@aws-sdk/lib-storage": "^3.1075.0",
|
|
146
|
-
"@smithy/node-http-handler": "^4.
|
|
147
|
-
"@storm-software/config": "1.138.
|
|
148
|
-
"@storm-software/config-tools": "1.190.
|
|
149
|
-
"@storm-software/workspace-tools": "1.296.
|
|
146
|
+
"@smithy/node-http-handler": "^4.9.0",
|
|
147
|
+
"@storm-software/config": "^1.138.19",
|
|
148
|
+
"@storm-software/config-tools": "^1.190.82",
|
|
149
|
+
"@storm-software/workspace-tools": "^1.296.62",
|
|
150
150
|
"defu": "^6.1.7",
|
|
151
151
|
"glob": "^11.1.0",
|
|
152
152
|
"mime-types": "^3.0.2",
|
|
153
153
|
"pretty-bytes": "^7.1.0"
|
|
154
154
|
},
|
|
155
155
|
"devDependencies": {
|
|
156
|
-
"@nx/devkit": "
|
|
156
|
+
"@nx/devkit": "23.0.1",
|
|
157
157
|
"@nx/node": "22.7.5",
|
|
158
158
|
"@nx/web": "22.7.5",
|
|
159
159
|
"@nx/webpack": "22.7.5",
|
|
160
|
-
"@smithy/protocol-http": "^5.5.
|
|
161
|
-
"nx": "
|
|
160
|
+
"@smithy/protocol-http": "^5.5.3",
|
|
161
|
+
"nx": "23.0.1",
|
|
162
162
|
"tsup": "8.4.0",
|
|
163
163
|
"untyped": "^2.0.0",
|
|
164
164
|
"wrangler": "^4.105.0"
|
|
@@ -171,5 +171,5 @@
|
|
|
171
171
|
"publishConfig": { "access": "public" },
|
|
172
172
|
"executors": "./executors.json",
|
|
173
173
|
"generators": "./generators.json",
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "3fe24e50009c66cd4ff8b417a44f904740d0283a"
|
|
175
175
|
}
|