@storm-software/cloudflare-tools 0.55.1 → 0.55.4
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 +18 -0
- package/README.md +1 -1
- package/dist/{chunk-I3W6J4WY.mjs → chunk-447Q5PGO.mjs} +1 -1
- package/dist/{chunk-KUTJAYRP.js → chunk-7ACCW3GS.js} +2 -2
- package/dist/{chunk-52L33AXE.js → chunk-CVRMH724.js} +1 -1
- package/dist/{chunk-ZND42QSU.js → chunk-ET4B3AW3.js} +50 -36
- package/dist/{chunk-IKCEMAOR.mjs → chunk-OT3Y3N5D.mjs} +57 -43
- package/dist/{chunk-5WNLJW4K.mjs → chunk-ZTASIK2W.mjs} +1 -1
- 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 +5 -5
- package/dist/index.mjs +4 -4
- 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,21 @@
|
|
|
1
|
+
## 0.55.4 (2025-01-28)
|
|
2
|
+
|
|
3
|
+
### Miscellaneous
|
|
4
|
+
|
|
5
|
+
- **monorepo:** Regenerate README markdown files ([f3649091](https://github.com/storm-software/storm-ops/commit/f3649091))
|
|
6
|
+
|
|
7
|
+
## 0.55.3 (2025-01-28)
|
|
8
|
+
|
|
9
|
+
### Miscellaneous
|
|
10
|
+
|
|
11
|
+
- **monorepo:** Regenerate README markdown files ([d3619f12](https://github.com/storm-software/storm-ops/commit/d3619f12))
|
|
12
|
+
|
|
13
|
+
## 0.55.2 (2025-01-24)
|
|
14
|
+
|
|
15
|
+
### Miscellaneous
|
|
16
|
+
|
|
17
|
+
- **monorepo:** Regenerate the README markdown files ([e217af7e](https://github.com/storm-software/storm-ops/commit/e217af7e))
|
|
18
|
+
|
|
1
19
|
## 0.55.1 (2025-01-24)
|
|
2
20
|
|
|
3
21
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -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.4",
|
|
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 _chunkCVRMH724js = require('./chunk-CVRMH724.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk6Q4S7VSUjs = require('./chunk-6Q4S7VSU.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 _chunkCVRMH724js.generator_default.call(void 0, tree, {
|
|
56
56
|
...options,
|
|
57
57
|
skipFormat: true
|
|
58
58
|
}));
|
|
@@ -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.4",
|
|
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",
|
|
@@ -421,7 +421,6 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
421
421
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
422
422
|
|
|
423
423
|
// ../esbuild/src/build.ts
|
|
424
|
-
var _node = require('@humanfs/node');
|
|
425
424
|
|
|
426
425
|
|
|
427
426
|
// ../build-tools/src/config.ts
|
|
@@ -708,6 +707,8 @@ var _estoolkit = require('es-toolkit');
|
|
|
708
707
|
var _compat = require('es-toolkit/compat');
|
|
709
708
|
var _esbuild = require('esbuild'); var esbuild2 = _interopRequireWildcard(_esbuild); var esbuild = _interopRequireWildcard(_esbuild);
|
|
710
709
|
var _globby = require('globby');
|
|
710
|
+
|
|
711
|
+
|
|
711
712
|
var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
712
713
|
|
|
713
714
|
// ../esbuild/src/base/renderer-engine.ts
|
|
@@ -853,13 +854,13 @@ var RendererEngine = class {
|
|
|
853
854
|
|
|
854
855
|
// ../esbuild/src/clean.ts
|
|
855
856
|
|
|
856
|
-
async function
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
857
|
+
async function cleanDirectories(name = "ESBuild", directory, config) {
|
|
858
|
+
await _promises.rm.call(void 0, directory, {
|
|
859
|
+
recursive: true,
|
|
860
|
+
force: true
|
|
861
|
+
});
|
|
861
862
|
}
|
|
862
|
-
_chunkJ5SB6L2Ljs.__name.call(void 0,
|
|
863
|
+
_chunkJ5SB6L2Ljs.__name.call(void 0, cleanDirectories, "cleanDirectories");
|
|
863
864
|
|
|
864
865
|
// ../esbuild/src/plugins/esm-split-code-to-cjs.ts
|
|
865
866
|
|
|
@@ -1031,8 +1032,9 @@ var resolvePathsPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (o
|
|
|
1031
1032
|
}), "resolvePathsPlugin");
|
|
1032
1033
|
|
|
1033
1034
|
// ../esbuild/src/plugins/tsc.ts
|
|
1034
|
-
|
|
1035
1035
|
var _apiextractor = require('@microsoft/api-extractor');
|
|
1036
|
+
|
|
1037
|
+
|
|
1036
1038
|
function bundleTypeDefinitions(filename, outfile, externals, options) {
|
|
1037
1039
|
const { dependencies, peerDependencies, devDependencies } = _chunkJ5SB6L2Ljs.__require.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "package.json"));
|
|
1038
1040
|
const dependenciesKeys = Object.keys(_nullishCoalesce(dependencies, () => ( {}))).flatMap((p) => [
|
|
@@ -1105,18 +1107,18 @@ var tscPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options, r
|
|
|
1105
1107
|
const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
1106
1108
|
const bundlePath = _chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
|
|
1107
1109
|
let dtsPath;
|
|
1108
|
-
if (
|
|
1110
|
+
if (_fs.existsSync.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
|
|
1109
1111
|
dtsPath = _chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`);
|
|
1110
|
-
} else if (
|
|
1112
|
+
} else if (_fs.existsSync.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`))) {
|
|
1111
1113
|
dtsPath = _chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`);
|
|
1112
1114
|
}
|
|
1113
1115
|
const ext = resolvedOptions.outExtension.dts || resolvedOptions.format === "esm" ? "d.mts" : "d.ts";
|
|
1114
1116
|
if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
|
|
1115
1117
|
bundleTypeDefinitions(dtsPath, bundlePath, _nullishCoalesce(resolvedOptions.external, () => ( [])), resolvedOptions);
|
|
1116
|
-
const dtsContents = await
|
|
1117
|
-
await
|
|
1118
|
+
const dtsContents = await _promises2.default.readFile(`${bundlePath}.d.ts`, "utf8");
|
|
1119
|
+
await _promises2.default.writeFile(`${bundlePath}.${ext}`, dtsContents);
|
|
1118
1120
|
} else {
|
|
1119
|
-
await
|
|
1121
|
+
await _promises2.default.writeFile(`${bundlePath}.${ext}`, `export * from './${entryPoint}'`);
|
|
1120
1122
|
}
|
|
1121
1123
|
}
|
|
1122
1124
|
});
|
|
@@ -1365,10 +1367,11 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
|
|
|
1365
1367
|
exitOnError: true
|
|
1366
1368
|
});
|
|
1367
1369
|
const projectJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
|
|
1368
|
-
if (!
|
|
1370
|
+
if (!_fs.existsSync.call(void 0, projectJsonPath)) {
|
|
1369
1371
|
throw new Error("Cannot find project.json configuration");
|
|
1370
1372
|
}
|
|
1371
|
-
const
|
|
1373
|
+
const projectJsonFile = await _promises2.default.readFile(projectJsonPath, "utf8");
|
|
1374
|
+
const projectJson = JSON.parse(projectJsonFile);
|
|
1372
1375
|
const projectName = projectJson.name;
|
|
1373
1376
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1374
1377
|
if (!_optionalChain([projectConfigurations, 'optionalAccess', _51 => _51.projects, 'optionalAccess', _52 => _52[projectName]])) {
|
|
@@ -1378,10 +1381,11 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
|
|
|
1378
1381
|
options.name ??= `${projectName}-${options.format}`;
|
|
1379
1382
|
options.target ??= DEFAULT_TARGET;
|
|
1380
1383
|
const packageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
1381
|
-
if (!
|
|
1384
|
+
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1382
1385
|
throw new Error("Cannot find package.json configuration");
|
|
1383
1386
|
}
|
|
1384
|
-
const
|
|
1387
|
+
const packageJsonFile = await _promises2.default.readFile(packageJsonPath, "utf8");
|
|
1388
|
+
const packageJson = JSON.parse(packageJsonFile);
|
|
1385
1389
|
const outExtension = getOutputExtensionMap(options, packageJson.type);
|
|
1386
1390
|
const env = getEnv("esbuild", options);
|
|
1387
1391
|
const result = {
|
|
@@ -1460,14 +1464,15 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
|
|
|
1460
1464
|
return result;
|
|
1461
1465
|
}, "resolveOptions");
|
|
1462
1466
|
async function generatePackageJson(context2) {
|
|
1463
|
-
if (context2.options.generatePackageJson !== false &&
|
|
1467
|
+
if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
|
|
1464
1468
|
_chunk43HWVEICjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
|
|
1465
1469
|
const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, "Write package.json file");
|
|
1466
1470
|
const packageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
|
|
1467
|
-
if (!
|
|
1471
|
+
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1468
1472
|
throw new Error("Cannot find package.json configuration");
|
|
1469
1473
|
}
|
|
1470
|
-
|
|
1474
|
+
const packageJsonFile = await _promises2.default.readFile(_chunk43HWVEICjs.joinPaths.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"), "utf8");
|
|
1475
|
+
let packageJson = JSON.parse(packageJsonFile);
|
|
1471
1476
|
if (!packageJson) {
|
|
1472
1477
|
throw new Error("Cannot find package.json configuration file");
|
|
1473
1478
|
}
|
|
@@ -1540,7 +1545,7 @@ async function executeEsBuild(context2) {
|
|
|
1540
1545
|
const result = await esbuild2.build(context2.options);
|
|
1541
1546
|
if (result.metafile) {
|
|
1542
1547
|
const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
|
|
1543
|
-
await
|
|
1548
|
+
await _promises2.default.writeFile(metafilePath, JSON.stringify(result.metafile));
|
|
1544
1549
|
}
|
|
1545
1550
|
stopwatch();
|
|
1546
1551
|
return context2;
|
|
@@ -1597,7 +1602,10 @@ async function dependencyCheck(options) {
|
|
|
1597
1602
|
_chunkJ5SB6L2Ljs.__name.call(void 0, dependencyCheck, "dependencyCheck");
|
|
1598
1603
|
async function cleanOutputPath(context2) {
|
|
1599
1604
|
if (context2.options.clean !== false && context2.options.outdir) {
|
|
1600
|
-
|
|
1605
|
+
_chunk43HWVEICjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
|
|
1606
|
+
const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
|
|
1607
|
+
await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
|
|
1608
|
+
stopwatch();
|
|
1601
1609
|
}
|
|
1602
1610
|
return context2;
|
|
1603
1611
|
}
|
|
@@ -1737,17 +1745,18 @@ var executor_default7 = withRunExecutor("Size-Limit Performance Test Executor",
|
|
|
1737
1745
|
|
|
1738
1746
|
|
|
1739
1747
|
|
|
1748
|
+
|
|
1740
1749
|
var _tsdown = require('tsdown');
|
|
1741
1750
|
|
|
1742
1751
|
// ../tsdown/src/clean.ts
|
|
1743
1752
|
|
|
1744
|
-
async function
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1753
|
+
async function cleanDirectories2(name = "TSDown", directory, config) {
|
|
1754
|
+
await _promises.rm.call(void 0, directory, {
|
|
1755
|
+
recursive: true,
|
|
1756
|
+
force: true
|
|
1757
|
+
});
|
|
1749
1758
|
}
|
|
1750
|
-
_chunkJ5SB6L2Ljs.__name.call(void 0,
|
|
1759
|
+
_chunkJ5SB6L2Ljs.__name.call(void 0, cleanDirectories2, "cleanDirectories");
|
|
1751
1760
|
|
|
1752
1761
|
// ../tsdown/src/config.ts
|
|
1753
1762
|
var DEFAULT_BUILD_OPTIONS2 = {
|
|
@@ -1785,10 +1794,11 @@ var resolveOptions2 = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
|
|
|
1785
1794
|
exitOnError: true
|
|
1786
1795
|
});
|
|
1787
1796
|
const projectJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
|
|
1788
|
-
if (!
|
|
1797
|
+
if (!_fs.existsSync.call(void 0, projectJsonPath)) {
|
|
1789
1798
|
throw new Error("Cannot find project.json configuration");
|
|
1790
1799
|
}
|
|
1791
|
-
const
|
|
1800
|
+
const projectJsonFile = await _promises2.default.readFile(projectJsonPath, "utf8");
|
|
1801
|
+
const projectJson = JSON.parse(projectJsonFile);
|
|
1792
1802
|
const projectName = projectJson.name;
|
|
1793
1803
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1794
1804
|
if (!_optionalChain([projectConfigurations, 'optionalAccess', _84 => _84.projects, 'optionalAccess', _85 => _85[projectName]])) {
|
|
@@ -1798,7 +1808,7 @@ var resolveOptions2 = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
|
|
|
1798
1808
|
options.name ??= `${projectName}-${options.format}`;
|
|
1799
1809
|
options.target ??= DEFAULT_TARGET;
|
|
1800
1810
|
const packageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
1801
|
-
if (!
|
|
1811
|
+
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1802
1812
|
throw new Error("Cannot find package.json configuration");
|
|
1803
1813
|
}
|
|
1804
1814
|
const env = getEnv("tsdown", options);
|
|
@@ -1853,17 +1863,18 @@ var resolveOptions2 = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
|
|
|
1853
1863
|
return result;
|
|
1854
1864
|
}, "resolveOptions");
|
|
1855
1865
|
async function generatePackageJson2(options) {
|
|
1856
|
-
if (options.generatePackageJson !== false &&
|
|
1866
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
1857
1867
|
_chunk43HWVEICjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
|
|
1858
1868
|
const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, "Write package.json file");
|
|
1859
1869
|
const packageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
1860
|
-
if (!
|
|
1870
|
+
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1861
1871
|
throw new Error("Cannot find package.json configuration");
|
|
1862
1872
|
}
|
|
1863
|
-
|
|
1864
|
-
if (!
|
|
1873
|
+
const packageJsonFile = await _promises2.default.readFile(_chunk43HWVEICjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
|
|
1874
|
+
if (!packageJsonFile) {
|
|
1865
1875
|
throw new Error("Cannot find package.json configuration file");
|
|
1866
1876
|
}
|
|
1877
|
+
let packageJson = JSON.parse(packageJsonFile);
|
|
1867
1878
|
packageJson = await addPackageDependencies(options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
|
|
1868
1879
|
packageJson = await addWorkspacePackageJsonFields(options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
|
|
1869
1880
|
packageJson.exports ??= {};
|
|
@@ -1931,7 +1942,10 @@ async function reportResults2(options) {
|
|
|
1931
1942
|
_chunkJ5SB6L2Ljs.__name.call(void 0, reportResults2, "reportResults");
|
|
1932
1943
|
async function cleanOutputPath2(options) {
|
|
1933
1944
|
if (options.clean !== false && options.outdir) {
|
|
1934
|
-
|
|
1945
|
+
_chunk43HWVEICjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
|
|
1946
|
+
const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
1947
|
+
await cleanDirectories2(options.name, options.outdir, options.config);
|
|
1948
|
+
stopwatch();
|
|
1935
1949
|
}
|
|
1936
1950
|
return options;
|
|
1937
1951
|
}
|
|
@@ -422,7 +422,6 @@ import https from "node:https";
|
|
|
422
422
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
423
423
|
|
|
424
424
|
// ../esbuild/src/build.ts
|
|
425
|
-
import { hfs as hfs3 } from "@humanfs/node";
|
|
426
425
|
import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph, writeJsonFile } from "@nx/devkit";
|
|
427
426
|
|
|
428
427
|
// ../build-tools/src/config.ts
|
|
@@ -709,6 +708,8 @@ import { debounce, flatten } from "es-toolkit";
|
|
|
709
708
|
import { map } from "es-toolkit/compat";
|
|
710
709
|
import * as esbuild2 from "esbuild";
|
|
711
710
|
import { globbySync } from "globby";
|
|
711
|
+
import { existsSync as existsSync4 } from "node:fs";
|
|
712
|
+
import hf from "node:fs/promises";
|
|
712
713
|
import { findWorkspaceRoot as findWorkspaceRoot2 } from "nx/src/utils/find-workspace-root";
|
|
713
714
|
|
|
714
715
|
// ../esbuild/src/base/renderer-engine.ts
|
|
@@ -853,14 +854,14 @@ var RendererEngine = class {
|
|
|
853
854
|
};
|
|
854
855
|
|
|
855
856
|
// ../esbuild/src/clean.ts
|
|
856
|
-
import {
|
|
857
|
-
async function
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
857
|
+
import { rm } from "node:fs/promises";
|
|
858
|
+
async function cleanDirectories(name = "ESBuild", directory, config) {
|
|
859
|
+
await rm(directory, {
|
|
860
|
+
recursive: true,
|
|
861
|
+
force: true
|
|
862
|
+
});
|
|
862
863
|
}
|
|
863
|
-
__name(
|
|
864
|
+
__name(cleanDirectories, "cleanDirectories");
|
|
864
865
|
|
|
865
866
|
// ../esbuild/src/plugins/esm-split-code-to-cjs.ts
|
|
866
867
|
import * as esbuild from "esbuild";
|
|
@@ -1032,8 +1033,9 @@ var resolvePathsPlugin = /* @__PURE__ */ __name((options, resolvedOptions) => ({
|
|
|
1032
1033
|
}), "resolvePathsPlugin");
|
|
1033
1034
|
|
|
1034
1035
|
// ../esbuild/src/plugins/tsc.ts
|
|
1035
|
-
import { hfs as hfs2 } from "@humanfs/node";
|
|
1036
1036
|
import { Extractor, ExtractorConfig } from "@microsoft/api-extractor";
|
|
1037
|
+
import { existsSync as existsSync3 } from "node:fs";
|
|
1038
|
+
import fs3 from "node:fs/promises";
|
|
1037
1039
|
function bundleTypeDefinitions(filename, outfile, externals, options) {
|
|
1038
1040
|
const { dependencies, peerDependencies, devDependencies } = __require(joinPaths(options.projectRoot, "package.json"));
|
|
1039
1041
|
const dependenciesKeys = Object.keys(dependencies ?? {}).flatMap((p) => [
|
|
@@ -1106,18 +1108,18 @@ var tscPlugin = /* @__PURE__ */ __name((options, resolvedOptions) => ({
|
|
|
1106
1108
|
const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
1107
1109
|
const bundlePath = joinPaths(resolvedOptions.outdir, entryPoint);
|
|
1108
1110
|
let dtsPath;
|
|
1109
|
-
if (
|
|
1111
|
+
if (existsSync3(joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
|
|
1110
1112
|
dtsPath = joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`);
|
|
1111
|
-
} else if (
|
|
1113
|
+
} else if (existsSync3(joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`))) {
|
|
1112
1114
|
dtsPath = joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`);
|
|
1113
1115
|
}
|
|
1114
1116
|
const ext = resolvedOptions.outExtension.dts || resolvedOptions.format === "esm" ? "d.mts" : "d.ts";
|
|
1115
1117
|
if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
|
|
1116
1118
|
bundleTypeDefinitions(dtsPath, bundlePath, resolvedOptions.external ?? [], resolvedOptions);
|
|
1117
|
-
const dtsContents = await
|
|
1118
|
-
await
|
|
1119
|
+
const dtsContents = await fs3.readFile(`${bundlePath}.d.ts`, "utf8");
|
|
1120
|
+
await fs3.writeFile(`${bundlePath}.${ext}`, dtsContents);
|
|
1119
1121
|
} else {
|
|
1120
|
-
await
|
|
1122
|
+
await fs3.writeFile(`${bundlePath}.${ext}`, `export * from './${entryPoint}'`);
|
|
1121
1123
|
}
|
|
1122
1124
|
}
|
|
1123
1125
|
});
|
|
@@ -1366,10 +1368,11 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1366
1368
|
exitOnError: true
|
|
1367
1369
|
});
|
|
1368
1370
|
const projectJsonPath = joinPaths(workspaceRoot3.dir, projectRoot, "project.json");
|
|
1369
|
-
if (!
|
|
1371
|
+
if (!existsSync4(projectJsonPath)) {
|
|
1370
1372
|
throw new Error("Cannot find project.json configuration");
|
|
1371
1373
|
}
|
|
1372
|
-
const
|
|
1374
|
+
const projectJsonFile = await hf.readFile(projectJsonPath, "utf8");
|
|
1375
|
+
const projectJson = JSON.parse(projectJsonFile);
|
|
1373
1376
|
const projectName = projectJson.name;
|
|
1374
1377
|
const projectConfigurations = readProjectsConfigurationFromProjectGraph(projectGraph);
|
|
1375
1378
|
if (!projectConfigurations?.projects?.[projectName]) {
|
|
@@ -1379,10 +1382,11 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1379
1382
|
options.name ??= `${projectName}-${options.format}`;
|
|
1380
1383
|
options.target ??= DEFAULT_TARGET;
|
|
1381
1384
|
const packageJsonPath = joinPaths(workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
1382
|
-
if (!
|
|
1385
|
+
if (!existsSync4(packageJsonPath)) {
|
|
1383
1386
|
throw new Error("Cannot find package.json configuration");
|
|
1384
1387
|
}
|
|
1385
|
-
const
|
|
1388
|
+
const packageJsonFile = await hf.readFile(packageJsonPath, "utf8");
|
|
1389
|
+
const packageJson = JSON.parse(packageJsonFile);
|
|
1386
1390
|
const outExtension = getOutputExtensionMap(options, packageJson.type);
|
|
1387
1391
|
const env = getEnv("esbuild", options);
|
|
1388
1392
|
const result = {
|
|
@@ -1461,14 +1465,15 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1461
1465
|
return result;
|
|
1462
1466
|
}, "resolveOptions");
|
|
1463
1467
|
async function generatePackageJson(context2) {
|
|
1464
|
-
if (context2.options.generatePackageJson !== false &&
|
|
1468
|
+
if (context2.options.generatePackageJson !== false && existsSync4(joinPaths(context2.options.projectRoot, "package.json"))) {
|
|
1465
1469
|
writeDebug(" \u270D\uFE0F Writing package.json file", context2.options.config);
|
|
1466
1470
|
const stopwatch = getStopwatch("Write package.json file");
|
|
1467
1471
|
const packageJsonPath = joinPaths(context2.options.projectRoot, "project.json");
|
|
1468
|
-
if (!
|
|
1472
|
+
if (!existsSync4(packageJsonPath)) {
|
|
1469
1473
|
throw new Error("Cannot find package.json configuration");
|
|
1470
1474
|
}
|
|
1471
|
-
|
|
1475
|
+
const packageJsonFile = await hf.readFile(joinPaths(context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"), "utf8");
|
|
1476
|
+
let packageJson = JSON.parse(packageJsonFile);
|
|
1472
1477
|
if (!packageJson) {
|
|
1473
1478
|
throw new Error("Cannot find package.json configuration file");
|
|
1474
1479
|
}
|
|
@@ -1541,7 +1546,7 @@ async function executeEsBuild(context2) {
|
|
|
1541
1546
|
const result = await esbuild2.build(context2.options);
|
|
1542
1547
|
if (result.metafile) {
|
|
1543
1548
|
const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
|
|
1544
|
-
await
|
|
1549
|
+
await hf.writeFile(metafilePath, JSON.stringify(result.metafile));
|
|
1545
1550
|
}
|
|
1546
1551
|
stopwatch();
|
|
1547
1552
|
return context2;
|
|
@@ -1598,7 +1603,10 @@ async function dependencyCheck(options) {
|
|
|
1598
1603
|
__name(dependencyCheck, "dependencyCheck");
|
|
1599
1604
|
async function cleanOutputPath(context2) {
|
|
1600
1605
|
if (context2.options.clean !== false && context2.options.outdir) {
|
|
1601
|
-
|
|
1606
|
+
writeDebug(` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
|
|
1607
|
+
const stopwatch = getStopwatch(`${context2.options.name} output clean`);
|
|
1608
|
+
await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
|
|
1609
|
+
stopwatch();
|
|
1602
1610
|
}
|
|
1603
1611
|
return context2;
|
|
1604
1612
|
}
|
|
@@ -1688,10 +1696,10 @@ var executor_default6 = withRunExecutor("Storm ESBuild build", esbuildExecutorFn
|
|
|
1688
1696
|
|
|
1689
1697
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
1690
1698
|
import { execSync as execSync4 } from "node:child_process";
|
|
1691
|
-
import
|
|
1699
|
+
import fs4 from "node:fs/promises";
|
|
1692
1700
|
|
|
1693
1701
|
// ../workspace-tools/src/utils/pnpm-deps-update.ts
|
|
1694
|
-
import { existsSync as
|
|
1702
|
+
import { existsSync as existsSync5 } from "node:fs";
|
|
1695
1703
|
import { readFile as readFile4, writeFile as writeFile2 } from "node:fs/promises";
|
|
1696
1704
|
import { format } from "prettier";
|
|
1697
1705
|
import readYamlFile from "read-yaml-file";
|
|
@@ -1734,21 +1742,22 @@ var executor_default7 = withRunExecutor("Size-Limit Performance Test Executor",
|
|
|
1734
1742
|
});
|
|
1735
1743
|
|
|
1736
1744
|
// ../tsdown/src/build.ts
|
|
1737
|
-
import { hfs as hfs5 } from "@humanfs/node";
|
|
1738
1745
|
import { createProjectGraphAsync as createProjectGraphAsync2, readProjectsConfigurationFromProjectGraph as readProjectsConfigurationFromProjectGraph2, writeJsonFile as writeJsonFile2 } from "@nx/devkit";
|
|
1739
1746
|
import defu3 from "defu";
|
|
1747
|
+
import { existsSync as existsSync6 } from "node:fs";
|
|
1748
|
+
import hf2 from "node:fs/promises";
|
|
1740
1749
|
import { findWorkspaceRoot as findWorkspaceRoot3 } from "nx/src/utils/find-workspace-root";
|
|
1741
1750
|
import { build as tsdown } from "tsdown";
|
|
1742
1751
|
|
|
1743
1752
|
// ../tsdown/src/clean.ts
|
|
1744
|
-
import {
|
|
1745
|
-
async function
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1753
|
+
import { rm as rm2 } from "node:fs/promises";
|
|
1754
|
+
async function cleanDirectories2(name = "TSDown", directory, config) {
|
|
1755
|
+
await rm2(directory, {
|
|
1756
|
+
recursive: true,
|
|
1757
|
+
force: true
|
|
1758
|
+
});
|
|
1750
1759
|
}
|
|
1751
|
-
__name(
|
|
1760
|
+
__name(cleanDirectories2, "cleanDirectories");
|
|
1752
1761
|
|
|
1753
1762
|
// ../tsdown/src/config.ts
|
|
1754
1763
|
var DEFAULT_BUILD_OPTIONS2 = {
|
|
@@ -1786,10 +1795,11 @@ var resolveOptions2 = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1786
1795
|
exitOnError: true
|
|
1787
1796
|
});
|
|
1788
1797
|
const projectJsonPath = joinPaths(workspaceRoot3.dir, projectRoot, "project.json");
|
|
1789
|
-
if (!
|
|
1798
|
+
if (!existsSync6(projectJsonPath)) {
|
|
1790
1799
|
throw new Error("Cannot find project.json configuration");
|
|
1791
1800
|
}
|
|
1792
|
-
const
|
|
1801
|
+
const projectJsonFile = await hf2.readFile(projectJsonPath, "utf8");
|
|
1802
|
+
const projectJson = JSON.parse(projectJsonFile);
|
|
1793
1803
|
const projectName = projectJson.name;
|
|
1794
1804
|
const projectConfigurations = readProjectsConfigurationFromProjectGraph2(projectGraph);
|
|
1795
1805
|
if (!projectConfigurations?.projects?.[projectName]) {
|
|
@@ -1799,7 +1809,7 @@ var resolveOptions2 = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1799
1809
|
options.name ??= `${projectName}-${options.format}`;
|
|
1800
1810
|
options.target ??= DEFAULT_TARGET;
|
|
1801
1811
|
const packageJsonPath = joinPaths(workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
1802
|
-
if (!
|
|
1812
|
+
if (!existsSync6(packageJsonPath)) {
|
|
1803
1813
|
throw new Error("Cannot find package.json configuration");
|
|
1804
1814
|
}
|
|
1805
1815
|
const env = getEnv("tsdown", options);
|
|
@@ -1854,17 +1864,18 @@ var resolveOptions2 = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1854
1864
|
return result;
|
|
1855
1865
|
}, "resolveOptions");
|
|
1856
1866
|
async function generatePackageJson2(options) {
|
|
1857
|
-
if (options.generatePackageJson !== false &&
|
|
1867
|
+
if (options.generatePackageJson !== false && existsSync6(joinPaths(options.projectRoot, "package.json"))) {
|
|
1858
1868
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.config);
|
|
1859
1869
|
const stopwatch = getStopwatch("Write package.json file");
|
|
1860
1870
|
const packageJsonPath = joinPaths(options.projectRoot, "project.json");
|
|
1861
|
-
if (!
|
|
1871
|
+
if (!existsSync6(packageJsonPath)) {
|
|
1862
1872
|
throw new Error("Cannot find package.json configuration");
|
|
1863
1873
|
}
|
|
1864
|
-
|
|
1865
|
-
if (!
|
|
1874
|
+
const packageJsonFile = await hf2.readFile(joinPaths(options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
|
|
1875
|
+
if (!packageJsonFile) {
|
|
1866
1876
|
throw new Error("Cannot find package.json configuration file");
|
|
1867
1877
|
}
|
|
1878
|
+
let packageJson = JSON.parse(packageJsonFile);
|
|
1868
1879
|
packageJson = await addPackageDependencies(options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
|
|
1869
1880
|
packageJson = await addWorkspacePackageJsonFields(options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
|
|
1870
1881
|
packageJson.exports ??= {};
|
|
@@ -1932,7 +1943,10 @@ async function reportResults2(options) {
|
|
|
1932
1943
|
__name(reportResults2, "reportResults");
|
|
1933
1944
|
async function cleanOutputPath2(options) {
|
|
1934
1945
|
if (options.clean !== false && options.outdir) {
|
|
1935
|
-
|
|
1946
|
+
writeDebug(` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
|
|
1947
|
+
const stopwatch = getStopwatch(`${options.name} output clean`);
|
|
1948
|
+
await cleanDirectories2(options.name, options.outdir, options.config);
|
|
1949
|
+
stopwatch();
|
|
1936
1950
|
}
|
|
1937
1951
|
return options;
|
|
1938
1952
|
}
|
|
@@ -3335,7 +3349,7 @@ import { retrieveProjectConfigurationsWithoutPluginInference } from "nx/src/proj
|
|
|
3335
3349
|
|
|
3336
3350
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
3337
3351
|
import { output as output2, readJsonFile, workspaceRoot as workspaceRoot2 } from "@nx/devkit";
|
|
3338
|
-
import { existsSync as
|
|
3352
|
+
import { existsSync as existsSync7 } from "node:fs";
|
|
3339
3353
|
import { join as join2 } from "node:path";
|
|
3340
3354
|
import { getNpmLockfileDependencies, getNpmLockfileNodes } from "nx/src/plugins/js/lock-file/npm-parser";
|
|
3341
3355
|
import { getPnpmLockfileDependencies, getPnpmLockfileNodes } from "nx/src/plugins/js/lock-file/pnpm-parser";
|
|
@@ -3350,7 +3364,7 @@ var PNPM_LOCK_PATH = join2(workspaceRoot2, PNPM_LOCK_FILE);
|
|
|
3350
3364
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
3351
3365
|
import { readJsonFile as readJsonFile2 } from "@nx/devkit";
|
|
3352
3366
|
import defu5 from "defu";
|
|
3353
|
-
import { existsSync as
|
|
3367
|
+
import { existsSync as existsSync8 } from "node:fs";
|
|
3354
3368
|
import { dirname as dirname2, join as join3 } from "node:path";
|
|
3355
3369
|
|
|
3356
3370
|
// ../workspace-tools/src/utils/typia-transform.ts
|
package/dist/executors.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
2
|
require('./chunk-R7AIVBS7.js');
|
|
3
|
+
require('./chunk-ET4B3AW3.js');
|
|
3
4
|
require('./chunk-GCD4ACJC.js');
|
|
4
5
|
require('./chunk-ADRS43PR.js');
|
|
5
|
-
require('./chunk-ZND42QSU.js');
|
|
6
6
|
require('./chunk-VTHBMY4B.js');
|
|
7
7
|
require('./chunk-6Q4S7VSU.js');
|
|
8
8
|
require('./chunk-43HWVEIC.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
2
|
import "./chunk-QEWY5YJA.mjs";
|
|
3
|
+
import "./chunk-OT3Y3N5D.mjs";
|
|
3
4
|
import "./chunk-XSVPXWSA.mjs";
|
|
4
5
|
import "./chunk-NP7DE7UM.mjs";
|
|
5
|
-
import "./chunk-IKCEMAOR.mjs";
|
|
6
6
|
import "./chunk-XU6MTFCV.mjs";
|
|
7
7
|
import "./chunk-BKBJDKMA.mjs";
|
|
8
8
|
import "./chunk-GMLMIRU7.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk7ACCW3GSjs = require('./chunk-7ACCW3GS.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkCVRMH724js = require('./chunk-CVRMH724.js');
|
|
10
10
|
require('./chunk-6Q4S7VSU.js');
|
|
11
11
|
require('./chunk-43HWVEIC.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 = _chunk7ACCW3GSjs.applicationGenerator; exports.applicationSchematic = _chunk7ACCW3GSjs.applicationSchematic; exports.initGenerator = _chunkCVRMH724js.initGenerator; exports.initSchematic = _chunkCVRMH724js.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-ZTASIK2W.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-447Q5PGO.mjs";
|
|
10
10
|
import "./chunk-BKBJDKMA.mjs";
|
|
11
11
|
import "./chunk-GMLMIRU7.mjs";
|
|
12
12
|
import "./chunk-A7FFSBE6.mjs";
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
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-R7AIVBS7.js');
|
|
3
2
|
require('./chunk-DHBG5ASJ.js');
|
|
4
3
|
|
|
5
4
|
|
|
6
5
|
|
|
7
|
-
var
|
|
6
|
+
var _chunk7ACCW3GSjs = require('./chunk-7ACCW3GS.js');
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
|
|
11
|
-
var
|
|
10
|
+
var _chunkCVRMH724js = require('./chunk-CVRMH724.js');
|
|
12
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
|
+
require('./chunk-R7AIVBS7.js');
|
|
13
|
+
require('./chunk-ET4B3AW3.js');
|
|
13
14
|
require('./chunk-GCD4ACJC.js');
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
var _chunkADRS43PRjs = require('./chunk-ADRS43PR.js');
|
|
18
|
-
require('./chunk-ZND42QSU.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -148,4 +148,4 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, createPackageJson, "createPackageJson");
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
exports.applicationGenerator =
|
|
151
|
+
exports.applicationGenerator = _chunk7ACCW3GSjs.applicationGenerator; exports.applicationSchematic = _chunk7ACCW3GSjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkADRS43PRjs.getInternalDependencies; exports.initGenerator = _chunkCVRMH724js.initGenerator; exports.initSchematic = _chunkCVRMH724js.initSchematic; exports.name = name; exports.r2UploadFile = _chunkADRS43PRjs.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-QEWY5YJA.mjs";
|
|
3
2
|
import "./chunk-3J7KBHMJ.mjs";
|
|
4
3
|
import {
|
|
5
4
|
applicationGenerator,
|
|
6
5
|
applicationSchematic
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZTASIK2W.mjs";
|
|
8
7
|
import {
|
|
9
8
|
initGenerator,
|
|
10
9
|
initSchematic
|
|
11
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-447Q5PGO.mjs";
|
|
12
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
|
+
import "./chunk-QEWY5YJA.mjs";
|
|
13
|
+
import "./chunk-OT3Y3N5D.mjs";
|
|
13
14
|
import "./chunk-XSVPXWSA.mjs";
|
|
14
15
|
import {
|
|
15
16
|
getInternalDependencies,
|
|
16
17
|
r2UploadFile
|
|
17
18
|
} from "./chunk-NP7DE7UM.mjs";
|
|
18
|
-
import "./chunk-IKCEMAOR.mjs";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTagConstants,
|
|
21
21
|
addProjectTag
|
|
@@ -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-ET4B3AW3.js');
|
|
5
5
|
require('../../../chunk-VTHBMY4B.js');
|
|
6
6
|
require('../../../chunk-6Q4S7VSU.js');
|
|
7
7
|
require('../../../chunk-43HWVEIC.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 _chunkET4B3AW3js = require('../../../chunk-ET4B3AW3.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 = _chunkET4B3AW3js.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 _chunkCVRMH724js = require('../../../chunk-CVRMH724.js');
|
|
6
6
|
require('../../../chunk-J5SB6L2L.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkCVRMH724js.generator_default; exports.initGenerator = _chunkCVRMH724js.initGenerator; exports.initSchematic = _chunkCVRMH724js.initSchematic;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
5
|
+
var _chunk7ACCW3GSjs = require('../../../chunk-7ACCW3GS.js');
|
|
6
|
+
require('../../../chunk-CVRMH724.js');
|
|
7
7
|
require('../../../chunk-6Q4S7VSU.js');
|
|
8
8
|
require('../../../chunk-43HWVEIC.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 = _chunk7ACCW3GSjs.applicationGenerator; exports.applicationSchematic = _chunk7ACCW3GSjs.applicationSchematic; exports.default = _chunk7ACCW3GSjs.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-ZTASIK2W.mjs";
|
|
6
|
+
import "../../../chunk-447Q5PGO.mjs";
|
|
7
7
|
import "../../../chunk-BKBJDKMA.mjs";
|
|
8
8
|
import "../../../chunk-GMLMIRU7.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.55.
|
|
3
|
+
"version": "0.55.4",
|
|
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",
|