@storm-software/cloudflare-tools 0.63.28 → 0.63.30
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 +14 -0
- package/README.md +1 -1
- package/dist/{chunk-6TGFIMO5.js → chunk-2EUSZYH5.js} +2 -2
- package/dist/{chunk-DMJM3W36.js → chunk-7MAPPPBJ.js} +12 -12
- package/dist/{chunk-YKB65IP2.mjs → chunk-AUICIV5D.mjs} +2 -2
- package/dist/{chunk-IATTWS2I.js → chunk-CDTGH4KA.js} +4 -4
- package/dist/{chunk-PJGFLSPV.js → chunk-FQ6CFCZ4.js} +121 -121
- package/dist/{chunk-GL7JLG36.js → chunk-G7PYIAIC.js} +19 -19
- package/dist/{chunk-DW5K6TQT.mjs → chunk-GI4E6554.mjs} +1 -1
- package/dist/{chunk-J6WBZNBT.js → chunk-IJR65XVT.js} +3 -3
- package/dist/{chunk-T2OGA6MB.js → chunk-IRORGRVZ.js} +2 -2
- package/dist/{chunk-I5P7M77J.mjs → chunk-JGI2NCZG.mjs} +1 -1
- package/dist/{chunk-B7N6WOYD.mjs → chunk-KE6LNIF6.mjs} +1 -1
- package/dist/{chunk-ZHQVMJQB.mjs → chunk-LKGAK575.mjs} +4 -4
- package/dist/{chunk-AOLWFHH5.mjs → chunk-M66N7IMM.mjs} +4 -4
- package/dist/{chunk-KTFMIXUN.js → chunk-NU34IEWN.js} +27 -23
- package/dist/{chunk-RH2IXKSC.mjs → chunk-PH3DHY4Q.mjs} +26 -22
- package/dist/{chunk-LVQQJNPK.mjs → chunk-SKLIA2UT.mjs} +4 -4
- package/dist/{chunk-QTMO3CXB.mjs → chunk-UKV5HDN7.mjs} +3 -3
- package/dist/{chunk-D5YG7CU5.mjs → chunk-WMN2C3TD.mjs} +4 -4
- package/dist/{chunk-YMATJZEA.js → chunk-Z4HK3FW2.js} +43 -43
- package/dist/executors.js +7 -7
- package/dist/executors.mjs +8 -8
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +5 -5
- package/dist/index.js +18 -18
- package/dist/index.mjs +10 -10
- package/dist/src/executors/cloudflare-publish/executor.js +6 -6
- package/dist/src/executors/cloudflare-publish/executor.mjs +6 -6
- package/dist/src/executors/r2-upload-publish/executor.js +6 -6
- package/dist/src/executors/r2-upload-publish/executor.mjs +6 -6
- package/dist/src/executors/serve/executor.js +6 -6
- 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 +5 -5
- package/dist/src/generators/worker/generator.mjs +5 -5
- package/dist/src/utils/index.js +3 -3
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/r2-bucket-helpers.js +3 -3
- package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
- package/dist/tsup.config.mjs +1 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.63.29](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.29) (2025-06-22)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([d8eb8a9de](https://github.com/storm-software/storm-ops/commit/d8eb8a9de))
|
|
11
|
+
|
|
12
|
+
## [0.63.28](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.28) (2025-06-20)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Update README markdown files
|
|
17
|
+
([cd1727b2a](https://github.com/storm-software/storm-ops/commit/cd1727b2a))
|
|
18
|
+
|
|
5
19
|
## [0.63.27](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.27) (2025-06-20)
|
|
6
20
|
|
|
7
21
|
### Miscellaneous
|
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 -->
|
|
@@ -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.63.
|
|
10
|
+
version: "0.63.29",
|
|
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.
|
|
178
|
+
wrangler: "^4.22.0"
|
|
179
179
|
},
|
|
180
180
|
publishConfig: {
|
|
181
181
|
access: "public"
|
|
@@ -1,9 +1,9 @@
|
|
|
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 _chunk2EUSZYH5js = require('./chunk-2EUSZYH5.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkZ4HK3FW2js = require('./chunk-Z4HK3FW2.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ var _chunkYMATJZEAjs = require('./chunk-YMATJZEA.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkCDTGH4KAjs = require('./chunk-CDTGH4KA.js');
|
|
16
16
|
|
|
17
17
|
// src/generators/worker/generator.ts
|
|
18
18
|
|
|
@@ -45,20 +45,20 @@ var vitestScript = `"test": "vitest run"`;
|
|
|
45
45
|
|
|
46
46
|
// src/generators/worker/generator.ts
|
|
47
47
|
async function applicationGenerator(tree, schema) {
|
|
48
|
-
const stopwatch =
|
|
48
|
+
const stopwatch = _chunkCDTGH4KAjs.getStopwatch.call(void 0, "Storm Worker generator");
|
|
49
49
|
let config;
|
|
50
50
|
try {
|
|
51
|
-
|
|
51
|
+
_chunkCDTGH4KAjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
|
|
52
52
|
|
|
53
53
|
`, config);
|
|
54
|
-
const workspaceRoot =
|
|
55
|
-
|
|
54
|
+
const workspaceRoot = _chunkCDTGH4KAjs.findWorkspaceRoot.call(void 0, );
|
|
55
|
+
_chunkCDTGH4KAjs.writeDebug.call(void 0,
|
|
56
56
|
`Loading the Storm Config from environment variables and storm.json file...
|
|
57
57
|
- workspaceRoot: ${workspaceRoot}`,
|
|
58
58
|
config
|
|
59
59
|
);
|
|
60
|
-
config = await
|
|
61
|
-
|
|
60
|
+
config = await _chunkZ4HK3FW2js.getConfig.call(void 0, workspaceRoot);
|
|
61
|
+
_chunkCDTGH4KAjs.writeTrace.call(void 0,
|
|
62
62
|
`Loaded Storm config into env:
|
|
63
63
|
${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`,
|
|
64
64
|
config
|
|
@@ -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 _chunk2EUSZYH5js.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
|
@@ -134,11 +134,11 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
|
|
|
134
134
|
return _devkit.runTasksInSerial.call(void 0, ...tasks);
|
|
135
135
|
} catch (error) {
|
|
136
136
|
return () => {
|
|
137
|
-
|
|
137
|
+
_chunkCDTGH4KAjs.writeFatal.call(void 0,
|
|
138
138
|
"A fatal error occurred while running the generator - the process was forced to terminate",
|
|
139
139
|
config
|
|
140
140
|
);
|
|
141
|
-
|
|
141
|
+
_chunkCDTGH4KAjs.writeError.call(void 0,
|
|
142
142
|
`An exception was thrown in the generator's process
|
|
143
143
|
- Details: ${error.message}
|
|
144
144
|
- Stacktrace: ${error.stack}`,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliOptions
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PH3DHY4Q.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__require
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KE6LNIF6.mjs";
|
|
7
7
|
|
|
8
8
|
// src/executors/cloudflare-publish/executor.ts
|
|
9
9
|
import { joinPathFragments } from "@nx/devkit";
|
|
@@ -343,10 +343,10 @@ var RegistryConfigSchema = z.object({
|
|
|
343
343
|
var ColorConfigSchema = SingleThemeColorConfigSchema.or(
|
|
344
344
|
MultiThemeColorConfigSchema
|
|
345
345
|
).describe("Colors used for various workspace elements");
|
|
346
|
-
var ColorConfigMapSchema = z.
|
|
347
|
-
z.
|
|
348
|
-
|
|
349
|
-
|
|
346
|
+
var ColorConfigMapSchema = z.record(
|
|
347
|
+
z.union([z.literal("base"), z.string()]),
|
|
348
|
+
ColorConfigSchema
|
|
349
|
+
);
|
|
350
350
|
var ExtendsItemSchema = z.string().trim().describe(
|
|
351
351
|
"The path to a base config file to use as a configuration preset file. Documentation can be found at https://github.com/unjs/c12#extending-configuration."
|
|
352
352
|
);
|