@storm-software/cloudflare-tools 0.63.11 → 0.63.13
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 +12 -0
- package/README.md +1 -1
- package/dist/{chunk-UKCFZNHW.mjs → chunk-DNJD7VSW.mjs} +1 -1
- package/dist/{chunk-LRDYN7AR.js → chunk-HYKWJFHA.js} +33 -34
- package/dist/{chunk-PPVPYEP3.mjs → chunk-NTPCUFCG.mjs} +1 -1
- package/dist/{chunk-2IO3BJM3.js → chunk-QKZC352K.js} +1 -1
- package/dist/{chunk-RWTT7VDO.mjs → chunk-UDO5RHFZ.mjs} +2 -3
- package/dist/{chunk-5HO6LTQZ.js → chunk-ZTRYI6DK.js} +2 -2
- package/dist/executors.js +1 -1
- package/dist/executors.mjs +1 -1
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/src/executors/cloudflare-publish/executor.js +1 -1
- package/dist/src/executors/cloudflare-publish/executor.mjs +1 -1
- package/dist/src/executors/serve/executor.js +2 -2
- package/dist/src/executors/serve/executor.mjs +1 -1
- 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 +3 -3
- package/dist/src/generators/worker/generator.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.63.12](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.12) (2025-06-05)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
|
|
11
|
+
## [0.63.11](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.11) (2025-06-05)
|
|
12
|
+
|
|
13
|
+
### Miscellaneous
|
|
14
|
+
|
|
15
|
+
- **monorepo:** Update workspace packages and README markdown
|
|
16
|
+
|
|
5
17
|
## [0.63.10](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.10) (2025-06-04)
|
|
6
18
|
|
|
7
19
|
### 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 -->
|
|
@@ -728,9 +728,9 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
728
728
|
|
|
729
729
|
// ../esbuild/src/assets.ts
|
|
730
730
|
async function copyBuildAssets(context) {
|
|
731
|
-
if (_optionalChain([context, 'access', _52 => _52.result, 'optionalAccess', _53 => _53.errors, 'access', _54 => _54.length])
|
|
731
|
+
if (!_optionalChain([context, 'access', _52 => _52.result, 'optionalAccess', _53 => _53.errors, 'access', _54 => _54.length]) && _optionalChain([context, 'access', _55 => _55.options, 'access', _56 => _56.assets, 'optionalAccess', _57 => _57.length])) {
|
|
732
732
|
_chunkSQUJ3SXLjs.writeDebug.call(void 0,
|
|
733
|
-
` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`,
|
|
733
|
+
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
734
734
|
context.workspaceConfig
|
|
735
735
|
);
|
|
736
736
|
const stopwatch = _chunkSQUJ3SXLjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
@@ -766,7 +766,6 @@ var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
|
766
766
|
|
|
767
767
|
// ../esbuild/src/config.ts
|
|
768
768
|
var DEFAULT_BUILD_OPTIONS = {
|
|
769
|
-
assets: [],
|
|
770
769
|
platform: "node",
|
|
771
770
|
target: "node22",
|
|
772
771
|
format: "esm",
|
|
@@ -836,7 +835,7 @@ async function resolveContext(userOptions) {
|
|
|
836
835
|
const projectJson = JSON.parse(projectJsonFile);
|
|
837
836
|
const projectName = projectJson.name || userOptions.name;
|
|
838
837
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
839
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
838
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _58 => _58.projects, 'optionalAccess', _59 => _59[projectName]])) {
|
|
840
839
|
throw new Error(
|
|
841
840
|
"The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
|
|
842
841
|
);
|
|
@@ -1131,7 +1130,7 @@ async function executeTsup(context) {
|
|
|
1131
1130
|
|
|
1132
1131
|
// ../esbuild/src/build.ts
|
|
1133
1132
|
async function reportResults(context) {
|
|
1134
|
-
if (_optionalChain([context, 'access',
|
|
1133
|
+
if (_optionalChain([context, 'access', _60 => _60.result, 'optionalAccess', _61 => _61.errors, 'access', _62 => _62.length]) === 0) {
|
|
1135
1134
|
if (context.result.warnings.length > 0) {
|
|
1136
1135
|
_chunkSQUJ3SXLjs.writeWarning.call(void 0,
|
|
1137
1136
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
@@ -1142,7 +1141,7 @@ async function reportResults(context) {
|
|
|
1142
1141
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
1143
1142
|
context.workspaceConfig
|
|
1144
1143
|
);
|
|
1145
|
-
} else if (_optionalChain([context, 'access',
|
|
1144
|
+
} else if (_optionalChain([context, 'access', _63 => _63.result, 'optionalAccess', _64 => _64.errors]) && _optionalChain([context, 'access', _65 => _65.result, 'optionalAccess', _66 => _66.errors, 'access', _67 => _67.length]) > 0) {
|
|
1146
1145
|
_chunkSQUJ3SXLjs.writeError.call(void 0,
|
|
1147
1146
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
1148
1147
|
context.workspaceConfig
|
|
@@ -1221,16 +1220,16 @@ async function build2(options) {
|
|
|
1221
1220
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
1222
1221
|
async function esbuildExecutorFn(options, context, config) {
|
|
1223
1222
|
_chunkSQUJ3SXLjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1224
|
-
if (!_optionalChain([context, 'access',
|
|
1223
|
+
if (!_optionalChain([context, 'access', _68 => _68.projectsConfigurations, 'optionalAccess', _69 => _69.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _70 => _70.projectsConfigurations, 'access', _71 => _71.projects, 'access', _72 => _72[context.projectName], 'optionalAccess', _73 => _73.root])) {
|
|
1225
1224
|
throw new Error(
|
|
1226
1225
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
1227
1226
|
);
|
|
1228
1227
|
}
|
|
1229
1228
|
await build2({
|
|
1230
1229
|
...options,
|
|
1231
|
-
projectRoot: _optionalChain([context, 'access',
|
|
1230
|
+
projectRoot: _optionalChain([context, 'access', _74 => _74.projectsConfigurations, 'access', _75 => _75.projects, 'optionalAccess', _76 => _76[context.projectName], 'access', _77 => _77.root]),
|
|
1232
1231
|
name: context.projectName,
|
|
1233
|
-
sourceRoot: _optionalChain([context, 'access',
|
|
1232
|
+
sourceRoot: _optionalChain([context, 'access', _78 => _78.projectsConfigurations, 'access', _79 => _79.projects, 'optionalAccess', _80 => _80[context.projectName], 'optionalAccess', _81 => _81.sourceRoot]),
|
|
1234
1233
|
format: options.format,
|
|
1235
1234
|
platform: options.format
|
|
1236
1235
|
});
|
|
@@ -1279,15 +1278,15 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
1279
1278
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
1280
1279
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
1281
1280
|
async function sizeLimitExecutorFn(options, context, config) {
|
|
1282
|
-
if (!_optionalChain([context, 'optionalAccess',
|
|
1281
|
+
if (!_optionalChain([context, 'optionalAccess', _82 => _82.projectName]) || !_optionalChain([context, 'access', _83 => _83.projectsConfigurations, 'optionalAccess', _84 => _84.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1283
1282
|
throw new Error(
|
|
1284
1283
|
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
1285
1284
|
);
|
|
1286
1285
|
}
|
|
1287
1286
|
_chunkSQUJ3SXLjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
1288
1287
|
_sizelimit2.default.call(void 0, [_file2.default, _esbuild3.default, _esbuildwhy2.default], {
|
|
1289
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access',
|
|
1290
|
-
_nullishCoalesce(_optionalChain([context, 'access',
|
|
1288
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _85 => _85.projectsConfigurations, 'access', _86 => _86.projects, 'access', _87 => _87[context.projectName], 'optionalAccess', _88 => _88.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
|
|
1289
|
+
_nullishCoalesce(_optionalChain([context, 'access', _89 => _89.projectsConfigurations, 'access', _90 => _90.projects, 'access', _91 => _91[context.projectName], 'optionalAccess', _92 => _92.root]), () => ( "./")),
|
|
1291
1290
|
"src"
|
|
1292
1291
|
)))
|
|
1293
1292
|
}).then((result) => {
|
|
@@ -1357,7 +1356,7 @@ var executor_default8 = withRunExecutor(
|
|
|
1357
1356
|
var _jiti = require('jiti');
|
|
1358
1357
|
async function unbuildExecutorFn(options, context, config) {
|
|
1359
1358
|
_chunkSQUJ3SXLjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1360
|
-
if (!_optionalChain([context, 'access',
|
|
1359
|
+
if (!_optionalChain([context, 'access', _93 => _93.projectsConfigurations, 'optionalAccess', _94 => _94.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1361
1360
|
throw new Error(
|
|
1362
1361
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
1363
1362
|
);
|
|
@@ -1471,7 +1470,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
1471
1470
|
);
|
|
1472
1471
|
config = await _chunkOL65RB72js.getConfig.call(void 0, workspaceRoot3);
|
|
1473
1472
|
}
|
|
1474
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1473
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _95 => _95.hooks, 'optionalAccess', _96 => _96.applyDefaultOptions])) {
|
|
1475
1474
|
_chunkSQUJ3SXLjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
1476
1475
|
options = await Promise.resolve(
|
|
1477
1476
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
@@ -1488,7 +1487,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1488
1487
|
{ workspaceRoot: tree.root, config },
|
|
1489
1488
|
applyWorkspaceBaseTokens
|
|
1490
1489
|
);
|
|
1491
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1490
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _97 => _97.hooks, 'optionalAccess', _98 => _98.preProcess])) {
|
|
1492
1491
|
_chunkSQUJ3SXLjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
1493
1492
|
await Promise.resolve(
|
|
1494
1493
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
@@ -1499,15 +1498,15 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1499
1498
|
generatorFn(tree, tokenized, config)
|
|
1500
1499
|
);
|
|
1501
1500
|
if (result) {
|
|
1502
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
1501
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _99 => _99.error, 'optionalAccess', _100 => _100.message]) && typeof _optionalChain([result, 'optionalAccess', _101 => _101.error, 'optionalAccess', _102 => _102.message]) === "string" && _optionalChain([result, 'optionalAccess', _103 => _103.error, 'optionalAccess', _104 => _104.name]) && typeof _optionalChain([result, 'optionalAccess', _105 => _105.error, 'optionalAccess', _106 => _106.name]) === "string") {
|
|
1503
1502
|
throw new Error(`The ${name} generator failed to run`, {
|
|
1504
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
1503
|
+
cause: _optionalChain([result, 'optionalAccess', _107 => _107.error])
|
|
1505
1504
|
});
|
|
1506
1505
|
} else if (result.success && result.data) {
|
|
1507
1506
|
return result;
|
|
1508
1507
|
}
|
|
1509
1508
|
}
|
|
1510
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1509
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _108 => _108.hooks, 'optionalAccess', _109 => _109.postProcess])) {
|
|
1511
1510
|
_chunkSQUJ3SXLjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
1512
1511
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
1513
1512
|
_chunkSQUJ3SXLjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
@@ -1639,15 +1638,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1639
1638
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
1640
1639
|
let repository = {
|
|
1641
1640
|
type: "github",
|
|
1642
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
1641
|
+
url: _optionalChain([config, 'optionalAccess', _110 => _110.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _111 => _111.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _112 => _112.namespace]) || _optionalChain([config, 'optionalAccess', _113 => _113.name]) || "repository"}.git`
|
|
1643
1642
|
};
|
|
1644
1643
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
1645
1644
|
if (tree.exists("package.json")) {
|
|
1646
1645
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1647
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1646
|
+
if (_optionalChain([packageJson, 'optionalAccess', _114 => _114.repository])) {
|
|
1648
1647
|
repository = packageJson.repository;
|
|
1649
1648
|
}
|
|
1650
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1649
|
+
if (_optionalChain([packageJson, 'optionalAccess', _115 => _115.description])) {
|
|
1651
1650
|
description = packageJson.description;
|
|
1652
1651
|
}
|
|
1653
1652
|
}
|
|
@@ -1702,9 +1701,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1702
1701
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
1703
1702
|
...json,
|
|
1704
1703
|
pnpm: {
|
|
1705
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1704
|
+
..._optionalChain([json, 'optionalAccess', _116 => _116.pnpm]),
|
|
1706
1705
|
overrides: {
|
|
1707
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1706
|
+
..._optionalChain([json, 'optionalAccess', _117 => _117.pnpm, 'optionalAccess', _118 => _118.overrides]),
|
|
1708
1707
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
1709
1708
|
}
|
|
1710
1709
|
}
|
|
@@ -1722,10 +1721,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1722
1721
|
]);
|
|
1723
1722
|
if (tree.exists("package.json")) {
|
|
1724
1723
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1725
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1724
|
+
if (_optionalChain([packageJson, 'optionalAccess', _119 => _119.repository])) {
|
|
1726
1725
|
repository = packageJson.repository;
|
|
1727
1726
|
}
|
|
1728
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1727
|
+
if (_optionalChain([packageJson, 'optionalAccess', _120 => _120.description])) {
|
|
1729
1728
|
description = packageJson.description;
|
|
1730
1729
|
}
|
|
1731
1730
|
}
|
|
@@ -1762,22 +1761,22 @@ function getOutputPath(options) {
|
|
|
1762
1761
|
function createProjectTsConfigJson(tree, options) {
|
|
1763
1762
|
const tsconfig = {
|
|
1764
1763
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
1765
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1764
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _121 => _121.tsconfigOptions]), () => ( {})),
|
|
1766
1765
|
compilerOptions: {
|
|
1767
1766
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
1768
1767
|
outDir: _chunkSQUJ3SXLjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
1769
1768
|
noEmit: true,
|
|
1770
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1769
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _122 => _122.tsconfigOptions, 'optionalAccess', _123 => _123.compilerOptions]), () => ( {}))
|
|
1771
1770
|
},
|
|
1772
|
-
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1771
|
+
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _124 => _124.tsconfigOptions, 'optionalAccess', _125 => _125.files]), () => ( []))],
|
|
1773
1772
|
include: [
|
|
1774
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1773
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _126 => _126.tsconfigOptions, 'optionalAccess', _127 => _127.include]), () => ( [])),
|
|
1775
1774
|
"src/**/*.ts",
|
|
1776
1775
|
"src/**/*.js",
|
|
1777
1776
|
"bin/**/*"
|
|
1778
1777
|
],
|
|
1779
1778
|
exclude: [
|
|
1780
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1779
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _128 => _128.tsconfigOptions, 'optionalAccess', _129 => _129.exclude]), () => ( [])),
|
|
1781
1780
|
"jest.config.ts",
|
|
1782
1781
|
"src/**/*.spec.ts",
|
|
1783
1782
|
"src/**/*.test.ts"
|
|
@@ -1787,8 +1786,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
1787
1786
|
}
|
|
1788
1787
|
async function normalizeOptions(tree, options, config) {
|
|
1789
1788
|
let importPath = options.importPath;
|
|
1790
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
1791
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
1789
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _130 => _130.namespace])) {
|
|
1790
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _131 => _131.namespace])}/${options.name}`;
|
|
1792
1791
|
}
|
|
1793
1792
|
if (options.publishable) {
|
|
1794
1793
|
if (!importPath) {
|
|
@@ -1944,8 +1943,8 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
1944
1943
|
});
|
|
1945
1944
|
_chunkSQUJ3SXLjs.writeTrace.call(void 0, jsonSchema, config);
|
|
1946
1945
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
1947
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
1948
|
-
_optionalChain([options, 'access',
|
|
1946
|
+
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _132 => _132.workspaceRoot]), () => ( _chunkSQUJ3SXLjs.findWorkspaceRoot.call(void 0, ))),
|
|
1947
|
+
_optionalChain([options, 'access', _133 => _133.outputFile, 'optionalAccess', _134 => _134.startsWith, 'call', _135 => _135("./")]) ? "" : "./"
|
|
1949
1948
|
);
|
|
1950
1949
|
_chunkSQUJ3SXLjs.writeTrace.call(void 0,
|
|
1951
1950
|
`\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.12",
|
|
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",
|
|
@@ -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.12",
|
|
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",
|
|
@@ -729,9 +729,9 @@ import {
|
|
|
729
729
|
|
|
730
730
|
// ../esbuild/src/assets.ts
|
|
731
731
|
async function copyBuildAssets(context) {
|
|
732
|
-
if (context.result?.errors.length
|
|
732
|
+
if (!context.result?.errors.length && context.options.assets?.length) {
|
|
733
733
|
writeDebug(
|
|
734
|
-
` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`,
|
|
734
|
+
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
735
735
|
context.workspaceConfig
|
|
736
736
|
);
|
|
737
737
|
const stopwatch = getStopwatch(`${context.options.name} asset copy`);
|
|
@@ -767,7 +767,6 @@ import { findWorkspaceRoot as findWorkspaceRoot2 } from "nx/src/utils/find-works
|
|
|
767
767
|
|
|
768
768
|
// ../esbuild/src/config.ts
|
|
769
769
|
var DEFAULT_BUILD_OPTIONS = {
|
|
770
|
-
assets: [],
|
|
771
770
|
platform: "node",
|
|
772
771
|
target: "node22",
|
|
773
772
|
format: "esm",
|
|
@@ -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 _chunkQKZC352Kjs = require('./chunk-QKZC352K.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkOL65RB72js = require('./chunk-OL65RB72.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 _chunkQKZC352Kjs.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
package/dist/executors.js
CHANGED
package/dist/executors.mjs
CHANGED
package/dist/generators.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkZTRYI6DKjs = require('./chunk-ZTRYI6DK.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkQKZC352Kjs = require('./chunk-QKZC352K.js');
|
|
10
10
|
require('./chunk-OL65RB72.js');
|
|
11
11
|
require('./chunk-SQUJ3SXL.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 = _chunkZTRYI6DKjs.applicationGenerator; exports.applicationSchematic = _chunkZTRYI6DKjs.applicationSchematic; exports.initGenerator = _chunkQKZC352Kjs.initGenerator; exports.initSchematic = _chunkQKZC352Kjs.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,11 +2,11 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DNJD7VSW.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NTPCUFCG.mjs";
|
|
10
10
|
import "./chunk-7H2K6PT4.mjs";
|
|
11
11
|
import "./chunk-GOL5LHR6.mjs";
|
|
12
12
|
import "./chunk-2ET7ZYTU.mjs";
|
package/dist/index.js
CHANGED
|
@@ -3,14 +3,14 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkZTRYI6DKjs = require('./chunk-ZTRYI6DK.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkQKZC352Kjs = require('./chunk-QKZC352K.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-T2OGA6MB.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-HYKWJFHA.js');
|
|
14
14
|
require('./chunk-Q6WFFOSW.js');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -162,4 +162,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
exports.applicationGenerator =
|
|
165
|
+
exports.applicationGenerator = _chunkZTRYI6DKjs.applicationGenerator; exports.applicationSchematic = _chunkZTRYI6DKjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunk2HJQOPBDjs.getInternalDependencies; exports.initGenerator = _chunkQKZC352Kjs.initGenerator; exports.initSchematic = _chunkQKZC352Kjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunk2HJQOPBDjs.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-DNJD7VSW.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NTPCUFCG.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
12
|
import "./chunk-DY4VZ7GU.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-UDO5RHFZ.mjs";
|
|
14
14
|
import "./chunk-5M3ADTI2.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkT2OGA6MBjs = require('../../../chunk-T2OGA6MB.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-HYKWJFHA.js');
|
|
5
5
|
require('../../../chunk-KTFMIXUN.js');
|
|
6
6
|
require('../../../chunk-OL65RB72.js');
|
|
7
7
|
require('../../../chunk-SQUJ3SXL.js');
|
|
@@ -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 _chunkHYKWJFHAjs = require('../../../chunk-HYKWJFHA.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkKTFMIXUNjs = require('../../../chunk-KTFMIXUN.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 = _chunkHYKWJFHAjs.withRunExecutor.call(void 0,
|
|
59
59
|
"Cloudflare Serve executor",
|
|
60
60
|
serveExecutor,
|
|
61
61
|
{
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkQKZC352Kjs = require('../../../chunk-QKZC352K.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkQKZC352Kjs.generator_default; exports.initGenerator = _chunkQKZC352Kjs.initGenerator; exports.initSchematic = _chunkQKZC352Kjs.initSchematic;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkZTRYI6DKjs = require('../../../chunk-ZTRYI6DK.js');
|
|
6
|
+
require('../../../chunk-QKZC352K.js');
|
|
7
7
|
require('../../../chunk-OL65RB72.js');
|
|
8
8
|
require('../../../chunk-SQUJ3SXL.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 = _chunkZTRYI6DKjs.applicationGenerator; exports.applicationSchematic = _chunkZTRYI6DKjs.applicationSchematic; exports.default = _chunkZTRYI6DKjs.generator_default;
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-DNJD7VSW.mjs";
|
|
6
|
+
import "../../../chunk-NTPCUFCG.mjs";
|
|
7
7
|
import "../../../chunk-7H2K6PT4.mjs";
|
|
8
8
|
import "../../../chunk-GOL5LHR6.mjs";
|
|
9
9
|
import "../../../chunk-2ET7ZYTU.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.13",
|
|
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",
|