@storm-software/cloudflare-tools 0.55.61 → 0.55.63
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 +7 -0
- package/README.md +1 -1
- package/dist/{chunk-YSDG777H.mjs → chunk-3O6RTR7W.mjs} +2 -2
- package/dist/{chunk-FUE6U32Q.mjs → chunk-C3CWFFYT.mjs} +5 -5
- package/dist/{chunk-H36VLRVB.mjs → chunk-CI3G746G.mjs} +1 -1
- package/dist/{chunk-OZZB2O7W.mjs → chunk-HA6XAX4C.mjs} +4 -4
- package/dist/{chunk-I4BEGOU2.mjs → chunk-HBBHWDJS.mjs} +15 -10
- package/dist/{chunk-KLU3MC7D.js → chunk-IKNX7KR7.js} +142 -141
- package/dist/{chunk-CRVSAZIS.mjs → chunk-ITJMNVMG.mjs} +2 -2
- package/dist/{chunk-Y5KOP5W7.mjs → chunk-KSTLYSXJ.mjs} +5 -4
- package/dist/{chunk-XFDLWZLO.js → chunk-MLJ3OSJX.js} +16 -16
- package/dist/{chunk-RC7NR5DM.js → chunk-NRIZ2TF7.js} +1 -1
- package/dist/{chunk-VCFN2W5L.mjs → chunk-RGBGVGWZ.mjs} +2 -2
- package/dist/{chunk-Q7EDJLEB.mjs → chunk-SSSAGTTW.mjs} +2 -2
- package/dist/{chunk-WNICDYXY.js → chunk-TEEOPHLZ.js} +1 -1
- package/dist/{chunk-DXA6VL3T.js → chunk-UBEHQVYS.js} +3 -3
- package/dist/{chunk-J67QGNB5.js → chunk-UCUXAMZ3.js} +12 -12
- package/dist/{chunk-H2MWLDLR.mjs → chunk-VQLLSEHB.mjs} +1 -1
- package/dist/{chunk-QYQD76ND.js → chunk-XFPT4O23.js} +52 -47
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +8 -8
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +5 -5
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/index.mjs +10 -10
- package/dist/src/executors/cloudflare-publish/executor.js +3 -3
- package/dist/src/executors/cloudflare-publish/executor.mjs +6 -6
- package/dist/src/executors/r2-upload-publish/executor.js +5 -5
- package/dist/src/executors/r2-upload-publish/executor.mjs +6 -6
- package/dist/src/executors/serve/executor.d.mts +2 -2
- package/dist/src/executors/serve/executor.d.ts +2 -2
- package/dist/src/executors/serve/executor.js +4 -4
- 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 +40 -14
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.55.63](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.55.63) (2025-04-25)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([9ab7e03d9](https://github.com/storm-software/storm-ops/commit/9ab7e03d9))
|
|
11
|
+
|
|
5
12
|
## [0.55.61](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.55.61) (2025-04-16)
|
|
6
13
|
|
|
7
14
|
### 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,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS,
|
|
3
3
|
__name
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VQLLSEHB.mjs";
|
|
5
5
|
|
|
6
6
|
// package.json
|
|
7
7
|
var require_package = __commonJS({
|
|
8
8
|
"package.json"(exports, module) {
|
|
9
9
|
module.exports = {
|
|
10
10
|
name: "@storm-software/cloudflare-tools",
|
|
11
|
-
version: "0.55.
|
|
11
|
+
version: "0.55.63",
|
|
12
12
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
13
13
|
repository: {
|
|
14
14
|
type: "github",
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInternalDependencies,
|
|
3
3
|
r2UploadFile
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ITJMNVMG.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createCliOptions,
|
|
7
7
|
getPackageInfo
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CI3G746G.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HBBHWDJS.mjs";
|
|
12
12
|
import {
|
|
13
13
|
findWorkspaceRoot,
|
|
14
14
|
writeDebug,
|
|
15
15
|
writeInfo,
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeWarning
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SSSAGTTW.mjs";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VQLLSEHB.mjs";
|
|
22
22
|
|
|
23
23
|
// src/executors/r2-upload-publish/executor.ts
|
|
24
24
|
import { S3 } from "@aws-sdk/client-s3";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3O6RTR7W.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HBBHWDJS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
findWorkspaceRoot,
|
|
9
9
|
getStopwatch,
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
writeFatal,
|
|
13
13
|
writeInfo,
|
|
14
14
|
writeTrace
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SSSAGTTW.mjs";
|
|
16
16
|
import {
|
|
17
17
|
__dirname,
|
|
18
18
|
__name
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VQLLSEHB.mjs";
|
|
20
20
|
|
|
21
21
|
// src/generators/worker/generator.ts
|
|
22
22
|
import { convertNxGenerator, ensurePackage, formatFiles, generateFiles, joinPathFragments, names, readProjectConfiguration, runTasksInSerial, updateJson, updateProjectConfiguration } from "@nx/devkit";
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
stormWorkspaceConfigSchema,
|
|
15
15
|
writeTrace,
|
|
16
16
|
writeWarning
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SSSAGTTW.mjs";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VQLLSEHB.mjs";
|
|
21
21
|
|
|
22
22
|
// ../config-tools/src/create-storm-config.ts
|
|
23
23
|
import defu2 from "defu";
|
|
@@ -77,7 +77,7 @@ var getConfigFile = /* @__PURE__ */ __name(async (filePath, additionalFileNames
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
if (!config) {
|
|
80
|
+
if (!config || Object.keys(config).length === 0) {
|
|
81
81
|
return void 0;
|
|
82
82
|
}
|
|
83
83
|
config.configFile = configFile;
|
|
@@ -548,7 +548,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
|
|
|
548
548
|
// ../config-tools/src/create-storm-config.ts
|
|
549
549
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
550
550
|
var _static_cache = void 0;
|
|
551
|
-
var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot, skipLogs = false) => {
|
|
551
|
+
var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot, skipLogs = false, useDefault = true) => {
|
|
552
552
|
let result;
|
|
553
553
|
if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
|
|
554
554
|
let _workspaceRoot = workspaceRoot;
|
|
@@ -556,13 +556,18 @@ var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, sc
|
|
|
556
556
|
_workspaceRoot = findWorkspaceRoot();
|
|
557
557
|
}
|
|
558
558
|
const configEnv = getConfigEnv();
|
|
559
|
-
const defaultConfig = await getDefaultConfig(_workspaceRoot);
|
|
560
559
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
561
|
-
if (!configFile
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
560
|
+
if (!configFile) {
|
|
561
|
+
if (!skipLogs) {
|
|
562
|
+
writeWarning("No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
|
|
563
|
+
logLevel: "all"
|
|
564
|
+
});
|
|
565
|
+
}
|
|
566
|
+
if (useDefault === false) {
|
|
567
|
+
return void 0;
|
|
568
|
+
}
|
|
565
569
|
}
|
|
570
|
+
const defaultConfig = await getDefaultConfig(_workspaceRoot);
|
|
566
571
|
result = await stormWorkspaceConfigSchema.parseAsync(defu2(configEnv, configFile, defaultConfig));
|
|
567
572
|
result.workspaceRoot ??= _workspaceRoot;
|
|
568
573
|
} else {
|
|
@@ -595,7 +600,7 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
|
|
|
595
600
|
return extension;
|
|
596
601
|
}, "createConfigExtension");
|
|
597
602
|
var loadStormWorkspaceConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
|
|
598
|
-
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
|
|
603
|
+
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs, true);
|
|
599
604
|
setConfigEnv(config);
|
|
600
605
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
601
606
|
writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
|