@storm-software/cloudflare-tools 0.65.4 → 0.65.6
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 +2 -1
- package/dist/{chunk-DKHOMIBZ.mjs → chunk-537PH6YK.mjs} +2 -5
- package/dist/{chunk-ZDZ43AAA.js → chunk-6CP6ARGM.js} +2 -5
- package/dist/{chunk-M7PW4FKU.js → chunk-B44VJUAX.js} +1 -1
- package/dist/{chunk-O4GKQJN4.mjs → chunk-EHEXWPEP.mjs} +1 -1
- package/dist/{chunk-IYNGKW2H.mjs → chunk-G6PGMOAM.mjs} +2 -2
- package/dist/{chunk-SDOOTJSD.js → chunk-N3UQB43Z.js} +3 -3
- package/dist/{chunk-I3R2ATMM.mjs → chunk-NYUGUHRY.mjs} +1 -1
- package/dist/{chunk-S7FFCJAR.js → chunk-QAVQTJUQ.js} +5 -5
- package/dist/{chunk-SWPD4TFX.mjs → chunk-SN6UJZ2G.mjs} +1 -1
- package/dist/{chunk-E2QSZ73F.js → chunk-U3IGSCX3.js} +50 -50
- package/dist/executors.js +3 -3
- package/dist/executors.mjs +3 -3
- package/dist/generators.js +4 -4
- package/dist/generators.mjs +3 -3
- package/dist/index.js +6 -6
- package/dist/index.mjs +5 -5
- package/dist/src/executors/cloudflare-publish/executor.js +2 -2
- package/dist/src/executors/cloudflare-publish/executor.mjs +2 -2
- package/dist/src/executors/r2-upload-publish/executor.js +3 -3
- package/dist/src/executors/r2-upload-publish/executor.mjs +2 -2
- package/dist/src/executors/serve/executor.js +3 -3
- 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 +1 -1
- package/dist/src/generators/worker/generator.js +4 -4
- package/dist/src/generators/worker/generator.mjs +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.65.5](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.65.5) (2025-08-09)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Updated the workspace package dependencies
|
|
10
|
+
([fff0b6534](https://github.com/storm-software/storm-ops/commit/fff0b6534))
|
|
11
|
+
|
|
12
|
+
## [0.65.4](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.65.4) (2025-08-08)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Update workspace dependencies and README markdown
|
|
17
|
+
([67e119b05](https://github.com/storm-software/storm-ops/commit/67e119b05))
|
|
18
|
+
|
|
5
19
|
## [0.65.3](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.65.3) (2025-08-07)
|
|
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 -->
|
|
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
+
|
|
43
44
|
## Table of Contents
|
|
44
45
|
|
|
45
46
|
- [Storm Cloudflare Tools](#storm-cloudflare-tools)
|
|
@@ -711,16 +711,13 @@ schemaRegistry.add(packageManagerSchema, {
|
|
|
711
711
|
description: "The JavaScript/TypeScript package manager used by the repository"
|
|
712
712
|
});
|
|
713
713
|
var timezoneSchema = z._default(
|
|
714
|
-
z.string().check(z.trim()
|
|
714
|
+
z.string().check(z.trim()),
|
|
715
715
|
"America/New_York"
|
|
716
716
|
);
|
|
717
717
|
schemaRegistry.add(timezoneSchema, {
|
|
718
718
|
description: "The default timezone of the workspace"
|
|
719
719
|
});
|
|
720
|
-
var localeSchema = z._default(
|
|
721
|
-
z.string().check(z.trim(), z.toLowerCase()),
|
|
722
|
-
"en-US"
|
|
723
|
-
);
|
|
720
|
+
var localeSchema = z._default(z.string().check(z.trim()), "en-US");
|
|
724
721
|
schemaRegistry.add(localeSchema, {
|
|
725
722
|
description: "The default locale of the workspace"
|
|
726
723
|
});
|
|
@@ -711,16 +711,13 @@ schemaRegistry.add(packageManagerSchema, {
|
|
|
711
711
|
description: "The JavaScript/TypeScript package manager used by the repository"
|
|
712
712
|
});
|
|
713
713
|
var timezoneSchema = z._default(
|
|
714
|
-
z.string().check(z.trim()
|
|
714
|
+
z.string().check(z.trim()),
|
|
715
715
|
"America/New_York"
|
|
716
716
|
);
|
|
717
717
|
schemaRegistry.add(timezoneSchema, {
|
|
718
718
|
description: "The default timezone of the workspace"
|
|
719
719
|
});
|
|
720
|
-
var localeSchema = z._default(
|
|
721
|
-
z.string().check(z.trim(), z.toLowerCase()),
|
|
722
|
-
"en-US"
|
|
723
|
-
);
|
|
720
|
+
var localeSchema = z._default(z.string().check(z.trim()), "en-US");
|
|
724
721
|
schemaRegistry.add(localeSchema, {
|
|
725
722
|
description: "The default locale of the workspace"
|
|
726
723
|
});
|
|
@@ -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.65.
|
|
10
|
+
version: "0.65.5",
|
|
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",
|
|
@@ -9,7 +9,7 @@ var _chunkNU34IEWNjs = require('./chunk-NU34IEWN.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk6CP6ARGMjs = require('./chunk-6CP6ARGM.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -39,8 +39,8 @@ async function runExecutor(options, context) {
|
|
|
39
39
|
throw new Error("The executor requires projectsConfigurations.");
|
|
40
40
|
}
|
|
41
41
|
try {
|
|
42
|
-
const workspaceRoot =
|
|
43
|
-
const config = await
|
|
42
|
+
const workspaceRoot = _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, );
|
|
43
|
+
const config = await _chunk6CP6ARGMjs.getConfig.call(void 0, workspaceRoot);
|
|
44
44
|
const sourceRoot = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.sourceRoot]), () => ( workspaceRoot));
|
|
45
45
|
const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
|
|
46
46
|
const projectDetails = _chunkNU34IEWNjs.getPackageInfo.call(void 0,
|
|
@@ -1,10 +1,10 @@
|
|
|
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 _chunkB44VJUAXjs = require('./chunk-B44VJUAX.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk6CP6ARGMjs = require('./chunk-6CP6ARGM.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -51,13 +51,13 @@ async function applicationGenerator(tree, schema) {
|
|
|
51
51
|
_chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
|
|
52
52
|
|
|
53
53
|
`, config);
|
|
54
|
-
const workspaceRoot =
|
|
54
|
+
const workspaceRoot = _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, );
|
|
55
55
|
_chunk2CDSXWFAjs.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
|
|
60
|
+
config = await _chunk6CP6ARGMjs.getConfig.call(void 0, workspaceRoot);
|
|
61
61
|
_chunk2CDSXWFAjs.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")}`,
|
|
@@ -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 _chunkB44VJUAXjs.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
|
@@ -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.65.
|
|
10
|
+
version: "0.65.5",
|
|
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",
|
|
@@ -9,7 +9,7 @@ var _chunkNU34IEWNjs = require('./chunk-NU34IEWN.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk6CP6ARGMjs = require('./chunk-6CP6ARGM.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -60,7 +60,7 @@ var applyWorkspaceBaseTokens = async (option, tokenParams) => {
|
|
|
60
60
|
if (result.includes("{workspaceRoot}")) {
|
|
61
61
|
result = result.replaceAll(
|
|
62
62
|
"{workspaceRoot}",
|
|
63
|
-
_nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => (
|
|
63
|
+
_nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, )))
|
|
64
64
|
);
|
|
65
65
|
}
|
|
66
66
|
return result;
|
|
@@ -109,7 +109,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
109
109
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
110
110
|
);
|
|
111
111
|
}
|
|
112
|
-
const workspaceRoot3 =
|
|
112
|
+
const workspaceRoot3 = _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, );
|
|
113
113
|
const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot3;
|
|
114
114
|
const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot3;
|
|
115
115
|
const projectName = context.projectName;
|
|
@@ -125,7 +125,7 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
|
|
|
125
125
|
`,
|
|
126
126
|
config
|
|
127
127
|
);
|
|
128
|
-
config = await
|
|
128
|
+
config = await _chunk6CP6ARGMjs.getConfig.call(void 0, workspaceRoot3);
|
|
129
129
|
}
|
|
130
130
|
if (_optionalChain([executorOptions, 'optionalAccess', _7 => _7.hooks, 'optionalAccess', _8 => _8.applyDefaultOptions])) {
|
|
131
131
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
@@ -510,7 +510,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
510
510
|
}
|
|
511
511
|
_chunk2CDSXWFAjs.writeTrace.call(void 0,
|
|
512
512
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
513
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
513
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunk6CP6ARGMjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
514
514
|
config
|
|
515
515
|
);
|
|
516
516
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
@@ -523,17 +523,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
523
523
|
_chunk2CDSXWFAjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
524
524
|
if (includeSrc === true) {
|
|
525
525
|
_chunk2CDSXWFAjs.writeDebug.call(void 0,
|
|
526
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
526
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
527
527
|
outputPath,
|
|
528
528
|
"src"
|
|
529
529
|
)}`,
|
|
530
530
|
config
|
|
531
531
|
);
|
|
532
532
|
const files = await _glob.glob.call(void 0, [
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
533
|
+
_chunk6CP6ARGMjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
534
|
+
_chunk6CP6ARGMjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
535
|
+
_chunk6CP6ARGMjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
536
|
+
_chunk6CP6ARGMjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
537
537
|
]);
|
|
538
538
|
await Promise.allSettled(
|
|
539
539
|
files.map(
|
|
@@ -588,7 +588,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
588
588
|
)) {
|
|
589
589
|
const projectNode = project.node;
|
|
590
590
|
if (projectNode.data.root) {
|
|
591
|
-
const projectPackageJsonPath =
|
|
591
|
+
const projectPackageJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
592
592
|
workspaceRoot3,
|
|
593
593
|
projectNode.data.root,
|
|
594
594
|
"package.json"
|
|
@@ -610,7 +610,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
610
610
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
611
611
|
);
|
|
612
612
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
613
|
-
|
|
613
|
+
_chunk6CP6ARGMjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
614
614
|
"utf8"
|
|
615
615
|
);
|
|
616
616
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -623,7 +623,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
623
623
|
}
|
|
624
624
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _37 => _37.projects, 'optionalAccess', _38 => _38[projectName2], 'access', _39 => _39.implicitDependencies, 'optionalAccess', _40 => _40.reduce, 'call', _41 => _41((ret, dep) => {
|
|
625
625
|
if (_optionalChain([projectConfigurations, 'access', _42 => _42.projects, 'optionalAccess', _43 => _43[dep]])) {
|
|
626
|
-
const depPackageJsonPath =
|
|
626
|
+
const depPackageJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
627
627
|
workspaceRoot3,
|
|
628
628
|
projectConfigurations.projects[dep].root,
|
|
629
629
|
"package.json"
|
|
@@ -659,9 +659,9 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
659
659
|
return packageJson;
|
|
660
660
|
};
|
|
661
661
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
662
|
-
const workspaceRoot3 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot :
|
|
662
|
+
const workspaceRoot3 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, );
|
|
663
663
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
664
|
-
|
|
664
|
+
_chunk6CP6ARGMjs.joinPaths.call(void 0, workspaceRoot3, "package.json"),
|
|
665
665
|
"utf8"
|
|
666
666
|
);
|
|
667
667
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -672,7 +672,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
672
672
|
if (distSrc.startsWith("/")) {
|
|
673
673
|
distSrc = distSrc.substring(1);
|
|
674
674
|
}
|
|
675
|
-
packageJson.source ??= `${
|
|
675
|
+
packageJson.source ??= `${_chunk6CP6ARGMjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
676
676
|
}
|
|
677
677
|
packageJson.files ??= ["dist/**/*"];
|
|
678
678
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -697,7 +697,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
697
697
|
packageJson.contributors = [packageJson.author];
|
|
698
698
|
}
|
|
699
699
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
700
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
700
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunk6CP6ARGMjs.joinPaths.call(void 0, "packages", projectName);
|
|
701
701
|
return packageJson;
|
|
702
702
|
};
|
|
703
703
|
|
|
@@ -816,7 +816,7 @@ async function resolveContext(userOptions) {
|
|
|
816
816
|
if (!workspaceRoot3) {
|
|
817
817
|
throw new Error("Cannot find Nx workspace root");
|
|
818
818
|
}
|
|
819
|
-
const workspaceConfig = await
|
|
819
|
+
const workspaceConfig = await _chunk6CP6ARGMjs.getWorkspaceConfig.call(void 0, true, {
|
|
820
820
|
workspaceRoot: workspaceRoot3.dir
|
|
821
821
|
});
|
|
822
822
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
@@ -824,7 +824,7 @@ async function resolveContext(userOptions) {
|
|
|
824
824
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
825
825
|
exitOnError: true
|
|
826
826
|
});
|
|
827
|
-
const projectJsonPath =
|
|
827
|
+
const projectJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
828
828
|
workspaceRoot3.dir,
|
|
829
829
|
projectRoot,
|
|
830
830
|
"project.json"
|
|
@@ -843,7 +843,7 @@ async function resolveContext(userOptions) {
|
|
|
843
843
|
}
|
|
844
844
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
845
845
|
options.name ??= projectName;
|
|
846
|
-
const packageJsonPath =
|
|
846
|
+
const packageJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
847
847
|
workspaceRoot3.dir,
|
|
848
848
|
options.projectRoot,
|
|
849
849
|
"package.json"
|
|
@@ -855,7 +855,7 @@ async function resolveContext(userOptions) {
|
|
|
855
855
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
856
856
|
const resolvedOptions = {
|
|
857
857
|
...options,
|
|
858
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig :
|
|
858
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunk6CP6ARGMjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "tsconfig.json"),
|
|
859
859
|
metafile: userOptions.mode === "development",
|
|
860
860
|
clean: false,
|
|
861
861
|
env,
|
|
@@ -880,8 +880,8 @@ async function resolveContext(userOptions) {
|
|
|
880
880
|
projectConfigurations,
|
|
881
881
|
projectName,
|
|
882
882
|
projectGraph,
|
|
883
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot ||
|
|
884
|
-
outputPath: resolvedOptions.outputPath ||
|
|
883
|
+
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunk6CP6ARGMjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
|
|
884
|
+
outputPath: resolvedOptions.outputPath || _chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
885
885
|
workspaceConfig.workspaceRoot,
|
|
886
886
|
"dist",
|
|
887
887
|
resolvedOptions.projectRoot
|
|
@@ -905,10 +905,10 @@ ${_chunk2CDSXWFAjs.formatLogMessage.call(void 0, context.options)}`,
|
|
|
905
905
|
|
|
906
906
|
|
|
907
907
|
async function generatePackageJson(context) {
|
|
908
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
908
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk6CP6ARGMjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
909
909
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
910
910
|
const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, "Write package.json file");
|
|
911
|
-
const packageJsonPath =
|
|
911
|
+
const packageJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
912
912
|
context.options.projectRoot,
|
|
913
913
|
"project.json"
|
|
914
914
|
);
|
|
@@ -916,7 +916,7 @@ async function generatePackageJson(context) {
|
|
|
916
916
|
throw new Error("Cannot find package.json configuration");
|
|
917
917
|
}
|
|
918
918
|
const packageJsonFile = await _promises2.default.readFile(
|
|
919
|
-
|
|
919
|
+
_chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
920
920
|
context.workspaceConfig.workspaceRoot,
|
|
921
921
|
context.options.projectRoot,
|
|
922
922
|
"package.json"
|
|
@@ -1022,7 +1022,7 @@ async function generatePackageJson(context) {
|
|
|
1022
1022
|
}
|
|
1023
1023
|
}
|
|
1024
1024
|
await _devkit.writeJsonFile.call(void 0,
|
|
1025
|
-
|
|
1025
|
+
_chunk6CP6ARGMjs.joinPaths.call(void 0, context.outputPath, "package.json"),
|
|
1026
1026
|
packageJson
|
|
1027
1027
|
);
|
|
1028
1028
|
stopwatch();
|
|
@@ -1122,7 +1122,7 @@ async function executeTsup(context) {
|
|
|
1122
1122
|
const stopwatch = _chunk2CDSXWFAjs.getStopwatch.call(void 0, `${context.options.name} build`);
|
|
1123
1123
|
await _tsup.build.call(void 0, {
|
|
1124
1124
|
...context.options,
|
|
1125
|
-
outDir: context.options.distDir ?
|
|
1125
|
+
outDir: context.options.distDir ? _chunk6CP6ARGMjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
1126
1126
|
workspaceConfig: context.workspaceConfig
|
|
1127
1127
|
});
|
|
1128
1128
|
stopwatch();
|
|
@@ -1373,7 +1373,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
1373
1373
|
);
|
|
1374
1374
|
}
|
|
1375
1375
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
1376
|
-
fsCache: config.skipCache ? false :
|
|
1376
|
+
fsCache: config.skipCache ? false : _chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
1377
1377
|
config.workspaceRoot,
|
|
1378
1378
|
config.directories.cache || "node_modules/.cache/storm",
|
|
1379
1379
|
"jiti"
|
|
@@ -1395,7 +1395,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
1395
1395
|
{
|
|
1396
1396
|
stubOptions: {
|
|
1397
1397
|
jiti: {
|
|
1398
|
-
fsCache: config.skipCache ? false :
|
|
1398
|
+
fsCache: config.skipCache ? false : _chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
1399
1399
|
config.workspaceRoot,
|
|
1400
1400
|
config.directories.cache || "node_modules/.cache/storm",
|
|
1401
1401
|
"jiti"
|
|
@@ -1462,14 +1462,14 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
1462
1462
|
_chunk2CDSXWFAjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
|
|
1463
1463
|
|
|
1464
1464
|
`, config);
|
|
1465
|
-
const workspaceRoot3 =
|
|
1465
|
+
const workspaceRoot3 = _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, );
|
|
1466
1466
|
if (!generatorOptions.skipReadingConfig) {
|
|
1467
1467
|
_chunk2CDSXWFAjs.writeDebug.call(void 0,
|
|
1468
1468
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
1469
1469
|
- workspaceRoot: ${workspaceRoot3}`,
|
|
1470
1470
|
config
|
|
1471
1471
|
);
|
|
1472
|
-
config = await
|
|
1472
|
+
config = await _chunk6CP6ARGMjs.getConfig.call(void 0, workspaceRoot3);
|
|
1473
1473
|
}
|
|
1474
1474
|
if (_optionalChain([generatorOptions, 'optionalAccess', _95 => _95.hooks, 'optionalAccess', _96 => _96.applyDefaultOptions])) {
|
|
1475
1475
|
_chunk2CDSXWFAjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
@@ -1588,16 +1588,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1588
1588
|
const projectConfig = {
|
|
1589
1589
|
root: normalized.directory,
|
|
1590
1590
|
projectType: "library",
|
|
1591
|
-
sourceRoot:
|
|
1591
|
+
sourceRoot: _chunk6CP6ARGMjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
1592
1592
|
targets: {
|
|
1593
1593
|
build: {
|
|
1594
1594
|
executor: options.buildExecutor,
|
|
1595
1595
|
outputs: ["{options.outputPath}"],
|
|
1596
1596
|
options: {
|
|
1597
|
-
entry: [
|
|
1597
|
+
entry: [_chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
1598
1598
|
outputPath: getOutputPath(normalized),
|
|
1599
|
-
tsconfig:
|
|
1600
|
-
project:
|
|
1599
|
+
tsconfig: _chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
1600
|
+
project: _chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
1601
1601
|
defaultConfiguration: "production",
|
|
1602
1602
|
platform: "neutral",
|
|
1603
1603
|
assets: [
|
|
@@ -1654,7 +1654,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1654
1654
|
if (!normalized.importPath) {
|
|
1655
1655
|
normalized.importPath = normalized.name;
|
|
1656
1656
|
}
|
|
1657
|
-
const packageJsonPath =
|
|
1657
|
+
const packageJsonPath = _chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
1658
1658
|
if (tree.exists(packageJsonPath)) {
|
|
1659
1659
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
1660
1660
|
if (!normalized.importPath) {
|
|
@@ -1711,14 +1711,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1711
1711
|
}));
|
|
1712
1712
|
}
|
|
1713
1713
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
1714
|
-
|
|
1714
|
+
_chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
1715
1715
|
normalized.projectRoot,
|
|
1716
1716
|
"./src",
|
|
1717
1717
|
`index.${normalized.js ? "js" : "ts"}`
|
|
1718
1718
|
)
|
|
1719
1719
|
]);
|
|
1720
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
1721
|
-
|
|
1720
|
+
_js.addTsConfigPath.call(void 0, tree, _chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
1721
|
+
_chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
1722
1722
|
]);
|
|
1723
1723
|
if (tree.exists("package.json")) {
|
|
1724
1724
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -1729,7 +1729,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1729
1729
|
description = packageJson.description;
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
1732
|
-
const tsconfigPath =
|
|
1732
|
+
const tsconfigPath = _chunk6CP6ARGMjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
1733
1733
|
if (tree.exists(tsconfigPath)) {
|
|
1734
1734
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
1735
1735
|
json.composite ??= true;
|
|
@@ -1757,7 +1757,7 @@ function getOutputPath(options) {
|
|
|
1757
1757
|
} else {
|
|
1758
1758
|
parts.push(options.projectRoot);
|
|
1759
1759
|
}
|
|
1760
|
-
return
|
|
1760
|
+
return _chunk6CP6ARGMjs.joinPaths.call(void 0, ...parts);
|
|
1761
1761
|
}
|
|
1762
1762
|
function createProjectTsConfigJson(tree, options) {
|
|
1763
1763
|
const tsconfig = {
|
|
@@ -1765,7 +1765,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
1765
1765
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _124 => _124.tsconfigOptions]), () => ( {})),
|
|
1766
1766
|
compilerOptions: {
|
|
1767
1767
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
1768
|
-
outDir:
|
|
1768
|
+
outDir: _chunk6CP6ARGMjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
1769
1769
|
noEmit: true,
|
|
1770
1770
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _125 => _125.tsconfigOptions, 'optionalAccess', _126 => _126.compilerOptions]), () => ( {}))
|
|
1771
1771
|
},
|
|
@@ -1783,7 +1783,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
1783
1783
|
"src/**/*.test.ts"
|
|
1784
1784
|
]
|
|
1785
1785
|
};
|
|
1786
|
-
_devkit.writeJson.call(void 0, tree,
|
|
1786
|
+
_devkit.writeJson.call(void 0, tree, _chunk6CP6ARGMjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
1787
1787
|
}
|
|
1788
1788
|
async function normalizeOptions(tree, options, config) {
|
|
1789
1789
|
let importPath = options.importPath;
|
|
@@ -1848,7 +1848,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
1848
1848
|
|
|
1849
1849
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
1850
1850
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
1851
|
-
const filesDir =
|
|
1851
|
+
const filesDir = _chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
1852
1852
|
__dirname,
|
|
1853
1853
|
"src",
|
|
1854
1854
|
"generators",
|
|
@@ -1939,9 +1939,9 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
1939
1939
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
1940
1940
|
config
|
|
1941
1941
|
);
|
|
1942
|
-
const jsonSchema = z.toJSONSchema(
|
|
1942
|
+
const jsonSchema = z.toJSONSchema(_chunk6CP6ARGMjs.workspaceConfigSchema, {
|
|
1943
1943
|
target: "draft-7",
|
|
1944
|
-
metadata:
|
|
1944
|
+
metadata: _chunk6CP6ARGMjs.schemaRegistry
|
|
1945
1945
|
});
|
|
1946
1946
|
jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
|
|
1947
1947
|
jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
|
|
@@ -1953,7 +1953,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
1953
1953
|
);
|
|
1954
1954
|
}
|
|
1955
1955
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
1956
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _135 => _135.workspaceRoot]), () => (
|
|
1956
|
+
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _135 => _135.workspaceRoot]), () => ( _chunk6CP6ARGMjs.findWorkspaceRoot.call(void 0, ))),
|
|
1957
1957
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
1958
1958
|
);
|
|
1959
1959
|
_chunk2CDSXWFAjs.writeTrace.call(void 0,
|
|
@@ -1997,7 +1997,7 @@ var generator_default2 = withRunGenerator(
|
|
|
1997
1997
|
|
|
1998
1998
|
|
|
1999
1999
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
2000
|
-
const filesDir =
|
|
2000
|
+
const filesDir = _chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
2001
2001
|
__dirname,
|
|
2002
2002
|
"src",
|
|
2003
2003
|
"generators",
|
|
@@ -2056,7 +2056,7 @@ var generator_default3 = withRunGenerator(
|
|
|
2056
2056
|
|
|
2057
2057
|
|
|
2058
2058
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
2059
|
-
const filesDir =
|
|
2059
|
+
const filesDir = _chunk6CP6ARGMjs.joinPaths.call(void 0,
|
|
2060
2060
|
__dirname,
|
|
2061
2061
|
"src",
|
|
2062
2062
|
"generators",
|
package/dist/executors.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
2
|
require('./chunk-IRORGRVZ.js');
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
3
|
+
require('./chunk-U3IGSCX3.js');
|
|
4
|
+
require('./chunk-N3UQB43Z.js');
|
|
5
5
|
require('./chunk-NCQM44P3.js');
|
|
6
6
|
require('./chunk-NU34IEWN.js');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-6CP6ARGM.js');
|
|
8
8
|
require('./chunk-2CDSXWFA.js');
|
|
9
9
|
require('./chunk-MCKGQKYU.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
2
|
import "./chunk-QBISXDXF.mjs";
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-EHEXWPEP.mjs";
|
|
4
|
+
import "./chunk-NYUGUHRY.mjs";
|
|
5
5
|
import "./chunk-IANDAPQS.mjs";
|
|
6
6
|
import "./chunk-PH3DHY4Q.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-537PH6YK.mjs";
|
|
8
8
|
import "./chunk-V44DYGWX.mjs";
|
|
9
9
|
import "./chunk-N6YTSDTM.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkQAVQTJUQjs = require('./chunk-QAVQTJUQ.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
9
|
+
var _chunkB44VJUAXjs = require('./chunk-B44VJUAX.js');
|
|
10
|
+
require('./chunk-6CP6ARGM.js');
|
|
11
11
|
require('./chunk-2CDSXWFA.js');
|
|
12
12
|
require('./chunk-MCKGQKYU.js');
|
|
13
13
|
|
|
@@ -15,4 +15,4 @@ require('./chunk-MCKGQKYU.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkQAVQTJUQjs.applicationGenerator; exports.applicationSchematic = _chunkQAVQTJUQjs.applicationSchematic; exports.initGenerator = _chunkB44VJUAXjs.initGenerator; exports.initSchematic = _chunkB44VJUAXjs.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,12 +2,12 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-G6PGMOAM.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-SN6UJZ2G.mjs";
|
|
10
|
+
import "./chunk-537PH6YK.mjs";
|
|
11
11
|
import "./chunk-V44DYGWX.mjs";
|
|
12
12
|
import "./chunk-N6YTSDTM.mjs";
|
|
13
13
|
export {
|
package/dist/index.js
CHANGED
|
@@ -3,15 +3,15 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkQAVQTJUQjs = require('./chunk-QAVQTJUQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkB44VJUAXjs = require('./chunk-B44VJUAX.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-IRORGRVZ.js');
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-U3IGSCX3.js');
|
|
14
|
+
require('./chunk-N3UQB43Z.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ var _chunkNCQM44P3js = require('./chunk-NCQM44P3.js');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunkNU34IEWNjs = require('./chunk-NU34IEWN.js');
|
|
23
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-6CP6ARGM.js');
|
|
24
24
|
require('./chunk-2CDSXWFA.js');
|
|
25
25
|
require('./chunk-MCKGQKYU.js');
|
|
26
26
|
|
|
@@ -163,4 +163,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
163
163
|
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
exports.applicationGenerator =
|
|
166
|
+
exports.applicationGenerator = _chunkQAVQTJUQjs.applicationGenerator; exports.applicationSchematic = _chunkQAVQTJUQjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunkNCQM44P3js.getInternalDependencies; exports.initGenerator = _chunkB44VJUAXjs.initGenerator; exports.initSchematic = _chunkB44VJUAXjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkNCQM44P3js.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -3,15 +3,15 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
applicationGenerator,
|
|
5
5
|
applicationSchematic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G6PGMOAM.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SN6UJZ2G.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
12
|
import "./chunk-QBISXDXF.mjs";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-EHEXWPEP.mjs";
|
|
14
|
+
import "./chunk-NYUGUHRY.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
17
17
|
r2UploadFile
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
ProjectTagConstants,
|
|
21
21
|
addProjectTag
|
|
22
22
|
} from "./chunk-PH3DHY4Q.mjs";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-537PH6YK.mjs";
|
|
24
24
|
import "./chunk-V44DYGWX.mjs";
|
|
25
25
|
import "./chunk-N6YTSDTM.mjs";
|
|
26
26
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkIRORGRVZjs = require('../../../chunk-IRORGRVZ.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-U3IGSCX3.js');
|
|
5
5
|
require('../../../chunk-NU34IEWN.js');
|
|
6
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-6CP6ARGM.js');
|
|
7
7
|
require('../../../chunk-2CDSXWFA.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
3
|
} from "../../../chunk-QBISXDXF.mjs";
|
|
4
|
-
import "../../../chunk-
|
|
4
|
+
import "../../../chunk-EHEXWPEP.mjs";
|
|
5
5
|
import "../../../chunk-PH3DHY4Q.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-537PH6YK.mjs";
|
|
7
7
|
import "../../../chunk-V44DYGWX.mjs";
|
|
8
8
|
import "../../../chunk-N6YTSDTM.mjs";
|
|
9
9
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkN3UQB43Zjs = require('../../../chunk-N3UQB43Z.js');
|
|
4
4
|
require('../../../chunk-NCQM44P3.js');
|
|
5
5
|
require('../../../chunk-NU34IEWN.js');
|
|
6
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-6CP6ARGM.js');
|
|
7
7
|
require('../../../chunk-2CDSXWFA.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkN3UQB43Zjs.runExecutor;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-NYUGUHRY.mjs";
|
|
4
4
|
import "../../../chunk-IANDAPQS.mjs";
|
|
5
5
|
import "../../../chunk-PH3DHY4Q.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-537PH6YK.mjs";
|
|
7
7
|
import "../../../chunk-V44DYGWX.mjs";
|
|
8
8
|
import "../../../chunk-N6YTSDTM.mjs";
|
|
9
9
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
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 _chunkU3IGSCX3js = require('../../../chunk-U3IGSCX3.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkNU34IEWNjs = require('../../../chunk-NU34IEWN.js');
|
|
7
|
-
require('../../../chunk-
|
|
7
|
+
require('../../../chunk-6CP6ARGM.js');
|
|
8
8
|
require('../../../chunk-2CDSXWFA.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -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 = _chunkU3IGSCX3js.withRunExecutor.call(void 0,
|
|
59
59
|
"Cloudflare Serve executor",
|
|
60
60
|
serveExecutor,
|
|
61
61
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-EHEXWPEP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
6
|
} from "../../../chunk-PH3DHY4Q.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-537PH6YK.mjs";
|
|
8
8
|
import "../../../chunk-V44DYGWX.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__require
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkB44VJUAXjs = require('../../../chunk-B44VJUAX.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkB44VJUAXjs.generator_default; exports.initGenerator = _chunkB44VJUAXjs.initGenerator; exports.initSchematic = _chunkB44VJUAXjs.initSchematic;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkQAVQTJUQjs = require('../../../chunk-QAVQTJUQ.js');
|
|
6
|
+
require('../../../chunk-B44VJUAX.js');
|
|
7
|
+
require('../../../chunk-6CP6ARGM.js');
|
|
8
8
|
require('../../../chunk-2CDSXWFA.js');
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkQAVQTJUQjs.applicationGenerator; exports.applicationSchematic = _chunkQAVQTJUQjs.applicationSchematic; exports.default = _chunkQAVQTJUQjs.generator_default;
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-G6PGMOAM.mjs";
|
|
6
|
+
import "../../../chunk-SN6UJZ2G.mjs";
|
|
7
|
+
import "../../../chunk-537PH6YK.mjs";
|
|
8
8
|
import "../../../chunk-V44DYGWX.mjs";
|
|
9
9
|
import "../../../chunk-N6YTSDTM.mjs";
|
|
10
10
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.65.
|
|
3
|
+
"version": "0.65.6",
|
|
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",
|
|
@@ -150,5 +150,5 @@
|
|
|
150
150
|
"publishConfig": { "access": "public" },
|
|
151
151
|
"executors": "./executors.json",
|
|
152
152
|
"generators": "./generators.json",
|
|
153
|
-
"gitHead": "
|
|
153
|
+
"gitHead": "044d535c80810296f217c0bb741e51f164aede5b"
|
|
154
154
|
}
|