@storm-software/cloudflare-tools 0.54.0 → 0.54.2
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-HSYTAPR3.mjs → chunk-6OLSW63F.mjs} +1 -1
- package/dist/{chunk-EPJ3NXAN.mjs → chunk-CU5DCV52.mjs} +33 -31
- package/dist/{chunk-PCVUZFIE.js → chunk-H43VNU3H.js} +87 -85
- package/dist/{chunk-LYX4CNII.mjs → chunk-UJORUWGK.mjs} +1 -1
- package/dist/{chunk-WTUD4B6O.js → chunk-WL2BHAOY.js} +1 -1
- package/dist/{chunk-VV4FAXNW.js → chunk-ZPVFJJMY.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
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 0.54.2 (2025-01-22)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **build-tools:** Resolved issue with copying asset files into output directory ([1b314e8e](https://github.com/storm-software/storm-ops/commit/1b314e8e))
|
|
6
|
+
|
|
7
|
+
## 0.54.1 (2025-01-22)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **config-tools:** Resolved issue applying entire token parameters object ([5ccf3881](https://github.com/storm-software/storm-ops/commit/5ccf3881))
|
|
12
|
+
|
|
1
13
|
## 0.54.0 (2025-01-22)
|
|
2
14
|
|
|
3
15
|
### Features
|
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 -->
|
|
@@ -8,7 +8,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.54.
|
|
11
|
+
version: "0.54.2",
|
|
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",
|
|
@@ -28,51 +28,51 @@ import {
|
|
|
28
28
|
} from "./chunk-A7FFSBE6.mjs";
|
|
29
29
|
|
|
30
30
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
31
|
-
var applyWorkspaceBaseTokens = /* @__PURE__ */ __name(async (option,
|
|
31
|
+
var applyWorkspaceBaseTokens = /* @__PURE__ */ __name(async (option, tokenParams) => {
|
|
32
32
|
let result = option;
|
|
33
33
|
if (!result) {
|
|
34
34
|
return result;
|
|
35
35
|
}
|
|
36
|
-
if (
|
|
37
|
-
const optionKeys = Object.keys(
|
|
36
|
+
if (tokenParams) {
|
|
37
|
+
const optionKeys = Object.keys(tokenParams);
|
|
38
38
|
if (optionKeys.some((optionKey) => result.includes(`{${optionKey}}`))) {
|
|
39
39
|
for (const optionKey of optionKeys) {
|
|
40
40
|
if (result.includes(`{${optionKey}}`)) {
|
|
41
|
-
result = result.replaceAll(`{${optionKey}}`,
|
|
41
|
+
result = result.replaceAll(`{${optionKey}}`, tokenParams?.[optionKey] || "");
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
if (
|
|
47
|
-
const configKeys = Object.keys(
|
|
46
|
+
if (tokenParams.config) {
|
|
47
|
+
const configKeys = Object.keys(tokenParams.config);
|
|
48
48
|
if (configKeys.some((configKey) => result.includes(`{${configKey}}`))) {
|
|
49
49
|
for (const configKey of configKeys) {
|
|
50
50
|
if (result.includes(`{${configKey}}`)) {
|
|
51
|
-
result = result.replaceAll(`{${configKey}}`,
|
|
51
|
+
result = result.replaceAll(`{${configKey}}`, tokenParams.config[configKey] || "");
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
if (result.includes("{workspaceRoot}")) {
|
|
57
|
-
result = result.replaceAll("{workspaceRoot}",
|
|
57
|
+
result = result.replaceAll("{workspaceRoot}", tokenParams.workspaceRoot ?? tokenParams.config?.workspaceRoot ?? findWorkspaceRoot());
|
|
58
58
|
}
|
|
59
59
|
return result;
|
|
60
60
|
}, "applyWorkspaceBaseTokens");
|
|
61
|
-
var applyWorkspaceProjectTokens = /* @__PURE__ */ __name((option,
|
|
62
|
-
return applyWorkspaceBaseTokens(option,
|
|
61
|
+
var applyWorkspaceProjectTokens = /* @__PURE__ */ __name((option, tokenParams) => {
|
|
62
|
+
return applyWorkspaceBaseTokens(option, tokenParams);
|
|
63
63
|
}, "applyWorkspaceProjectTokens");
|
|
64
|
-
var applyWorkspaceTokens = /* @__PURE__ */ __name(async (options,
|
|
64
|
+
var applyWorkspaceTokens = /* @__PURE__ */ __name(async (options, tokenParams, tokenizerFn) => {
|
|
65
65
|
if (!options) {
|
|
66
66
|
return {};
|
|
67
67
|
}
|
|
68
68
|
const result = {};
|
|
69
69
|
for (const option of Object.keys(options)) {
|
|
70
70
|
if (typeof options[option] === "string") {
|
|
71
|
-
result[option] = await Promise.resolve(tokenizerFn(options[option],
|
|
71
|
+
result[option] = await Promise.resolve(tokenizerFn(options[option], tokenParams));
|
|
72
72
|
} else if (Array.isArray(options[option])) {
|
|
73
|
-
result[option] = await Promise.all(options[option].map(async (item) => typeof item === "string" ? await Promise.resolve(tokenizerFn(item,
|
|
73
|
+
result[option] = await Promise.all(options[option].map(async (item) => typeof item === "string" ? await Promise.resolve(tokenizerFn(item, tokenParams)) : item));
|
|
74
74
|
} else if (typeof options[option] === "object") {
|
|
75
|
-
result[option] = await applyWorkspaceTokens(options[option],
|
|
75
|
+
result[option] = await applyWorkspaceTokens(options[option], tokenParams, tokenizerFn);
|
|
76
76
|
} else {
|
|
77
77
|
result[option] = options[option];
|
|
78
78
|
}
|
|
@@ -111,8 +111,8 @@ var withRunExecutor = /* @__PURE__ */ __name((name, executorFn, executorOptions
|
|
|
111
111
|
}
|
|
112
112
|
const workspaceRoot3 = findWorkspaceRoot();
|
|
113
113
|
const projectRoot = context2.projectsConfigurations.projects[context2.projectName].root || workspaceRoot3;
|
|
114
|
-
const sourceRoot = context2.projectsConfigurations.projects[context2.projectName].sourceRoot || workspaceRoot3;
|
|
115
|
-
const projectName = context2.
|
|
114
|
+
const sourceRoot = context2.projectsConfigurations.projects[context2.projectName].sourceRoot || projectRoot || workspaceRoot3;
|
|
115
|
+
const projectName = context2.projectName;
|
|
116
116
|
config.workspaceRoot = workspaceRoot3;
|
|
117
117
|
writeInfo(`
|
|
118
118
|
\u26A1 Running the ${name} executor for ${projectName}
|
|
@@ -140,7 +140,7 @@ ${formatLogMessage(options)}
|
|
|
140
140
|
sourceRoot,
|
|
141
141
|
projectName,
|
|
142
142
|
config
|
|
143
|
-
},
|
|
143
|
+
}, config, context2.projectsConfigurations.projects[context2.projectName]), applyWorkspaceProjectTokens);
|
|
144
144
|
writeTrace(`Executor schema tokenized options \u2699\uFE0F
|
|
145
145
|
${formatLogMessage(tokenized)}
|
|
146
146
|
`, config);
|
|
@@ -509,8 +509,10 @@ var copyAssets = /* @__PURE__ */ __name(async (config, assets, outputPath, proje
|
|
|
509
509
|
if (!buildTarget) {
|
|
510
510
|
throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${joinPaths(projectRoot, "project.json")}`);
|
|
511
511
|
}
|
|
512
|
+
writeTrace(`\u{1F4DD} Copying the following assets to the output directory:
|
|
513
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${joinPaths(outputPath, pendingAsset.output)}`).join("\n")}`, config);
|
|
512
514
|
const result = await copyAssetsBase({
|
|
513
|
-
assets,
|
|
515
|
+
assets: pendingAssets,
|
|
514
516
|
watch: false,
|
|
515
517
|
outputPath
|
|
516
518
|
}, {
|
|
@@ -2078,8 +2080,14 @@ import { defu as defu4 } from "defu";
|
|
|
2078
2080
|
import { createJiti } from "jiti";
|
|
2079
2081
|
async function unbuildExecutorFn(options, context2, config) {
|
|
2080
2082
|
writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
2081
|
-
if (!context2.projectsConfigurations?.projects || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]
|
|
2082
|
-
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
2083
|
+
if (!context2.projectsConfigurations?.projects || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
2084
|
+
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
|
|
2085
|
+
}
|
|
2086
|
+
if (!context2.projectsConfigurations.projects[context2.projectName].root) {
|
|
2087
|
+
throw new Error("The Build process failed because the project root is not valid. Please run this command from a workspace root directory.");
|
|
2088
|
+
}
|
|
2089
|
+
if (!context2.projectsConfigurations.projects[context2.projectName].sourceRoot) {
|
|
2090
|
+
throw new Error("The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory.");
|
|
2083
2091
|
}
|
|
2084
2092
|
const jiti = createJiti(config.workspaceRoot, {
|
|
2085
2093
|
fsCache: config.skipCache ? false : joinPaths(config.directories.cache || "node_modules/.cache/storm", "jiti"),
|
|
@@ -2088,11 +2096,10 @@ async function unbuildExecutorFn(options, context2, config) {
|
|
|
2088
2096
|
const stormUnbuild = await jiti.import(jiti.esmResolve("@storm-software/unbuild/build"));
|
|
2089
2097
|
await stormUnbuild.build(defu4({
|
|
2090
2098
|
...options,
|
|
2091
|
-
projectRoot: context2.projectsConfigurations.projects
|
|
2099
|
+
projectRoot: context2.projectsConfigurations.projects[context2.projectName].root,
|
|
2092
2100
|
projectName: context2.projectName,
|
|
2093
|
-
sourceRoot: context2.projectsConfigurations.projects
|
|
2094
|
-
platform: options.platform
|
|
2095
|
-
name: context2.projectName
|
|
2101
|
+
sourceRoot: context2.projectsConfigurations.projects[context2.projectName].sourceRoot,
|
|
2102
|
+
platform: options.platform
|
|
2096
2103
|
}, {
|
|
2097
2104
|
stubOptions: {
|
|
2098
2105
|
jiti: {
|
|
@@ -2102,20 +2109,15 @@ async function unbuildExecutorFn(options, context2, config) {
|
|
|
2102
2109
|
rollup: {
|
|
2103
2110
|
emitCJS: true,
|
|
2104
2111
|
watch: false,
|
|
2105
|
-
cjsBridge: false,
|
|
2106
2112
|
dts: {
|
|
2107
2113
|
respectExternal: true
|
|
2108
2114
|
},
|
|
2109
|
-
replace: {},
|
|
2110
|
-
alias: {},
|
|
2111
|
-
resolve: {},
|
|
2112
|
-
json: {},
|
|
2113
|
-
commonjs: {},
|
|
2114
2115
|
esbuild: {
|
|
2115
2116
|
target: options.target,
|
|
2116
2117
|
format: "esm",
|
|
2117
2118
|
platform: options.platform,
|
|
2118
|
-
minify: options.minify,
|
|
2119
|
+
minify: options.minify ?? !options.debug,
|
|
2120
|
+
sourcemap: options.sourcemap ?? options.debug,
|
|
2119
2121
|
treeShaking: options.treeShaking
|
|
2120
2122
|
}
|
|
2121
2123
|
}
|
|
@@ -27,51 +27,51 @@ var _chunkW6YNIJQDjs = require('./chunk-W6YNIJQD.js');
|
|
|
27
27
|
var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
|
|
28
28
|
|
|
29
29
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
30
|
-
var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (option,
|
|
30
|
+
var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (option, tokenParams) => {
|
|
31
31
|
let result = option;
|
|
32
32
|
if (!result) {
|
|
33
33
|
return result;
|
|
34
34
|
}
|
|
35
|
-
if (
|
|
36
|
-
const optionKeys = Object.keys(
|
|
35
|
+
if (tokenParams) {
|
|
36
|
+
const optionKeys = Object.keys(tokenParams);
|
|
37
37
|
if (optionKeys.some((optionKey) => result.includes(`{${optionKey}}`))) {
|
|
38
38
|
for (const optionKey of optionKeys) {
|
|
39
39
|
if (result.includes(`{${optionKey}}`)) {
|
|
40
|
-
result = result.replaceAll(`{${optionKey}}`,
|
|
40
|
+
result = result.replaceAll(`{${optionKey}}`, _optionalChain([tokenParams, 'optionalAccess', _2 => _2[optionKey]]) || "");
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
if (
|
|
46
|
-
const configKeys = Object.keys(
|
|
45
|
+
if (tokenParams.config) {
|
|
46
|
+
const configKeys = Object.keys(tokenParams.config);
|
|
47
47
|
if (configKeys.some((configKey) => result.includes(`{${configKey}}`))) {
|
|
48
48
|
for (const configKey of configKeys) {
|
|
49
49
|
if (result.includes(`{${configKey}}`)) {
|
|
50
|
-
result = result.replaceAll(`{${configKey}}`,
|
|
50
|
+
result = result.replaceAll(`{${configKey}}`, tokenParams.config[configKey] || "");
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
if (result.includes("{workspaceRoot}")) {
|
|
56
|
-
result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(
|
|
56
|
+
result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkW6YNIJQDjs.findWorkspaceRoot.call(void 0, ))));
|
|
57
57
|
}
|
|
58
58
|
return result;
|
|
59
59
|
}, "applyWorkspaceBaseTokens");
|
|
60
|
-
var applyWorkspaceProjectTokens = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (option,
|
|
61
|
-
return applyWorkspaceBaseTokens(option,
|
|
60
|
+
var applyWorkspaceProjectTokens = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (option, tokenParams) => {
|
|
61
|
+
return applyWorkspaceBaseTokens(option, tokenParams);
|
|
62
62
|
}, "applyWorkspaceProjectTokens");
|
|
63
|
-
var applyWorkspaceTokens = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (options,
|
|
63
|
+
var applyWorkspaceTokens = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (options, tokenParams, tokenizerFn) => {
|
|
64
64
|
if (!options) {
|
|
65
65
|
return {};
|
|
66
66
|
}
|
|
67
67
|
const result = {};
|
|
68
68
|
for (const option of Object.keys(options)) {
|
|
69
69
|
if (typeof options[option] === "string") {
|
|
70
|
-
result[option] = await Promise.resolve(tokenizerFn(options[option],
|
|
70
|
+
result[option] = await Promise.resolve(tokenizerFn(options[option], tokenParams));
|
|
71
71
|
} else if (Array.isArray(options[option])) {
|
|
72
|
-
result[option] = await Promise.all(options[option].map(async (item) => typeof item === "string" ? await Promise.resolve(tokenizerFn(item,
|
|
72
|
+
result[option] = await Promise.all(options[option].map(async (item) => typeof item === "string" ? await Promise.resolve(tokenizerFn(item, tokenParams)) : item));
|
|
73
73
|
} else if (typeof options[option] === "object") {
|
|
74
|
-
result[option] = await applyWorkspaceTokens(options[option],
|
|
74
|
+
result[option] = await applyWorkspaceTokens(options[option], tokenParams, tokenizerFn);
|
|
75
75
|
} else {
|
|
76
76
|
result[option] = options[option];
|
|
77
77
|
}
|
|
@@ -105,13 +105,13 @@ var withRunExecutor = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (name
|
|
|
105
105
|
let options = _options;
|
|
106
106
|
let config = {};
|
|
107
107
|
try {
|
|
108
|
-
if (!_optionalChain([context2, 'access',
|
|
108
|
+
if (!_optionalChain([context2, 'access', _5 => _5.projectsConfigurations, 'optionalAccess', _6 => _6.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
109
109
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
110
110
|
}
|
|
111
111
|
const workspaceRoot3 = _chunkW6YNIJQDjs.findWorkspaceRoot.call(void 0, );
|
|
112
112
|
const projectRoot = context2.projectsConfigurations.projects[context2.projectName].root || workspaceRoot3;
|
|
113
|
-
const sourceRoot = context2.projectsConfigurations.projects[context2.projectName].sourceRoot || workspaceRoot3;
|
|
114
|
-
const projectName = context2.
|
|
113
|
+
const sourceRoot = context2.projectsConfigurations.projects[context2.projectName].sourceRoot || projectRoot || workspaceRoot3;
|
|
114
|
+
const projectName = context2.projectName;
|
|
115
115
|
config.workspaceRoot = workspaceRoot3;
|
|
116
116
|
_chunkW6YNIJQDjs.writeInfo.call(void 0, `
|
|
117
117
|
\u26A1 Running the ${name} executor for ${projectName}
|
|
@@ -125,7 +125,7 @@ var withRunExecutor = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (name
|
|
|
125
125
|
`, config);
|
|
126
126
|
config = await _chunkTHKJZT32js.loadStormConfig.call(void 0, workspaceRoot3);
|
|
127
127
|
}
|
|
128
|
-
if (_optionalChain([executorOptions, 'optionalAccess',
|
|
128
|
+
if (_optionalChain([executorOptions, 'optionalAccess', _7 => _7.hooks, 'optionalAccess', _8 => _8.applyDefaultOptions])) {
|
|
129
129
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
130
130
|
options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
|
|
131
131
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
@@ -139,31 +139,31 @@ ${_chunkW6YNIJQDjs.formatLogMessage.call(void 0, options)}
|
|
|
139
139
|
sourceRoot,
|
|
140
140
|
projectName,
|
|
141
141
|
config
|
|
142
|
-
},
|
|
142
|
+
}, config, context2.projectsConfigurations.projects[context2.projectName]), applyWorkspaceProjectTokens);
|
|
143
143
|
_chunkW6YNIJQDjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
|
|
144
144
|
${_chunkW6YNIJQDjs.formatLogMessage.call(void 0, tokenized)}
|
|
145
145
|
`, config);
|
|
146
|
-
if (_optionalChain([executorOptions, 'optionalAccess',
|
|
146
|
+
if (_optionalChain([executorOptions, 'optionalAccess', _9 => _9.hooks, 'optionalAccess', _10 => _10.preProcess])) {
|
|
147
147
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
148
148
|
await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
|
|
149
149
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
150
150
|
}
|
|
151
151
|
const ret = executorFn(tokenized, context2, config);
|
|
152
|
-
if (_isFunction(_optionalChain([ret, 'optionalAccess',
|
|
152
|
+
if (_isFunction(_optionalChain([ret, 'optionalAccess', _11 => _11.next]))) {
|
|
153
153
|
const asyncGen = ret;
|
|
154
154
|
for await (const iter of asyncGen) {
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
const result = await Promise.resolve(ret);
|
|
158
|
-
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess',
|
|
158
|
+
if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.message]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.message]) === "string" && _optionalChain([result, 'optionalAccess', _16 => _16.error, 'optionalAccess', _17 => _17.name]) && typeof _optionalChain([result, 'optionalAccess', _18 => _18.error, 'optionalAccess', _19 => _19.name]) === "string")) {
|
|
159
159
|
_chunkW6YNIJQDjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
|
|
160
160
|
${_chunkW6YNIJQDjs.formatLogMessage.call(void 0, result)}`, config);
|
|
161
161
|
console.error(result);
|
|
162
162
|
throw new Error(`The ${name} executor failed to run`, {
|
|
163
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
163
|
+
cause: _optionalChain([result, 'optionalAccess', _20 => _20.error])
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
if (_optionalChain([executorOptions, 'optionalAccess',
|
|
166
|
+
if (_optionalChain([executorOptions, 'optionalAccess', _21 => _21.hooks, 'optionalAccess', _22 => _22.postProcess])) {
|
|
167
167
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
168
168
|
await Promise.resolve(executorOptions.hooks.postProcess(config));
|
|
169
169
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
@@ -187,7 +187,7 @@ ${_chunkW6YNIJQDjs.formatLogMessage.call(void 0, result)}`, config);
|
|
|
187
187
|
}, "withRunExecutor");
|
|
188
188
|
var _isFunction = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (value) => {
|
|
189
189
|
try {
|
|
190
|
-
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess',
|
|
190
|
+
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _23 => _23.constructor]) && _optionalChain([value, 'optionalAccess', _24 => _24.call]) && _optionalChain([value, 'optionalAccess', _25 => _25.apply]));
|
|
191
191
|
} catch (e) {
|
|
192
192
|
return false;
|
|
193
193
|
}
|
|
@@ -252,10 +252,10 @@ async function cargoCommand(...args) {
|
|
|
252
252
|
_chunkJ5SB6L2Ljs.__name.call(void 0, cargoCommand, "cargoCommand");
|
|
253
253
|
function cargoCommandSync(args = "", options) {
|
|
254
254
|
const normalizedOptions = {
|
|
255
|
-
stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
255
|
+
stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _26 => _26.stdio]), () => ( "inherit")),
|
|
256
256
|
env: {
|
|
257
257
|
...process.env,
|
|
258
|
-
..._optionalChain([options, 'optionalAccess',
|
|
258
|
+
..._optionalChain([options, 'optionalAccess', _27 => _27.env])
|
|
259
259
|
}
|
|
260
260
|
};
|
|
261
261
|
try {
|
|
@@ -290,7 +290,7 @@ function cargoMetadata() {
|
|
|
290
290
|
_chunkJ5SB6L2Ljs.__name.call(void 0, cargoMetadata, "cargoMetadata");
|
|
291
291
|
function runProcess(processCmd, ...args) {
|
|
292
292
|
const metadata = cargoMetadata();
|
|
293
|
-
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess',
|
|
293
|
+
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _28 => _28.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, _devkit.workspaceRoot, "dist", "cargo")));
|
|
294
294
|
return new Promise((resolve) => {
|
|
295
295
|
if (process.env.VERCEL) {
|
|
296
296
|
return resolve({
|
|
@@ -501,15 +501,17 @@ var copyAssets = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (con
|
|
|
501
501
|
const nxJson = readNxConfig(config.workspaceRoot);
|
|
502
502
|
const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
|
|
503
503
|
const projectsConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
504
|
-
if (!_optionalChain([projectsConfigurations, 'optionalAccess',
|
|
504
|
+
if (!_optionalChain([projectsConfigurations, 'optionalAccess', _29 => _29.projects, 'optionalAccess', _30 => _30[projectName]])) {
|
|
505
505
|
throw new Error("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.");
|
|
506
506
|
}
|
|
507
|
-
const buildTarget = _optionalChain([projectsConfigurations, 'access',
|
|
507
|
+
const buildTarget = _optionalChain([projectsConfigurations, 'access', _31 => _31.projects, 'access', _32 => _32[projectName], 'access', _33 => _33.targets, 'optionalAccess', _34 => _34.build]);
|
|
508
508
|
if (!buildTarget) {
|
|
509
509
|
throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${_chunkW6YNIJQDjs.joinPaths.call(void 0, projectRoot, "project.json")}`);
|
|
510
510
|
}
|
|
511
|
+
_chunkW6YNIJQDjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
|
|
512
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkW6YNIJQDjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
|
|
511
513
|
const result = await _js.copyAssets.call(void 0, {
|
|
512
|
-
assets,
|
|
514
|
+
assets: pendingAssets,
|
|
513
515
|
watch: false,
|
|
514
516
|
outputPath
|
|
515
517
|
}, {
|
|
@@ -811,15 +813,15 @@ var RendererEngine = class {
|
|
|
811
813
|
if (!relativePath.startsWith("\\\\?\\")) {
|
|
812
814
|
relativePath = relativePath.replace(/\\/g, "/");
|
|
813
815
|
}
|
|
814
|
-
const meta = _optionalChain([metafile, 'optionalAccess',
|
|
816
|
+
const meta = _optionalChain([metafile, 'optionalAccess', _35 => _35.outputs, 'access', _36 => _36[relativePath]]);
|
|
815
817
|
return {
|
|
816
818
|
type: "chunk",
|
|
817
819
|
path: file.path,
|
|
818
820
|
code: file.text,
|
|
819
|
-
map: _optionalChain([outputFiles, 'access',
|
|
820
|
-
entryPoint: _optionalChain([meta, 'optionalAccess',
|
|
821
|
-
exports: _optionalChain([meta, 'optionalAccess',
|
|
822
|
-
imports: _optionalChain([meta, 'optionalAccess',
|
|
821
|
+
map: _optionalChain([outputFiles, 'access', _37 => _37.find, 'call', _38 => _38((f) => f.path === `${file.path}.map`), 'optionalAccess', _39 => _39.text]),
|
|
822
|
+
entryPoint: _optionalChain([meta, 'optionalAccess', _40 => _40.entryPoint]),
|
|
823
|
+
exports: _optionalChain([meta, 'optionalAccess', _41 => _41.exports]),
|
|
824
|
+
imports: _optionalChain([meta, 'optionalAccess', _42 => _42.imports])
|
|
823
825
|
};
|
|
824
826
|
} else {
|
|
825
827
|
return {
|
|
@@ -902,7 +904,7 @@ var esmSplitCodeToCjsPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void
|
|
|
902
904
|
name: "storm:esm-split-code-to-cjs",
|
|
903
905
|
setup(build5) {
|
|
904
906
|
build5.onEnd(async (result) => {
|
|
905
|
-
const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access',
|
|
907
|
+
const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _43 => _43.metafile, 'optionalAccess', _44 => _44.outputs]), () => ( {})));
|
|
906
908
|
const jsFiles = outFiles.filter((f) => f.endsWith("js"));
|
|
907
909
|
await esbuild.build({
|
|
908
910
|
outdir: resolvedOptions.outdir,
|
|
@@ -1024,7 +1026,7 @@ ${result.errors.map((error) => error.text).join("\n")}
|
|
|
1024
1026
|
// ../esbuild/src/plugins/resolve-paths.ts
|
|
1025
1027
|
|
|
1026
1028
|
function resolvePathsConfig(options, cwd) {
|
|
1027
|
-
if (_optionalChain([options, 'optionalAccess',
|
|
1029
|
+
if (_optionalChain([options, 'optionalAccess', _45 => _45.compilerOptions, 'optionalAccess', _46 => _46.paths])) {
|
|
1028
1030
|
const paths = Object.entries(options.compilerOptions.paths);
|
|
1029
1031
|
const resolvedPaths = paths.map(([key, paths2]) => {
|
|
1030
1032
|
return [
|
|
@@ -1052,7 +1054,7 @@ var resolvePathsPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (o
|
|
|
1052
1054
|
build5.onResolve({
|
|
1053
1055
|
filter: packagesRegex
|
|
1054
1056
|
}, (args) => {
|
|
1055
|
-
if (_optionalChain([build5, 'access',
|
|
1057
|
+
if (_optionalChain([build5, 'access', _47 => _47.initialOptions, 'access', _48 => _48.external, 'optionalAccess', _49 => _49.includes, 'call', _50 => _50(args.path)])) {
|
|
1056
1058
|
return {
|
|
1057
1059
|
path: args.path,
|
|
1058
1060
|
external: true
|
|
@@ -1160,7 +1162,7 @@ var tscPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options, r
|
|
|
1160
1162
|
function getTypeDependencyPackageName(npmPackage) {
|
|
1161
1163
|
if (npmPackage.startsWith("@")) {
|
|
1162
1164
|
const [scope, name] = npmPackage.split("/");
|
|
1163
|
-
return `@types/${_optionalChain([scope, 'optionalAccess',
|
|
1165
|
+
return `@types/${_optionalChain([scope, 'optionalAccess', _51 => _51.slice, 'call', _52 => _52(1)])}__${name}`;
|
|
1164
1166
|
}
|
|
1165
1167
|
return `@types/${npmPackage}`;
|
|
1166
1168
|
}
|
|
@@ -1367,7 +1369,7 @@ function pipeSync(fn, ...fns) {
|
|
|
1367
1369
|
return (...args) => {
|
|
1368
1370
|
let result = fn(...args);
|
|
1369
1371
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
1370
|
-
result = _optionalChain([fns, 'access',
|
|
1372
|
+
result = _optionalChain([fns, 'access', _53 => _53[i], 'optionalCall', _54 => _54(result)]);
|
|
1371
1373
|
}
|
|
1372
1374
|
return result;
|
|
1373
1375
|
};
|
|
@@ -1377,7 +1379,7 @@ function pipeAsync(fn, ...fns) {
|
|
|
1377
1379
|
return async (...args) => {
|
|
1378
1380
|
let result = await fn(...args);
|
|
1379
1381
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
1380
|
-
result = await _optionalChain([fns, 'access',
|
|
1382
|
+
result = await _optionalChain([fns, 'access', _55 => _55[i], 'optionalCall', _56 => _56(result)]);
|
|
1381
1383
|
}
|
|
1382
1384
|
return result;
|
|
1383
1385
|
};
|
|
@@ -1406,7 +1408,7 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
|
|
|
1406
1408
|
const projectJson = await _node.hfs.json(projectJsonPath);
|
|
1407
1409
|
const projectName = projectJson.name;
|
|
1408
1410
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1409
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
1411
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _57 => _57.projects, 'optionalAccess', _58 => _58[projectName]])) {
|
|
1410
1412
|
throw new Error("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.");
|
|
1411
1413
|
}
|
|
1412
1414
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
@@ -1582,7 +1584,7 @@ async function executeEsBuild(context2) {
|
|
|
1582
1584
|
}
|
|
1583
1585
|
_chunkJ5SB6L2Ljs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
1584
1586
|
async function copyBuildAssets(context2) {
|
|
1585
|
-
if (_optionalChain([context2, 'access',
|
|
1587
|
+
if (_optionalChain([context2, 'access', _59 => _59.result, 'optionalAccess', _60 => _60.errors, 'access', _61 => _61.length]) === 0) {
|
|
1586
1588
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
1587
1589
|
const stopwatch = _chunkW6YNIJQDjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
1588
1590
|
await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
|
|
@@ -1592,7 +1594,7 @@ async function copyBuildAssets(context2) {
|
|
|
1592
1594
|
}
|
|
1593
1595
|
_chunkJ5SB6L2Ljs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
1594
1596
|
async function reportResults(context2) {
|
|
1595
|
-
if (_optionalChain([context2, 'access',
|
|
1597
|
+
if (_optionalChain([context2, 'access', _62 => _62.result, 'optionalAccess', _63 => _63.errors, 'access', _64 => _64.length]) === 0) {
|
|
1596
1598
|
if (context2.result.warnings.length > 0) {
|
|
1597
1599
|
_chunkW6YNIJQDjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
|
|
1598
1600
|
}
|
|
@@ -1690,14 +1692,14 @@ var watch = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (context2, opti
|
|
|
1690
1692
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
1691
1693
|
async function esbuildExecutorFn(options, context2, config) {
|
|
1692
1694
|
_chunkW6YNIJQDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1693
|
-
if (!_optionalChain([context2, 'access',
|
|
1695
|
+
if (!_optionalChain([context2, 'access', _65 => _65.projectsConfigurations, 'optionalAccess', _66 => _66.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _67 => _67.projectsConfigurations, 'access', _68 => _68.projects, 'access', _69 => _69[context2.projectName], 'optionalAccess', _70 => _70.root])) {
|
|
1694
1696
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
1695
1697
|
}
|
|
1696
1698
|
await build3({
|
|
1697
1699
|
...options,
|
|
1698
|
-
projectRoot: _optionalChain([context2, 'access',
|
|
1700
|
+
projectRoot: _optionalChain([context2, 'access', _71 => _71.projectsConfigurations, 'access', _72 => _72.projects, 'optionalAccess', _73 => _73[context2.projectName], 'access', _74 => _74.root]),
|
|
1699
1701
|
projectName: context2.projectName,
|
|
1700
|
-
sourceRoot: _optionalChain([context2, 'access',
|
|
1702
|
+
sourceRoot: _optionalChain([context2, 'access', _75 => _75.projectsConfigurations, 'access', _76 => _76.projects, 'optionalAccess', _77 => _77[context2.projectName], 'optionalAccess', _78 => _78.sourceRoot]),
|
|
1701
1703
|
format: options.format,
|
|
1702
1704
|
platform: options.format
|
|
1703
1705
|
});
|
|
@@ -1740,7 +1742,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
1740
1742
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
1741
1743
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
1742
1744
|
async function sizeLimitExecutorFn(options, context2, config) {
|
|
1743
|
-
if (!_optionalChain([context2, 'optionalAccess',
|
|
1745
|
+
if (!_optionalChain([context2, 'optionalAccess', _79 => _79.projectName]) || !_optionalChain([context2, 'access', _80 => _80.projectsConfigurations, 'optionalAccess', _81 => _81.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
1744
1746
|
throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
|
|
1745
1747
|
}
|
|
1746
1748
|
_chunkW6YNIJQDjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
|
|
@@ -1749,7 +1751,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
|
|
|
1749
1751
|
_esbuild3.default,
|
|
1750
1752
|
_esbuildwhy2.default
|
|
1751
1753
|
], {
|
|
1752
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access',
|
|
1754
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _82 => _82.projectsConfigurations, 'access', _83 => _83.projects, 'access', _84 => _84[context2.projectName], 'optionalAccess', _85 => _85.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _86 => _86.projectsConfigurations, 'access', _87 => _87.projects, 'access', _88 => _88[context2.projectName], 'optionalAccess', _89 => _89.root]), () => ( "./")), "src")))
|
|
1753
1755
|
}).then((result) => {
|
|
1754
1756
|
_chunkW6YNIJQDjs.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
|
|
1755
1757
|
});
|
|
@@ -1826,7 +1828,7 @@ var resolveOptions2 = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
|
|
|
1826
1828
|
const projectJson = await _node.hfs.json(projectJsonPath);
|
|
1827
1829
|
const projectName = projectJson.name;
|
|
1828
1830
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1829
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
1831
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _90 => _90.projects, 'optionalAccess', _91 => _91[projectName]])) {
|
|
1830
1832
|
throw new Error("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.");
|
|
1831
1833
|
}
|
|
1832
1834
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS2);
|
|
@@ -2006,14 +2008,14 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, build4, "build");
|
|
|
2006
2008
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
2007
2009
|
async function tsdownExecutorFn(options, context2, config) {
|
|
2008
2010
|
_chunkW6YNIJQDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
|
|
2009
|
-
if (!_optionalChain([context2, 'access',
|
|
2011
|
+
if (!_optionalChain([context2, 'access', _92 => _92.projectsConfigurations, 'optionalAccess', _93 => _93.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _94 => _94.projectsConfigurations, 'access', _95 => _95.projects, 'access', _96 => _96[context2.projectName], 'optionalAccess', _97 => _97.root])) {
|
|
2010
2012
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
2011
2013
|
}
|
|
2012
2014
|
await build4({
|
|
2013
2015
|
...options,
|
|
2014
|
-
projectRoot: _optionalChain([context2, 'access',
|
|
2016
|
+
projectRoot: _optionalChain([context2, 'access', _98 => _98.projectsConfigurations, 'access', _99 => _99.projects, 'optionalAccess', _100 => _100[context2.projectName], 'access', _101 => _101.root]),
|
|
2015
2017
|
projectName: context2.projectName,
|
|
2016
|
-
sourceRoot: _optionalChain([context2, 'access',
|
|
2018
|
+
sourceRoot: _optionalChain([context2, 'access', _102 => _102.projectsConfigurations, 'access', _103 => _103.projects, 'optionalAccess', _104 => _104[context2.projectName], 'optionalAccess', _105 => _105.sourceRoot]),
|
|
2017
2019
|
format: options.format,
|
|
2018
2020
|
platform: options.platform
|
|
2019
2021
|
});
|
|
@@ -2077,8 +2079,14 @@ var executor_default9 = withRunExecutor("Typia runtime validation generator", ty
|
|
|
2077
2079
|
var _jiti = require('jiti');
|
|
2078
2080
|
async function unbuildExecutorFn(options, context2, config) {
|
|
2079
2081
|
_chunkW6YNIJQDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
2080
|
-
if (!_optionalChain([context2, 'access',
|
|
2081
|
-
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
2082
|
+
if (!_optionalChain([context2, 'access', _106 => _106.projectsConfigurations, 'optionalAccess', _107 => _107.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
2083
|
+
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
|
|
2084
|
+
}
|
|
2085
|
+
if (!context2.projectsConfigurations.projects[context2.projectName].root) {
|
|
2086
|
+
throw new Error("The Build process failed because the project root is not valid. Please run this command from a workspace root directory.");
|
|
2087
|
+
}
|
|
2088
|
+
if (!context2.projectsConfigurations.projects[context2.projectName].sourceRoot) {
|
|
2089
|
+
throw new Error("The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory.");
|
|
2082
2090
|
}
|
|
2083
2091
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
2084
2092
|
fsCache: config.skipCache ? false : _chunkW6YNIJQDjs.joinPaths.call(void 0, config.directories.cache || "node_modules/.cache/storm", "jiti"),
|
|
@@ -2087,11 +2095,10 @@ async function unbuildExecutorFn(options, context2, config) {
|
|
|
2087
2095
|
const stormUnbuild = await jiti.import(jiti.esmResolve("@storm-software/unbuild/build"));
|
|
2088
2096
|
await stormUnbuild.build(_defu.defu.call(void 0, {
|
|
2089
2097
|
...options,
|
|
2090
|
-
projectRoot:
|
|
2098
|
+
projectRoot: context2.projectsConfigurations.projects[context2.projectName].root,
|
|
2091
2099
|
projectName: context2.projectName,
|
|
2092
|
-
sourceRoot:
|
|
2093
|
-
platform: options.platform
|
|
2094
|
-
name: context2.projectName
|
|
2100
|
+
sourceRoot: context2.projectsConfigurations.projects[context2.projectName].sourceRoot,
|
|
2101
|
+
platform: options.platform
|
|
2095
2102
|
}, {
|
|
2096
2103
|
stubOptions: {
|
|
2097
2104
|
jiti: {
|
|
@@ -2101,20 +2108,15 @@ async function unbuildExecutorFn(options, context2, config) {
|
|
|
2101
2108
|
rollup: {
|
|
2102
2109
|
emitCJS: true,
|
|
2103
2110
|
watch: false,
|
|
2104
|
-
cjsBridge: false,
|
|
2105
2111
|
dts: {
|
|
2106
2112
|
respectExternal: true
|
|
2107
2113
|
},
|
|
2108
|
-
replace: {},
|
|
2109
|
-
alias: {},
|
|
2110
|
-
resolve: {},
|
|
2111
|
-
json: {},
|
|
2112
|
-
commonjs: {},
|
|
2113
2114
|
esbuild: {
|
|
2114
2115
|
target: options.target,
|
|
2115
2116
|
format: "esm",
|
|
2116
2117
|
platform: options.platform,
|
|
2117
|
-
minify: options.minify,
|
|
2118
|
+
minify: _nullishCoalesce(options.minify, () => ( !options.debug)),
|
|
2119
|
+
sourcemap: _nullishCoalesce(options.sourcemap, () => ( options.debug)),
|
|
2118
2120
|
treeShaking: options.treeShaking
|
|
2119
2121
|
}
|
|
2120
2122
|
}
|
|
@@ -2161,7 +2163,7 @@ var withRunGenerator = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (nam
|
|
|
2161
2163
|
- workspaceRoot: ${workspaceRoot3}`, config);
|
|
2162
2164
|
config = await _chunkTHKJZT32js.loadStormConfig.call(void 0, workspaceRoot3);
|
|
2163
2165
|
}
|
|
2164
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
2166
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _108 => _108.hooks, 'optionalAccess', _109 => _109.applyDefaultOptions])) {
|
|
2165
2167
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
2166
2168
|
options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
|
|
2167
2169
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
@@ -2172,22 +2174,22 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
2172
2174
|
workspaceRoot: tree.root,
|
|
2173
2175
|
config
|
|
2174
2176
|
}, applyWorkspaceBaseTokens);
|
|
2175
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
2177
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _110 => _110.hooks, 'optionalAccess', _111 => _111.preProcess])) {
|
|
2176
2178
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
2177
2179
|
await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
|
|
2178
2180
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
2179
2181
|
}
|
|
2180
2182
|
const result = await Promise.resolve(generatorFn(tree, tokenized, config));
|
|
2181
2183
|
if (result) {
|
|
2182
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
2184
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _112 => _112.error, 'optionalAccess', _113 => _113.message]) && typeof _optionalChain([result, 'optionalAccess', _114 => _114.error, 'optionalAccess', _115 => _115.message]) === "string" && _optionalChain([result, 'optionalAccess', _116 => _116.error, 'optionalAccess', _117 => _117.name]) && typeof _optionalChain([result, 'optionalAccess', _118 => _118.error, 'optionalAccess', _119 => _119.name]) === "string") {
|
|
2183
2185
|
throw new Error(`The ${name} generator failed to run`, {
|
|
2184
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
2186
|
+
cause: _optionalChain([result, 'optionalAccess', _120 => _120.error])
|
|
2185
2187
|
});
|
|
2186
2188
|
} else if (result.success && result.data) {
|
|
2187
2189
|
return result;
|
|
2188
2190
|
}
|
|
2189
2191
|
}
|
|
2190
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
2192
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _121 => _121.hooks, 'optionalAccess', _122 => _122.postProcess])) {
|
|
2191
2193
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
2192
2194
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
2193
2195
|
_chunkW6YNIJQDjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
@@ -2297,15 +2299,15 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
|
|
|
2297
2299
|
_devkit.addProjectConfiguration.call(void 0, tree, options.name, projectConfig);
|
|
2298
2300
|
let repository = {
|
|
2299
2301
|
type: "github",
|
|
2300
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
2302
|
+
url: _optionalChain([config, 'optionalAccess', _123 => _123.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _124 => _124.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _125 => _125.namespace]) || _optionalChain([config, 'optionalAccess', _126 => _126.name]) || "repository"}.git`
|
|
2301
2303
|
};
|
|
2302
2304
|
let description = schema.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
2303
2305
|
if (tree.exists("package.json")) {
|
|
2304
2306
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
2305
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2307
|
+
if (_optionalChain([packageJson, 'optionalAccess', _127 => _127.repository])) {
|
|
2306
2308
|
repository = packageJson.repository;
|
|
2307
2309
|
}
|
|
2308
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2310
|
+
if (_optionalChain([packageJson, 'optionalAccess', _128 => _128.description])) {
|
|
2309
2311
|
description = packageJson.description;
|
|
2310
2312
|
}
|
|
2311
2313
|
}
|
|
@@ -2360,9 +2362,9 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
|
|
|
2360
2362
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
2361
2363
|
...json,
|
|
2362
2364
|
pnpm: {
|
|
2363
|
-
..._optionalChain([json, 'optionalAccess',
|
|
2365
|
+
..._optionalChain([json, 'optionalAccess', _129 => _129.pnpm]),
|
|
2364
2366
|
overrides: {
|
|
2365
|
-
..._optionalChain([json, 'optionalAccess',
|
|
2367
|
+
..._optionalChain([json, 'optionalAccess', _130 => _130.pnpm, 'optionalAccess', _131 => _131.overrides]),
|
|
2366
2368
|
[_nullishCoalesce(options.importPath, () => ( ""))]: "workspace:*"
|
|
2367
2369
|
}
|
|
2368
2370
|
}
|
|
@@ -2376,10 +2378,10 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
|
|
|
2376
2378
|
]);
|
|
2377
2379
|
if (tree.exists("package.json")) {
|
|
2378
2380
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
2379
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2381
|
+
if (_optionalChain([packageJson, 'optionalAccess', _132 => _132.repository])) {
|
|
2380
2382
|
repository = packageJson.repository;
|
|
2381
2383
|
}
|
|
2382
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2384
|
+
if (_optionalChain([packageJson, 'optionalAccess', _133 => _133.description])) {
|
|
2383
2385
|
description = packageJson.description;
|
|
2384
2386
|
}
|
|
2385
2387
|
}
|
|
@@ -2427,24 +2429,24 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, getOutputPath, "getOutputPath");
|
|
|
2427
2429
|
function createProjectTsConfigJson(tree, options) {
|
|
2428
2430
|
const tsconfig = {
|
|
2429
2431
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
2430
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2432
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _134 => _134.tsconfigOptions]), () => ( {})),
|
|
2431
2433
|
compilerOptions: {
|
|
2432
2434
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
2433
2435
|
outDir: _chunkW6YNIJQDjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
2434
2436
|
noEmit: true,
|
|
2435
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2437
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _135 => _135.tsconfigOptions, 'optionalAccess', _136 => _136.compilerOptions]), () => ( {}))
|
|
2436
2438
|
},
|
|
2437
2439
|
files: [
|
|
2438
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2440
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _137 => _137.tsconfigOptions, 'optionalAccess', _138 => _138.files]), () => ( []))
|
|
2439
2441
|
],
|
|
2440
2442
|
include: [
|
|
2441
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2443
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _139 => _139.tsconfigOptions, 'optionalAccess', _140 => _140.include]), () => ( [])),
|
|
2442
2444
|
"src/**/*.ts",
|
|
2443
2445
|
"src/**/*.js",
|
|
2444
2446
|
"bin/**/*"
|
|
2445
2447
|
],
|
|
2446
2448
|
exclude: [
|
|
2447
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2449
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _141 => _141.tsconfigOptions, 'optionalAccess', _142 => _142.exclude]), () => ( [])),
|
|
2448
2450
|
"jest.config.ts",
|
|
2449
2451
|
"src/**/*.spec.ts",
|
|
2450
2452
|
"src/**/*.test.ts"
|
|
@@ -2582,7 +2584,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
2582
2584
|
name: "StormWorkspaceConfiguration"
|
|
2583
2585
|
});
|
|
2584
2586
|
_chunkW6YNIJQDjs.writeTrace.call(void 0, jsonSchema, config);
|
|
2585
|
-
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2587
|
+
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _143 => _143.workspaceRoot]), () => ( _chunkW6YNIJQDjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _144 => _144.outputFile, 'optionalAccess', _145 => _145.startsWith, 'call', _146 => _146("./")]) ? "" : "./");
|
|
2586
2588
|
_chunkW6YNIJQDjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
2587
2589
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
|
|
2588
2590
|
spaces: 2
|
|
@@ -8,7 +8,7 @@ var require_package = _chunkJ5SB6L2Ljs.__commonJS.call(void 0, {
|
|
|
8
8
|
"package.json"(exports, module) {
|
|
9
9
|
module.exports = {
|
|
10
10
|
name: "@storm-software/cloudflare-tools",
|
|
11
|
-
version: "0.54.
|
|
11
|
+
version: "0.54.2",
|
|
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,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 _chunkWL2BHAOYjs = require('./chunk-WL2BHAOY.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkTHKJZT32js = require('./chunk-THKJZT32.js');
|
|
@@ -52,7 +52,7 @@ async function applicationGenerator(tree, schema) {
|
|
|
52
52
|
${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`, config);
|
|
53
53
|
const options = await normalizeOptions(tree, schema, config);
|
|
54
54
|
const tasks = [];
|
|
55
|
-
tasks.push(await
|
|
55
|
+
tasks.push(await _chunkWL2BHAOYjs.generator_default.call(void 0, tree, {
|
|
56
56
|
...options,
|
|
57
57
|
skipFormat: true
|
|
58
58
|
}));
|
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 _chunkZPVFJJMYjs = require('./chunk-ZPVFJJMY.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkWL2BHAOYjs = require('./chunk-WL2BHAOY.js');
|
|
10
10
|
require('./chunk-THKJZT32.js');
|
|
11
11
|
require('./chunk-W6YNIJQD.js');
|
|
12
12
|
require('./chunk-J5SB6L2L.js');
|
|
@@ -15,4 +15,4 @@ require('./chunk-J5SB6L2L.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkZPVFJJMYjs.applicationGenerator; exports.applicationSchematic = _chunkZPVFJJMYjs.applicationSchematic; exports.initGenerator = _chunkWL2BHAOYjs.initGenerator; exports.initSchematic = _chunkWL2BHAOYjs.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-UJORUWGK.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6OLSW63F.mjs";
|
|
10
10
|
import "./chunk-6H63LE3D.mjs";
|
|
11
11
|
import "./chunk-3D3WO4IH.mjs";
|
|
12
12
|
import "./chunk-A7FFSBE6.mjs";
|
package/dist/index.js
CHANGED
|
@@ -3,14 +3,14 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkZPVFJJMYjs = require('./chunk-ZPVFJJMY.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkWL2BHAOYjs = require('./chunk-WL2BHAOY.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-R7AIVBS7.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-H43VNU3H.js');
|
|
14
14
|
require('./chunk-U6QKP7CG.js');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -148,4 +148,4 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, createPackageJson, "createPackageJson");
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
exports.applicationGenerator =
|
|
151
|
+
exports.applicationGenerator = _chunkZPVFJJMYjs.applicationGenerator; exports.applicationSchematic = _chunkZPVFJJMYjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkH63GI4CRjs.getInternalDependencies; exports.initGenerator = _chunkWL2BHAOYjs.initGenerator; exports.initSchematic = _chunkWL2BHAOYjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkH63GI4CRjs.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-UJORUWGK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6OLSW63F.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
12
|
import "./chunk-QEWY5YJA.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-CU5DCV52.mjs";
|
|
14
14
|
import "./chunk-BGWUN6JU.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 _chunkR7AIVBS7js = require('../../../chunk-R7AIVBS7.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-H43VNU3H.js');
|
|
5
5
|
require('../../../chunk-VTHBMY4B.js');
|
|
6
6
|
require('../../../chunk-THKJZT32.js');
|
|
7
7
|
require('../../../chunk-W6YNIJQD.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 _chunkH43VNU3Hjs = require('../../../chunk-H43VNU3H.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkVTHBMY4Bjs = require('../../../chunk-VTHBMY4B.js');
|
|
@@ -60,7 +60,7 @@ async function* serveExecutor(options, context, config) {
|
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
_chunkJ5SB6L2Ljs.__name.call(void 0, serveExecutor, "serveExecutor");
|
|
63
|
-
var executor_default =
|
|
63
|
+
var executor_default = _chunkH43VNU3Hjs.withRunExecutor.call(void 0, "Cloudflare Serve executor", serveExecutor, {
|
|
64
64
|
skipReadingConfig: false,
|
|
65
65
|
hooks: {
|
|
66
66
|
applyDefaultOptions: /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options) => {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkWL2BHAOYjs = require('../../../chunk-WL2BHAOY.js');
|
|
6
6
|
require('../../../chunk-J5SB6L2L.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkWL2BHAOYjs.generator_default; exports.initGenerator = _chunkWL2BHAOYjs.initGenerator; exports.initSchematic = _chunkWL2BHAOYjs.initSchematic;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkZPVFJJMYjs = require('../../../chunk-ZPVFJJMY.js');
|
|
6
|
+
require('../../../chunk-WL2BHAOY.js');
|
|
7
7
|
require('../../../chunk-THKJZT32.js');
|
|
8
8
|
require('../../../chunk-W6YNIJQD.js');
|
|
9
9
|
require('../../../chunk-J5SB6L2L.js');
|
|
@@ -11,4 +11,4 @@ require('../../../chunk-J5SB6L2L.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkZPVFJJMYjs.applicationGenerator; exports.applicationSchematic = _chunkZPVFJJMYjs.applicationSchematic; exports.default = _chunkZPVFJJMYjs.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-UJORUWGK.mjs";
|
|
6
|
+
import "../../../chunk-6OLSW63F.mjs";
|
|
7
7
|
import "../../../chunk-6H63LE3D.mjs";
|
|
8
8
|
import "../../../chunk-3D3WO4IH.mjs";
|
|
9
9
|
import "../../../chunk-A7FFSBE6.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.54.
|
|
3
|
+
"version": "0.54.2",
|
|
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",
|