@storm-software/cloudflare-tools 0.58.2 → 0.59.1
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 +26 -0
- package/README.md +1 -1
- package/dist/{chunk-QPABB45G.mjs → chunk-5TUHGXSI.mjs} +1 -1
- package/dist/{chunk-3MZCAC7V.mjs → chunk-CZV5DISJ.mjs} +2 -2
- package/dist/{chunk-QQ22YQSB.mjs → chunk-E4FJOPZF.mjs} +1 -1
- package/dist/{chunk-K2RS4LHV.mjs → chunk-GNQ5XIH7.mjs} +13 -16
- package/dist/{chunk-UMK4B3XF.js → chunk-KHW7K2UZ.js} +2 -2
- package/dist/{chunk-YVLYQXOO.mjs → chunk-PVTYFKMF.mjs} +3 -3
- package/dist/{chunk-NJBI4AIW.js → chunk-SFQNQKTR.js} +2 -2
- package/dist/{chunk-6GOJPDPL.js → chunk-WMNGJUHG.js} +1 -4
- 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/serve/executor.js +2 -2
- package/dist/src/executors/serve/executor.mjs +2 -2
- 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/utils/index.mjs +1 -1
- package/dist/src/utils/r2-bucket-helpers.mjs +1 -1
- package/dist/tsup.config.mjs +1 -1
- package/package.json +15 -44
- package/.eslintrc.json +0 -35
- package/executors.ts +0 -4
- package/generators.ts +0 -4
- package/index.ts +0 -4
- package/project.json +0 -56
- package/src/executors/cloudflare-publish/executor.ts +0 -100
- package/src/executors/r2-upload-publish/executor.ts +0 -264
- package/src/executors/serve/executor.ts +0 -84
- package/src/generators/init/generator.spec.ts +0 -20
- package/src/generators/init/generator.ts +0 -60
- package/src/generators/init/libs/versions.ts +0 -7
- package/src/generators/worker/generator.spec.ts +0 -20
- package/src/generators/worker/generator.ts +0 -289
- package/src/generators/worker/libs/get-account-id.ts +0 -3
- package/src/generators/worker/libs/vitest-imports.ts +0 -1
- package/src/generators/worker/libs/vitest-script.ts +0 -1
- package/src/plugins/index.ts +0 -137
- package/src/utils/index.ts +0 -1
- package/src/utils/r2-bucket-helpers.ts +0 -56
- package/tsconfig.json +0 -31
- package/tsup.config.ts +0 -27
- /package/{src → dist/src}/executors/cloudflare-publish/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cloudflare-publish/schema.json +0 -0
- /package/{src → dist/src}/executors/r2-upload-publish/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/r2-upload-publish/schema.json +0 -0
- /package/{src → dist/src}/executors/serve/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/serve/schema.json +0 -0
- /package/{src → dist/src}/generators/init/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/init/schema.json +0 -0
- /package/{src → dist/src}/generators/worker/files/common/package.json__tmpl__ +0 -0
- /package/{src → dist/src}/generators/worker/files/common/wrangler.toml__tmpl__ +0 -0
- /package/{src → dist/src}/generators/worker/files/fetch-handler/index.test.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/worker/files/fetch-handler/index.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/worker/files/hono/index.test.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/worker/files/hono/index.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/worker/files/scheduled-handler/index.test.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/worker/files/scheduled-handler/index.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/worker/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/worker/schema.json +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.59.1](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.59.1) (2025-05-06)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **eslint:** Regenerate type definitions
|
|
10
|
+
([aa082a323](https://github.com/storm-software/storm-ops/commit/aa082a323))
|
|
11
|
+
- **monorepo:** Regenerate README markdown files
|
|
12
|
+
([ed5072712](https://github.com/storm-software/storm-ops/commit/ed5072712))
|
|
13
|
+
|
|
14
|
+
## [0.59.0](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.59.0) (2025-05-06)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
- **workspace-tools:** Update the release executor to replace workspace
|
|
19
|
+
configurations
|
|
20
|
+
([7d2aa456c](https://github.com/storm-software/storm-ops/commit/7d2aa456c))
|
|
21
|
+
|
|
22
|
+
### Miscellaneous
|
|
23
|
+
|
|
24
|
+
- **monorepo:** Update the workspace dependency links
|
|
25
|
+
([a2b0947a3](https://github.com/storm-software/storm-ops/commit/a2b0947a3))
|
|
26
|
+
- **monorepo:** Regenerate README markdown files
|
|
27
|
+
([96f241a4d](https://github.com/storm-software/storm-ops/commit/96f241a4d))
|
|
28
|
+
- **monorepo:** Regenerate README markdown files
|
|
29
|
+
([17bbe7e16](https://github.com/storm-software/storm-ops/commit/17bbe7e16))
|
|
30
|
+
|
|
5
31
|
## [0.58.2](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.58.2) (2025-05-06)
|
|
6
32
|
|
|
7
33
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PVTYFKMF.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getConfig
|
|
6
6
|
} from "./chunk-GPAI4NHQ.mjs";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-MV24QW26.mjs";
|
|
16
16
|
import {
|
|
17
17
|
__dirname
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E4FJOPZF.mjs";
|
|
19
19
|
|
|
20
20
|
// src/generators/worker/generator.ts
|
|
21
21
|
import {
|
|
@@ -9,7 +9,7 @@ var __commonJS = (cb, mod) => function __require2() {
|
|
|
9
9
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
12
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=616d4d8468728c5caa25e7b97fe871f667b5342103b43bda8e891020bc6b674a__6b2d7a62a175e0dc470893e7b748af56/node_modules/tsup/assets/esm_shims.js
|
|
13
13
|
import { fileURLToPath } from "url";
|
|
14
14
|
import path from "path";
|
|
15
15
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
__dirname,
|
|
25
25
|
__require
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-E4FJOPZF.mjs";
|
|
27
27
|
|
|
28
28
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
29
29
|
var applyWorkspaceBaseTokens = async (option, tokenParams) => {
|
|
@@ -1248,17 +1248,14 @@ var executor_default6 = withRunExecutor(
|
|
|
1248
1248
|
);
|
|
1249
1249
|
|
|
1250
1250
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
1251
|
-
import {
|
|
1252
|
-
|
|
1253
|
-
readJsonFile
|
|
1254
|
-
} from "@nx/devkit";
|
|
1255
|
-
import columnify from "columnify";
|
|
1256
|
-
import { exec, execSync as execSync3 } from "node:child_process";
|
|
1257
|
-
import { existsSync as existsSync6 } from "node:fs";
|
|
1258
|
-
import { relative as relative3 } from "node:path";
|
|
1259
|
-
import { env as appendLocalEnv } from "npm-run-path";
|
|
1251
|
+
import { execSync as execSync3 } from "node:child_process";
|
|
1252
|
+
import { readFile as readFile5 } from "node:fs/promises";
|
|
1260
1253
|
|
|
1261
1254
|
// ../workspace-tools/src/utils/pnpm-deps-update.ts
|
|
1255
|
+
import {
|
|
1256
|
+
createProjectGraphAsync as createProjectGraphAsync3,
|
|
1257
|
+
readCachedProjectGraph as readCachedProjectGraph2
|
|
1258
|
+
} from "@nx/devkit";
|
|
1262
1259
|
import { existsSync as existsSync5 } from "node:fs";
|
|
1263
1260
|
import { readFile as readFile4, writeFile as writeFile2 } from "node:fs/promises";
|
|
1264
1261
|
import { format } from "prettier";
|
|
@@ -2543,8 +2540,8 @@ var DEFAULT_COMMIT_QUESTIONS = {
|
|
|
2543
2540
|
};
|
|
2544
2541
|
|
|
2545
2542
|
// ../workspace-tools/src/generators/release-version/generator.ts
|
|
2546
|
-
import { exec
|
|
2547
|
-
import { relative as
|
|
2543
|
+
import { exec, execSync as execSync4 } from "node:child_process";
|
|
2544
|
+
import { relative as relative3 } from "node:path";
|
|
2548
2545
|
import { IMPLICIT_DEFAULT_RELEASE_GROUP } from "nx/src/command-line/release/config/config";
|
|
2549
2546
|
import {
|
|
2550
2547
|
getFirstGitCommit,
|
|
@@ -2932,10 +2929,10 @@ import { retrieveProjectConfigurationsWithoutPluginInference } from "nx/src/proj
|
|
|
2932
2929
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
2933
2930
|
import {
|
|
2934
2931
|
output as output2,
|
|
2935
|
-
readJsonFile
|
|
2932
|
+
readJsonFile,
|
|
2936
2933
|
workspaceRoot as workspaceRoot2
|
|
2937
2934
|
} from "@nx/devkit";
|
|
2938
|
-
import { existsSync as
|
|
2935
|
+
import { existsSync as existsSync6 } from "node:fs";
|
|
2939
2936
|
import { join as join2 } from "node:path";
|
|
2940
2937
|
import {
|
|
2941
2938
|
getNpmLockfileDependencies,
|
|
@@ -2957,9 +2954,9 @@ var NPM_LOCK_PATH = join2(workspaceRoot2, NPM_LOCK_FILE);
|
|
|
2957
2954
|
var PNPM_LOCK_PATH = join2(workspaceRoot2, PNPM_LOCK_FILE);
|
|
2958
2955
|
|
|
2959
2956
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
2960
|
-
import { readJsonFile as
|
|
2957
|
+
import { readJsonFile as readJsonFile2 } from "@nx/devkit";
|
|
2961
2958
|
import defu4 from "defu";
|
|
2962
|
-
import { existsSync as
|
|
2959
|
+
import { existsSync as existsSync7 } from "node:fs";
|
|
2963
2960
|
import { dirname, join as join3 } from "node:path";
|
|
2964
2961
|
|
|
2965
2962
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
@@ -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.
|
|
10
|
+
version: "0.59.1",
|
|
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",
|
|
@@ -175,7 +175,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
|
|
|
175
175
|
nx: "catalog:",
|
|
176
176
|
tsup: "catalog:",
|
|
177
177
|
untyped: "catalog:",
|
|
178
|
-
wrangler: "^4.14.
|
|
178
|
+
wrangler: "^4.14.2"
|
|
179
179
|
},
|
|
180
180
|
publishConfig: {
|
|
181
181
|
access: "public"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E4FJOPZF.mjs";
|
|
4
4
|
|
|
5
5
|
// package.json
|
|
6
6
|
var require_package = __commonJS({
|
|
7
7
|
"package.json"(exports, module) {
|
|
8
8
|
module.exports = {
|
|
9
9
|
name: "@storm-software/cloudflare-tools",
|
|
10
|
-
version: "0.
|
|
10
|
+
version: "0.59.1",
|
|
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",
|
|
@@ -175,7 +175,7 @@ var require_package = __commonJS({
|
|
|
175
175
|
nx: "catalog:",
|
|
176
176
|
tsup: "catalog:",
|
|
177
177
|
untyped: "catalog:",
|
|
178
|
-
wrangler: "^4.14.
|
|
178
|
+
wrangler: "^4.14.2"
|
|
179
179
|
},
|
|
180
180
|
publishConfig: {
|
|
181
181
|
access: "public"
|
|
@@ -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 _chunkKHW7K2UZjs = require('./chunk-KHW7K2UZ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkHBASMEU5js = require('./chunk-HBASMEU5.js');
|
|
@@ -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 _chunkKHW7K2UZjs.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
|
@@ -1250,14 +1250,11 @@ var executor_default6 = withRunExecutor(
|
|
|
1250
1250
|
|
|
1251
1251
|
|
|
1252
1252
|
|
|
1253
|
-
|
|
1254
|
-
var _columnify = require('columnify'); var _columnify2 = _interopRequireDefault(_columnify);
|
|
1253
|
+
// ../workspace-tools/src/utils/pnpm-deps-update.ts
|
|
1255
1254
|
|
|
1256
1255
|
|
|
1257
1256
|
|
|
1258
|
-
var _npmrunpath = require('npm-run-path');
|
|
1259
1257
|
|
|
1260
|
-
// ../workspace-tools/src/utils/pnpm-deps-update.ts
|
|
1261
1258
|
|
|
1262
1259
|
|
|
1263
1260
|
var _prettier = require('prettier');
|
package/dist/executors.js
CHANGED
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-5TUHGXSI.mjs";
|
|
3
|
+
import "./chunk-GNQ5XIH7.mjs";
|
|
4
4
|
import "./chunk-ISGKIYF5.mjs";
|
|
5
5
|
import "./chunk-FABNT5TZ.mjs";
|
|
6
6
|
import "./chunk-L4WFYC7K.mjs";
|
|
7
7
|
import "./chunk-GPAI4NHQ.mjs";
|
|
8
8
|
import "./chunk-MV24QW26.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-E4FJOPZF.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkSFQNQKTRjs = require('./chunk-SFQNQKTR.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkKHW7K2UZjs = require('./chunk-KHW7K2UZ.js');
|
|
10
10
|
require('./chunk-HBASMEU5.js');
|
|
11
11
|
require('./chunk-PZ5CI56F.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 = _chunkSFQNQKTRjs.applicationGenerator; exports.applicationSchematic = _chunkSFQNQKTRjs.applicationSchematic; exports.initGenerator = _chunkKHW7K2UZjs.initGenerator; exports.initSchematic = _chunkKHW7K2UZjs.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,14 +2,14 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CZV5DISJ.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PVTYFKMF.mjs";
|
|
10
10
|
import "./chunk-GPAI4NHQ.mjs";
|
|
11
11
|
import "./chunk-MV24QW26.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-E4FJOPZF.mjs";
|
|
13
13
|
export {
|
|
14
14
|
applicationGenerator,
|
|
15
15
|
applicationSchematic,
|
package/dist/index.js
CHANGED
|
@@ -3,14 +3,14 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkSFQNQKTRjs = require('./chunk-SFQNQKTR.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkKHW7K2UZjs = require('./chunk-KHW7K2UZ.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-I4P7DVDN.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-WMNGJUHG.js');
|
|
14
14
|
require('./chunk-HIUZ6UL7.js');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -140,4 +140,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
exports.applicationGenerator =
|
|
143
|
+
exports.applicationGenerator = _chunkSFQNQKTRjs.applicationGenerator; exports.applicationSchematic = _chunkSFQNQKTRjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkRIUVF72Kjs.getInternalDependencies; exports.initGenerator = _chunkKHW7K2UZjs.initGenerator; exports.initSchematic = _chunkKHW7K2UZjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkRIUVF72Kjs.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -3,14 +3,14 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
applicationGenerator,
|
|
5
5
|
applicationSchematic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CZV5DISJ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PVTYFKMF.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-5TUHGXSI.mjs";
|
|
13
|
+
import "./chunk-GNQ5XIH7.mjs";
|
|
14
14
|
import "./chunk-ISGKIYF5.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-L4WFYC7K.mjs";
|
|
23
23
|
import "./chunk-GPAI4NHQ.mjs";
|
|
24
24
|
import "./chunk-MV24QW26.mjs";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-E4FJOPZF.mjs";
|
|
26
26
|
|
|
27
27
|
// src/plugins/index.ts
|
|
28
28
|
import { existsSync } from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkI4P7DVDNjs = require('../../../chunk-I4P7DVDN.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-WMNGJUHG.js');
|
|
5
5
|
require('../../../chunk-6XDOBG77.js');
|
|
6
6
|
require('../../../chunk-HBASMEU5.js');
|
|
7
7
|
require('../../../chunk-PZ5CI56F.js');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-5TUHGXSI.mjs";
|
|
4
|
+
import "../../../chunk-GNQ5XIH7.mjs";
|
|
5
5
|
import "../../../chunk-L4WFYC7K.mjs";
|
|
6
6
|
import "../../../chunk-GPAI4NHQ.mjs";
|
|
7
7
|
import "../../../chunk-MV24QW26.mjs";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-E4FJOPZF.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
11
11
|
};
|
|
@@ -5,7 +5,7 @@ import "../../../chunk-FABNT5TZ.mjs";
|
|
|
5
5
|
import "../../../chunk-L4WFYC7K.mjs";
|
|
6
6
|
import "../../../chunk-GPAI4NHQ.mjs";
|
|
7
7
|
import "../../../chunk-MV24QW26.mjs";
|
|
8
|
-
import "../../../chunk-
|
|
8
|
+
import "../../../chunk-E4FJOPZF.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
11
11
|
};
|
|
@@ -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 _chunkWMNGJUHGjs = require('../../../chunk-WMNGJUHG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk6XDOBG77js = require('../../../chunk-6XDOBG77.js');
|
|
@@ -55,7 +55,7 @@ async function* serveExecutor(options, context, config) {
|
|
|
55
55
|
success: true
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
var executor_default =
|
|
58
|
+
var executor_default = _chunkWMNGJUHGjs.withRunExecutor.call(void 0,
|
|
59
59
|
"Cloudflare Serve executor",
|
|
60
60
|
serveExecutor,
|
|
61
61
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-GNQ5XIH7.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
6
|
} from "../../../chunk-L4WFYC7K.mjs";
|
|
@@ -8,7 +8,7 @@ import "../../../chunk-GPAI4NHQ.mjs";
|
|
|
8
8
|
import "../../../chunk-MV24QW26.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__require
|
|
11
|
-
} from "../../../chunk-
|
|
11
|
+
} from "../../../chunk-E4FJOPZF.mjs";
|
|
12
12
|
|
|
13
13
|
// src/executors/serve/executor.ts
|
|
14
14
|
import { createAsyncIterable } from "@nx/devkit/src/utils/async-iterable";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkKHW7K2UZjs = require('../../../chunk-KHW7K2UZ.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkKHW7K2UZjs.generator_default; exports.initGenerator = _chunkKHW7K2UZjs.initGenerator; exports.initSchematic = _chunkKHW7K2UZjs.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-PVTYFKMF.mjs";
|
|
6
|
+
import "../../../chunk-E4FJOPZF.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 _chunkSFQNQKTRjs = require('../../../chunk-SFQNQKTR.js');
|
|
6
|
+
require('../../../chunk-KHW7K2UZ.js');
|
|
7
7
|
require('../../../chunk-HBASMEU5.js');
|
|
8
8
|
require('../../../chunk-PZ5CI56F.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 = _chunkSFQNQKTRjs.applicationGenerator; exports.applicationSchematic = _chunkSFQNQKTRjs.applicationSchematic; exports.default = _chunkSFQNQKTRjs.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-CZV5DISJ.mjs";
|
|
6
|
+
import "../../../chunk-PVTYFKMF.mjs";
|
|
7
7
|
import "../../../chunk-GPAI4NHQ.mjs";
|
|
8
8
|
import "../../../chunk-MV24QW26.mjs";
|
|
9
|
-
import "../../../chunk-
|
|
9
|
+
import "../../../chunk-E4FJOPZF.mjs";
|
|
10
10
|
export {
|
|
11
11
|
applicationGenerator,
|
|
12
12
|
applicationSchematic,
|
package/dist/src/utils/index.mjs
CHANGED
package/dist/tsup.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.1",
|
|
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",
|
|
@@ -31,28 +31,16 @@
|
|
|
31
31
|
"types": "./dist/index.d.mts",
|
|
32
32
|
"default": "./dist/index.mjs"
|
|
33
33
|
},
|
|
34
|
-
"require": {
|
|
35
|
-
|
|
36
|
-
"default": "./dist/index.js"
|
|
37
|
-
},
|
|
38
|
-
"default": {
|
|
39
|
-
"types": "./dist/index.d.ts",
|
|
40
|
-
"default": "./dist/index.js"
|
|
41
|
-
}
|
|
34
|
+
"require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
35
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
42
36
|
},
|
|
43
37
|
"./index": {
|
|
44
38
|
"import": {
|
|
45
39
|
"types": "./dist/index.d.mts",
|
|
46
40
|
"default": "./dist/index.mjs"
|
|
47
41
|
},
|
|
48
|
-
"require": {
|
|
49
|
-
|
|
50
|
-
"default": "./dist/index.js"
|
|
51
|
-
},
|
|
52
|
-
"default": {
|
|
53
|
-
"types": "./dist/index.d.ts",
|
|
54
|
-
"default": "./dist/index.js"
|
|
55
|
-
}
|
|
42
|
+
"require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
43
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
56
44
|
},
|
|
57
45
|
"./executors": {
|
|
58
46
|
"import": {
|
|
@@ -137,29 +125,14 @@
|
|
|
137
125
|
"wrangler": ">=3.58.0"
|
|
138
126
|
},
|
|
139
127
|
"peerDependenciesMeta": {
|
|
140
|
-
"@nx/devkit": {
|
|
141
|
-
|
|
142
|
-
},
|
|
143
|
-
"@nx/
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
"@nx/web": {
|
|
147
|
-
"optional": false
|
|
148
|
-
},
|
|
149
|
-
"@nx/webpack": {
|
|
150
|
-
"optional": false
|
|
151
|
-
},
|
|
152
|
-
"nx": {
|
|
153
|
-
"optional": false
|
|
154
|
-
},
|
|
155
|
-
"wrangler": {
|
|
156
|
-
"optional": false
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"dependencies": {
|
|
160
|
-
"@aws-sdk/client-s3": "3.47.0",
|
|
161
|
-
"glob": "^11.0.1"
|
|
128
|
+
"@nx/devkit": { "optional": false },
|
|
129
|
+
"@nx/node": { "optional": false },
|
|
130
|
+
"@nx/web": { "optional": false },
|
|
131
|
+
"@nx/webpack": { "optional": false },
|
|
132
|
+
"nx": { "optional": false },
|
|
133
|
+
"wrangler": { "optional": false }
|
|
162
134
|
},
|
|
135
|
+
"dependencies": { "@aws-sdk/client-s3": "3.47.0", "glob": "^11.0.1" },
|
|
163
136
|
"devDependencies": {
|
|
164
137
|
"@nx/devkit": "20.8.0",
|
|
165
138
|
"@nx/node": "20.8.0",
|
|
@@ -168,11 +141,9 @@
|
|
|
168
141
|
"nx": "20.8.0",
|
|
169
142
|
"tsup": "8.4.0",
|
|
170
143
|
"untyped": "^1.5.2",
|
|
171
|
-
"wrangler": "^4.14.
|
|
172
|
-
},
|
|
173
|
-
"publishConfig": {
|
|
174
|
-
"access": "public"
|
|
144
|
+
"wrangler": "^4.14.2"
|
|
175
145
|
},
|
|
146
|
+
"publishConfig": { "access": "public" },
|
|
176
147
|
"executors": "./executors.json",
|
|
177
148
|
"generators": "./generators.json"
|
|
178
|
-
}
|
|
149
|
+
}
|
package/.eslintrc.json
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": ["../../.eslintrc.json"],
|
|
3
|
-
"ignorePatterns": ["!**/*"],
|
|
4
|
-
"overrides": [
|
|
5
|
-
{
|
|
6
|
-
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
7
|
-
"parserOptions": {
|
|
8
|
-
"project": ["packages/cloudflare-tools/tsconfig.*?.json"]
|
|
9
|
-
},
|
|
10
|
-
"rules": {}
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"files": ["*.ts", "*.tsx"],
|
|
14
|
-
"rules": {}
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"files": ["*.js", "*.jsx"],
|
|
18
|
-
"rules": {}
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"files": ["*.json"],
|
|
22
|
-
"parser": "jsonc-eslint-parser",
|
|
23
|
-
"rules": {
|
|
24
|
-
"@nx/dependency-checks": "error"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"files": ["./package.json", "./executors.json", "./generators.json"],
|
|
29
|
-
"parser": "jsonc-eslint-parser",
|
|
30
|
-
"rules": {
|
|
31
|
-
"@nx/nx-plugin-checks": "error"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
}
|
package/executors.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from "./src/executors/cloudflare-publish/executor";
|
|
2
|
-
export { type CloudflarePublishExecutorSchema } from "./src/executors/cloudflare-publish/schema.d";
|
|
3
|
-
export * from "./src/executors/r2-upload-publish/executor";
|
|
4
|
-
export { type R2UploadPublishExecutorSchema } from "./src/executors/r2-upload-publish/schema.d";
|