@storm-software/terraform-tools 0.66.208 → 0.66.210
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 +16 -0
- package/dist/{chunk-V6OBPGGO.mjs → chunk-24Z5KXVZ.mjs} +1 -1
- package/dist/{chunk-WUODZVIZ.js → chunk-4N5WLYTZ.js} +2 -2
- package/dist/{chunk-UF4IPW4W.mjs → chunk-4VBGWC4H.mjs} +2 -2
- package/dist/{chunk-A4XF25QY.mjs → chunk-64HH3MBZ.mjs} +1 -1
- package/dist/{chunk-5KWWO2Z4.mjs → chunk-6DBM53SK.mjs} +1 -1
- package/dist/{chunk-HBY7ZVX5.mjs → chunk-6DVN4I74.mjs} +1 -1
- package/dist/{chunk-6BVKOZVA.js → chunk-GAFNKKUS.js} +2 -2
- package/dist/{chunk-G5NMT3NX.mjs → chunk-IKAF4VFS.mjs} +1 -1
- package/dist/{chunk-APZDXDN3.js → chunk-IW7ZBGDG.js} +2 -2
- package/dist/{chunk-SZ73PEPJ.js → chunk-OLNQZPR5.js} +2 -2
- package/dist/{chunk-Z6FDQK7Q.js → chunk-R5XIKR4N.js} +2 -2
- package/dist/{chunk-QQSWY4GZ.js → chunk-UBJZ522U.js} +2 -2
- package/dist/{chunk-QSUEPY6I.mjs → chunk-UTVJ6ZSK.mjs} +1 -1
- package/dist/{chunk-V52T5L2U.js → chunk-YAJSCXAA.js} +159 -159
- package/dist/executors.js +6 -6
- package/dist/executors.mjs +6 -6
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +2 -2
- package/dist/src/base/terraform-executor.js +3 -3
- package/dist/src/base/terraform-executor.mjs +2 -2
- package/dist/src/executors/apply/executor.js +4 -4
- package/dist/src/executors/apply/executor.mjs +3 -3
- package/dist/src/executors/destroy/executor.js +4 -4
- package/dist/src/executors/destroy/executor.mjs +3 -3
- package/dist/src/executors/output/executor.js +4 -4
- package/dist/src/executors/output/executor.mjs +3 -3
- package/dist/src/executors/plan/executor.js +4 -4
- package/dist/src/executors/plan/executor.mjs +3 -3
- package/dist/src/generators/init/init.js +3 -3
- package/dist/src/generators/init/init.mjs +2 -2
- package/package.json +6 -6
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkR5XIKR4Njs = require('./chunk-R5XIKR4N.js');
|
|
25
25
|
|
|
26
26
|
// src/generators/init/init.ts
|
|
27
27
|
var _devkit = require('@nx/devkit');
|
|
@@ -150,7 +150,7 @@ async function cargoBuildExecutor(options, context) {
|
|
|
150
150
|
const command = buildCargoCommand("build", options, context);
|
|
151
151
|
return await cargoCommand(context.root, ...command);
|
|
152
152
|
}
|
|
153
|
-
var executor_default =
|
|
153
|
+
var executor_default = _chunkR5XIKR4Njs.withRunExecutor.call(void 0,
|
|
154
154
|
"Cargo - Build",
|
|
155
155
|
cargoBuildExecutor,
|
|
156
156
|
{
|
|
@@ -170,7 +170,7 @@ async function cargoCheckExecutor(options, context) {
|
|
|
170
170
|
const command = buildCargoCommand("check", options, context);
|
|
171
171
|
return await cargoCommand(context.root, ...command);
|
|
172
172
|
}
|
|
173
|
-
var executor_default2 =
|
|
173
|
+
var executor_default2 = _chunkR5XIKR4Njs.withRunExecutor.call(void 0,
|
|
174
174
|
"Cargo - Check",
|
|
175
175
|
cargoCheckExecutor,
|
|
176
176
|
{
|
|
@@ -189,7 +189,7 @@ async function cargoClippyExecutor(options, context) {
|
|
|
189
189
|
const command = buildCargoCommand("clippy", options, context);
|
|
190
190
|
return await cargoCommand(context.root, ...command);
|
|
191
191
|
}
|
|
192
|
-
var executor_default3 =
|
|
192
|
+
var executor_default3 = _chunkR5XIKR4Njs.withRunExecutor.call(void 0,
|
|
193
193
|
"Cargo - Clippy",
|
|
194
194
|
cargoClippyExecutor,
|
|
195
195
|
{
|
|
@@ -212,7 +212,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
212
212
|
const command = buildCargoCommand("doc", options, context);
|
|
213
213
|
return await cargoCommand(context.root, ...command);
|
|
214
214
|
}
|
|
215
|
-
var executor_default4 =
|
|
215
|
+
var executor_default4 = _chunkR5XIKR4Njs.withRunExecutor.call(void 0,
|
|
216
216
|
"Cargo - Doc",
|
|
217
217
|
cargoDocExecutor,
|
|
218
218
|
{
|
|
@@ -238,7 +238,7 @@ async function cargoFormatExecutor(options, context) {
|
|
|
238
238
|
const command = buildCargoCommand("fmt", options, context);
|
|
239
239
|
return await cargoCommand(context.root, ...command);
|
|
240
240
|
}
|
|
241
|
-
var executor_default5 =
|
|
241
|
+
var executor_default5 = _chunkR5XIKR4Njs.withRunExecutor.call(void 0,
|
|
242
242
|
"Cargo - Format",
|
|
243
243
|
cargoFormatExecutor,
|
|
244
244
|
{
|
|
@@ -318,9 +318,9 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
318
318
|
output: "src/"
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
_chunkR5XIKR4Njs.writeTrace.call(void 0,
|
|
322
322
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
323
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
323
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkR5XIKR4Njs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
324
324
|
config
|
|
325
325
|
);
|
|
326
326
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
@@ -330,20 +330,20 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
330
330
|
assets: pendingAssets
|
|
331
331
|
});
|
|
332
332
|
await assetHandler.processAllAssetsOnce();
|
|
333
|
-
|
|
333
|
+
_chunkR5XIKR4Njs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
334
334
|
if (includeSrc === true) {
|
|
335
|
-
|
|
336
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
335
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0,
|
|
336
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
337
337
|
outputPath,
|
|
338
338
|
"src"
|
|
339
339
|
)}`,
|
|
340
340
|
config
|
|
341
341
|
);
|
|
342
342
|
const files = await _glob.glob.call(void 0, [
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
343
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
344
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
345
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
346
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
347
347
|
]);
|
|
348
348
|
await Promise.allSettled(
|
|
349
349
|
files.map(
|
|
@@ -398,7 +398,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
398
398
|
)) {
|
|
399
399
|
const projectNode = project.node;
|
|
400
400
|
if (projectNode.data.root) {
|
|
401
|
-
const projectPackageJsonPath =
|
|
401
|
+
const projectPackageJsonPath = _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
402
402
|
workspaceRoot2,
|
|
403
403
|
projectNode.data.root,
|
|
404
404
|
"package.json"
|
|
@@ -416,11 +416,11 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
418
|
if (localPackages.length > 0) {
|
|
419
|
-
|
|
419
|
+
_chunkR5XIKR4Njs.writeTrace.call(void 0,
|
|
420
420
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
421
421
|
);
|
|
422
422
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
423
|
-
|
|
423
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
424
424
|
"utf8"
|
|
425
425
|
);
|
|
426
426
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -433,7 +433,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
433
433
|
}
|
|
434
434
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _13 => _13.projects, 'optionalAccess', _14 => _14[projectName2], 'access', _15 => _15.implicitDependencies, 'optionalAccess', _16 => _16.reduce, 'call', _17 => _17((ret, dep) => {
|
|
435
435
|
if (_optionalChain([projectConfigurations, 'access', _18 => _18.projects, 'optionalAccess', _19 => _19[dep]])) {
|
|
436
|
-
const depPackageJsonPath =
|
|
436
|
+
const depPackageJsonPath = _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
437
437
|
workspaceRoot2,
|
|
438
438
|
projectConfigurations.projects[dep].root,
|
|
439
439
|
"package.json"
|
|
@@ -464,14 +464,14 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
464
464
|
return ret;
|
|
465
465
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
466
466
|
} else {
|
|
467
|
-
|
|
467
|
+
_chunkR5XIKR4Njs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
468
468
|
}
|
|
469
469
|
return packageJson;
|
|
470
470
|
};
|
|
471
471
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
472
|
-
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot :
|
|
472
|
+
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkR5XIKR4Njs.findWorkspaceRoot.call(void 0, );
|
|
473
473
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
474
|
-
|
|
474
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
475
475
|
"utf8"
|
|
476
476
|
);
|
|
477
477
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -482,7 +482,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
482
482
|
if (distSrc.startsWith("/")) {
|
|
483
483
|
distSrc = distSrc.substring(1);
|
|
484
484
|
}
|
|
485
|
-
packageJson.source ??= `${
|
|
485
|
+
packageJson.source ??= `${_chunkR5XIKR4Njs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
486
486
|
}
|
|
487
487
|
packageJson.files ??= ["dist/**/*"];
|
|
488
488
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -507,7 +507,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
507
507
|
packageJson.contributors = [packageJson.author];
|
|
508
508
|
}
|
|
509
509
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
510
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
510
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkR5XIKR4Njs.joinPaths.call(void 0, "packages", projectName);
|
|
511
511
|
return packageJson;
|
|
512
512
|
};
|
|
513
513
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -561,11 +561,11 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
561
561
|
// ../esbuild/src/assets.ts
|
|
562
562
|
async function copyBuildAssets(context) {
|
|
563
563
|
if (!_optionalChain([context, 'access', _28 => _28.result, 'optionalAccess', _29 => _29.errors, 'access', _30 => _30.length]) && _optionalChain([context, 'access', _31 => _31.options, 'access', _32 => _32.assets, 'optionalAccess', _33 => _33.length])) {
|
|
564
|
-
|
|
564
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0,
|
|
565
565
|
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
566
566
|
context.workspaceConfig
|
|
567
567
|
);
|
|
568
|
-
const stopwatch =
|
|
568
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
569
569
|
await copyAssets(
|
|
570
570
|
context.workspaceConfig,
|
|
571
571
|
_nullishCoalesce(context.options.assets, () => ( [])),
|
|
@@ -646,15 +646,15 @@ async function resolveContext(userOptions) {
|
|
|
646
646
|
if (!workspaceRoot2) {
|
|
647
647
|
throw new Error("Cannot find Nx workspace root");
|
|
648
648
|
}
|
|
649
|
-
const workspaceConfig = await
|
|
649
|
+
const workspaceConfig = await _chunkR5XIKR4Njs.getWorkspaceConfig.call(void 0, true, {
|
|
650
650
|
workspaceRoot: workspaceRoot2.dir
|
|
651
651
|
});
|
|
652
|
-
|
|
653
|
-
const stopwatch =
|
|
652
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
653
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, "Build options resolution");
|
|
654
654
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
655
655
|
exitOnError: true
|
|
656
656
|
});
|
|
657
|
-
const projectJsonPath =
|
|
657
|
+
const projectJsonPath = _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
658
658
|
workspaceRoot2.dir,
|
|
659
659
|
projectRoot,
|
|
660
660
|
"project.json"
|
|
@@ -673,7 +673,7 @@ async function resolveContext(userOptions) {
|
|
|
673
673
|
}
|
|
674
674
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
675
675
|
options.name ??= projectName;
|
|
676
|
-
const packageJsonPath =
|
|
676
|
+
const packageJsonPath = _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
677
677
|
workspaceRoot2.dir,
|
|
678
678
|
options.projectRoot,
|
|
679
679
|
"package.json"
|
|
@@ -685,7 +685,7 @@ async function resolveContext(userOptions) {
|
|
|
685
685
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
686
686
|
const resolvedOptions = {
|
|
687
687
|
...options,
|
|
688
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig :
|
|
688
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkR5XIKR4Njs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
|
|
689
689
|
metafile: userOptions.mode === "development",
|
|
690
690
|
clean: false,
|
|
691
691
|
env,
|
|
@@ -710,8 +710,8 @@ async function resolveContext(userOptions) {
|
|
|
710
710
|
projectConfigurations,
|
|
711
711
|
projectName,
|
|
712
712
|
projectGraph,
|
|
713
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot ||
|
|
714
|
-
outputPath: resolvedOptions.outputPath ||
|
|
713
|
+
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkR5XIKR4Njs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
|
|
714
|
+
outputPath: resolvedOptions.outputPath || _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
715
715
|
workspaceConfig.workspaceRoot,
|
|
716
716
|
"dist",
|
|
717
717
|
resolvedOptions.projectRoot
|
|
@@ -720,10 +720,10 @@ async function resolveContext(userOptions) {
|
|
|
720
720
|
};
|
|
721
721
|
context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
|
|
722
722
|
if (context.options.verbose) {
|
|
723
|
-
|
|
723
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0,
|
|
724
724
|
` \u2699\uFE0F Build options resolved:
|
|
725
725
|
|
|
726
|
-
${
|
|
726
|
+
${_chunkR5XIKR4Njs.formatLogMessage.call(void 0, context.options)}`,
|
|
727
727
|
workspaceConfig
|
|
728
728
|
);
|
|
729
729
|
}
|
|
@@ -735,10 +735,10 @@ ${_chunkZ6FDQK7Qjs.formatLogMessage.call(void 0, context.options)}`,
|
|
|
735
735
|
|
|
736
736
|
|
|
737
737
|
async function generatePackageJson(context) {
|
|
738
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
739
|
-
|
|
740
|
-
const stopwatch =
|
|
741
|
-
const packageJsonPath =
|
|
738
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkR5XIKR4Njs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
739
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
740
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, "Write package.json file");
|
|
741
|
+
const packageJsonPath = _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
742
742
|
context.options.projectRoot,
|
|
743
743
|
"project.json"
|
|
744
744
|
);
|
|
@@ -746,7 +746,7 @@ async function generatePackageJson(context) {
|
|
|
746
746
|
throw new Error("Cannot find package.json configuration");
|
|
747
747
|
}
|
|
748
748
|
const packageJsonFile = await _promises2.default.readFile(
|
|
749
|
-
|
|
749
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
750
750
|
context.workspaceConfig.workspaceRoot,
|
|
751
751
|
context.options.projectRoot,
|
|
752
752
|
"package.json"
|
|
@@ -852,7 +852,7 @@ async function generatePackageJson(context) {
|
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
await _devkit.writeJsonFile.call(void 0,
|
|
855
|
-
|
|
855
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0, context.outputPath, "package.json"),
|
|
856
856
|
packageJson
|
|
857
857
|
);
|
|
858
858
|
stopwatch();
|
|
@@ -864,12 +864,12 @@ async function generatePackageJson(context) {
|
|
|
864
864
|
var _tsup = require('tsup');
|
|
865
865
|
async function build(options) {
|
|
866
866
|
if (!options.silent) {
|
|
867
|
-
|
|
867
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0,
|
|
868
868
|
` \u{1F680} Running ${options.name || "tsup"} build`,
|
|
869
869
|
options.workspaceConfig
|
|
870
870
|
);
|
|
871
871
|
}
|
|
872
|
-
const stopwatch =
|
|
872
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
|
|
873
873
|
await _tsup.build.call(void 0, options);
|
|
874
874
|
if (!options.silent) {
|
|
875
875
|
stopwatch();
|
|
@@ -878,14 +878,14 @@ async function build(options) {
|
|
|
878
878
|
|
|
879
879
|
// ../esbuild/src/tsup.ts
|
|
880
880
|
async function executeTsup(context) {
|
|
881
|
-
|
|
881
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0,
|
|
882
882
|
` \u{1F680} Running ${context.options.name} build`,
|
|
883
883
|
context.workspaceConfig
|
|
884
884
|
);
|
|
885
|
-
const stopwatch =
|
|
885
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, `${context.options.name} build`);
|
|
886
886
|
await build({
|
|
887
887
|
...context.options,
|
|
888
|
-
outDir: context.options.distDir ?
|
|
888
|
+
outDir: context.options.distDir ? _chunkR5XIKR4Njs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
889
889
|
workspaceConfig: context.workspaceConfig
|
|
890
890
|
});
|
|
891
891
|
stopwatch();
|
|
@@ -896,17 +896,17 @@ async function executeTsup(context) {
|
|
|
896
896
|
async function reportResults(context) {
|
|
897
897
|
if (_optionalChain([context, 'access', _36 => _36.result, 'optionalAccess', _37 => _37.errors, 'access', _38 => _38.length]) === 0) {
|
|
898
898
|
if (context.result.warnings.length > 0) {
|
|
899
|
-
|
|
899
|
+
_chunkR5XIKR4Njs.writeWarning.call(void 0,
|
|
900
900
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
901
901
|
context.workspaceConfig
|
|
902
902
|
);
|
|
903
903
|
}
|
|
904
|
-
|
|
904
|
+
_chunkR5XIKR4Njs.writeSuccess.call(void 0,
|
|
905
905
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
906
906
|
context.workspaceConfig
|
|
907
907
|
);
|
|
908
908
|
} else if (_optionalChain([context, 'access', _39 => _39.result, 'optionalAccess', _40 => _40.errors]) && _optionalChain([context, 'access', _41 => _41.result, 'optionalAccess', _42 => _42.errors, 'access', _43 => _43.length]) > 0) {
|
|
909
|
-
|
|
909
|
+
_chunkR5XIKR4Njs.writeError.call(void 0,
|
|
910
910
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
911
911
|
context.workspaceConfig
|
|
912
912
|
);
|
|
@@ -917,19 +917,19 @@ async function reportResults(context) {
|
|
|
917
917
|
}
|
|
918
918
|
async function cleanOutputPath(context) {
|
|
919
919
|
if (context.clean !== false && context.outputPath) {
|
|
920
|
-
|
|
920
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0,
|
|
921
921
|
` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
|
|
922
922
|
context.workspaceConfig
|
|
923
923
|
);
|
|
924
|
-
const stopwatch =
|
|
924
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, `${context.options.name} output clean`);
|
|
925
925
|
await cleanDirectories(context.outputPath);
|
|
926
926
|
stopwatch();
|
|
927
927
|
}
|
|
928
928
|
return context;
|
|
929
929
|
}
|
|
930
930
|
async function build2(options) {
|
|
931
|
-
|
|
932
|
-
const stopwatch =
|
|
931
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, ` ${_chunkR5XIKR4Njs.brandIcon.call(void 0, )} Executing Storm ESBuild pipeline`);
|
|
932
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
933
933
|
try {
|
|
934
934
|
const opts = Array.isArray(options) ? options : [options];
|
|
935
935
|
if (opts.length === 0) {
|
|
@@ -944,9 +944,9 @@ async function build2(options) {
|
|
|
944
944
|
executeTsup(context)
|
|
945
945
|
]);
|
|
946
946
|
await reportResults(context);
|
|
947
|
-
|
|
947
|
+
_chunkR5XIKR4Njs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
948
948
|
} catch (error) {
|
|
949
|
-
|
|
949
|
+
_chunkR5XIKR4Njs.writeFatal.call(void 0,
|
|
950
950
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
951
951
|
);
|
|
952
952
|
throw error;
|
|
@@ -957,7 +957,7 @@ async function build2(options) {
|
|
|
957
957
|
|
|
958
958
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
959
959
|
async function esbuildExecutorFn(options, context, config) {
|
|
960
|
-
|
|
960
|
+
_chunkR5XIKR4Njs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
961
961
|
if (!_optionalChain([context, 'access', _44 => _44.projectsConfigurations, 'optionalAccess', _45 => _45.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _46 => _46.projectsConfigurations, 'access', _47 => _47.projects, 'access', _48 => _48[context.projectName], 'optionalAccess', _49 => _49.root])) {
|
|
962
962
|
throw new Error(
|
|
963
963
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -978,7 +978,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
978
978
|
success: true
|
|
979
979
|
};
|
|
980
980
|
}
|
|
981
|
-
var executor_default6 =
|
|
981
|
+
var executor_default6 = _chunkR5XIKR4Njs.withRunExecutor.call(void 0,
|
|
982
982
|
"Storm ESBuild build",
|
|
983
983
|
esbuildExecutorFn,
|
|
984
984
|
{
|
|
@@ -999,7 +999,7 @@ var _jiti = require('jiti');
|
|
|
999
999
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
1000
1000
|
async function napiExecutor(options, context, config) {
|
|
1001
1001
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
1002
|
-
fsCache: config.skipCache ? false :
|
|
1002
|
+
fsCache: config.skipCache ? false : _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
1003
1003
|
config.workspaceRoot,
|
|
1004
1004
|
config.directories.cache || "node_modules/.cache/storm",
|
|
1005
1005
|
"jiti"
|
|
@@ -1015,52 +1015,52 @@ async function napiExecutor(options, context, config) {
|
|
|
1015
1015
|
);
|
|
1016
1016
|
}
|
|
1017
1017
|
const projectRoot = _optionalChain([context, 'access', _61 => _61.projectGraph, 'optionalAccess', _62 => _62.nodes, 'access', _63 => _63[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _64 => _64.data, 'access', _65 => _65.root]);
|
|
1018
|
-
const packageJson =
|
|
1018
|
+
const packageJson = _chunkR5XIKR4Njs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
1019
1019
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
1020
1020
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
1021
1021
|
}
|
|
1022
1022
|
const napi = new NapiCli();
|
|
1023
1023
|
const normalizedOptions = { ...options };
|
|
1024
1024
|
const metadata = cargoMetadata();
|
|
1025
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _66 => _66.target_directory]) ||
|
|
1025
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _66 => _66.target_directory]) || _chunkR5XIKR4Njs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
1026
1026
|
normalizedOptions.outputDir = options.outputPath;
|
|
1027
1027
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
1028
1028
|
if (options.cwd) {
|
|
1029
|
-
normalizedOptions.cwd =
|
|
1029
|
+
normalizedOptions.cwd = _chunkR5XIKR4Njs.correctPaths.call(void 0, options.cwd);
|
|
1030
1030
|
} else {
|
|
1031
|
-
const absoluteProjectRoot =
|
|
1032
|
-
|
|
1031
|
+
const absoluteProjectRoot = _chunkR5XIKR4Njs.correctPaths.call(void 0,
|
|
1032
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
|
|
1033
1033
|
);
|
|
1034
1034
|
normalizedOptions.cwd = absoluteProjectRoot;
|
|
1035
1035
|
if (normalizedOptions.outputDir) {
|
|
1036
|
-
normalizedOptions.outputDir =
|
|
1036
|
+
normalizedOptions.outputDir = _chunkR5XIKR4Njs.relative.call(void 0,
|
|
1037
1037
|
normalizedOptions.cwd,
|
|
1038
|
-
|
|
1039
|
-
|
|
1038
|
+
_chunkR5XIKR4Njs.correctPaths.call(void 0,
|
|
1039
|
+
_chunkR5XIKR4Njs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkR5XIKR4Njs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
1040
1040
|
)
|
|
1041
1041
|
);
|
|
1042
1042
|
}
|
|
1043
1043
|
if (normalizedOptions.packageJsonPath) {
|
|
1044
|
-
normalizedOptions.packageJsonPath =
|
|
1044
|
+
normalizedOptions.packageJsonPath = _chunkR5XIKR4Njs.relative.call(void 0,
|
|
1045
1045
|
normalizedOptions.cwd,
|
|
1046
|
-
|
|
1047
|
-
|
|
1046
|
+
_chunkR5XIKR4Njs.correctPaths.call(void 0,
|
|
1047
|
+
_chunkR5XIKR4Njs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkR5XIKR4Njs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
1048
1048
|
)
|
|
1049
1049
|
);
|
|
1050
1050
|
}
|
|
1051
1051
|
if (normalizedOptions.configPath) {
|
|
1052
|
-
normalizedOptions.configPath =
|
|
1052
|
+
normalizedOptions.configPath = _chunkR5XIKR4Njs.relative.call(void 0,
|
|
1053
1053
|
normalizedOptions.cwd,
|
|
1054
|
-
|
|
1055
|
-
|
|
1054
|
+
_chunkR5XIKR4Njs.correctPaths.call(void 0,
|
|
1055
|
+
_chunkR5XIKR4Njs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkR5XIKR4Njs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
1056
1056
|
)
|
|
1057
1057
|
);
|
|
1058
1058
|
}
|
|
1059
1059
|
if (normalizedOptions.manifestPath) {
|
|
1060
|
-
normalizedOptions.manifestPath =
|
|
1060
|
+
normalizedOptions.manifestPath = _chunkR5XIKR4Njs.relative.call(void 0,
|
|
1061
1061
|
normalizedOptions.cwd,
|
|
1062
|
-
|
|
1063
|
-
|
|
1062
|
+
_chunkR5XIKR4Njs.correctPaths.call(void 0,
|
|
1063
|
+
_chunkR5XIKR4Njs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkR5XIKR4Njs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
1064
1064
|
)
|
|
1065
1065
|
);
|
|
1066
1066
|
}
|
|
@@ -1068,7 +1068,7 @@ async function napiExecutor(options, context, config) {
|
|
|
1068
1068
|
if (process.env.VERCEL) {
|
|
1069
1069
|
return { success: true };
|
|
1070
1070
|
}
|
|
1071
|
-
|
|
1071
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0,
|
|
1072
1072
|
`Normalized Napi Options:
|
|
1073
1073
|
packageJsonPath: ${normalizedOptions.packageJsonPath}
|
|
1074
1074
|
outputDir: ${normalizedOptions.outputDir}
|
|
@@ -1081,7 +1081,7 @@ cwd: ${normalizedOptions.cwd}`,
|
|
|
1081
1081
|
const { task } = await napi.build(normalizedOptions);
|
|
1082
1082
|
return { success: true, terminalOutput: await task };
|
|
1083
1083
|
}
|
|
1084
|
-
var executor_default7 =
|
|
1084
|
+
var executor_default7 = _chunkR5XIKR4Njs.withRunExecutor.call(void 0,
|
|
1085
1085
|
"Napi - Build Bindings",
|
|
1086
1086
|
napiExecutor,
|
|
1087
1087
|
{
|
|
@@ -1234,14 +1234,14 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
1234
1234
|
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
1235
1235
|
);
|
|
1236
1236
|
}
|
|
1237
|
-
|
|
1237
|
+
_chunkR5XIKR4Njs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
1238
1238
|
_sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
|
|
1239
1239
|
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _70 => _70.projectsConfigurations, 'access', _71 => _71.projects, 'access', _72 => _72[context.projectName], 'optionalAccess', _73 => _73.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
|
|
1240
1240
|
_nullishCoalesce(_optionalChain([context, 'access', _74 => _74.projectsConfigurations, 'access', _75 => _75.projects, 'access', _76 => _76[context.projectName], 'optionalAccess', _77 => _77.root]), () => ( "./")),
|
|
1241
1241
|
"src"
|
|
1242
1242
|
)))
|
|
1243
1243
|
}).then((result) => {
|
|
1244
|
-
|
|
1244
|
+
_chunkR5XIKR4Njs.writeInfo.call(void 0,
|
|
1245
1245
|
`\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
|
|
1246
1246
|
config
|
|
1247
1247
|
);
|
|
@@ -1250,7 +1250,7 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
1250
1250
|
success: true
|
|
1251
1251
|
};
|
|
1252
1252
|
}
|
|
1253
|
-
var executor_default8 =
|
|
1253
|
+
var executor_default8 = _chunkR5XIKR4Njs.withRunExecutor.call(void 0,
|
|
1254
1254
|
"Size-Limit Performance Test Executor",
|
|
1255
1255
|
sizeLimitExecutorFn,
|
|
1256
1256
|
{
|
|
@@ -1311,19 +1311,19 @@ function toTSDownFormat(format4) {
|
|
|
1311
1311
|
// ../tsdown/src/build.ts
|
|
1312
1312
|
var resolveOptions = async (userOptions) => {
|
|
1313
1313
|
const options = getDefaultOptions(userOptions);
|
|
1314
|
-
const workspaceRoot2 =
|
|
1314
|
+
const workspaceRoot2 = _chunkR5XIKR4Njs.findWorkspaceRoot.call(void 0, options.projectRoot);
|
|
1315
1315
|
if (!workspaceRoot2) {
|
|
1316
1316
|
throw new Error("Cannot find Nx workspace root");
|
|
1317
1317
|
}
|
|
1318
|
-
const workspaceConfig = await
|
|
1318
|
+
const workspaceConfig = await _chunkR5XIKR4Njs.getWorkspaceConfig.call(void 0, options.debug === true, {
|
|
1319
1319
|
workspaceRoot: workspaceRoot2
|
|
1320
1320
|
});
|
|
1321
|
-
|
|
1322
|
-
const stopwatch =
|
|
1321
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
1322
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, "Build options resolution");
|
|
1323
1323
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
1324
1324
|
exitOnError: true
|
|
1325
1325
|
});
|
|
1326
|
-
const projectJsonPath =
|
|
1326
|
+
const projectJsonPath = _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
1327
1327
|
workspaceRoot2,
|
|
1328
1328
|
options.projectRoot,
|
|
1329
1329
|
"project.json"
|
|
@@ -1340,7 +1340,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
1340
1340
|
"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."
|
|
1341
1341
|
);
|
|
1342
1342
|
}
|
|
1343
|
-
const packageJsonPath =
|
|
1343
|
+
const packageJsonPath = _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
1344
1344
|
workspaceRoot2,
|
|
1345
1345
|
options.projectRoot,
|
|
1346
1346
|
"package.json"
|
|
@@ -1349,13 +1349,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
1349
1349
|
throw new Error("Cannot find package.json configuration");
|
|
1350
1350
|
}
|
|
1351
1351
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
1352
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
1352
|
+
const sourceRoot = projectJson.sourceRoot || _chunkR5XIKR4Njs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
1353
1353
|
const result = {
|
|
1354
1354
|
name: projectName,
|
|
1355
1355
|
mode: "production",
|
|
1356
1356
|
target: DEFAULT_TARGET,
|
|
1357
1357
|
generatePackageJson: true,
|
|
1358
|
-
outDir:
|
|
1358
|
+
outDir: _chunkR5XIKR4Njs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
1359
1359
|
minify: !debug,
|
|
1360
1360
|
plugins: [],
|
|
1361
1361
|
assets: [],
|
|
@@ -1367,12 +1367,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
1367
1367
|
clean: false,
|
|
1368
1368
|
fixedExtension: true,
|
|
1369
1369
|
nodeProtocol: true,
|
|
1370
|
-
tsconfig:
|
|
1370
|
+
tsconfig: _chunkR5XIKR4Njs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
1371
1371
|
debug,
|
|
1372
1372
|
sourceRoot,
|
|
1373
1373
|
cwd: workspaceConfig.workspaceRoot,
|
|
1374
1374
|
entry: {
|
|
1375
|
-
["index"]:
|
|
1375
|
+
["index"]: _chunkR5XIKR4Njs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
1376
1376
|
},
|
|
1377
1377
|
workspace: true,
|
|
1378
1378
|
...options,
|
|
@@ -1391,15 +1391,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
1391
1391
|
return result;
|
|
1392
1392
|
};
|
|
1393
1393
|
async function generatePackageJson2(options) {
|
|
1394
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
1395
|
-
|
|
1396
|
-
const stopwatch =
|
|
1397
|
-
const packageJsonPath =
|
|
1394
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkR5XIKR4Njs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
1395
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
1396
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, "Write package.json file");
|
|
1397
|
+
const packageJsonPath = _chunkR5XIKR4Njs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
1398
1398
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1399
1399
|
throw new Error("Cannot find package.json configuration");
|
|
1400
1400
|
}
|
|
1401
1401
|
const packageJsonFile = await _promises2.default.readFile(
|
|
1402
|
-
|
|
1402
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
1403
1403
|
options.workspaceConfig.workspaceRoot,
|
|
1404
1404
|
options.projectRoot,
|
|
1405
1405
|
"package.json"
|
|
@@ -1461,14 +1461,14 @@ async function generatePackageJson2(options) {
|
|
|
1461
1461
|
},
|
|
1462
1462
|
packageJson.exports
|
|
1463
1463
|
);
|
|
1464
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
1464
|
+
await _devkit.writeJsonFile.call(void 0, _chunkR5XIKR4Njs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
1465
1465
|
stopwatch();
|
|
1466
1466
|
}
|
|
1467
1467
|
return options;
|
|
1468
1468
|
}
|
|
1469
1469
|
async function executeTSDown(options) {
|
|
1470
|
-
|
|
1471
|
-
const stopwatch =
|
|
1470
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
1471
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, `${options.name} build`);
|
|
1472
1472
|
await _tsdown.build.call(void 0, {
|
|
1473
1473
|
...options,
|
|
1474
1474
|
entry: options.entry,
|
|
@@ -1478,11 +1478,11 @@ async function executeTSDown(options) {
|
|
|
1478
1478
|
return options;
|
|
1479
1479
|
}
|
|
1480
1480
|
async function copyBuildAssets2(options) {
|
|
1481
|
-
|
|
1481
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0,
|
|
1482
1482
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
1483
1483
|
options.workspaceConfig
|
|
1484
1484
|
);
|
|
1485
|
-
const stopwatch =
|
|
1485
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
1486
1486
|
await copyAssets(
|
|
1487
1487
|
options.workspaceConfig,
|
|
1488
1488
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
@@ -1496,18 +1496,18 @@ async function copyBuildAssets2(options) {
|
|
|
1496
1496
|
return options;
|
|
1497
1497
|
}
|
|
1498
1498
|
async function reportResults2(options) {
|
|
1499
|
-
|
|
1499
|
+
_chunkR5XIKR4Njs.writeSuccess.call(void 0,
|
|
1500
1500
|
` \u{1F4E6} The ${options.name} build completed successfully`,
|
|
1501
1501
|
options.workspaceConfig
|
|
1502
1502
|
);
|
|
1503
1503
|
}
|
|
1504
1504
|
async function cleanOutputPath2(options) {
|
|
1505
1505
|
if (options.clean !== false && options.workspaceConfig) {
|
|
1506
|
-
|
|
1506
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0,
|
|
1507
1507
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
|
|
1508
1508
|
options.workspaceConfig
|
|
1509
1509
|
);
|
|
1510
|
-
const stopwatch =
|
|
1510
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
1511
1511
|
await cleanDirectories2(
|
|
1512
1512
|
options.name,
|
|
1513
1513
|
options.outDir,
|
|
@@ -1518,8 +1518,8 @@ async function cleanOutputPath2(options) {
|
|
|
1518
1518
|
return options;
|
|
1519
1519
|
}
|
|
1520
1520
|
async function build3(options) {
|
|
1521
|
-
|
|
1522
|
-
const stopwatch =
|
|
1521
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, ` ${_chunkR5XIKR4Njs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
|
|
1522
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
1523
1523
|
try {
|
|
1524
1524
|
const opts = Array.isArray(options) ? options : [options];
|
|
1525
1525
|
if (opts.length === 0) {
|
|
@@ -1539,13 +1539,13 @@ async function build3(options) {
|
|
|
1539
1539
|
})
|
|
1540
1540
|
);
|
|
1541
1541
|
} else {
|
|
1542
|
-
|
|
1542
|
+
_chunkR5XIKR4Njs.writeWarning.call(void 0,
|
|
1543
1543
|
" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
|
|
1544
1544
|
);
|
|
1545
1545
|
}
|
|
1546
|
-
|
|
1546
|
+
_chunkR5XIKR4Njs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
1547
1547
|
} catch (error) {
|
|
1548
|
-
|
|
1548
|
+
_chunkR5XIKR4Njs.writeFatal.call(void 0,
|
|
1549
1549
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
1550
1550
|
);
|
|
1551
1551
|
throw error;
|
|
@@ -1556,7 +1556,7 @@ async function build3(options) {
|
|
|
1556
1556
|
|
|
1557
1557
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
1558
1558
|
async function tsdownExecutorFn(options, context, config) {
|
|
1559
|
-
|
|
1559
|
+
_chunkR5XIKR4Njs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
|
|
1560
1560
|
if (!_optionalChain([context, 'access', _80 => _80.projectsConfigurations, 'optionalAccess', _81 => _81.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _82 => _82.projectsConfigurations, 'access', _83 => _83.projects, 'access', _84 => _84[context.projectName], 'optionalAccess', _85 => _85.root])) {
|
|
1561
1561
|
throw new Error(
|
|
1562
1562
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -1577,7 +1577,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
1577
1577
|
success: true
|
|
1578
1578
|
};
|
|
1579
1579
|
}
|
|
1580
|
-
var executor_default9 =
|
|
1580
|
+
var executor_default9 = _chunkR5XIKR4Njs.withRunExecutor.call(void 0,
|
|
1581
1581
|
"Storm TSDown build",
|
|
1582
1582
|
tsdownExecutorFn,
|
|
1583
1583
|
{
|
|
@@ -1598,12 +1598,12 @@ var _fsextra = require('fs-extra');
|
|
|
1598
1598
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
1599
1599
|
async function typiaExecutorFn(options, _, config) {
|
|
1600
1600
|
if (options.clean !== false) {
|
|
1601
|
-
|
|
1601
|
+
_chunkR5XIKR4Njs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
|
|
1602
1602
|
_fsextra.removeSync.call(void 0, options.outputPath);
|
|
1603
1603
|
}
|
|
1604
1604
|
await Promise.all(
|
|
1605
1605
|
options.entry.map((entry) => {
|
|
1606
|
-
|
|
1606
|
+
_chunkR5XIKR4Njs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
|
|
1607
1607
|
return _TypiaProgrammerjs.TypiaProgrammer.build({
|
|
1608
1608
|
input: entry,
|
|
1609
1609
|
output: options.outputPath,
|
|
@@ -1615,7 +1615,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
1615
1615
|
success: true
|
|
1616
1616
|
};
|
|
1617
1617
|
}
|
|
1618
|
-
var executor_default10 =
|
|
1618
|
+
var executor_default10 = _chunkR5XIKR4Njs.withRunExecutor.call(void 0,
|
|
1619
1619
|
"Typia runtime validation generator",
|
|
1620
1620
|
typiaExecutorFn,
|
|
1621
1621
|
{
|
|
@@ -1636,7 +1636,7 @@ var executor_default10 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
|
|
|
1636
1636
|
|
|
1637
1637
|
|
|
1638
1638
|
async function unbuildExecutorFn(options, context, config) {
|
|
1639
|
-
|
|
1639
|
+
_chunkR5XIKR4Njs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1640
1640
|
if (!_optionalChain([context, 'access', _94 => _94.projectsConfigurations, 'optionalAccess', _95 => _95.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1641
1641
|
throw new Error(
|
|
1642
1642
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
@@ -1653,7 +1653,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
1653
1653
|
);
|
|
1654
1654
|
}
|
|
1655
1655
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
1656
|
-
fsCache: config.skipCache ? false :
|
|
1656
|
+
fsCache: config.skipCache ? false : _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
1657
1657
|
config.workspaceRoot,
|
|
1658
1658
|
config.directories.cache || "node_modules/.cache/storm",
|
|
1659
1659
|
"jiti"
|
|
@@ -1675,7 +1675,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
1675
1675
|
{
|
|
1676
1676
|
stubOptions: {
|
|
1677
1677
|
jiti: {
|
|
1678
|
-
fsCache: config.skipCache ? false :
|
|
1678
|
+
fsCache: config.skipCache ? false : _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
1679
1679
|
config.workspaceRoot,
|
|
1680
1680
|
config.directories.cache || "node_modules/.cache/storm",
|
|
1681
1681
|
"jiti"
|
|
@@ -1704,7 +1704,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
1704
1704
|
success: true
|
|
1705
1705
|
};
|
|
1706
1706
|
}
|
|
1707
|
-
var executor_default11 =
|
|
1707
|
+
var executor_default11 = _chunkR5XIKR4Njs.withRunExecutor.call(void 0,
|
|
1708
1708
|
"TypeScript Unbuild build",
|
|
1709
1709
|
unbuildExecutorFn,
|
|
1710
1710
|
{
|
|
@@ -1735,48 +1735,48 @@ var executor_default11 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
|
|
|
1735
1735
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
1736
1736
|
skipReadingConfig: false
|
|
1737
1737
|
}) => async (tree, _options) => {
|
|
1738
|
-
const stopwatch =
|
|
1738
|
+
const stopwatch = _chunkR5XIKR4Njs.getStopwatch.call(void 0, name);
|
|
1739
1739
|
let options = _options;
|
|
1740
1740
|
let config;
|
|
1741
1741
|
try {
|
|
1742
|
-
|
|
1743
|
-
`${
|
|
1742
|
+
_chunkR5XIKR4Njs.writeInfo.call(void 0,
|
|
1743
|
+
`${_chunkR5XIKR4Njs.brandIcon.call(void 0, config)} Running the ${name} generator...
|
|
1744
1744
|
|
|
1745
1745
|
`,
|
|
1746
1746
|
config
|
|
1747
1747
|
);
|
|
1748
|
-
const workspaceRoot2 =
|
|
1748
|
+
const workspaceRoot2 = _chunkR5XIKR4Njs.findWorkspaceRoot.call(void 0, );
|
|
1749
1749
|
if (!generatorOptions.skipReadingConfig) {
|
|
1750
|
-
|
|
1750
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0,
|
|
1751
1751
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
1752
1752
|
- workspaceRoot: ${workspaceRoot2}`,
|
|
1753
1753
|
config
|
|
1754
1754
|
);
|
|
1755
|
-
config = await
|
|
1755
|
+
config = await _chunkR5XIKR4Njs.getConfig.call(void 0, workspaceRoot2);
|
|
1756
1756
|
}
|
|
1757
1757
|
if (_optionalChain([generatorOptions, 'optionalAccess', _96 => _96.hooks, 'optionalAccess', _97 => _97.applyDefaultOptions])) {
|
|
1758
|
-
|
|
1758
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
1759
1759
|
options = await Promise.resolve(
|
|
1760
1760
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
1761
1761
|
);
|
|
1762
|
-
|
|
1762
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
1763
1763
|
}
|
|
1764
|
-
|
|
1764
|
+
_chunkR5XIKR4Njs.writeTrace.call(void 0,
|
|
1765
1765
|
`Generator schema options \u2699\uFE0F
|
|
1766
1766
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
|
|
1767
1767
|
config
|
|
1768
1768
|
);
|
|
1769
|
-
const tokenized = await
|
|
1769
|
+
const tokenized = await _chunkR5XIKR4Njs.applyWorkspaceTokens.call(void 0,
|
|
1770
1770
|
options,
|
|
1771
1771
|
{ workspaceRoot: tree.root, config },
|
|
1772
|
-
|
|
1772
|
+
_chunkR5XIKR4Njs.applyWorkspaceBaseTokens
|
|
1773
1773
|
);
|
|
1774
1774
|
if (_optionalChain([generatorOptions, 'optionalAccess', _98 => _98.hooks, 'optionalAccess', _99 => _99.preProcess])) {
|
|
1775
|
-
|
|
1775
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
1776
1776
|
await Promise.resolve(
|
|
1777
1777
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
1778
1778
|
);
|
|
1779
|
-
|
|
1779
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
1780
1780
|
}
|
|
1781
1781
|
const result = await Promise.resolve(
|
|
1782
1782
|
generatorFn(tree, tokenized, config)
|
|
@@ -1791,21 +1791,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1791
1791
|
}
|
|
1792
1792
|
}
|
|
1793
1793
|
if (_optionalChain([generatorOptions, 'optionalAccess', _109 => _109.hooks, 'optionalAccess', _110 => _110.postProcess])) {
|
|
1794
|
-
|
|
1794
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
1795
1795
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
1796
|
-
|
|
1796
|
+
_chunkR5XIKR4Njs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
1797
1797
|
}
|
|
1798
1798
|
return () => {
|
|
1799
|
-
|
|
1799
|
+
_chunkR5XIKR4Njs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
1800
1800
|
`, config);
|
|
1801
1801
|
};
|
|
1802
1802
|
} catch (error) {
|
|
1803
1803
|
return () => {
|
|
1804
|
-
|
|
1804
|
+
_chunkR5XIKR4Njs.writeFatal.call(void 0,
|
|
1805
1805
|
"A fatal error occurred while running the generator - the process was forced to terminate",
|
|
1806
1806
|
config
|
|
1807
1807
|
);
|
|
1808
|
-
|
|
1808
|
+
_chunkR5XIKR4Njs.writeError.call(void 0,
|
|
1809
1809
|
`An exception was thrown in the generator's process
|
|
1810
1810
|
- Details: ${error.message}
|
|
1811
1811
|
- Stacktrace: ${error.stack}`,
|
|
@@ -1871,16 +1871,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1871
1871
|
const projectConfig = {
|
|
1872
1872
|
root: normalized.directory,
|
|
1873
1873
|
projectType: "library",
|
|
1874
|
-
sourceRoot:
|
|
1874
|
+
sourceRoot: _chunkR5XIKR4Njs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
1875
1875
|
targets: {
|
|
1876
1876
|
build: {
|
|
1877
1877
|
executor: options.buildExecutor,
|
|
1878
1878
|
outputs: ["{options.outputPath}"],
|
|
1879
1879
|
options: {
|
|
1880
|
-
entry: [
|
|
1880
|
+
entry: [_chunkR5XIKR4Njs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
1881
1881
|
outputPath: getOutputPath(normalized),
|
|
1882
|
-
tsconfig:
|
|
1883
|
-
project:
|
|
1882
|
+
tsconfig: _chunkR5XIKR4Njs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
1883
|
+
project: _chunkR5XIKR4Njs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
1884
1884
|
defaultConfiguration: "production",
|
|
1885
1885
|
platform: "neutral",
|
|
1886
1886
|
assets: [
|
|
@@ -1937,7 +1937,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1937
1937
|
if (!normalized.importPath) {
|
|
1938
1938
|
normalized.importPath = normalized.name;
|
|
1939
1939
|
}
|
|
1940
|
-
const packageJsonPath =
|
|
1940
|
+
const packageJsonPath = _chunkR5XIKR4Njs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
1941
1941
|
if (tree.exists(packageJsonPath)) {
|
|
1942
1942
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
1943
1943
|
if (!normalized.importPath) {
|
|
@@ -1994,14 +1994,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1994
1994
|
}));
|
|
1995
1995
|
}
|
|
1996
1996
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
1997
|
-
|
|
1997
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
1998
1998
|
normalized.projectRoot,
|
|
1999
1999
|
"./src",
|
|
2000
2000
|
`index.${normalized.js ? "js" : "ts"}`
|
|
2001
2001
|
)
|
|
2002
2002
|
]);
|
|
2003
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
2004
|
-
|
|
2003
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkR5XIKR4Njs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
2004
|
+
_chunkR5XIKR4Njs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
2005
2005
|
]);
|
|
2006
2006
|
if (tree.exists("package.json")) {
|
|
2007
2007
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -2012,7 +2012,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2012
2012
|
description = packageJson.description;
|
|
2013
2013
|
}
|
|
2014
2014
|
}
|
|
2015
|
-
const tsconfigPath =
|
|
2015
|
+
const tsconfigPath = _chunkR5XIKR4Njs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
2016
2016
|
if (tree.exists(tsconfigPath)) {
|
|
2017
2017
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
2018
2018
|
json.composite ??= true;
|
|
@@ -2040,7 +2040,7 @@ function getOutputPath(options) {
|
|
|
2040
2040
|
} else {
|
|
2041
2041
|
parts.push(options.projectRoot);
|
|
2042
2042
|
}
|
|
2043
|
-
return
|
|
2043
|
+
return _chunkR5XIKR4Njs.joinPaths.call(void 0, ...parts);
|
|
2044
2044
|
}
|
|
2045
2045
|
function createProjectTsConfigJson(tree, options) {
|
|
2046
2046
|
const tsconfig = {
|
|
@@ -2048,7 +2048,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
2048
2048
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _125 => _125.tsconfigOptions]), () => ( {})),
|
|
2049
2049
|
compilerOptions: {
|
|
2050
2050
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
2051
|
-
outDir:
|
|
2051
|
+
outDir: _chunkR5XIKR4Njs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
2052
2052
|
noEmit: true,
|
|
2053
2053
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _126 => _126.tsconfigOptions, 'optionalAccess', _127 => _127.compilerOptions]), () => ( {}))
|
|
2054
2054
|
},
|
|
@@ -2066,7 +2066,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
2066
2066
|
"src/**/*.test.ts"
|
|
2067
2067
|
]
|
|
2068
2068
|
};
|
|
2069
|
-
_devkit.writeJson.call(void 0, tree,
|
|
2069
|
+
_devkit.writeJson.call(void 0, tree, _chunkR5XIKR4Njs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
2070
2070
|
}
|
|
2071
2071
|
async function normalizeOptions(tree, options, config) {
|
|
2072
2072
|
let importPath = options.importPath;
|
|
@@ -2131,7 +2131,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
2131
2131
|
|
|
2132
2132
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
2133
2133
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
2134
|
-
const filesDir =
|
|
2134
|
+
const filesDir = _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
2135
2135
|
__dirname,
|
|
2136
2136
|
"src",
|
|
2137
2137
|
"generators",
|
|
@@ -2214,38 +2214,38 @@ var generator_default = withRunGenerator(
|
|
|
2214
2214
|
|
|
2215
2215
|
var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
|
|
2216
2216
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
2217
|
-
|
|
2217
|
+
_chunkR5XIKR4Njs.writeInfo.call(void 0,
|
|
2218
2218
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
2219
2219
|
config
|
|
2220
2220
|
);
|
|
2221
|
-
|
|
2221
|
+
_chunkR5XIKR4Njs.writeTrace.call(void 0,
|
|
2222
2222
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
2223
2223
|
config
|
|
2224
2224
|
);
|
|
2225
|
-
const jsonSchema = z.toJSONSchema(
|
|
2225
|
+
const jsonSchema = z.toJSONSchema(_chunkR5XIKR4Njs.workspaceConfigSchema, {
|
|
2226
2226
|
target: "draft-7",
|
|
2227
|
-
metadata:
|
|
2227
|
+
metadata: _chunkR5XIKR4Njs.schemaRegistry
|
|
2228
2228
|
});
|
|
2229
2229
|
jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
|
|
2230
2230
|
jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
|
|
2231
2231
|
jsonSchema.description ??= "This JSON Schema defines the structure of the Storm Workspace configuration file (`storm-workspace.json`). It is used to validate the configuration file and ensure that it adheres to the expected format.";
|
|
2232
|
-
|
|
2232
|
+
_chunkR5XIKR4Njs.writeTrace.call(void 0, jsonSchema, config);
|
|
2233
2233
|
if (!options.outputFile) {
|
|
2234
2234
|
throw new Error(
|
|
2235
2235
|
"The `outputFile` option is required. Please specify the output file path."
|
|
2236
2236
|
);
|
|
2237
2237
|
}
|
|
2238
2238
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
2239
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _136 => _136.workspaceRoot]), () => (
|
|
2239
|
+
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _136 => _136.workspaceRoot]), () => ( _chunkR5XIKR4Njs.findWorkspaceRoot.call(void 0, ))),
|
|
2240
2240
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
2241
2241
|
);
|
|
2242
|
-
|
|
2242
|
+
_chunkR5XIKR4Njs.writeTrace.call(void 0,
|
|
2243
2243
|
`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
|
|
2244
2244
|
config
|
|
2245
2245
|
);
|
|
2246
2246
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
|
|
2247
2247
|
await _devkit.formatFiles.call(void 0, tree);
|
|
2248
|
-
|
|
2248
|
+
_chunkR5XIKR4Njs.writeSuccess.call(void 0,
|
|
2249
2249
|
"\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
|
|
2250
2250
|
config
|
|
2251
2251
|
);
|
|
@@ -2301,7 +2301,7 @@ async function initGenerator(tree, schema) {
|
|
|
2301
2301
|
|
|
2302
2302
|
|
|
2303
2303
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
2304
|
-
const filesDir =
|
|
2304
|
+
const filesDir = _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
2305
2305
|
__dirname,
|
|
2306
2306
|
"src",
|
|
2307
2307
|
"generators",
|
|
@@ -2360,7 +2360,7 @@ var generator_default3 = withRunGenerator(
|
|
|
2360
2360
|
|
|
2361
2361
|
|
|
2362
2362
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
2363
|
-
const filesDir =
|
|
2363
|
+
const filesDir = _chunkR5XIKR4Njs.joinPaths.call(void 0,
|
|
2364
2364
|
__dirname,
|
|
2365
2365
|
"src",
|
|
2366
2366
|
"generators",
|