@storm-software/cloudflare-tools 0.55.45 → 0.55.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/dist/{chunk-ZTEXBI4T.mjs → chunk-37HC2CC6.mjs} +3 -3
- package/dist/{chunk-WGEGIRE6.mjs → chunk-7JTISIUD.mjs} +1 -1
- package/dist/{chunk-ZGZLK5XZ.js → chunk-FUMCGABO.js} +4 -4
- package/dist/{chunk-DZPVDJXE.js → chunk-GZJSLTK4.js} +113 -92
- package/dist/{chunk-BDADKXEW.mjs → chunk-HD246TI3.mjs} +81 -60
- package/dist/{chunk-P7YORNEH.js → chunk-Z3WJNLJW.js} +1 -1
- package/dist/executors.js +3 -3
- package/dist/executors.mjs +3 -3
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- package/dist/index.js +11 -11
- package/dist/index.mjs +14 -14
- package/dist/src/executors/cloudflare-publish/executor.js +1 -1
- package/dist/src/executors/cloudflare-publish/executor.mjs +1 -1
- 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 +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/dist/{chunk-4P4IIN6G.js → chunk-CWBI7ZQ2.js} +2 -2
- package/dist/{chunk-QGY5FTZR.mjs → chunk-WTERMAUR.mjs} +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.55.46](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.55.46) (2025-04-07)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([1ac4c6ad4](https://github.com/storm-software/storm-ops/commit/1ac4c6ad4))
|
|
11
|
+
|
|
5
12
|
## [0.55.45](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.55.45) (2025-04-04)
|
|
6
13
|
|
|
7
14
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
generator_default
|
|
3
|
-
} from "./chunk-WGEGIRE6.mjs";
|
|
4
1
|
import {
|
|
5
2
|
getConfig
|
|
6
3
|
} from "./chunk-2P5TGL2R.mjs";
|
|
@@ -13,6 +10,9 @@ import {
|
|
|
13
10
|
writeInfo,
|
|
14
11
|
writeTrace
|
|
15
12
|
} from "./chunk-YBYGEO5L.mjs";
|
|
13
|
+
import {
|
|
14
|
+
generator_default
|
|
15
|
+
} from "./chunk-7JTISIUD.mjs";
|
|
16
16
|
import {
|
|
17
17
|
__dirname,
|
|
18
18
|
__name
|
|
@@ -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.55.
|
|
11
|
+
version: "0.55.46",
|
|
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,8 +1,5 @@
|
|
|
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 _chunkP7YORNEHjs = require('./chunk-P7YORNEH.js');
|
|
4
|
-
|
|
5
|
-
|
|
6
3
|
var _chunkZ5XL2UL5js = require('./chunk-Z5XL2UL5.js');
|
|
7
4
|
|
|
8
5
|
|
|
@@ -15,6 +12,9 @@ var _chunkZ5XL2UL5js = require('./chunk-Z5XL2UL5.js');
|
|
|
15
12
|
var _chunkQQQD2SINjs = require('./chunk-QQQD2SIN.js');
|
|
16
13
|
|
|
17
14
|
|
|
15
|
+
var _chunkZ3WJNLJWjs = require('./chunk-Z3WJNLJW.js');
|
|
16
|
+
|
|
17
|
+
|
|
18
18
|
var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
|
|
19
19
|
|
|
20
20
|
// src/generators/worker/generator.ts
|
|
@@ -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 _chunkZ3WJNLJWjs.generator_default.call(void 0, tree, {
|
|
56
56
|
...options,
|
|
57
57
|
skipFormat: true
|
|
58
58
|
}));
|
|
@@ -611,57 +611,6 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call
|
|
|
611
611
|
|
|
612
612
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
613
613
|
|
|
614
|
-
var getEntryPoints = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
615
|
-
const workspaceRoot3 = config.workspaceRoot || _chunkQQQD2SINjs.findWorkspaceRoot.call(void 0, );
|
|
616
|
-
const entryPoints = [];
|
|
617
|
-
if (entry) {
|
|
618
|
-
if (typeof entry === "string") {
|
|
619
|
-
entryPoints.push(entry);
|
|
620
|
-
} else if (Array.isArray(entry)) {
|
|
621
|
-
entryPoints.push(...entry);
|
|
622
|
-
} else {
|
|
623
|
-
entryPoints.push(...Object.values(entry));
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
if (emitOnAll) {
|
|
627
|
-
entryPoints.push(_chunkQQQD2SINjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
628
|
-
}
|
|
629
|
-
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
630
|
-
const paths = [];
|
|
631
|
-
if (entryPoint.includes("*")) {
|
|
632
|
-
const files = await _glob.glob.call(void 0, entryPoint, {
|
|
633
|
-
withFileTypes: true,
|
|
634
|
-
ignore: [
|
|
635
|
-
"**/node_modules/**"
|
|
636
|
-
]
|
|
637
|
-
});
|
|
638
|
-
paths.push(...files.reduce((ret, filePath) => {
|
|
639
|
-
const result = _chunkQQQD2SINjs.correctPaths.call(void 0, _chunkQQQD2SINjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkQQQD2SINjs.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunkQQQD2SINjs.correctPaths.call(void 0, projectRoot), ""));
|
|
640
|
-
if (result) {
|
|
641
|
-
_chunkQQQD2SINjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkQQQD2SINjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
642
|
-
if (!paths.includes(result)) {
|
|
643
|
-
paths.push(result);
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
return ret;
|
|
647
|
-
}, []));
|
|
648
|
-
} else {
|
|
649
|
-
_chunkQQQD2SINjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
|
|
650
|
-
if (!paths.includes(entryPoint)) {
|
|
651
|
-
paths.push(entryPoint);
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
return paths;
|
|
655
|
-
}));
|
|
656
|
-
return results.filter(Boolean).reduce((ret, result) => {
|
|
657
|
-
result.forEach((res) => {
|
|
658
|
-
if (res && !ret.includes(res)) {
|
|
659
|
-
ret.push(res);
|
|
660
|
-
}
|
|
661
|
-
});
|
|
662
|
-
return ret;
|
|
663
|
-
}, []);
|
|
664
|
-
}, "getEntryPoints");
|
|
665
614
|
|
|
666
615
|
// ../build-tools/src/utilities/get-env.ts
|
|
667
616
|
var getEnv = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (builder, options) => {
|
|
@@ -1085,10 +1034,10 @@ var tscPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options, r
|
|
|
1085
1034
|
if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
|
|
1086
1035
|
await run(resolvedOptions.config, `pnpm exec tsc --project ${resolvedOptions.tsconfig}`, resolvedOptions.config.workspaceRoot);
|
|
1087
1036
|
}
|
|
1088
|
-
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0] && resolvedOptions.entryPoints[0].endsWith(".ts")) {
|
|
1037
|
+
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && _optionalChain([resolvedOptions, 'access', _68 => _68.entryPoints, 'access', _69 => _69[0], 'optionalAccess', _70 => _70.in]) && resolvedOptions.entryPoints[0].in.endsWith(".ts")) {
|
|
1089
1038
|
const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
|
|
1090
1039
|
const typeOutDir = resolvedOptions.outdir;
|
|
1091
|
-
const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
1040
|
+
const entryPoint = resolvedOptions.entryPoints[0].in.replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
1092
1041
|
const bundlePath = _chunkQQQD2SINjs.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
|
|
1093
1042
|
let dtsPath;
|
|
1094
1043
|
if (_fs.existsSync.call(void 0, _chunkQQQD2SINjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
|
|
@@ -1111,7 +1060,7 @@ var tscPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options, r
|
|
|
1111
1060
|
function getTypeDependencyPackageName(npmPackage) {
|
|
1112
1061
|
if (npmPackage.startsWith("@")) {
|
|
1113
1062
|
const [scope, name] = npmPackage.split("/");
|
|
1114
|
-
return `@types/${_optionalChain([scope, 'optionalAccess',
|
|
1063
|
+
return `@types/${_optionalChain([scope, 'optionalAccess', _71 => _71.slice, 'call', _72 => _72(1)])}__${name}`;
|
|
1115
1064
|
}
|
|
1116
1065
|
return `@types/${npmPackage}`;
|
|
1117
1066
|
}
|
|
@@ -1279,6 +1228,84 @@ var shebangRenderer = {
|
|
|
1279
1228
|
}
|
|
1280
1229
|
};
|
|
1281
1230
|
|
|
1231
|
+
// ../esbuild/src/utilities/get-entry-points.ts
|
|
1232
|
+
|
|
1233
|
+
var getEntryPoints = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
1234
|
+
const workspaceRoot3 = config.workspaceRoot || _chunkQQQD2SINjs.findWorkspaceRoot.call(void 0, );
|
|
1235
|
+
const entryPoints = [];
|
|
1236
|
+
if (entry) {
|
|
1237
|
+
if (typeof entry === "string") {
|
|
1238
|
+
entryPoints.push({
|
|
1239
|
+
in: entry,
|
|
1240
|
+
out: entry
|
|
1241
|
+
});
|
|
1242
|
+
} else if (Array.isArray(entry)) {
|
|
1243
|
+
entryPoints.push(...entry.map((entry2) => ({
|
|
1244
|
+
in: entry2,
|
|
1245
|
+
out: entry2
|
|
1246
|
+
})));
|
|
1247
|
+
} else {
|
|
1248
|
+
entryPoints.push(...Object.entries(entry).map(([key, value]) => {
|
|
1249
|
+
if (typeof value === "string") {
|
|
1250
|
+
return {
|
|
1251
|
+
in: key,
|
|
1252
|
+
out: value
|
|
1253
|
+
};
|
|
1254
|
+
} else {
|
|
1255
|
+
return {
|
|
1256
|
+
in: key,
|
|
1257
|
+
out: key
|
|
1258
|
+
};
|
|
1259
|
+
}
|
|
1260
|
+
}));
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
if (emitOnAll) {
|
|
1264
|
+
entryPoints.push({
|
|
1265
|
+
in: _chunkQQQD2SINjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"),
|
|
1266
|
+
out: _chunkQQQD2SINjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}")
|
|
1267
|
+
});
|
|
1268
|
+
}
|
|
1269
|
+
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
1270
|
+
const paths = [];
|
|
1271
|
+
if (entryPoint.in.includes("*")) {
|
|
1272
|
+
const files = await _glob.glob.call(void 0, entryPoint.in, {
|
|
1273
|
+
withFileTypes: true,
|
|
1274
|
+
ignore: [
|
|
1275
|
+
"**/node_modules/**"
|
|
1276
|
+
]
|
|
1277
|
+
});
|
|
1278
|
+
paths.push(...files.reduce((ret, filePath) => {
|
|
1279
|
+
const result = _chunkQQQD2SINjs.correctPaths.call(void 0, _chunkQQQD2SINjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkQQQD2SINjs.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunkQQQD2SINjs.correctPaths.call(void 0, projectRoot), ""));
|
|
1280
|
+
if (result) {
|
|
1281
|
+
_chunkQQQD2SINjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkQQQD2SINjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
1282
|
+
if (!paths.some((p) => p.in === result)) {
|
|
1283
|
+
paths.push({
|
|
1284
|
+
in: result,
|
|
1285
|
+
out: entryPoint.out.replace(entryPoint.in, result)
|
|
1286
|
+
});
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
return ret;
|
|
1290
|
+
}, []));
|
|
1291
|
+
} else {
|
|
1292
|
+
_chunkQQQD2SINjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
|
|
1293
|
+
if (!paths.some((p) => p.in === entryPoint.in)) {
|
|
1294
|
+
paths.push(entryPoint);
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
return paths;
|
|
1298
|
+
}));
|
|
1299
|
+
return results.filter(Boolean).reduce((ret, result) => {
|
|
1300
|
+
result.forEach((res) => {
|
|
1301
|
+
if (res && !ret.some((p) => p.in === res.in)) {
|
|
1302
|
+
ret.push(res);
|
|
1303
|
+
}
|
|
1304
|
+
});
|
|
1305
|
+
return ret;
|
|
1306
|
+
}, []);
|
|
1307
|
+
}, "getEntryPoints");
|
|
1308
|
+
|
|
1282
1309
|
// ../esbuild/src/utilities/helpers.ts
|
|
1283
1310
|
function handleSync(fn) {
|
|
1284
1311
|
try {
|
|
@@ -1327,7 +1354,7 @@ function pipeSync(fn, ...fns) {
|
|
|
1327
1354
|
return (...args) => {
|
|
1328
1355
|
let result = fn(...args);
|
|
1329
1356
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
1330
|
-
result = _optionalChain([fns, 'access',
|
|
1357
|
+
result = _optionalChain([fns, 'access', _73 => _73[i], 'optionalCall', _74 => _74(result)]);
|
|
1331
1358
|
}
|
|
1332
1359
|
return result;
|
|
1333
1360
|
};
|
|
@@ -1337,7 +1364,7 @@ function pipeAsync(fn, ...fns) {
|
|
|
1337
1364
|
return async (...args) => {
|
|
1338
1365
|
let result = await fn(...args);
|
|
1339
1366
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
1340
|
-
result = await _optionalChain([fns, 'access',
|
|
1367
|
+
result = await _optionalChain([fns, 'access', _75 => _75[i], 'optionalCall', _76 => _76(result)]);
|
|
1341
1368
|
}
|
|
1342
1369
|
return result;
|
|
1343
1370
|
};
|
|
@@ -1367,7 +1394,7 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
|
|
|
1367
1394
|
const projectJson = JSON.parse(projectJsonFile);
|
|
1368
1395
|
const projectName = projectJson.name;
|
|
1369
1396
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1370
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
1397
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _77 => _77.projects, 'optionalAccess', _78 => _78[projectName]])) {
|
|
1371
1398
|
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.");
|
|
1372
1399
|
}
|
|
1373
1400
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
@@ -1473,19 +1500,13 @@ async function generatePackageJson(context2) {
|
|
|
1473
1500
|
packageJson.exports ??= {};
|
|
1474
1501
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
1475
1502
|
packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
|
|
1476
|
-
|
|
1503
|
+
const entryPoints = [
|
|
1477
1504
|
{
|
|
1478
1505
|
in: "./src/index.ts",
|
|
1479
1506
|
out: "./src/index.ts"
|
|
1480
1507
|
}
|
|
1481
1508
|
];
|
|
1482
1509
|
if (context2.options.entryPoints) {
|
|
1483
|
-
if (Array.isArray(context2.options.entryPoints)) {
|
|
1484
|
-
entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
|
|
1485
|
-
in: entryPoint,
|
|
1486
|
-
out: _chunkQQQD2SINjs.correctPaths.call(void 0, entryPoint.replaceAll(_chunkQQQD2SINjs.correctPaths.call(void 0, context2.options.config.workspaceRoot), "").replaceAll(_chunkQQQD2SINjs.correctPaths.call(void 0, context2.options.projectRoot), ""))
|
|
1487
|
-
} : entryPoint);
|
|
1488
|
-
}
|
|
1489
1510
|
for (const entryPoint of entryPoints) {
|
|
1490
1511
|
const split = entryPoint.out.split(".");
|
|
1491
1512
|
split.pop();
|
|
@@ -1581,7 +1602,7 @@ ${_chunkQQQD2SINjs.formatLogMessage.call(void 0, {
|
|
|
1581
1602
|
}
|
|
1582
1603
|
_chunkJ5SB6L2Ljs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
1583
1604
|
async function copyBuildAssets(context2) {
|
|
1584
|
-
if (_optionalChain([context2, 'access',
|
|
1605
|
+
if (_optionalChain([context2, 'access', _79 => _79.result, 'optionalAccess', _80 => _80.errors, 'access', _81 => _81.length]) === 0) {
|
|
1585
1606
|
_chunkQQQD2SINjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
1586
1607
|
const stopwatch = _chunkQQQD2SINjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
1587
1608
|
await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
@@ -1591,7 +1612,7 @@ async function copyBuildAssets(context2) {
|
|
|
1591
1612
|
}
|
|
1592
1613
|
_chunkJ5SB6L2Ljs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
1593
1614
|
async function reportResults(context2) {
|
|
1594
|
-
if (_optionalChain([context2, 'access',
|
|
1615
|
+
if (_optionalChain([context2, 'access', _82 => _82.result, 'optionalAccess', _83 => _83.errors, 'access', _84 => _84.length]) === 0) {
|
|
1595
1616
|
if (context2.result.warnings.length > 0) {
|
|
1596
1617
|
_chunkQQQD2SINjs.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);
|
|
1597
1618
|
}
|
|
@@ -1692,14 +1713,14 @@ var watch = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (context2, opti
|
|
|
1692
1713
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
1693
1714
|
async function esbuildExecutorFn(options, context2, config) {
|
|
1694
1715
|
_chunkQQQD2SINjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1695
|
-
if (!_optionalChain([context2, 'access',
|
|
1716
|
+
if (!_optionalChain([context2, 'access', _85 => _85.projectsConfigurations, 'optionalAccess', _86 => _86.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _87 => _87.projectsConfigurations, 'access', _88 => _88.projects, 'access', _89 => _89[context2.projectName], 'optionalAccess', _90 => _90.root])) {
|
|
1696
1717
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
1697
1718
|
}
|
|
1698
1719
|
await build3({
|
|
1699
1720
|
...options,
|
|
1700
|
-
projectRoot: _optionalChain([context2, 'access',
|
|
1721
|
+
projectRoot: _optionalChain([context2, 'access', _91 => _91.projectsConfigurations, 'access', _92 => _92.projects, 'optionalAccess', _93 => _93[context2.projectName], 'access', _94 => _94.root]),
|
|
1701
1722
|
projectName: context2.projectName,
|
|
1702
|
-
sourceRoot: _optionalChain([context2, 'access',
|
|
1723
|
+
sourceRoot: _optionalChain([context2, 'access', _95 => _95.projectsConfigurations, 'access', _96 => _96.projects, 'optionalAccess', _97 => _97[context2.projectName], 'optionalAccess', _98 => _98.sourceRoot]),
|
|
1703
1724
|
format: options.format,
|
|
1704
1725
|
platform: options.format
|
|
1705
1726
|
});
|
|
@@ -1742,7 +1763,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
1742
1763
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
1743
1764
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
1744
1765
|
async function sizeLimitExecutorFn(options, context2, config) {
|
|
1745
|
-
if (!_optionalChain([context2, 'optionalAccess',
|
|
1766
|
+
if (!_optionalChain([context2, 'optionalAccess', _99 => _99.projectName]) || !_optionalChain([context2, 'access', _100 => _100.projectsConfigurations, 'optionalAccess', _101 => _101.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
1746
1767
|
throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
|
|
1747
1768
|
}
|
|
1748
1769
|
_chunkQQQD2SINjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
|
|
@@ -1751,7 +1772,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
|
|
|
1751
1772
|
_esbuild3.default,
|
|
1752
1773
|
_esbuildwhy2.default
|
|
1753
1774
|
], {
|
|
1754
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access',
|
|
1775
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _102 => _102.projectsConfigurations, 'access', _103 => _103.projects, 'access', _104 => _104[context2.projectName], 'optionalAccess', _105 => _105.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _106 => _106.projectsConfigurations, 'access', _107 => _107.projects, 'access', _108 => _108[context2.projectName], 'optionalAccess', _109 => _109.root]), () => ( "./")), "src")))
|
|
1755
1776
|
}).then((result) => {
|
|
1756
1777
|
_chunkQQQD2SINjs.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
|
|
1757
1778
|
});
|
|
@@ -1810,7 +1831,7 @@ var executor_default8 = withRunExecutor("Typia runtime validation generator", ty
|
|
|
1810
1831
|
var _jiti = require('jiti');
|
|
1811
1832
|
async function unbuildExecutorFn(options, context2, config) {
|
|
1812
1833
|
_chunkQQQD2SINjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1813
|
-
if (!_optionalChain([context2, 'access',
|
|
1834
|
+
if (!_optionalChain([context2, 'access', _110 => _110.projectsConfigurations, 'optionalAccess', _111 => _111.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
1814
1835
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
|
|
1815
1836
|
}
|
|
1816
1837
|
if (!context2.projectsConfigurations.projects[context2.projectName].root) {
|
|
@@ -1893,7 +1914,7 @@ var withRunGenerator = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (nam
|
|
|
1893
1914
|
- workspaceRoot: ${workspaceRoot3}`, config);
|
|
1894
1915
|
config = await _chunkZ5XL2UL5js.getConfig.call(void 0, workspaceRoot3);
|
|
1895
1916
|
}
|
|
1896
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1917
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _112 => _112.hooks, 'optionalAccess', _113 => _113.applyDefaultOptions])) {
|
|
1897
1918
|
_chunkQQQD2SINjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
1898
1919
|
options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
|
|
1899
1920
|
_chunkQQQD2SINjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
@@ -1904,22 +1925,22 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1904
1925
|
workspaceRoot: tree.root,
|
|
1905
1926
|
config
|
|
1906
1927
|
}, applyWorkspaceBaseTokens);
|
|
1907
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1928
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _114 => _114.hooks, 'optionalAccess', _115 => _115.preProcess])) {
|
|
1908
1929
|
_chunkQQQD2SINjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
1909
1930
|
await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
|
|
1910
1931
|
_chunkQQQD2SINjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
1911
1932
|
}
|
|
1912
1933
|
const result = await Promise.resolve(generatorFn(tree, tokenized, config));
|
|
1913
1934
|
if (result) {
|
|
1914
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
1935
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _116 => _116.error, 'optionalAccess', _117 => _117.message]) && typeof _optionalChain([result, 'optionalAccess', _118 => _118.error, 'optionalAccess', _119 => _119.message]) === "string" && _optionalChain([result, 'optionalAccess', _120 => _120.error, 'optionalAccess', _121 => _121.name]) && typeof _optionalChain([result, 'optionalAccess', _122 => _122.error, 'optionalAccess', _123 => _123.name]) === "string") {
|
|
1915
1936
|
throw new Error(`The ${name} generator failed to run`, {
|
|
1916
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
1937
|
+
cause: _optionalChain([result, 'optionalAccess', _124 => _124.error])
|
|
1917
1938
|
});
|
|
1918
1939
|
} else if (result.success && result.data) {
|
|
1919
1940
|
return result;
|
|
1920
1941
|
}
|
|
1921
1942
|
}
|
|
1922
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1943
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _125 => _125.hooks, 'optionalAccess', _126 => _126.postProcess])) {
|
|
1923
1944
|
_chunkQQQD2SINjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
1924
1945
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
1925
1946
|
_chunkQQQD2SINjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
@@ -2029,15 +2050,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2029
2050
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
2030
2051
|
let repository = {
|
|
2031
2052
|
type: "github",
|
|
2032
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
2053
|
+
url: _optionalChain([config, 'optionalAccess', _127 => _127.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _128 => _128.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _129 => _129.namespace]) || _optionalChain([config, 'optionalAccess', _130 => _130.name]) || "repository"}.git`
|
|
2033
2054
|
};
|
|
2034
2055
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
2035
2056
|
if (tree.exists("package.json")) {
|
|
2036
2057
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
2037
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2058
|
+
if (_optionalChain([packageJson, 'optionalAccess', _131 => _131.repository])) {
|
|
2038
2059
|
repository = packageJson.repository;
|
|
2039
2060
|
}
|
|
2040
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2061
|
+
if (_optionalChain([packageJson, 'optionalAccess', _132 => _132.description])) {
|
|
2041
2062
|
description = packageJson.description;
|
|
2042
2063
|
}
|
|
2043
2064
|
}
|
|
@@ -2092,9 +2113,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2092
2113
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
2093
2114
|
...json,
|
|
2094
2115
|
pnpm: {
|
|
2095
|
-
..._optionalChain([json, 'optionalAccess',
|
|
2116
|
+
..._optionalChain([json, 'optionalAccess', _133 => _133.pnpm]),
|
|
2096
2117
|
overrides: {
|
|
2097
|
-
..._optionalChain([json, 'optionalAccess',
|
|
2118
|
+
..._optionalChain([json, 'optionalAccess', _134 => _134.pnpm, 'optionalAccess', _135 => _135.overrides]),
|
|
2098
2119
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
2099
2120
|
}
|
|
2100
2121
|
}
|
|
@@ -2108,10 +2129,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2108
2129
|
]);
|
|
2109
2130
|
if (tree.exists("package.json")) {
|
|
2110
2131
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
2111
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2132
|
+
if (_optionalChain([packageJson, 'optionalAccess', _136 => _136.repository])) {
|
|
2112
2133
|
repository = packageJson.repository;
|
|
2113
2134
|
}
|
|
2114
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2135
|
+
if (_optionalChain([packageJson, 'optionalAccess', _137 => _137.description])) {
|
|
2115
2136
|
description = packageJson.description;
|
|
2116
2137
|
}
|
|
2117
2138
|
}
|
|
@@ -2159,24 +2180,24 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, getOutputPath, "getOutputPath");
|
|
|
2159
2180
|
function createProjectTsConfigJson(tree, options) {
|
|
2160
2181
|
const tsconfig = {
|
|
2161
2182
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
2162
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2183
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _138 => _138.tsconfigOptions]), () => ( {})),
|
|
2163
2184
|
compilerOptions: {
|
|
2164
2185
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
2165
2186
|
outDir: _chunkQQQD2SINjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
2166
2187
|
noEmit: true,
|
|
2167
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2188
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _139 => _139.tsconfigOptions, 'optionalAccess', _140 => _140.compilerOptions]), () => ( {}))
|
|
2168
2189
|
},
|
|
2169
2190
|
files: [
|
|
2170
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2191
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _141 => _141.tsconfigOptions, 'optionalAccess', _142 => _142.files]), () => ( []))
|
|
2171
2192
|
],
|
|
2172
2193
|
include: [
|
|
2173
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2194
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _143 => _143.tsconfigOptions, 'optionalAccess', _144 => _144.include]), () => ( [])),
|
|
2174
2195
|
"src/**/*.ts",
|
|
2175
2196
|
"src/**/*.js",
|
|
2176
2197
|
"bin/**/*"
|
|
2177
2198
|
],
|
|
2178
2199
|
exclude: [
|
|
2179
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2200
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _145 => _145.tsconfigOptions, 'optionalAccess', _146 => _146.exclude]), () => ( [])),
|
|
2180
2201
|
"jest.config.ts",
|
|
2181
2202
|
"src/**/*.spec.ts",
|
|
2182
2203
|
"src/**/*.test.ts"
|
|
@@ -2187,8 +2208,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
2187
2208
|
_chunkJ5SB6L2Ljs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
|
|
2188
2209
|
async function normalizeOptions(tree, options, config) {
|
|
2189
2210
|
let importPath = options.importPath;
|
|
2190
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
2191
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
2211
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _147 => _147.namespace])) {
|
|
2212
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _148 => _148.namespace])}/${options.name}`;
|
|
2192
2213
|
}
|
|
2193
2214
|
if (options.publishable) {
|
|
2194
2215
|
if (!importPath) {
|
|
@@ -2320,7 +2341,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
2320
2341
|
name: "StormWorkspaceConfiguration"
|
|
2321
2342
|
});
|
|
2322
2343
|
_chunkQQQD2SINjs.writeTrace.call(void 0, jsonSchema, config);
|
|
2323
|
-
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2344
|
+
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _149 => _149.workspaceRoot]), () => ( _chunkQQQD2SINjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _150 => _150.outputFile, 'optionalAccess', _151 => _151.startsWith, 'call', _152 => _152("./")]) ? "" : "./");
|
|
2324
2345
|
_chunkQQQD2SINjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
2325
2346
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
|
|
2326
2347
|
spaces: 2
|
|
@@ -612,57 +612,6 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ __name(async (config, projec
|
|
|
612
612
|
|
|
613
613
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
614
614
|
import { glob as glob2 } from "glob";
|
|
615
|
-
var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
616
|
-
const workspaceRoot3 = config.workspaceRoot || findWorkspaceRoot();
|
|
617
|
-
const entryPoints = [];
|
|
618
|
-
if (entry) {
|
|
619
|
-
if (typeof entry === "string") {
|
|
620
|
-
entryPoints.push(entry);
|
|
621
|
-
} else if (Array.isArray(entry)) {
|
|
622
|
-
entryPoints.push(...entry);
|
|
623
|
-
} else {
|
|
624
|
-
entryPoints.push(...Object.values(entry));
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
if (emitOnAll) {
|
|
628
|
-
entryPoints.push(joinPaths(workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
629
|
-
}
|
|
630
|
-
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
631
|
-
const paths = [];
|
|
632
|
-
if (entryPoint.includes("*")) {
|
|
633
|
-
const files = await glob2(entryPoint, {
|
|
634
|
-
withFileTypes: true,
|
|
635
|
-
ignore: [
|
|
636
|
-
"**/node_modules/**"
|
|
637
|
-
]
|
|
638
|
-
});
|
|
639
|
-
paths.push(...files.reduce((ret, filePath) => {
|
|
640
|
-
const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot3), "").replaceAll(correctPaths(projectRoot), ""));
|
|
641
|
-
if (result) {
|
|
642
|
-
writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
|
|
643
|
-
if (!paths.includes(result)) {
|
|
644
|
-
paths.push(result);
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
return ret;
|
|
648
|
-
}, []));
|
|
649
|
-
} else {
|
|
650
|
-
writeDebug(`Trying to add entry point ${entryPoint}"`, config);
|
|
651
|
-
if (!paths.includes(entryPoint)) {
|
|
652
|
-
paths.push(entryPoint);
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
return paths;
|
|
656
|
-
}));
|
|
657
|
-
return results.filter(Boolean).reduce((ret, result) => {
|
|
658
|
-
result.forEach((res) => {
|
|
659
|
-
if (res && !ret.includes(res)) {
|
|
660
|
-
ret.push(res);
|
|
661
|
-
}
|
|
662
|
-
});
|
|
663
|
-
return ret;
|
|
664
|
-
}, []);
|
|
665
|
-
}, "getEntryPoints");
|
|
666
615
|
|
|
667
616
|
// ../build-tools/src/utilities/get-env.ts
|
|
668
617
|
var getEnv = /* @__PURE__ */ __name((builder, options) => {
|
|
@@ -1086,10 +1035,10 @@ var tscPlugin = /* @__PURE__ */ __name((options, resolvedOptions) => ({
|
|
|
1086
1035
|
if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
|
|
1087
1036
|
await run(resolvedOptions.config, `pnpm exec tsc --project ${resolvedOptions.tsconfig}`, resolvedOptions.config.workspaceRoot);
|
|
1088
1037
|
}
|
|
1089
|
-
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0] && resolvedOptions.entryPoints[0].endsWith(".ts")) {
|
|
1038
|
+
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0]?.in && resolvedOptions.entryPoints[0].in.endsWith(".ts")) {
|
|
1090
1039
|
const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
|
|
1091
1040
|
const typeOutDir = resolvedOptions.outdir;
|
|
1092
|
-
const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
1041
|
+
const entryPoint = resolvedOptions.entryPoints[0].in.replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
1093
1042
|
const bundlePath = joinPaths(resolvedOptions.outdir, entryPoint);
|
|
1094
1043
|
let dtsPath;
|
|
1095
1044
|
if (existsSync3(joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
|
|
@@ -1280,6 +1229,84 @@ var shebangRenderer = {
|
|
|
1280
1229
|
}
|
|
1281
1230
|
};
|
|
1282
1231
|
|
|
1232
|
+
// ../esbuild/src/utilities/get-entry-points.ts
|
|
1233
|
+
import { glob as glob3 } from "glob";
|
|
1234
|
+
var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
1235
|
+
const workspaceRoot3 = config.workspaceRoot || findWorkspaceRoot();
|
|
1236
|
+
const entryPoints = [];
|
|
1237
|
+
if (entry) {
|
|
1238
|
+
if (typeof entry === "string") {
|
|
1239
|
+
entryPoints.push({
|
|
1240
|
+
in: entry,
|
|
1241
|
+
out: entry
|
|
1242
|
+
});
|
|
1243
|
+
} else if (Array.isArray(entry)) {
|
|
1244
|
+
entryPoints.push(...entry.map((entry2) => ({
|
|
1245
|
+
in: entry2,
|
|
1246
|
+
out: entry2
|
|
1247
|
+
})));
|
|
1248
|
+
} else {
|
|
1249
|
+
entryPoints.push(...Object.entries(entry).map(([key, value]) => {
|
|
1250
|
+
if (typeof value === "string") {
|
|
1251
|
+
return {
|
|
1252
|
+
in: key,
|
|
1253
|
+
out: value
|
|
1254
|
+
};
|
|
1255
|
+
} else {
|
|
1256
|
+
return {
|
|
1257
|
+
in: key,
|
|
1258
|
+
out: key
|
|
1259
|
+
};
|
|
1260
|
+
}
|
|
1261
|
+
}));
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
if (emitOnAll) {
|
|
1265
|
+
entryPoints.push({
|
|
1266
|
+
in: joinPaths(workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"),
|
|
1267
|
+
out: joinPaths(workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}")
|
|
1268
|
+
});
|
|
1269
|
+
}
|
|
1270
|
+
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
1271
|
+
const paths = [];
|
|
1272
|
+
if (entryPoint.in.includes("*")) {
|
|
1273
|
+
const files = await glob3(entryPoint.in, {
|
|
1274
|
+
withFileTypes: true,
|
|
1275
|
+
ignore: [
|
|
1276
|
+
"**/node_modules/**"
|
|
1277
|
+
]
|
|
1278
|
+
});
|
|
1279
|
+
paths.push(...files.reduce((ret, filePath) => {
|
|
1280
|
+
const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot3), "").replaceAll(correctPaths(projectRoot), ""));
|
|
1281
|
+
if (result) {
|
|
1282
|
+
writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
|
|
1283
|
+
if (!paths.some((p) => p.in === result)) {
|
|
1284
|
+
paths.push({
|
|
1285
|
+
in: result,
|
|
1286
|
+
out: entryPoint.out.replace(entryPoint.in, result)
|
|
1287
|
+
});
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
return ret;
|
|
1291
|
+
}, []));
|
|
1292
|
+
} else {
|
|
1293
|
+
writeDebug(`Trying to add entry point ${entryPoint}"`, config);
|
|
1294
|
+
if (!paths.some((p) => p.in === entryPoint.in)) {
|
|
1295
|
+
paths.push(entryPoint);
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
return paths;
|
|
1299
|
+
}));
|
|
1300
|
+
return results.filter(Boolean).reduce((ret, result) => {
|
|
1301
|
+
result.forEach((res) => {
|
|
1302
|
+
if (res && !ret.some((p) => p.in === res.in)) {
|
|
1303
|
+
ret.push(res);
|
|
1304
|
+
}
|
|
1305
|
+
});
|
|
1306
|
+
return ret;
|
|
1307
|
+
}, []);
|
|
1308
|
+
}, "getEntryPoints");
|
|
1309
|
+
|
|
1283
1310
|
// ../esbuild/src/utilities/helpers.ts
|
|
1284
1311
|
function handleSync(fn) {
|
|
1285
1312
|
try {
|
|
@@ -1474,19 +1501,13 @@ async function generatePackageJson(context2) {
|
|
|
1474
1501
|
packageJson.exports ??= {};
|
|
1475
1502
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
1476
1503
|
packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
|
|
1477
|
-
|
|
1504
|
+
const entryPoints = [
|
|
1478
1505
|
{
|
|
1479
1506
|
in: "./src/index.ts",
|
|
1480
1507
|
out: "./src/index.ts"
|
|
1481
1508
|
}
|
|
1482
1509
|
];
|
|
1483
1510
|
if (context2.options.entryPoints) {
|
|
1484
|
-
if (Array.isArray(context2.options.entryPoints)) {
|
|
1485
|
-
entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
|
|
1486
|
-
in: entryPoint,
|
|
1487
|
-
out: correctPaths(entryPoint.replaceAll(correctPaths(context2.options.config.workspaceRoot), "").replaceAll(correctPaths(context2.options.projectRoot), ""))
|
|
1488
|
-
} : entryPoint);
|
|
1489
|
-
}
|
|
1490
1511
|
for (const entryPoint of entryPoints) {
|
|
1491
1512
|
const split = entryPoint.out.split(".");
|
|
1492
1513
|
split.pop();
|
|
@@ -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.55.
|
|
11
|
+
version: "0.55.46",
|
|
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",
|
package/dist/executors.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
2
|
require('./chunk-R7AIVBS7.js');
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-S5NUDAJR.js');
|
|
3
|
+
require('./chunk-CWBI7ZQ2.js');
|
|
4
|
+
require('./chunk-GZJSLTK4.js');
|
|
6
5
|
require('./chunk-VTHBMY4B.js');
|
|
6
|
+
require('./chunk-S5NUDAJR.js');
|
|
7
7
|
require('./chunk-Z5XL2UL5.js');
|
|
8
8
|
require('./chunk-QQQD2SIN.js');
|
|
9
9
|
require('./chunk-J5SB6L2L.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
2
|
import "./chunk-VNLZQQ5C.mjs";
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-PHH7TIFK.mjs";
|
|
3
|
+
import "./chunk-WTERMAUR.mjs";
|
|
4
|
+
import "./chunk-HD246TI3.mjs";
|
|
6
5
|
import "./chunk-YYEF6TFG.mjs";
|
|
6
|
+
import "./chunk-PHH7TIFK.mjs";
|
|
7
7
|
import "./chunk-2P5TGL2R.mjs";
|
|
8
8
|
import "./chunk-YBYGEO5L.mjs";
|
|
9
9
|
import "./chunk-3HMZSKJD.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkFUMCGABOjs = require('./chunk-FUMCGABO.js');
|
|
6
|
+
require('./chunk-Z5XL2UL5.js');
|
|
7
|
+
require('./chunk-QQQD2SIN.js');
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-Z5XL2UL5.js');
|
|
11
|
-
require('./chunk-QQQD2SIN.js');
|
|
11
|
+
var _chunkZ3WJNLJWjs = require('./chunk-Z3WJNLJW.js');
|
|
12
12
|
require('./chunk-J5SB6L2L.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkFUMCGABOjs.applicationGenerator; exports.applicationSchematic = _chunkFUMCGABOjs.applicationSchematic; exports.initGenerator = _chunkZ3WJNLJWjs.initGenerator; exports.initSchematic = _chunkZ3WJNLJWjs.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,13 +2,13 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-37HC2CC6.mjs";
|
|
6
|
+
import "./chunk-2P5TGL2R.mjs";
|
|
7
|
+
import "./chunk-YBYGEO5L.mjs";
|
|
6
8
|
import {
|
|
7
9
|
initGenerator,
|
|
8
10
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-2P5TGL2R.mjs";
|
|
11
|
-
import "./chunk-YBYGEO5L.mjs";
|
|
11
|
+
} from "./chunk-7JTISIUD.mjs";
|
|
12
12
|
import "./chunk-3HMZSKJD.mjs";
|
|
13
13
|
export {
|
|
14
14
|
applicationGenerator,
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; }require('./chunk-XO66D74Z.js');
|
|
2
|
-
require('./chunk-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkZGZLK5XZjs = require('./chunk-ZGZLK5XZ.js');
|
|
2
|
+
require('./chunk-R7AIVBS7.js');
|
|
3
|
+
require('./chunk-CWBI7ZQ2.js');
|
|
4
|
+
require('./chunk-GZJSLTK4.js');
|
|
7
5
|
|
|
8
6
|
|
|
9
7
|
|
|
10
|
-
var
|
|
8
|
+
var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
|
|
9
|
+
require('./chunk-DHBG5ASJ.js');
|
|
11
10
|
require('./chunk-CVGPWUNP.js');
|
|
12
|
-
require('./chunk-R7AIVBS7.js');
|
|
13
|
-
require('./chunk-DZPVDJXE.js');
|
|
14
|
-
require('./chunk-4P4IIN6G.js');
|
|
15
11
|
|
|
16
12
|
|
|
17
13
|
|
|
@@ -19,11 +15,15 @@ var _chunkS5NUDAJRjs = require('./chunk-S5NUDAJR.js');
|
|
|
19
15
|
|
|
20
16
|
|
|
21
17
|
|
|
22
|
-
var
|
|
18
|
+
var _chunkFUMCGABOjs = require('./chunk-FUMCGABO.js');
|
|
23
19
|
require('./chunk-Z5XL2UL5.js');
|
|
24
20
|
require('./chunk-QQQD2SIN.js');
|
|
25
21
|
|
|
26
22
|
|
|
23
|
+
|
|
24
|
+
var _chunkZ3WJNLJWjs = require('./chunk-Z3WJNLJW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
27
|
var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
|
|
28
28
|
|
|
29
29
|
// src/plugins/index.ts
|
|
@@ -148,4 +148,4 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, createPackageJson, "createPackageJson");
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
exports.applicationGenerator =
|
|
151
|
+
exports.applicationGenerator = _chunkFUMCGABOjs.applicationGenerator; exports.applicationSchematic = _chunkFUMCGABOjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkS5NUDAJRjs.getInternalDependencies; exports.initGenerator = _chunkZ3WJNLJWjs.initGenerator; exports.initSchematic = _chunkZ3WJNLJWjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkS5NUDAJRjs.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
applicationSchematic
|
|
6
|
-
} from "./chunk-ZTEXBI4T.mjs";
|
|
2
|
+
import "./chunk-VNLZQQ5C.mjs";
|
|
3
|
+
import "./chunk-WTERMAUR.mjs";
|
|
4
|
+
import "./chunk-HD246TI3.mjs";
|
|
7
5
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
6
|
+
ProjectTagConstants,
|
|
7
|
+
addProjectTag
|
|
8
|
+
} from "./chunk-YYEF6TFG.mjs";
|
|
9
|
+
import "./chunk-3J7KBHMJ.mjs";
|
|
11
10
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
|
-
import "./chunk-VNLZQQ5C.mjs";
|
|
13
|
-
import "./chunk-BDADKXEW.mjs";
|
|
14
|
-
import "./chunk-QGY5FTZR.mjs";
|
|
15
11
|
import {
|
|
16
12
|
getInternalDependencies,
|
|
17
13
|
r2UploadFile
|
|
18
14
|
} from "./chunk-PHH7TIFK.mjs";
|
|
19
15
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
16
|
+
applicationGenerator,
|
|
17
|
+
applicationSchematic
|
|
18
|
+
} from "./chunk-37HC2CC6.mjs";
|
|
23
19
|
import "./chunk-2P5TGL2R.mjs";
|
|
24
20
|
import "./chunk-YBYGEO5L.mjs";
|
|
21
|
+
import {
|
|
22
|
+
initGenerator,
|
|
23
|
+
initSchematic
|
|
24
|
+
} from "./chunk-7JTISIUD.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-3HMZSKJD.mjs";
|
|
@@ -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-GZJSLTK4.js');
|
|
5
5
|
require('../../../chunk-VTHBMY4B.js');
|
|
6
6
|
require('../../../chunk-Z5XL2UL5.js');
|
|
7
7
|
require('../../../chunk-QQQD2SIN.js');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-S5NUDAJR.js');
|
|
3
|
+
var _chunkCWBI7ZQ2js = require('../../../chunk-CWBI7ZQ2.js');
|
|
5
4
|
require('../../../chunk-VTHBMY4B.js');
|
|
5
|
+
require('../../../chunk-S5NUDAJR.js');
|
|
6
6
|
require('../../../chunk-Z5XL2UL5.js');
|
|
7
7
|
require('../../../chunk-QQQD2SIN.js');
|
|
8
8
|
require('../../../chunk-J5SB6L2L.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkCWBI7ZQ2js.runExecutor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-PHH7TIFK.mjs";
|
|
3
|
+
} from "../../../chunk-WTERMAUR.mjs";
|
|
5
4
|
import "../../../chunk-YYEF6TFG.mjs";
|
|
5
|
+
import "../../../chunk-PHH7TIFK.mjs";
|
|
6
6
|
import "../../../chunk-2P5TGL2R.mjs";
|
|
7
7
|
import "../../../chunk-YBYGEO5L.mjs";
|
|
8
8
|
import "../../../chunk-3HMZSKJD.mjs";
|
|
@@ -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 _chunkGZJSLTK4js = require('../../../chunk-GZJSLTK4.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 = _chunkGZJSLTK4js.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 _chunkZ3WJNLJWjs = require('../../../chunk-Z3WJNLJW.js');
|
|
6
6
|
require('../../../chunk-J5SB6L2L.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkZ3WJNLJWjs.generator_default; exports.initGenerator = _chunkZ3WJNLJWjs.initGenerator; exports.initSchematic = _chunkZ3WJNLJWjs.initSchematic;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-P7YORNEH.js');
|
|
5
|
+
var _chunkFUMCGABOjs = require('../../../chunk-FUMCGABO.js');
|
|
7
6
|
require('../../../chunk-Z5XL2UL5.js');
|
|
8
7
|
require('../../../chunk-QQQD2SIN.js');
|
|
8
|
+
require('../../../chunk-Z3WJNLJW.js');
|
|
9
9
|
require('../../../chunk-J5SB6L2L.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkFUMCGABOjs.applicationGenerator; exports.applicationSchematic = _chunkFUMCGABOjs.applicationSchematic; exports.default = _chunkFUMCGABOjs.generator_default;
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-WGEGIRE6.mjs";
|
|
5
|
+
} from "../../../chunk-37HC2CC6.mjs";
|
|
7
6
|
import "../../../chunk-2P5TGL2R.mjs";
|
|
8
7
|
import "../../../chunk-YBYGEO5L.mjs";
|
|
8
|
+
import "../../../chunk-7JTISIUD.mjs";
|
|
9
9
|
import "../../../chunk-3HMZSKJD.mjs";
|
|
10
10
|
export {
|
|
11
11
|
applicationGenerator,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.46",
|
|
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",
|
|
@@ -1,11 +1,11 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkS5NUDAJRjs = require('./chunk-S5NUDAJR.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkZ5XL2UL5js = require('./chunk-Z5XL2UL5.js');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getInternalDependencies,
|
|
3
|
-
r2UploadFile
|
|
4
|
-
} from "./chunk-PHH7TIFK.mjs";
|
|
5
1
|
import {
|
|
6
2
|
createCliOptions,
|
|
7
3
|
getPackageInfo
|
|
8
4
|
} from "./chunk-YYEF6TFG.mjs";
|
|
5
|
+
import {
|
|
6
|
+
getInternalDependencies,
|
|
7
|
+
r2UploadFile
|
|
8
|
+
} from "./chunk-PHH7TIFK.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getConfig
|
|
11
11
|
} from "./chunk-2P5TGL2R.mjs";
|