@storm-software/cloudflare-tools 0.71.223 → 0.71.225
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 +40 -0
- package/README.md +1 -1
- package/dist/{chunk-U6OMVOFA.mjs → chunk-3E2GFJMN.mjs} +1 -1
- package/dist/{chunk-YLHBNFNJ.js → chunk-4MIUPZ4C.js} +70 -68
- package/dist/{chunk-XB6S7S3C.js → chunk-62X6T4SY.js} +3 -3
- package/dist/{chunk-7LCOGL6D.mjs → chunk-6LBDQPVT.mjs} +4 -4
- package/dist/chunk-6XTILRPH.mjs +70 -0
- package/dist/{chunk-CV2KQKMS.js → chunk-DQMGW6HJ.js} +4 -4
- package/dist/{chunk-KDPTLM6V.mjs → chunk-EIJGRLEG.mjs} +1 -1
- package/dist/chunk-F37ESSZE.js +70 -0
- package/dist/{chunk-WH4RGUNC.mjs → chunk-FGVJOBJP.mjs} +2 -2
- package/dist/{chunk-O327KKPU.js → chunk-HNDXHX7M.js} +2 -2
- package/dist/{chunk-AIONW2LO.mjs → chunk-J5A7VLNZ.mjs} +3 -3
- package/dist/{chunk-F6LJYBWD.js → chunk-JVXHQADT.js} +3 -3
- package/dist/{chunk-E7ITICBK.js → chunk-NCVDTA5M.js} +2 -1
- package/dist/chunk-PS2AUG7M.js +266 -0
- package/dist/chunk-QDWACPEV.mjs +269 -0
- package/dist/{chunk-QU27DXRB.mjs → chunk-UZMB4DDU.mjs} +23 -21
- package/dist/{chunk-T6GKRQUF.mjs → chunk-ZXLMDNFQ.mjs} +1 -0
- package/dist/executors.js +4 -4
- package/dist/executors.mjs +5 -5
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +3 -3
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/dist/src/executors/cloudflare-publish/executor.js +4 -4
- package/dist/src/executors/cloudflare-publish/executor.mjs +4 -4
- package/dist/src/executors/r2-upload-publish/executor.js +3 -3
- package/dist/src/executors/r2-upload-publish/executor.mjs +3 -3
- package/dist/src/executors/r2-upload-publish/untyped.mjs +1 -1
- package/dist/src/executors/serve/executor.js +6 -6
- package/dist/src/executors/serve/executor.mjs +4 -4
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +2 -2
- package/dist/src/generators/worker/generator.js +3 -3
- package/dist/src/generators/worker/generator.mjs +3 -3
- package/dist/src/plugins/index.d.mts +2 -2
- package/dist/src/plugins/index.d.ts +2 -2
- package/dist/src/plugins/index.mjs +1 -1
- package/dist/src/utils/http-handler.mjs +1 -1
- package/dist/src/utils/index.mjs +1 -1
- package/dist/src/utils/r2-bucket-helpers.mjs +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,46 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.71.225](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.225) (06/30/2026)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update repository packages' dependencies ([6f81fb5b5](https://github.com/storm-software/storm-ops/commit/6f81fb5b5))
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
- **workspace-tools:** Update Nx to v23.0.1 and resolve out-dated function signature issue in plugin ([86f015008](https://github.com/storm-software/storm-ops/commit/86f015008))
|
|
14
|
+
|
|
15
|
+
### Updated Dependencies
|
|
16
|
+
|
|
17
|
+
- Updated **config** to **v1.138.19**
|
|
18
|
+
- Updated **config-tools** to **v1.190.82**
|
|
19
|
+
- Updated **workspace-tools** to **v1.296.62**
|
|
20
|
+
|
|
21
|
+
## [0.71.224](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.224) (06/29/2026)
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
- **workspace-tools:** Resolve issue applying the cargo project name parameter ([f927214be](https://github.com/storm-software/storm-ops/commit/f927214be))
|
|
26
|
+
|
|
27
|
+
### Updated Dependencies
|
|
28
|
+
|
|
29
|
+
- Updated **config** to **v1.138.18**
|
|
30
|
+
- Updated **config-tools** to **v1.190.81**
|
|
31
|
+
- Updated **workspace-tools** to **v1.296.61**
|
|
32
|
+
|
|
33
|
+
## [0.71.223](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.223) (06/28/2026)
|
|
34
|
+
|
|
35
|
+
### Miscellaneous
|
|
36
|
+
|
|
37
|
+
- **monorepo:** Upgrade workspace packages' dependencies ([fcc009e9d](https://github.com/storm-software/storm-ops/commit/fcc009e9d))
|
|
38
|
+
|
|
39
|
+
### Updated Dependencies
|
|
40
|
+
|
|
41
|
+
- Updated **config** to **v1.138.17**
|
|
42
|
+
- Updated **config-tools** to **v1.190.80**
|
|
43
|
+
- Updated **workspace-tools** to **v1.296.60**
|
|
44
|
+
|
|
5
45
|
## [0.71.222](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.71.222) (06/28/2026)
|
|
6
46
|
|
|
7
47
|
### Updated Dependencies
|
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkNCVDTA5Mjs = require('./chunk-NCVDTA5M.js');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
|
|
4
7
|
|
|
5
8
|
|
|
@@ -229,6 +232,7 @@ var _devkit = require('@nx/devkit');
|
|
|
229
232
|
|
|
230
233
|
|
|
231
234
|
var _child_process = require('child_process');
|
|
235
|
+
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
232
236
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
233
237
|
var INVALID_CARGO_ARGS = [
|
|
234
238
|
"allFeatures",
|
|
@@ -262,8 +266,17 @@ var buildCargoCommand = (baseCommand, options, context) => {
|
|
|
262
266
|
args.push(`--${key}`, String(value));
|
|
263
267
|
}
|
|
264
268
|
}
|
|
265
|
-
if (context.projectName) {
|
|
266
|
-
|
|
269
|
+
if (context.projectName && _optionalChain([context, 'access', _26 => _26.projectsConfigurations, 'optionalAccess', _27 => _27.projects]) && _optionalChain([context, 'access', _28 => _28.projectsConfigurations, 'optionalAccess', _29 => _29.projects, 'access', _30 => _30[context.projectName]]) && _optionalChain([context, 'access', _31 => _31.projectsConfigurations, 'optionalAccess', _32 => _32.projects, 'access', _33 => _33[context.projectName], 'optionalAccess', _34 => _34.root]) && _optionalChain([context, 'access', _35 => _35.projectsConfigurations, 'optionalAccess', _36 => _36.projects, 'access', _37 => _37[context.projectName], 'optionalAccess', _38 => _38.root, 'access', _39 => _39.includes, 'call', _40 => _40("Cargo.toml")])) {
|
|
270
|
+
const cargoToml = _chunkNCVDTA5Mjs.parseCargoToml.call(void 0,
|
|
271
|
+
_fs.readFileSync.call(void 0,
|
|
272
|
+
_devkit.joinPathFragments.call(void 0,
|
|
273
|
+
context.projectsConfigurations.projects[context.projectName].root,
|
|
274
|
+
"Cargo.toml"
|
|
275
|
+
),
|
|
276
|
+
"utf-8"
|
|
277
|
+
)
|
|
278
|
+
);
|
|
279
|
+
args.push("-p", cargoToml.package.name);
|
|
267
280
|
}
|
|
268
281
|
if (options.allFeatures && !args.includes("--all-features")) {
|
|
269
282
|
args.push("--all-features");
|
|
@@ -286,10 +299,10 @@ async function cargoCommand(workspaceRoot2, ...args) {
|
|
|
286
299
|
}
|
|
287
300
|
function cargoCommandSync(args = "", options) {
|
|
288
301
|
const normalizedOptions = {
|
|
289
|
-
stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
302
|
+
stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _41 => _41.stdio]), () => ( "inherit")),
|
|
290
303
|
env: {
|
|
291
304
|
...process.env,
|
|
292
|
-
..._optionalChain([options, 'optionalAccess',
|
|
305
|
+
..._optionalChain([options, 'optionalAccess', _42 => _42.env])
|
|
293
306
|
}
|
|
294
307
|
};
|
|
295
308
|
try {
|
|
@@ -322,7 +335,7 @@ function cargoMetadata() {
|
|
|
322
335
|
}
|
|
323
336
|
function runProcess(workspaceRoot2, processCmd, ...args) {
|
|
324
337
|
const metadata = cargoMetadata();
|
|
325
|
-
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess',
|
|
338
|
+
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _43 => _43.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, workspaceRoot2, "dist")));
|
|
326
339
|
return new Promise((resolve) => {
|
|
327
340
|
if (process.env.VERCEL) {
|
|
328
341
|
return resolve({ success: true });
|
|
@@ -453,7 +466,7 @@ var executor_default5 = withRunExecutor(
|
|
|
453
466
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
454
467
|
|
|
455
468
|
|
|
456
|
-
|
|
469
|
+
|
|
457
470
|
var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
458
471
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
459
472
|
|
|
@@ -486,7 +499,7 @@ var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_reso
|
|
|
486
499
|
|
|
487
500
|
|
|
488
501
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
489
|
-
var
|
|
502
|
+
var _internal = require('@nx/js/internal');
|
|
490
503
|
var _glob = require('glob');
|
|
491
504
|
var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
|
|
492
505
|
var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson3 = true, includeSrc = false, banner, footer) => {
|
|
@@ -520,7 +533,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
520
533
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkAWKQRM2Hjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
521
534
|
config
|
|
522
535
|
);
|
|
523
|
-
const assetHandler = new (0,
|
|
536
|
+
const assetHandler = new (0, _internal.CopyAssetsHandler)({
|
|
524
537
|
projectDir: projectRoot,
|
|
525
538
|
rootDir: config.workspaceRoot,
|
|
526
539
|
outputDir: outputPath,
|
|
@@ -558,7 +571,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
558
571
|
};
|
|
559
572
|
|
|
560
573
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
561
|
-
|
|
574
|
+
|
|
562
575
|
|
|
563
576
|
|
|
564
577
|
|
|
@@ -580,7 +593,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
580
593
|
"The Build process failed because the project graph is not available. Please run the build command again."
|
|
581
594
|
);
|
|
582
595
|
}
|
|
583
|
-
const projectDependencies =
|
|
596
|
+
const projectDependencies = _internal.calculateProjectBuildableDependencies.call(void 0,
|
|
584
597
|
void 0,
|
|
585
598
|
projectGraph,
|
|
586
599
|
workspaceRoot2,
|
|
@@ -591,7 +604,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
591
604
|
);
|
|
592
605
|
const localPackages = [];
|
|
593
606
|
for (const project of projectDependencies.dependencies.filter(
|
|
594
|
-
(dep) => dep.node.type === "lib" && _optionalChain([dep, 'access',
|
|
607
|
+
(dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _44 => _44.node, 'access', _45 => _45.data, 'optionalAccess', _46 => _46.root]) !== projectRoot && _optionalChain([dep, 'access', _47 => _47.node, 'access', _48 => _48.data, 'optionalAccess', _49 => _49.root]) !== workspaceRoot2
|
|
595
608
|
)) {
|
|
596
609
|
const projectNode = project.node;
|
|
597
610
|
if (projectNode.data.root) {
|
|
@@ -623,13 +636,13 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
623
636
|
const projectJson = JSON.parse(projectJsonFile);
|
|
624
637
|
const projectName2 = projectJson.name;
|
|
625
638
|
const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
626
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
639
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _50 => _50.projects, 'optionalAccess', _51 => _51[projectName2]])) {
|
|
627
640
|
throw new Error(
|
|
628
641
|
"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."
|
|
629
642
|
);
|
|
630
643
|
}
|
|
631
|
-
const implicitDependencies = _optionalChain([projectConfigurations, 'access',
|
|
632
|
-
if (_optionalChain([projectConfigurations, 'access',
|
|
644
|
+
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _52 => _52.projects, 'optionalAccess', _53 => _53[projectName2], 'access', _54 => _54.implicitDependencies, 'optionalAccess', _55 => _55.reduce, 'call', _56 => _56((ret, dep) => {
|
|
645
|
+
if (_optionalChain([projectConfigurations, 'access', _57 => _57.projects, 'optionalAccess', _58 => _58[dep]])) {
|
|
633
646
|
const depPackageJsonPath = _chunkAWKQRM2Hjs.joinPaths.call(void 0,
|
|
634
647
|
workspaceRoot2,
|
|
635
648
|
projectConfigurations.projects[dep].root,
|
|
@@ -649,13 +662,13 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
649
662
|
return ret;
|
|
650
663
|
}, [])]);
|
|
651
664
|
packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
|
|
652
|
-
if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess',
|
|
665
|
+
if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _59 => _59.includes, 'call', _60 => _60(localPackage.name)]) && _optionalChain([packageJson, 'access', _61 => _61.devDependencies, 'optionalAccess', _62 => _62[localPackage.name]]) === void 0) {
|
|
653
666
|
ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
|
|
654
667
|
}
|
|
655
668
|
return ret;
|
|
656
669
|
}, _nullishCoalesce(packageJson.dependencies, () => ( {})));
|
|
657
670
|
packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
|
|
658
|
-
if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess',
|
|
671
|
+
if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _63 => _63.includes, 'call', _64 => _64(localPackage.name)]) && _optionalChain([packageJson, 'access', _65 => _65.dependencies, 'optionalAccess', _66 => _66[localPackage.name]]) === void 0) {
|
|
659
672
|
ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
|
|
660
673
|
}
|
|
661
674
|
return ret;
|
|
@@ -757,7 +770,7 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
757
770
|
|
|
758
771
|
// ../esbuild/src/assets.ts
|
|
759
772
|
async function copyBuildAssets(context) {
|
|
760
|
-
if (!_optionalChain([context, 'access',
|
|
773
|
+
if (!_optionalChain([context, 'access', _67 => _67.result, 'optionalAccess', _68 => _68.errors, 'access', _69 => _69.length]) && _optionalChain([context, 'access', _70 => _70.options, 'access', _71 => _71.assets, 'optionalAccess', _72 => _72.length])) {
|
|
761
774
|
_chunkAWKQRM2Hjs.writeDebug.call(void 0,
|
|
762
775
|
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
763
776
|
context.workspaceConfig
|
|
@@ -863,7 +876,7 @@ async function resolveContext(userOptions) {
|
|
|
863
876
|
const projectJson = JSON.parse(projectJsonFile);
|
|
864
877
|
const projectName = projectJson.name || userOptions.name;
|
|
865
878
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
866
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
879
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _73 => _73.projects, 'optionalAccess', _74 => _74[projectName]])) {
|
|
867
880
|
throw new Error(
|
|
868
881
|
"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."
|
|
869
882
|
);
|
|
@@ -1091,7 +1104,7 @@ async function executeTsup(context) {
|
|
|
1091
1104
|
|
|
1092
1105
|
// ../esbuild/src/build.ts
|
|
1093
1106
|
async function reportResults(context) {
|
|
1094
|
-
if (_optionalChain([context, 'access',
|
|
1107
|
+
if (_optionalChain([context, 'access', _75 => _75.result, 'optionalAccess', _76 => _76.errors, 'access', _77 => _77.length]) === 0) {
|
|
1095
1108
|
if (context.result.warnings.length > 0) {
|
|
1096
1109
|
_chunkAWKQRM2Hjs.writeWarning.call(void 0,
|
|
1097
1110
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
@@ -1102,7 +1115,7 @@ async function reportResults(context) {
|
|
|
1102
1115
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
1103
1116
|
context.workspaceConfig
|
|
1104
1117
|
);
|
|
1105
|
-
} else if (_optionalChain([context, 'access',
|
|
1118
|
+
} else if (_optionalChain([context, 'access', _78 => _78.result, 'optionalAccess', _79 => _79.errors]) && _optionalChain([context, 'access', _80 => _80.result, 'optionalAccess', _81 => _81.errors, 'access', _82 => _82.length]) > 0) {
|
|
1106
1119
|
_chunkAWKQRM2Hjs.writeError.call(void 0,
|
|
1107
1120
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
1108
1121
|
context.workspaceConfig
|
|
@@ -1155,7 +1168,7 @@ async function build2(options) {
|
|
|
1155
1168
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
1156
1169
|
async function esbuildExecutorFn(options, context, config) {
|
|
1157
1170
|
_chunkAWKQRM2Hjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1158
|
-
if (!_optionalChain([context, 'access',
|
|
1171
|
+
if (!_optionalChain([context, 'access', _83 => _83.projectsConfigurations, 'optionalAccess', _84 => _84.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _85 => _85.projectsConfigurations, 'access', _86 => _86.projects, 'access', _87 => _87[context.projectName], 'optionalAccess', _88 => _88.root])) {
|
|
1159
1172
|
throw new Error(
|
|
1160
1173
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
1161
1174
|
);
|
|
@@ -1164,10 +1177,10 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
1164
1177
|
...options,
|
|
1165
1178
|
projectRoot: (
|
|
1166
1179
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1167
|
-
_optionalChain([context, 'access',
|
|
1180
|
+
_optionalChain([context, 'access', _89 => _89.projectsConfigurations, 'access', _90 => _90.projects, 'optionalAccess', _91 => _91[context.projectName], 'access', _92 => _92.root])
|
|
1168
1181
|
),
|
|
1169
1182
|
name: context.projectName,
|
|
1170
|
-
sourceRoot: _optionalChain([context, 'access',
|
|
1183
|
+
sourceRoot: _optionalChain([context, 'access', _93 => _93.projectsConfigurations, 'access', _94 => _94.projects, 'optionalAccess', _95 => _95[context.projectName], 'optionalAccess', _96 => _96.sourceRoot]),
|
|
1171
1184
|
format: options.format,
|
|
1172
1185
|
platform: options.platform
|
|
1173
1186
|
});
|
|
@@ -1206,12 +1219,12 @@ async function napiExecutor(options, context, config) {
|
|
|
1206
1219
|
const { NapiCli } = await jiti.import(
|
|
1207
1220
|
jiti.esmResolve("@napi-rs/cli")
|
|
1208
1221
|
);
|
|
1209
|
-
if (!_optionalChain([context, 'access',
|
|
1222
|
+
if (!_optionalChain([context, 'access', _97 => _97.projectGraph, 'optionalAccess', _98 => _98.nodes, 'access', _99 => _99[_nullishCoalesce(context.projectName, () => ( ""))]])) {
|
|
1210
1223
|
throw new Error(
|
|
1211
1224
|
"The Napi Build process failed because the project could not be found in the project graph. Please run this command from a workspace root directory."
|
|
1212
1225
|
);
|
|
1213
1226
|
}
|
|
1214
|
-
const projectRoot = _optionalChain([context, 'access',
|
|
1227
|
+
const projectRoot = _optionalChain([context, 'access', _100 => _100.projectGraph, 'optionalAccess', _101 => _101.nodes, 'access', _102 => _102[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _103 => _103.data, 'access', _104 => _104.root]);
|
|
1215
1228
|
const packageJson = _chunkAWKQRM2Hjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
1216
1229
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
1217
1230
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
@@ -1219,7 +1232,7 @@ async function napiExecutor(options, context, config) {
|
|
|
1219
1232
|
const napi = new NapiCli();
|
|
1220
1233
|
const normalizedOptions = { ...options };
|
|
1221
1234
|
const metadata = cargoMetadata();
|
|
1222
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess',
|
|
1235
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _105 => _105.target_directory]) || _chunkAWKQRM2Hjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
1223
1236
|
normalizedOptions.outputDir = options.outputPath;
|
|
1224
1237
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
1225
1238
|
if (options.cwd) {
|
|
@@ -1342,15 +1355,15 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
1342
1355
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
1343
1356
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
1344
1357
|
async function sizeLimitExecutorFn(options, context, config) {
|
|
1345
|
-
if (!_optionalChain([context, 'optionalAccess',
|
|
1358
|
+
if (!_optionalChain([context, 'optionalAccess', _106 => _106.projectName]) || !_optionalChain([context, 'access', _107 => _107.projectsConfigurations, 'optionalAccess', _108 => _108.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1346
1359
|
throw new Error(
|
|
1347
1360
|
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
1348
1361
|
);
|
|
1349
1362
|
}
|
|
1350
1363
|
_chunkAWKQRM2Hjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
1351
1364
|
_sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
|
|
1352
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access',
|
|
1353
|
-
_nullishCoalesce(_optionalChain([context, 'access',
|
|
1365
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _109 => _109.projectsConfigurations, 'access', _110 => _110.projects, 'access', _111 => _111[context.projectName], 'optionalAccess', _112 => _112.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
|
|
1366
|
+
_nullishCoalesce(_optionalChain([context, 'access', _113 => _113.projectsConfigurations, 'access', _114 => _114.projects, 'access', _115 => _115[context.projectName], 'optionalAccess', _116 => _116.root]), () => ( "./")),
|
|
1354
1367
|
"src"
|
|
1355
1368
|
)))
|
|
1356
1369
|
}).then((result) => {
|
|
@@ -1448,7 +1461,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
1448
1461
|
const projectJson = JSON.parse(projectJsonFile);
|
|
1449
1462
|
const projectName = projectJson.name;
|
|
1450
1463
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1451
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
1464
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _117 => _117.projects, 'optionalAccess', _118 => _118[projectName]])) {
|
|
1452
1465
|
throw new Error(
|
|
1453
1466
|
"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."
|
|
1454
1467
|
);
|
|
@@ -1669,7 +1682,7 @@ async function build3(options) {
|
|
|
1669
1682
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
1670
1683
|
async function tsdownExecutorFn(options, context, config) {
|
|
1671
1684
|
_chunkAWKQRM2Hjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
|
|
1672
|
-
if (!_optionalChain([context, 'access',
|
|
1685
|
+
if (!_optionalChain([context, 'access', _119 => _119.projectsConfigurations, 'optionalAccess', _120 => _120.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _121 => _121.projectsConfigurations, 'access', _122 => _122.projects, 'access', _123 => _123[context.projectName], 'optionalAccess', _124 => _124.root])) {
|
|
1673
1686
|
throw new Error(
|
|
1674
1687
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
1675
1688
|
);
|
|
@@ -1678,10 +1691,10 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
1678
1691
|
...options,
|
|
1679
1692
|
projectRoot: (
|
|
1680
1693
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1681
|
-
_optionalChain([context, 'access',
|
|
1694
|
+
_optionalChain([context, 'access', _125 => _125.projectsConfigurations, 'access', _126 => _126.projects, 'optionalAccess', _127 => _127[context.projectName], 'access', _128 => _128.root])
|
|
1682
1695
|
),
|
|
1683
1696
|
name: context.projectName,
|
|
1684
|
-
sourceRoot: _optionalChain([context, 'access',
|
|
1697
|
+
sourceRoot: _optionalChain([context, 'access', _129 => _129.projectsConfigurations, 'access', _130 => _130.projects, 'optionalAccess', _131 => _131[context.projectName], 'optionalAccess', _132 => _132.sourceRoot]),
|
|
1685
1698
|
format: options.format,
|
|
1686
1699
|
platform: options.platform
|
|
1687
1700
|
});
|
|
@@ -1749,7 +1762,7 @@ var executor_default10 = withRunExecutor(
|
|
|
1749
1762
|
|
|
1750
1763
|
async function unbuildExecutorFn(options, context, config) {
|
|
1751
1764
|
_chunkAWKQRM2Hjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1752
|
-
if (!_optionalChain([context, 'access',
|
|
1765
|
+
if (!_optionalChain([context, 'access', _133 => _133.projectsConfigurations, 'optionalAccess', _134 => _134.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1753
1766
|
throw new Error(
|
|
1754
1767
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
1755
1768
|
);
|
|
@@ -1866,7 +1879,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
1866
1879
|
);
|
|
1867
1880
|
config = await _chunkPGTHXO6Mjs.getConfig.call(void 0, workspaceRoot2);
|
|
1868
1881
|
}
|
|
1869
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1882
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _135 => _135.hooks, 'optionalAccess', _136 => _136.applyDefaultOptions])) {
|
|
1870
1883
|
_chunkAWKQRM2Hjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
1871
1884
|
options = await Promise.resolve(
|
|
1872
1885
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
@@ -1883,7 +1896,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1883
1896
|
{ workspaceRoot: tree.root, config },
|
|
1884
1897
|
applyWorkspaceBaseTokens
|
|
1885
1898
|
);
|
|
1886
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1899
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _137 => _137.hooks, 'optionalAccess', _138 => _138.preProcess])) {
|
|
1887
1900
|
_chunkAWKQRM2Hjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
1888
1901
|
await Promise.resolve(
|
|
1889
1902
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
@@ -1894,15 +1907,15 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1894
1907
|
generatorFn(tree, tokenized, config)
|
|
1895
1908
|
);
|
|
1896
1909
|
if (result) {
|
|
1897
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
1910
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _139 => _139.error, 'optionalAccess', _140 => _140.message]) && typeof _optionalChain([result, 'optionalAccess', _141 => _141.error, 'optionalAccess', _142 => _142.message]) === "string" && _optionalChain([result, 'optionalAccess', _143 => _143.error, 'optionalAccess', _144 => _144.name]) && typeof _optionalChain([result, 'optionalAccess', _145 => _145.error, 'optionalAccess', _146 => _146.name]) === "string") {
|
|
1898
1911
|
throw new Error(`The ${name} generator failed to run`, {
|
|
1899
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
1912
|
+
cause: _optionalChain([result, 'optionalAccess', _147 => _147.error])
|
|
1900
1913
|
});
|
|
1901
1914
|
} else if (result.success && result.data) {
|
|
1902
1915
|
return result;
|
|
1903
1916
|
}
|
|
1904
1917
|
}
|
|
1905
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1918
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _148 => _148.hooks, 'optionalAccess', _149 => _149.postProcess])) {
|
|
1906
1919
|
_chunkAWKQRM2Hjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
1907
1920
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
1908
1921
|
_chunkAWKQRM2Hjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
@@ -1941,14 +1954,12 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1941
1954
|
|
|
1942
1955
|
|
|
1943
1956
|
|
|
1944
|
-
var
|
|
1957
|
+
var _internal3 = require('@nx/devkit/internal');
|
|
1945
1958
|
|
|
1946
1959
|
|
|
1947
1960
|
|
|
1948
1961
|
|
|
1949
1962
|
var _js = require('@nx/js');
|
|
1950
|
-
var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopRequireDefault(_init);
|
|
1951
|
-
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
1952
1963
|
|
|
1953
1964
|
// ../workspace-tools/src/utils/versions.ts
|
|
1954
1965
|
var typesNodeVersion = "20.9.0";
|
|
@@ -1960,12 +1971,6 @@ var pnpmVersion = "8.10.2";
|
|
|
1960
1971
|
async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
1961
1972
|
const normalized = await normalizeOptions(tree, { ...options });
|
|
1962
1973
|
const tasks = [];
|
|
1963
|
-
tasks.push(
|
|
1964
|
-
await _init2.default.call(void 0, tree, {
|
|
1965
|
-
...normalized,
|
|
1966
|
-
tsConfigName: normalized.rootProject ? "tsconfig.json" : "tsconfig.base.json"
|
|
1967
|
-
})
|
|
1968
|
-
);
|
|
1969
1974
|
tasks.push(
|
|
1970
1975
|
_devkit.addDependenciesToPackageJson.call(void 0,
|
|
1971
1976
|
tree,
|
|
@@ -1977,9 +1982,6 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1977
1982
|
}
|
|
1978
1983
|
)
|
|
1979
1984
|
);
|
|
1980
|
-
if (normalized.publishable) {
|
|
1981
|
-
tasks.push(await _generator2.default.call(void 0, tree, { ...normalized, skipFormat: true }));
|
|
1982
|
-
}
|
|
1983
1985
|
const projectConfig = {
|
|
1984
1986
|
root: normalized.directory,
|
|
1985
1987
|
projectType: "library",
|
|
@@ -2034,15 +2036,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2034
2036
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
2035
2037
|
let repository = {
|
|
2036
2038
|
type: "github",
|
|
2037
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
2039
|
+
url: _optionalChain([config, 'optionalAccess', _150 => _150.repository]) || `https://github.com/${(typeof _optionalChain([config, 'optionalAccess', _151 => _151.organization]) === "string" ? _optionalChain([config, 'optionalAccess', _152 => _152.organization]) : _optionalChain([config, 'optionalAccess', _153 => _153.organization, 'optionalAccess', _154 => _154.name])) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _155 => _155.namespace]) || _optionalChain([config, 'optionalAccess', _156 => _156.name]) || "repository"}.git`
|
|
2038
2040
|
};
|
|
2039
2041
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
2040
2042
|
if (tree.exists("package.json")) {
|
|
2041
2043
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
2042
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2044
|
+
if (_optionalChain([packageJson, 'optionalAccess', _157 => _157.repository])) {
|
|
2043
2045
|
repository = packageJson.repository;
|
|
2044
2046
|
}
|
|
2045
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2047
|
+
if (_optionalChain([packageJson, 'optionalAccess', _158 => _158.description])) {
|
|
2046
2048
|
description = packageJson.description;
|
|
2047
2049
|
}
|
|
2048
2050
|
}
|
|
@@ -2097,9 +2099,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2097
2099
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
2098
2100
|
...json,
|
|
2099
2101
|
pnpm: {
|
|
2100
|
-
..._optionalChain([json, 'optionalAccess',
|
|
2102
|
+
..._optionalChain([json, 'optionalAccess', _159 => _159.pnpm]),
|
|
2101
2103
|
overrides: {
|
|
2102
|
-
..._optionalChain([json, 'optionalAccess',
|
|
2104
|
+
..._optionalChain([json, 'optionalAccess', _160 => _160.pnpm, 'optionalAccess', _161 => _161.overrides]),
|
|
2103
2105
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
2104
2106
|
}
|
|
2105
2107
|
}
|
|
@@ -2117,10 +2119,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2117
2119
|
]);
|
|
2118
2120
|
if (tree.exists("package.json")) {
|
|
2119
2121
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
2120
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2122
|
+
if (_optionalChain([packageJson, 'optionalAccess', _162 => _162.repository])) {
|
|
2121
2123
|
repository = packageJson.repository;
|
|
2122
2124
|
}
|
|
2123
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2125
|
+
if (_optionalChain([packageJson, 'optionalAccess', _163 => _163.description])) {
|
|
2124
2126
|
description = packageJson.description;
|
|
2125
2127
|
}
|
|
2126
2128
|
}
|
|
@@ -2157,22 +2159,22 @@ function getOutputPath(options) {
|
|
|
2157
2159
|
function createProjectTsConfigJson(tree, options) {
|
|
2158
2160
|
const tsconfig = {
|
|
2159
2161
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
2160
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2162
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _164 => _164.tsconfigOptions]), () => ( {})),
|
|
2161
2163
|
compilerOptions: {
|
|
2162
2164
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
2163
2165
|
outDir: _chunkAWKQRM2Hjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
2164
2166
|
noEmit: true,
|
|
2165
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2167
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _165 => _165.tsconfigOptions, 'optionalAccess', _166 => _166.compilerOptions]), () => ( {}))
|
|
2166
2168
|
},
|
|
2167
|
-
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2169
|
+
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _167 => _167.tsconfigOptions, 'optionalAccess', _168 => _168.files]), () => ( []))],
|
|
2168
2170
|
include: [
|
|
2169
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2171
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _169 => _169.tsconfigOptions, 'optionalAccess', _170 => _170.include]), () => ( [])),
|
|
2170
2172
|
"src/**/*.ts",
|
|
2171
2173
|
"src/**/*.js",
|
|
2172
2174
|
"bin/**/*"
|
|
2173
2175
|
],
|
|
2174
2176
|
exclude: [
|
|
2175
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2177
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _171 => _171.tsconfigOptions, 'optionalAccess', _172 => _172.exclude]), () => ( [])),
|
|
2176
2178
|
"jest.config.ts",
|
|
2177
2179
|
"src/**/*.spec.ts",
|
|
2178
2180
|
"src/**/*.test.ts"
|
|
@@ -2182,8 +2184,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
2182
2184
|
}
|
|
2183
2185
|
async function normalizeOptions(tree, options, config) {
|
|
2184
2186
|
let importPath = options.importPath;
|
|
2185
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
2186
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
2187
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _173 => _173.namespace])) {
|
|
2188
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _174 => _174.namespace])}/${options.name}`;
|
|
2187
2189
|
}
|
|
2188
2190
|
if (options.publishable) {
|
|
2189
2191
|
if (!importPath) {
|
|
@@ -2203,7 +2205,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
2203
2205
|
names: projectNames,
|
|
2204
2206
|
projectRoot,
|
|
2205
2207
|
importPath: normalizedImportPath
|
|
2206
|
-
} = await
|
|
2208
|
+
} = await _internal3.determineProjectNameAndRootOptions.call(void 0, tree, {
|
|
2207
2209
|
name: options.name,
|
|
2208
2210
|
projectType: "library",
|
|
2209
2211
|
directory: options.directory,
|
|
@@ -2348,7 +2350,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
2348
2350
|
);
|
|
2349
2351
|
}
|
|
2350
2352
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
2351
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2353
|
+
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _175 => _175.workspaceRoot]), () => ( _chunkPGTHXO6Mjs.findWorkspaceRoot.call(void 0, ))),
|
|
2352
2354
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
2353
2355
|
);
|
|
2354
2356
|
_chunkAWKQRM2Hjs.writeTrace.call(void 0,
|
|
@@ -3106,7 +3108,7 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
3106
3108
|
});
|
|
3107
3109
|
|
|
3108
3110
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
3109
|
-
var
|
|
3111
|
+
var _versionactions = require('@nx/js/src/release/version-actions'); var _versionactions2 = _interopRequireDefault(_versionactions);
|
|
3110
3112
|
|
|
3111
3113
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
3112
3114
|
|
|
@@ -9,7 +9,7 @@ var _chunkCLCKX6UNjs = require('./chunk-CLCKX6UN.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkNCVDTA5Mjs = require('./chunk-NCVDTA5M.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -56,7 +56,7 @@ async function runExecutor(options, context) {
|
|
|
56
56
|
const workspaceRoot = _chunkPGTHXO6Mjs.findWorkspaceRoot.call(void 0, );
|
|
57
57
|
const config = await _chunkPGTHXO6Mjs.getConfig.call(void 0, workspaceRoot);
|
|
58
58
|
const projectName = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.name]), () => ( context.projectName));
|
|
59
|
-
const projectDetails =
|
|
59
|
+
const projectDetails = _chunkNCVDTA5Mjs.getPackageInfo.call(void 0,
|
|
60
60
|
context.projectsConfigurations.projects[context.projectName]
|
|
61
61
|
);
|
|
62
62
|
const bucketId = options.bucketId;
|
|
@@ -64,7 +64,7 @@ async function runExecutor(options, context) {
|
|
|
64
64
|
if (!bucketId) {
|
|
65
65
|
throw new Error("The executor requires a bucketId.");
|
|
66
66
|
}
|
|
67
|
-
const args =
|
|
67
|
+
const args = _chunkNCVDTA5Mjs.createCliOptions.call(void 0, { ...options });
|
|
68
68
|
if (isDryRun) {
|
|
69
69
|
args.push("--dry-run");
|
|
70
70
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EIJGRLEG.mjs";
|
|
4
4
|
|
|
5
5
|
// package.json
|
|
6
6
|
var require_package = __commonJS({
|
|
7
7
|
"package.json"(exports, module) {
|
|
8
8
|
module.exports = {
|
|
9
9
|
name: "@storm-software/cloudflare-tools",
|
|
10
|
-
version: "0.71.
|
|
10
|
+
version: "0.71.224",
|
|
11
11
|
private: false,
|
|
12
12
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
13
13
|
keywords: [
|
|
@@ -162,7 +162,7 @@ var require_package = __commonJS({
|
|
|
162
162
|
dependencies: {
|
|
163
163
|
"@aws-sdk/client-s3": "^3.1075.0",
|
|
164
164
|
"@aws-sdk/lib-storage": "^3.1075.0",
|
|
165
|
-
"@smithy/node-http-handler": "^4.
|
|
165
|
+
"@smithy/node-http-handler": "^4.9.0",
|
|
166
166
|
"@storm-software/config": "workspace:*",
|
|
167
167
|
"@storm-software/config-tools": "workspace:*",
|
|
168
168
|
"@storm-software/workspace-tools": "workspace:*",
|
|
@@ -176,7 +176,7 @@ var require_package = __commonJS({
|
|
|
176
176
|
"@nx/node": "catalog:",
|
|
177
177
|
"@nx/web": "catalog:",
|
|
178
178
|
"@nx/webpack": "catalog:",
|
|
179
|
-
"@smithy/protocol-http": "^5.5.
|
|
179
|
+
"@smithy/protocol-http": "^5.5.3",
|
|
180
180
|
nx: "catalog:",
|
|
181
181
|
tsup: "catalog:",
|
|
182
182
|
untyped: "catalog:",
|