@storm-software/cloudflare-tools 0.63.25 → 0.63.27
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 +1 -1
- package/dist/{chunk-PUKUSS7F.mjs → chunk-3M2F4JUW.mjs} +3 -3
- package/dist/{chunk-VKJE4IV6.mjs → chunk-446Z4I2E.mjs} +11 -8
- package/dist/{chunk-AG2PERXB.mjs → chunk-4FMFQGIC.mjs} +2 -2
- package/dist/{chunk-IPQFZI7C.mjs → chunk-6AC4HGUU.mjs} +35 -3
- package/dist/{chunk-HKXGZZ4U.js → chunk-6SVJXZBV.js} +138 -135
- package/dist/{chunk-46LEVY35.js → chunk-AVDLSZLA.js} +77 -45
- package/dist/{chunk-VI7OHBFH.js → chunk-CCIXQ6JW.js} +16 -16
- package/dist/{chunk-DTL2T3BP.js → chunk-G2NJAIMM.js} +3 -3
- package/dist/{chunk-SJE3AZ5R.mjs → chunk-MB2PUV2U.mjs} +1 -1
- package/dist/{chunk-5ENKRUAU.js → chunk-N5LTPQ53.js} +89 -78
- package/dist/{chunk-2WZ5MDJJ.js → chunk-NK6XHZKN.js} +12 -12
- package/dist/{chunk-IMASMF4S.js → chunk-NTPBAB34.js} +2 -2
- package/dist/{chunk-EPBMBQ4K.mjs → chunk-OKD45PFS.mjs} +3 -3
- package/dist/{chunk-E2ZPWAPC.mjs → chunk-ZNYU5YAQ.mjs} +14 -3
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +5 -5
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/src/executors/cloudflare-publish/executor.js +3 -3
- package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
- package/dist/src/executors/r2-upload-publish/executor.js +5 -5
- package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
- 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 +1 -1
- package/dist/src/generators/worker/generator.js +5 -5
- package/dist/src/generators/worker/generator.mjs +4 -4
- package/dist/src/utils/index.js +3 -3
- package/dist/src/utils/index.mjs +2 -2
- package/dist/src/utils/r2-bucket-helpers.js +3 -3
- package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.63.26](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.26) (2025-06-20)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([0bdc8a84e](https://github.com/storm-software/storm-ops/commit/0bdc8a84e))
|
|
11
|
+
- **monorepo:** Update workspace packages' links
|
|
12
|
+
([35f3ef346](https://github.com/storm-software/storm-ops/commit/35f3ef346))
|
|
13
|
+
|
|
14
|
+
## [0.63.25](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.25) (2025-06-18)
|
|
15
|
+
|
|
16
|
+
### Miscellaneous
|
|
17
|
+
|
|
18
|
+
- **monorepo:** Regenerate README markdown files
|
|
19
|
+
([0975b603d](https://github.com/storm-software/storm-ops/commit/0975b603d))
|
|
20
|
+
|
|
5
21
|
## [0.63.24](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.24) (2025-06-18)
|
|
6
22
|
|
|
7
23
|
### 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 -->
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4FMFQGIC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6AC4HGUU.mjs";
|
|
7
7
|
import {
|
|
8
8
|
findWorkspaceRoot,
|
|
9
9
|
getStopwatch,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
writeFatal,
|
|
13
13
|
writeInfo,
|
|
14
14
|
writeTrace
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZNYU5YAQ.mjs";
|
|
16
16
|
import {
|
|
17
17
|
__dirname
|
|
18
18
|
} from "./chunk-B7N6WOYD.mjs";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
getConfig,
|
|
7
7
|
getWorkspaceConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6AC4HGUU.mjs";
|
|
9
9
|
import {
|
|
10
10
|
findWorkspaceRoot,
|
|
11
11
|
formatLogMessage,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
writeSuccess,
|
|
20
20
|
writeTrace,
|
|
21
21
|
writeWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZNYU5YAQ.mjs";
|
|
23
23
|
import {
|
|
24
24
|
__dirname,
|
|
25
25
|
__require
|
|
@@ -1638,7 +1638,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1638
1638
|
addProjectConfiguration(tree, normalized.name, projectConfig);
|
|
1639
1639
|
let repository = {
|
|
1640
1640
|
type: "github",
|
|
1641
|
-
url: config?.repository || `https://github.com/${config?.organization || "storm-software"}/${config?.namespace || config?.name || "repository"}.git`
|
|
1641
|
+
url: config?.repository || `https://github.com/${(typeof config?.organization === "string" ? config?.organization : config?.organization?.name) || "storm-software"}/${config?.namespace || config?.name || "repository"}.git`
|
|
1642
1642
|
};
|
|
1643
1643
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
1644
1644
|
if (tree.exists("package.json")) {
|
|
@@ -1928,7 +1928,7 @@ var generator_default = withRunGenerator(
|
|
|
1928
1928
|
|
|
1929
1929
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
1930
1930
|
import { formatFiles as formatFiles3, writeJson as writeJson2 } from "@nx/devkit";
|
|
1931
|
-
import
|
|
1931
|
+
import * as z from "zod/v4";
|
|
1932
1932
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
1933
1933
|
writeInfo(
|
|
1934
1934
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
@@ -1938,13 +1938,16 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
1938
1938
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
1939
1939
|
config
|
|
1940
1940
|
);
|
|
1941
|
-
const jsonSchema =
|
|
1942
|
-
name: "StormWorkspaceConfiguration"
|
|
1943
|
-
});
|
|
1941
|
+
const jsonSchema = z.toJSONSchema(stormWorkspaceConfigSchema);
|
|
1944
1942
|
writeTrace(jsonSchema, config);
|
|
1943
|
+
if (!options.outputFile) {
|
|
1944
|
+
throw new Error(
|
|
1945
|
+
"The `outputFile` option is required. Please specify the output file path."
|
|
1946
|
+
);
|
|
1947
|
+
}
|
|
1945
1948
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
1946
1949
|
config?.workspaceRoot ?? findWorkspaceRoot(),
|
|
1947
|
-
options.outputFile
|
|
1950
|
+
options.outputFile.startsWith("./") ? "" : "./"
|
|
1948
1951
|
);
|
|
1949
1952
|
writeTrace(
|
|
1950
1953
|
`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
|
|
@@ -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.63.
|
|
10
|
+
version: "0.63.26",
|
|
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.20.
|
|
178
|
+
wrangler: "^4.20.3"
|
|
179
179
|
},
|
|
180
180
|
publishConfig: {
|
|
181
181
|
access: "public"
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
stormWorkspaceConfigSchema,
|
|
16
16
|
writeTrace,
|
|
17
17
|
writeWarning
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZNYU5YAQ.mjs";
|
|
19
19
|
|
|
20
20
|
// ../config-tools/src/create-storm-config.ts
|
|
21
21
|
import defu2 from "defu";
|
|
@@ -139,7 +139,13 @@ var getConfigEnv = () => {
|
|
|
139
139
|
medium: process.env[`${prefix}ACCOUNT_MEDIUM`] || void 0,
|
|
140
140
|
github: process.env[`${prefix}ACCOUNT_GITHUB`] || void 0
|
|
141
141
|
},
|
|
142
|
-
organization: process.env[`${prefix}ORGANIZATION`] ||
|
|
142
|
+
organization: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] ? process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] ? {
|
|
143
|
+
name: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`],
|
|
144
|
+
description: process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || void 0,
|
|
145
|
+
url: process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || void 0,
|
|
146
|
+
logo: process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] || void 0,
|
|
147
|
+
icon: process.env[`${prefix}ORG_ICON`] || process.env[`${prefix}ORGANIZATION_ICON`] || void 0
|
|
148
|
+
} : process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] : void 0,
|
|
143
149
|
packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
|
|
144
150
|
license: process.env[`${prefix}LICENSE`] || void 0,
|
|
145
151
|
homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
|
|
@@ -346,7 +352,33 @@ var setConfigEnv = (config) => {
|
|
|
346
352
|
}
|
|
347
353
|
}
|
|
348
354
|
if (config.organization) {
|
|
349
|
-
|
|
355
|
+
if (typeof config.organization === "string") {
|
|
356
|
+
process.env[`${prefix}ORG`] = config.organization;
|
|
357
|
+
process.env[`${prefix}ORG_NAME`] = config.organization;
|
|
358
|
+
process.env[`${prefix}ORGANIZATION`] = config.organization;
|
|
359
|
+
process.env[`${prefix}ORGANIZATION_NAME`] = config.organization;
|
|
360
|
+
} else {
|
|
361
|
+
process.env[`${prefix}ORG`] = config.organization.name;
|
|
362
|
+
process.env[`${prefix}ORG_NAME`] = config.organization.name;
|
|
363
|
+
process.env[`${prefix}ORGANIZATION`] = config.organization.name;
|
|
364
|
+
process.env[`${prefix}ORGANIZATION_NAME`] = config.organization.name;
|
|
365
|
+
if (config.organization.url) {
|
|
366
|
+
process.env[`${prefix}ORG_URL`] = config.organization.url;
|
|
367
|
+
process.env[`${prefix}ORGANIZATION_URL`] = config.organization.url;
|
|
368
|
+
}
|
|
369
|
+
if (config.organization.description) {
|
|
370
|
+
process.env[`${prefix}ORG_DESCRIPTION`] = config.organization.description;
|
|
371
|
+
process.env[`${prefix}ORGANIZATION_DESCRIPTION`] = config.organization.description;
|
|
372
|
+
}
|
|
373
|
+
if (config.organization.logo) {
|
|
374
|
+
process.env[`${prefix}ORG_LOGO`] = config.organization.logo;
|
|
375
|
+
process.env[`${prefix}ORGANIZATION_LOGO`] = config.organization.logo;
|
|
376
|
+
}
|
|
377
|
+
if (config.organization.icon) {
|
|
378
|
+
process.env[`${prefix}ORG_ICON`] = config.organization.icon;
|
|
379
|
+
process.env[`${prefix}ORGANIZATION_ICON`] = config.organization.icon;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
350
382
|
}
|
|
351
383
|
if (config.packageManager) {
|
|
352
384
|
process.env[`${prefix}PACKAGE_MANAGER`] = config.packageManager;
|