@storm-software/terraform-tools 0.66.79 → 0.66.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/{chunk-P5BRQAIT.mjs → chunk-2QDLWNVX.mjs} +1 -1
- package/dist/{chunk-TFC7CJJL.js → chunk-3CSFNH3Z.js} +157 -157
- package/dist/{chunk-VLDCT332.js → chunk-I6FP4VNE.js} +2 -2
- package/dist/{chunk-QA42EDAB.js → chunk-ISYDNAZN.js} +2 -2
- package/dist/{chunk-SFDYWWEG.mjs → chunk-JKTX7VHP.mjs} +1 -1
- package/dist/{chunk-TWI5KBOR.mjs → chunk-M2PEDBV6.mjs} +3 -3
- package/dist/{chunk-I53PCL5S.mjs → chunk-O6ROXUTN.mjs} +1 -1
- package/dist/{chunk-RIEYZR2V.mjs → chunk-S6RGC2M3.mjs} +1 -1
- package/dist/{chunk-LNXYWGAS.js → chunk-TGHJHVEQ.js} +2 -2
- package/dist/{chunk-25SEY6TK.js → chunk-TYTBAFZE.js} +3 -3
- package/dist/{chunk-TTRVAHUW.mjs → chunk-UZXYTWUI.mjs} +1 -1
- package/dist/{chunk-NB5PVKFM.mjs → chunk-V4NOUTYC.mjs} +1 -1
- package/dist/{chunk-5VNAQK7B.js → chunk-XUSVIXEJ.js} +2 -2
- package/dist/{chunk-BBOLLBFZ.js → chunk-ZR6GKSIF.js} +2 -2
- 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 +4 -4
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkTYTBAFZEjs = require('./chunk-TYTBAFZE.js');
|
|
24
24
|
|
|
25
25
|
// src/generators/init/init.ts
|
|
26
26
|
var _devkit = require('@nx/devkit');
|
|
@@ -147,7 +147,7 @@ async function cargoBuildExecutor(options, context) {
|
|
|
147
147
|
const command = buildCargoCommand("build", options, context);
|
|
148
148
|
return await cargoCommand(context.root, ...command);
|
|
149
149
|
}
|
|
150
|
-
var executor_default =
|
|
150
|
+
var executor_default = _chunkTYTBAFZEjs.withRunExecutor.call(void 0,
|
|
151
151
|
"Cargo - Build",
|
|
152
152
|
cargoBuildExecutor,
|
|
153
153
|
{
|
|
@@ -167,7 +167,7 @@ async function cargoCheckExecutor(options, context) {
|
|
|
167
167
|
const command = buildCargoCommand("check", options, context);
|
|
168
168
|
return await cargoCommand(context.root, ...command);
|
|
169
169
|
}
|
|
170
|
-
var executor_default2 =
|
|
170
|
+
var executor_default2 = _chunkTYTBAFZEjs.withRunExecutor.call(void 0,
|
|
171
171
|
"Cargo - Check",
|
|
172
172
|
cargoCheckExecutor,
|
|
173
173
|
{
|
|
@@ -186,7 +186,7 @@ async function cargoClippyExecutor(options, context) {
|
|
|
186
186
|
const command = buildCargoCommand("clippy", options, context);
|
|
187
187
|
return await cargoCommand(context.root, ...command);
|
|
188
188
|
}
|
|
189
|
-
var executor_default3 =
|
|
189
|
+
var executor_default3 = _chunkTYTBAFZEjs.withRunExecutor.call(void 0,
|
|
190
190
|
"Cargo - Clippy",
|
|
191
191
|
cargoClippyExecutor,
|
|
192
192
|
{
|
|
@@ -209,7 +209,7 @@ async function cargoDocExecutor(options, context) {
|
|
|
209
209
|
const command = buildCargoCommand("doc", options, context);
|
|
210
210
|
return await cargoCommand(context.root, ...command);
|
|
211
211
|
}
|
|
212
|
-
var executor_default4 =
|
|
212
|
+
var executor_default4 = _chunkTYTBAFZEjs.withRunExecutor.call(void 0,
|
|
213
213
|
"Cargo - Doc",
|
|
214
214
|
cargoDocExecutor,
|
|
215
215
|
{
|
|
@@ -235,7 +235,7 @@ async function cargoFormatExecutor(options, context) {
|
|
|
235
235
|
const command = buildCargoCommand("fmt", options, context);
|
|
236
236
|
return await cargoCommand(context.root, ...command);
|
|
237
237
|
}
|
|
238
|
-
var executor_default5 =
|
|
238
|
+
var executor_default5 = _chunkTYTBAFZEjs.withRunExecutor.call(void 0,
|
|
239
239
|
"Cargo - Format",
|
|
240
240
|
cargoFormatExecutor,
|
|
241
241
|
{
|
|
@@ -315,9 +315,9 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
315
315
|
output: "src/"
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
|
-
|
|
318
|
+
_chunkTYTBAFZEjs.writeTrace.call(void 0,
|
|
319
319
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
320
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
320
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkTYTBAFZEjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
321
321
|
config
|
|
322
322
|
);
|
|
323
323
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
@@ -327,20 +327,20 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
327
327
|
assets: pendingAssets
|
|
328
328
|
});
|
|
329
329
|
await assetHandler.processAllAssetsOnce();
|
|
330
|
-
|
|
330
|
+
_chunkTYTBAFZEjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
331
331
|
if (includeSrc === true) {
|
|
332
|
-
|
|
333
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
332
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0,
|
|
333
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
334
334
|
outputPath,
|
|
335
335
|
"src"
|
|
336
336
|
)}`,
|
|
337
337
|
config
|
|
338
338
|
);
|
|
339
339
|
const files = await _glob.glob.call(void 0, [
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
340
|
+
_chunkTYTBAFZEjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
341
|
+
_chunkTYTBAFZEjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
342
|
+
_chunkTYTBAFZEjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
343
|
+
_chunkTYTBAFZEjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
344
344
|
]);
|
|
345
345
|
await Promise.allSettled(
|
|
346
346
|
files.map(
|
|
@@ -395,7 +395,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
395
395
|
)) {
|
|
396
396
|
const projectNode = project.node;
|
|
397
397
|
if (projectNode.data.root) {
|
|
398
|
-
const projectPackageJsonPath =
|
|
398
|
+
const projectPackageJsonPath = _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
399
399
|
workspaceRoot2,
|
|
400
400
|
projectNode.data.root,
|
|
401
401
|
"package.json"
|
|
@@ -413,11 +413,11 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
415
|
if (localPackages.length > 0) {
|
|
416
|
-
|
|
416
|
+
_chunkTYTBAFZEjs.writeTrace.call(void 0,
|
|
417
417
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
418
418
|
);
|
|
419
419
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
420
|
-
|
|
420
|
+
_chunkTYTBAFZEjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
421
421
|
"utf8"
|
|
422
422
|
);
|
|
423
423
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -430,7 +430,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
430
430
|
}
|
|
431
431
|
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) => {
|
|
432
432
|
if (_optionalChain([projectConfigurations, 'access', _18 => _18.projects, 'optionalAccess', _19 => _19[dep]])) {
|
|
433
|
-
const depPackageJsonPath =
|
|
433
|
+
const depPackageJsonPath = _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
434
434
|
workspaceRoot2,
|
|
435
435
|
projectConfigurations.projects[dep].root,
|
|
436
436
|
"package.json"
|
|
@@ -461,14 +461,14 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
461
461
|
return ret;
|
|
462
462
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
463
463
|
} else {
|
|
464
|
-
|
|
464
|
+
_chunkTYTBAFZEjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
465
465
|
}
|
|
466
466
|
return packageJson;
|
|
467
467
|
};
|
|
468
468
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
469
|
-
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot :
|
|
469
|
+
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkTYTBAFZEjs.findWorkspaceRoot.call(void 0, );
|
|
470
470
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
471
|
-
|
|
471
|
+
_chunkTYTBAFZEjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
472
472
|
"utf8"
|
|
473
473
|
);
|
|
474
474
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -479,7 +479,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
479
479
|
if (distSrc.startsWith("/")) {
|
|
480
480
|
distSrc = distSrc.substring(1);
|
|
481
481
|
}
|
|
482
|
-
packageJson.source ??= `${
|
|
482
|
+
packageJson.source ??= `${_chunkTYTBAFZEjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
483
483
|
}
|
|
484
484
|
packageJson.files ??= ["dist/**/*"];
|
|
485
485
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -504,7 +504,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
504
504
|
packageJson.contributors = [packageJson.author];
|
|
505
505
|
}
|
|
506
506
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
507
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
507
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkTYTBAFZEjs.joinPaths.call(void 0, "packages", projectName);
|
|
508
508
|
return packageJson;
|
|
509
509
|
};
|
|
510
510
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -558,11 +558,11 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
558
558
|
// ../esbuild/src/assets.ts
|
|
559
559
|
async function copyBuildAssets(context) {
|
|
560
560
|
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])) {
|
|
561
|
-
|
|
561
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0,
|
|
562
562
|
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
563
563
|
context.workspaceConfig
|
|
564
564
|
);
|
|
565
|
-
const stopwatch =
|
|
565
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
566
566
|
await copyAssets(
|
|
567
567
|
context.workspaceConfig,
|
|
568
568
|
_nullishCoalesce(context.options.assets, () => ( [])),
|
|
@@ -643,15 +643,15 @@ async function resolveContext(userOptions) {
|
|
|
643
643
|
if (!workspaceRoot2) {
|
|
644
644
|
throw new Error("Cannot find Nx workspace root");
|
|
645
645
|
}
|
|
646
|
-
const workspaceConfig = await
|
|
646
|
+
const workspaceConfig = await _chunkTYTBAFZEjs.getWorkspaceConfig.call(void 0, true, {
|
|
647
647
|
workspaceRoot: workspaceRoot2.dir
|
|
648
648
|
});
|
|
649
|
-
|
|
650
|
-
const stopwatch =
|
|
649
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
650
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, "Build options resolution");
|
|
651
651
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
652
652
|
exitOnError: true
|
|
653
653
|
});
|
|
654
|
-
const projectJsonPath =
|
|
654
|
+
const projectJsonPath = _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
655
655
|
workspaceRoot2.dir,
|
|
656
656
|
projectRoot,
|
|
657
657
|
"project.json"
|
|
@@ -670,7 +670,7 @@ async function resolveContext(userOptions) {
|
|
|
670
670
|
}
|
|
671
671
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
672
672
|
options.name ??= projectName;
|
|
673
|
-
const packageJsonPath =
|
|
673
|
+
const packageJsonPath = _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
674
674
|
workspaceRoot2.dir,
|
|
675
675
|
options.projectRoot,
|
|
676
676
|
"package.json"
|
|
@@ -682,7 +682,7 @@ async function resolveContext(userOptions) {
|
|
|
682
682
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
683
683
|
const resolvedOptions = {
|
|
684
684
|
...options,
|
|
685
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig :
|
|
685
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkTYTBAFZEjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
|
|
686
686
|
metafile: userOptions.mode === "development",
|
|
687
687
|
clean: false,
|
|
688
688
|
env,
|
|
@@ -707,8 +707,8 @@ async function resolveContext(userOptions) {
|
|
|
707
707
|
projectConfigurations,
|
|
708
708
|
projectName,
|
|
709
709
|
projectGraph,
|
|
710
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot ||
|
|
711
|
-
outputPath: resolvedOptions.outputPath ||
|
|
710
|
+
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkTYTBAFZEjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
|
|
711
|
+
outputPath: resolvedOptions.outputPath || _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
712
712
|
workspaceConfig.workspaceRoot,
|
|
713
713
|
"dist",
|
|
714
714
|
resolvedOptions.projectRoot
|
|
@@ -717,10 +717,10 @@ async function resolveContext(userOptions) {
|
|
|
717
717
|
};
|
|
718
718
|
context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
|
|
719
719
|
if (context.options.verbose) {
|
|
720
|
-
|
|
720
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0,
|
|
721
721
|
` \u2699\uFE0F Build options resolved:
|
|
722
722
|
|
|
723
|
-
${
|
|
723
|
+
${_chunkTYTBAFZEjs.formatLogMessage.call(void 0, context.options)}`,
|
|
724
724
|
workspaceConfig
|
|
725
725
|
);
|
|
726
726
|
}
|
|
@@ -732,10 +732,10 @@ ${_chunk25SEY6TKjs.formatLogMessage.call(void 0, context.options)}`,
|
|
|
732
732
|
|
|
733
733
|
|
|
734
734
|
async function generatePackageJson(context) {
|
|
735
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
736
|
-
|
|
737
|
-
const stopwatch =
|
|
738
|
-
const packageJsonPath =
|
|
735
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkTYTBAFZEjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
736
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
737
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, "Write package.json file");
|
|
738
|
+
const packageJsonPath = _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
739
739
|
context.options.projectRoot,
|
|
740
740
|
"project.json"
|
|
741
741
|
);
|
|
@@ -743,7 +743,7 @@ async function generatePackageJson(context) {
|
|
|
743
743
|
throw new Error("Cannot find package.json configuration");
|
|
744
744
|
}
|
|
745
745
|
const packageJsonFile = await _promises2.default.readFile(
|
|
746
|
-
|
|
746
|
+
_chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
747
747
|
context.workspaceConfig.workspaceRoot,
|
|
748
748
|
context.options.projectRoot,
|
|
749
749
|
"package.json"
|
|
@@ -849,7 +849,7 @@ async function generatePackageJson(context) {
|
|
|
849
849
|
}
|
|
850
850
|
}
|
|
851
851
|
await _devkit.writeJsonFile.call(void 0,
|
|
852
|
-
|
|
852
|
+
_chunkTYTBAFZEjs.joinPaths.call(void 0, context.outputPath, "package.json"),
|
|
853
853
|
packageJson
|
|
854
854
|
);
|
|
855
855
|
stopwatch();
|
|
@@ -861,12 +861,12 @@ async function generatePackageJson(context) {
|
|
|
861
861
|
var _tsup = require('tsup');
|
|
862
862
|
async function build(options) {
|
|
863
863
|
if (!options.silent) {
|
|
864
|
-
|
|
864
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0,
|
|
865
865
|
` \u{1F680} Running ${options.name || "tsup"} build`,
|
|
866
866
|
options.workspaceConfig
|
|
867
867
|
);
|
|
868
868
|
}
|
|
869
|
-
const stopwatch =
|
|
869
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
|
|
870
870
|
await _tsup.build.call(void 0, options);
|
|
871
871
|
if (!options.silent) {
|
|
872
872
|
stopwatch();
|
|
@@ -875,14 +875,14 @@ async function build(options) {
|
|
|
875
875
|
|
|
876
876
|
// ../esbuild/src/tsup.ts
|
|
877
877
|
async function executeTsup(context) {
|
|
878
|
-
|
|
878
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0,
|
|
879
879
|
` \u{1F680} Running ${context.options.name} build`,
|
|
880
880
|
context.workspaceConfig
|
|
881
881
|
);
|
|
882
|
-
const stopwatch =
|
|
882
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, `${context.options.name} build`);
|
|
883
883
|
await build({
|
|
884
884
|
...context.options,
|
|
885
|
-
outDir: context.options.distDir ?
|
|
885
|
+
outDir: context.options.distDir ? _chunkTYTBAFZEjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
886
886
|
workspaceConfig: context.workspaceConfig
|
|
887
887
|
});
|
|
888
888
|
stopwatch();
|
|
@@ -893,17 +893,17 @@ async function executeTsup(context) {
|
|
|
893
893
|
async function reportResults(context) {
|
|
894
894
|
if (_optionalChain([context, 'access', _36 => _36.result, 'optionalAccess', _37 => _37.errors, 'access', _38 => _38.length]) === 0) {
|
|
895
895
|
if (context.result.warnings.length > 0) {
|
|
896
|
-
|
|
896
|
+
_chunkTYTBAFZEjs.writeWarning.call(void 0,
|
|
897
897
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
898
898
|
context.workspaceConfig
|
|
899
899
|
);
|
|
900
900
|
}
|
|
901
|
-
|
|
901
|
+
_chunkTYTBAFZEjs.writeSuccess.call(void 0,
|
|
902
902
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
903
903
|
context.workspaceConfig
|
|
904
904
|
);
|
|
905
905
|
} 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) {
|
|
906
|
-
|
|
906
|
+
_chunkTYTBAFZEjs.writeError.call(void 0,
|
|
907
907
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
908
908
|
context.workspaceConfig
|
|
909
909
|
);
|
|
@@ -914,19 +914,19 @@ async function reportResults(context) {
|
|
|
914
914
|
}
|
|
915
915
|
async function cleanOutputPath(context) {
|
|
916
916
|
if (context.clean !== false && context.outputPath) {
|
|
917
|
-
|
|
917
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0,
|
|
918
918
|
` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
|
|
919
919
|
context.workspaceConfig
|
|
920
920
|
);
|
|
921
|
-
const stopwatch =
|
|
921
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
|
|
922
922
|
await cleanDirectories(context.outputPath);
|
|
923
923
|
stopwatch();
|
|
924
924
|
}
|
|
925
925
|
return context;
|
|
926
926
|
}
|
|
927
927
|
async function build2(options) {
|
|
928
|
-
|
|
929
|
-
const stopwatch =
|
|
928
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
|
|
929
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
930
930
|
try {
|
|
931
931
|
const opts = Array.isArray(options) ? options : [options];
|
|
932
932
|
if (opts.length === 0) {
|
|
@@ -941,9 +941,9 @@ async function build2(options) {
|
|
|
941
941
|
executeTsup(context)
|
|
942
942
|
]);
|
|
943
943
|
await reportResults(context);
|
|
944
|
-
|
|
944
|
+
_chunkTYTBAFZEjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
945
945
|
} catch (error) {
|
|
946
|
-
|
|
946
|
+
_chunkTYTBAFZEjs.writeFatal.call(void 0,
|
|
947
947
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
948
948
|
);
|
|
949
949
|
throw error;
|
|
@@ -954,7 +954,7 @@ async function build2(options) {
|
|
|
954
954
|
|
|
955
955
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
956
956
|
async function esbuildExecutorFn(options, context, config) {
|
|
957
|
-
|
|
957
|
+
_chunkTYTBAFZEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
958
958
|
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])) {
|
|
959
959
|
throw new Error(
|
|
960
960
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -975,7 +975,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
975
975
|
success: true
|
|
976
976
|
};
|
|
977
977
|
}
|
|
978
|
-
var executor_default6 =
|
|
978
|
+
var executor_default6 = _chunkTYTBAFZEjs.withRunExecutor.call(void 0,
|
|
979
979
|
"Storm ESBuild build",
|
|
980
980
|
esbuildExecutorFn,
|
|
981
981
|
{
|
|
@@ -996,7 +996,7 @@ var _jiti = require('jiti');
|
|
|
996
996
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
997
997
|
async function napiExecutor(options, context, config) {
|
|
998
998
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
999
|
-
fsCache: config.skipCache ? false :
|
|
999
|
+
fsCache: config.skipCache ? false : _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
1000
1000
|
config.workspaceRoot,
|
|
1001
1001
|
config.directories.cache || "node_modules/.cache/storm",
|
|
1002
1002
|
"jiti"
|
|
@@ -1012,53 +1012,53 @@ async function napiExecutor(options, context, config) {
|
|
|
1012
1012
|
);
|
|
1013
1013
|
}
|
|
1014
1014
|
const projectRoot = _optionalChain([context, 'access', _61 => _61.projectGraph, 'optionalAccess', _62 => _62.nodes, 'access', _63 => _63[_nullishCoalesce(context.projectName, () => ( ""))], 'access', _64 => _64.data, 'access', _65 => _65.root]);
|
|
1015
|
-
const packageJson =
|
|
1015
|
+
const packageJson = _chunkTYTBAFZEjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
1016
1016
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
1017
1017
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
1018
1018
|
}
|
|
1019
1019
|
const napi = new NapiCli();
|
|
1020
1020
|
const normalizedOptions = { ...options };
|
|
1021
1021
|
const metadata = cargoMetadata();
|
|
1022
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _66 => _66.target_directory]) ||
|
|
1022
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _66 => _66.target_directory]) || _chunkTYTBAFZEjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
1023
1023
|
normalizedOptions.outputDir = options.outputPath;
|
|
1024
1024
|
normalizedOptions.packageJsonPath = options.packageJsonPath || packageJson;
|
|
1025
1025
|
if (options.cwd) {
|
|
1026
|
-
normalizedOptions.cwd =
|
|
1026
|
+
normalizedOptions.cwd = _chunkTYTBAFZEjs.correctPaths.call(void 0, options.cwd);
|
|
1027
1027
|
} else {
|
|
1028
|
-
normalizedOptions.cwd =
|
|
1029
|
-
const absoluteProjectRoot =
|
|
1028
|
+
normalizedOptions.cwd = _chunkTYTBAFZEjs.correctPaths.call(void 0, projectRoot);
|
|
1029
|
+
const absoluteProjectRoot = _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
1030
1030
|
config.workspaceRoot,
|
|
1031
1031
|
projectRoot || "."
|
|
1032
1032
|
);
|
|
1033
1033
|
if (normalizedOptions.outputDir) {
|
|
1034
|
-
normalizedOptions.outputDir =
|
|
1034
|
+
normalizedOptions.outputDir = _chunkTYTBAFZEjs.relative.call(void 0,
|
|
1035
1035
|
absoluteProjectRoot,
|
|
1036
|
-
|
|
1037
|
-
|
|
1036
|
+
_chunkTYTBAFZEjs.correctPaths.call(void 0,
|
|
1037
|
+
_chunkTYTBAFZEjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkTYTBAFZEjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
1038
1038
|
)
|
|
1039
1039
|
);
|
|
1040
1040
|
}
|
|
1041
1041
|
if (normalizedOptions.packageJsonPath) {
|
|
1042
|
-
normalizedOptions.packageJsonPath =
|
|
1042
|
+
normalizedOptions.packageJsonPath = _chunkTYTBAFZEjs.relative.call(void 0,
|
|
1043
1043
|
absoluteProjectRoot,
|
|
1044
|
-
|
|
1045
|
-
|
|
1044
|
+
_chunkTYTBAFZEjs.correctPaths.call(void 0,
|
|
1045
|
+
_chunkTYTBAFZEjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkTYTBAFZEjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
1046
1046
|
)
|
|
1047
1047
|
);
|
|
1048
1048
|
}
|
|
1049
1049
|
if (normalizedOptions.configPath) {
|
|
1050
|
-
normalizedOptions.configPath =
|
|
1050
|
+
normalizedOptions.configPath = _chunkTYTBAFZEjs.relative.call(void 0,
|
|
1051
1051
|
absoluteProjectRoot,
|
|
1052
|
-
|
|
1053
|
-
|
|
1052
|
+
_chunkTYTBAFZEjs.correctPaths.call(void 0,
|
|
1053
|
+
_chunkTYTBAFZEjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkTYTBAFZEjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
1054
1054
|
)
|
|
1055
1055
|
);
|
|
1056
1056
|
}
|
|
1057
1057
|
if (normalizedOptions.manifestPath) {
|
|
1058
|
-
normalizedOptions.manifestPath =
|
|
1058
|
+
normalizedOptions.manifestPath = _chunkTYTBAFZEjs.relative.call(void 0,
|
|
1059
1059
|
absoluteProjectRoot,
|
|
1060
|
-
|
|
1061
|
-
|
|
1060
|
+
_chunkTYTBAFZEjs.correctPaths.call(void 0,
|
|
1061
|
+
_chunkTYTBAFZEjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkTYTBAFZEjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
1062
1062
|
)
|
|
1063
1063
|
);
|
|
1064
1064
|
}
|
|
@@ -1069,7 +1069,7 @@ async function napiExecutor(options, context, config) {
|
|
|
1069
1069
|
const { task } = await napi.build(normalizedOptions);
|
|
1070
1070
|
return { success: true, terminalOutput: await task };
|
|
1071
1071
|
}
|
|
1072
|
-
var executor_default7 =
|
|
1072
|
+
var executor_default7 = _chunkTYTBAFZEjs.withRunExecutor.call(void 0,
|
|
1073
1073
|
"Napi - Build Bindings",
|
|
1074
1074
|
napiExecutor,
|
|
1075
1075
|
{
|
|
@@ -1217,14 +1217,14 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
1217
1217
|
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
1218
1218
|
);
|
|
1219
1219
|
}
|
|
1220
|
-
|
|
1220
|
+
_chunkTYTBAFZEjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
1221
1221
|
_sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
|
|
1222
1222
|
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,
|
|
1223
1223
|
_nullishCoalesce(_optionalChain([context, 'access', _74 => _74.projectsConfigurations, 'access', _75 => _75.projects, 'access', _76 => _76[context.projectName], 'optionalAccess', _77 => _77.root]), () => ( "./")),
|
|
1224
1224
|
"src"
|
|
1225
1225
|
)))
|
|
1226
1226
|
}).then((result) => {
|
|
1227
|
-
|
|
1227
|
+
_chunkTYTBAFZEjs.writeInfo.call(void 0,
|
|
1228
1228
|
`\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
|
|
1229
1229
|
config
|
|
1230
1230
|
);
|
|
@@ -1233,7 +1233,7 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
1233
1233
|
success: true
|
|
1234
1234
|
};
|
|
1235
1235
|
}
|
|
1236
|
-
var executor_default8 =
|
|
1236
|
+
var executor_default8 = _chunkTYTBAFZEjs.withRunExecutor.call(void 0,
|
|
1237
1237
|
"Size-Limit Performance Test Executor",
|
|
1238
1238
|
sizeLimitExecutorFn,
|
|
1239
1239
|
{
|
|
@@ -1294,19 +1294,19 @@ function toTSDownFormat(format4) {
|
|
|
1294
1294
|
// ../tsdown/src/build.ts
|
|
1295
1295
|
var resolveOptions = async (userOptions) => {
|
|
1296
1296
|
const options = getDefaultOptions(userOptions);
|
|
1297
|
-
const workspaceRoot2 =
|
|
1297
|
+
const workspaceRoot2 = _chunkTYTBAFZEjs.findWorkspaceRoot.call(void 0, options.projectRoot);
|
|
1298
1298
|
if (!workspaceRoot2) {
|
|
1299
1299
|
throw new Error("Cannot find Nx workspace root");
|
|
1300
1300
|
}
|
|
1301
|
-
const workspaceConfig = await
|
|
1301
|
+
const workspaceConfig = await _chunkTYTBAFZEjs.getWorkspaceConfig.call(void 0, options.debug === true, {
|
|
1302
1302
|
workspaceRoot: workspaceRoot2
|
|
1303
1303
|
});
|
|
1304
|
-
|
|
1305
|
-
const stopwatch =
|
|
1304
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
1305
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, "Build options resolution");
|
|
1306
1306
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
1307
1307
|
exitOnError: true
|
|
1308
1308
|
});
|
|
1309
|
-
const projectJsonPath =
|
|
1309
|
+
const projectJsonPath = _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
1310
1310
|
workspaceRoot2,
|
|
1311
1311
|
options.projectRoot,
|
|
1312
1312
|
"project.json"
|
|
@@ -1323,7 +1323,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
1323
1323
|
"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."
|
|
1324
1324
|
);
|
|
1325
1325
|
}
|
|
1326
|
-
const packageJsonPath =
|
|
1326
|
+
const packageJsonPath = _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
1327
1327
|
workspaceRoot2,
|
|
1328
1328
|
options.projectRoot,
|
|
1329
1329
|
"package.json"
|
|
@@ -1332,13 +1332,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
1332
1332
|
throw new Error("Cannot find package.json configuration");
|
|
1333
1333
|
}
|
|
1334
1334
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
1335
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
1335
|
+
const sourceRoot = projectJson.sourceRoot || _chunkTYTBAFZEjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
1336
1336
|
const result = {
|
|
1337
1337
|
name: projectName,
|
|
1338
1338
|
mode: "production",
|
|
1339
1339
|
target: DEFAULT_TARGET,
|
|
1340
1340
|
generatePackageJson: true,
|
|
1341
|
-
outDir:
|
|
1341
|
+
outDir: _chunkTYTBAFZEjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
1342
1342
|
minify: !debug,
|
|
1343
1343
|
plugins: [],
|
|
1344
1344
|
assets: [],
|
|
@@ -1350,12 +1350,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
1350
1350
|
clean: false,
|
|
1351
1351
|
fixedExtension: true,
|
|
1352
1352
|
nodeProtocol: true,
|
|
1353
|
-
tsconfig:
|
|
1353
|
+
tsconfig: _chunkTYTBAFZEjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
1354
1354
|
debug,
|
|
1355
1355
|
sourceRoot,
|
|
1356
1356
|
cwd: workspaceConfig.workspaceRoot,
|
|
1357
1357
|
entry: {
|
|
1358
|
-
["index"]:
|
|
1358
|
+
["index"]: _chunkTYTBAFZEjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
1359
1359
|
},
|
|
1360
1360
|
workspace: true,
|
|
1361
1361
|
...options,
|
|
@@ -1374,15 +1374,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
1374
1374
|
return result;
|
|
1375
1375
|
};
|
|
1376
1376
|
async function generatePackageJson2(options) {
|
|
1377
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
1378
|
-
|
|
1379
|
-
const stopwatch =
|
|
1380
|
-
const packageJsonPath =
|
|
1377
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkTYTBAFZEjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
1378
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
1379
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, "Write package.json file");
|
|
1380
|
+
const packageJsonPath = _chunkTYTBAFZEjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
1381
1381
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1382
1382
|
throw new Error("Cannot find package.json configuration");
|
|
1383
1383
|
}
|
|
1384
1384
|
const packageJsonFile = await _promises2.default.readFile(
|
|
1385
|
-
|
|
1385
|
+
_chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
1386
1386
|
options.workspaceConfig.workspaceRoot,
|
|
1387
1387
|
options.projectRoot,
|
|
1388
1388
|
"package.json"
|
|
@@ -1444,14 +1444,14 @@ async function generatePackageJson2(options) {
|
|
|
1444
1444
|
},
|
|
1445
1445
|
packageJson.exports
|
|
1446
1446
|
);
|
|
1447
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
1447
|
+
await _devkit.writeJsonFile.call(void 0, _chunkTYTBAFZEjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
1448
1448
|
stopwatch();
|
|
1449
1449
|
}
|
|
1450
1450
|
return options;
|
|
1451
1451
|
}
|
|
1452
1452
|
async function executeTSDown(options) {
|
|
1453
|
-
|
|
1454
|
-
const stopwatch =
|
|
1453
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
1454
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, `${options.name} build`);
|
|
1455
1455
|
await _tsdown.build.call(void 0, {
|
|
1456
1456
|
...options,
|
|
1457
1457
|
entry: options.entry,
|
|
@@ -1461,11 +1461,11 @@ async function executeTSDown(options) {
|
|
|
1461
1461
|
return options;
|
|
1462
1462
|
}
|
|
1463
1463
|
async function copyBuildAssets2(options) {
|
|
1464
|
-
|
|
1464
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0,
|
|
1465
1465
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
1466
1466
|
options.workspaceConfig
|
|
1467
1467
|
);
|
|
1468
|
-
const stopwatch =
|
|
1468
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
1469
1469
|
await copyAssets(
|
|
1470
1470
|
options.workspaceConfig,
|
|
1471
1471
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
@@ -1479,18 +1479,18 @@ async function copyBuildAssets2(options) {
|
|
|
1479
1479
|
return options;
|
|
1480
1480
|
}
|
|
1481
1481
|
async function reportResults2(options) {
|
|
1482
|
-
|
|
1482
|
+
_chunkTYTBAFZEjs.writeSuccess.call(void 0,
|
|
1483
1483
|
` \u{1F4E6} The ${options.name} build completed successfully`,
|
|
1484
1484
|
options.workspaceConfig
|
|
1485
1485
|
);
|
|
1486
1486
|
}
|
|
1487
1487
|
async function cleanOutputPath2(options) {
|
|
1488
1488
|
if (options.clean !== false && options.workspaceConfig) {
|
|
1489
|
-
|
|
1489
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0,
|
|
1490
1490
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
|
|
1491
1491
|
options.workspaceConfig
|
|
1492
1492
|
);
|
|
1493
|
-
const stopwatch =
|
|
1493
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
1494
1494
|
await cleanDirectories2(
|
|
1495
1495
|
options.name,
|
|
1496
1496
|
options.outDir,
|
|
@@ -1501,8 +1501,8 @@ async function cleanOutputPath2(options) {
|
|
|
1501
1501
|
return options;
|
|
1502
1502
|
}
|
|
1503
1503
|
async function build3(options) {
|
|
1504
|
-
|
|
1505
|
-
const stopwatch =
|
|
1504
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
|
|
1505
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
1506
1506
|
try {
|
|
1507
1507
|
const opts = Array.isArray(options) ? options : [options];
|
|
1508
1508
|
if (opts.length === 0) {
|
|
@@ -1522,13 +1522,13 @@ async function build3(options) {
|
|
|
1522
1522
|
})
|
|
1523
1523
|
);
|
|
1524
1524
|
} else {
|
|
1525
|
-
|
|
1525
|
+
_chunkTYTBAFZEjs.writeWarning.call(void 0,
|
|
1526
1526
|
" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
|
|
1527
1527
|
);
|
|
1528
1528
|
}
|
|
1529
|
-
|
|
1529
|
+
_chunkTYTBAFZEjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
1530
1530
|
} catch (error) {
|
|
1531
|
-
|
|
1531
|
+
_chunkTYTBAFZEjs.writeFatal.call(void 0,
|
|
1532
1532
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
1533
1533
|
);
|
|
1534
1534
|
throw error;
|
|
@@ -1539,7 +1539,7 @@ async function build3(options) {
|
|
|
1539
1539
|
|
|
1540
1540
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
1541
1541
|
async function tsdownExecutorFn(options, context, config) {
|
|
1542
|
-
|
|
1542
|
+
_chunkTYTBAFZEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
|
|
1543
1543
|
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])) {
|
|
1544
1544
|
throw new Error(
|
|
1545
1545
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
@@ -1560,7 +1560,7 @@ async function tsdownExecutorFn(options, context, config) {
|
|
|
1560
1560
|
success: true
|
|
1561
1561
|
};
|
|
1562
1562
|
}
|
|
1563
|
-
var executor_default9 =
|
|
1563
|
+
var executor_default9 = _chunkTYTBAFZEjs.withRunExecutor.call(void 0,
|
|
1564
1564
|
"Storm TSDown build",
|
|
1565
1565
|
tsdownExecutorFn,
|
|
1566
1566
|
{
|
|
@@ -1581,12 +1581,12 @@ var _fsextra = require('fs-extra');
|
|
|
1581
1581
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
1582
1582
|
async function typiaExecutorFn(options, _, config) {
|
|
1583
1583
|
if (options.clean !== false) {
|
|
1584
|
-
|
|
1584
|
+
_chunkTYTBAFZEjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
|
|
1585
1585
|
_fsextra.removeSync.call(void 0, options.outputPath);
|
|
1586
1586
|
}
|
|
1587
1587
|
await Promise.all(
|
|
1588
1588
|
options.entry.map((entry) => {
|
|
1589
|
-
|
|
1589
|
+
_chunkTYTBAFZEjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
|
|
1590
1590
|
return _TypiaProgrammerjs.TypiaProgrammer.build({
|
|
1591
1591
|
input: entry,
|
|
1592
1592
|
output: options.outputPath,
|
|
@@ -1598,7 +1598,7 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
1598
1598
|
success: true
|
|
1599
1599
|
};
|
|
1600
1600
|
}
|
|
1601
|
-
var executor_default10 =
|
|
1601
|
+
var executor_default10 = _chunkTYTBAFZEjs.withRunExecutor.call(void 0,
|
|
1602
1602
|
"Typia runtime validation generator",
|
|
1603
1603
|
typiaExecutorFn,
|
|
1604
1604
|
{
|
|
@@ -1619,7 +1619,7 @@ var executor_default10 = _chunk25SEY6TKjs.withRunExecutor.call(void 0,
|
|
|
1619
1619
|
|
|
1620
1620
|
|
|
1621
1621
|
async function unbuildExecutorFn(options, context, config) {
|
|
1622
|
-
|
|
1622
|
+
_chunkTYTBAFZEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1623
1623
|
if (!_optionalChain([context, 'access', _94 => _94.projectsConfigurations, 'optionalAccess', _95 => _95.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1624
1624
|
throw new Error(
|
|
1625
1625
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
@@ -1636,7 +1636,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
1636
1636
|
);
|
|
1637
1637
|
}
|
|
1638
1638
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
1639
|
-
fsCache: config.skipCache ? false :
|
|
1639
|
+
fsCache: config.skipCache ? false : _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
1640
1640
|
config.workspaceRoot,
|
|
1641
1641
|
config.directories.cache || "node_modules/.cache/storm",
|
|
1642
1642
|
"jiti"
|
|
@@ -1658,7 +1658,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
1658
1658
|
{
|
|
1659
1659
|
stubOptions: {
|
|
1660
1660
|
jiti: {
|
|
1661
|
-
fsCache: config.skipCache ? false :
|
|
1661
|
+
fsCache: config.skipCache ? false : _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
1662
1662
|
config.workspaceRoot,
|
|
1663
1663
|
config.directories.cache || "node_modules/.cache/storm",
|
|
1664
1664
|
"jiti"
|
|
@@ -1687,7 +1687,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
1687
1687
|
success: true
|
|
1688
1688
|
};
|
|
1689
1689
|
}
|
|
1690
|
-
var executor_default11 =
|
|
1690
|
+
var executor_default11 = _chunkTYTBAFZEjs.withRunExecutor.call(void 0,
|
|
1691
1691
|
"TypeScript Unbuild build",
|
|
1692
1692
|
unbuildExecutorFn,
|
|
1693
1693
|
{
|
|
@@ -1718,45 +1718,45 @@ var executor_default11 = _chunk25SEY6TKjs.withRunExecutor.call(void 0,
|
|
|
1718
1718
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
1719
1719
|
skipReadingConfig: false
|
|
1720
1720
|
}) => async (tree, _options) => {
|
|
1721
|
-
const stopwatch =
|
|
1721
|
+
const stopwatch = _chunkTYTBAFZEjs.getStopwatch.call(void 0, name);
|
|
1722
1722
|
let options = _options;
|
|
1723
1723
|
let config;
|
|
1724
1724
|
try {
|
|
1725
|
-
|
|
1725
|
+
_chunkTYTBAFZEjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
|
|
1726
1726
|
|
|
1727
1727
|
`, config);
|
|
1728
|
-
const workspaceRoot2 =
|
|
1728
|
+
const workspaceRoot2 = _chunkTYTBAFZEjs.findWorkspaceRoot.call(void 0, );
|
|
1729
1729
|
if (!generatorOptions.skipReadingConfig) {
|
|
1730
|
-
|
|
1730
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0,
|
|
1731
1731
|
`Loading the Storm Config from environment variables and storm.config.js file...
|
|
1732
1732
|
- workspaceRoot: ${workspaceRoot2}`,
|
|
1733
1733
|
config
|
|
1734
1734
|
);
|
|
1735
|
-
config = await
|
|
1735
|
+
config = await _chunkTYTBAFZEjs.getConfig.call(void 0, workspaceRoot2);
|
|
1736
1736
|
}
|
|
1737
1737
|
if (_optionalChain([generatorOptions, 'optionalAccess', _96 => _96.hooks, 'optionalAccess', _97 => _97.applyDefaultOptions])) {
|
|
1738
|
-
|
|
1738
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
1739
1739
|
options = await Promise.resolve(
|
|
1740
1740
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
1741
1741
|
);
|
|
1742
|
-
|
|
1742
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
1743
1743
|
}
|
|
1744
|
-
|
|
1744
|
+
_chunkTYTBAFZEjs.writeTrace.call(void 0,
|
|
1745
1745
|
`Generator schema options \u2699\uFE0F
|
|
1746
1746
|
${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
|
|
1747
1747
|
config
|
|
1748
1748
|
);
|
|
1749
|
-
const tokenized = await
|
|
1749
|
+
const tokenized = await _chunkTYTBAFZEjs.applyWorkspaceTokens.call(void 0,
|
|
1750
1750
|
options,
|
|
1751
1751
|
{ workspaceRoot: tree.root, config },
|
|
1752
|
-
|
|
1752
|
+
_chunkTYTBAFZEjs.applyWorkspaceBaseTokens
|
|
1753
1753
|
);
|
|
1754
1754
|
if (_optionalChain([generatorOptions, 'optionalAccess', _98 => _98.hooks, 'optionalAccess', _99 => _99.preProcess])) {
|
|
1755
|
-
|
|
1755
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
1756
1756
|
await Promise.resolve(
|
|
1757
1757
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
1758
1758
|
);
|
|
1759
|
-
|
|
1759
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
1760
1760
|
}
|
|
1761
1761
|
const result = await Promise.resolve(
|
|
1762
1762
|
generatorFn(tree, tokenized, config)
|
|
@@ -1771,21 +1771,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1771
1771
|
}
|
|
1772
1772
|
}
|
|
1773
1773
|
if (_optionalChain([generatorOptions, 'optionalAccess', _109 => _109.hooks, 'optionalAccess', _110 => _110.postProcess])) {
|
|
1774
|
-
|
|
1774
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
1775
1775
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
1776
|
-
|
|
1776
|
+
_chunkTYTBAFZEjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
1777
1777
|
}
|
|
1778
1778
|
return () => {
|
|
1779
|
-
|
|
1779
|
+
_chunkTYTBAFZEjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
|
|
1780
1780
|
`, config);
|
|
1781
1781
|
};
|
|
1782
1782
|
} catch (error) {
|
|
1783
1783
|
return () => {
|
|
1784
|
-
|
|
1784
|
+
_chunkTYTBAFZEjs.writeFatal.call(void 0,
|
|
1785
1785
|
"A fatal error occurred while running the generator - the process was forced to terminate",
|
|
1786
1786
|
config
|
|
1787
1787
|
);
|
|
1788
|
-
|
|
1788
|
+
_chunkTYTBAFZEjs.writeError.call(void 0,
|
|
1789
1789
|
`An exception was thrown in the generator's process
|
|
1790
1790
|
- Details: ${error.message}
|
|
1791
1791
|
- Stacktrace: ${error.stack}`,
|
|
@@ -1851,16 +1851,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1851
1851
|
const projectConfig = {
|
|
1852
1852
|
root: normalized.directory,
|
|
1853
1853
|
projectType: "library",
|
|
1854
|
-
sourceRoot:
|
|
1854
|
+
sourceRoot: _chunkTYTBAFZEjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
1855
1855
|
targets: {
|
|
1856
1856
|
build: {
|
|
1857
1857
|
executor: options.buildExecutor,
|
|
1858
1858
|
outputs: ["{options.outputPath}"],
|
|
1859
1859
|
options: {
|
|
1860
|
-
entry: [
|
|
1860
|
+
entry: [_chunkTYTBAFZEjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
1861
1861
|
outputPath: getOutputPath(normalized),
|
|
1862
|
-
tsconfig:
|
|
1863
|
-
project:
|
|
1862
|
+
tsconfig: _chunkTYTBAFZEjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
1863
|
+
project: _chunkTYTBAFZEjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
1864
1864
|
defaultConfiguration: "production",
|
|
1865
1865
|
platform: "neutral",
|
|
1866
1866
|
assets: [
|
|
@@ -1917,7 +1917,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1917
1917
|
if (!normalized.importPath) {
|
|
1918
1918
|
normalized.importPath = normalized.name;
|
|
1919
1919
|
}
|
|
1920
|
-
const packageJsonPath =
|
|
1920
|
+
const packageJsonPath = _chunkTYTBAFZEjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
1921
1921
|
if (tree.exists(packageJsonPath)) {
|
|
1922
1922
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
1923
1923
|
if (!normalized.importPath) {
|
|
@@ -1974,14 +1974,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1974
1974
|
}));
|
|
1975
1975
|
}
|
|
1976
1976
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
1977
|
-
|
|
1977
|
+
_chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
1978
1978
|
normalized.projectRoot,
|
|
1979
1979
|
"./src",
|
|
1980
1980
|
`index.${normalized.js ? "js" : "ts"}`
|
|
1981
1981
|
)
|
|
1982
1982
|
]);
|
|
1983
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
1984
|
-
|
|
1983
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkTYTBAFZEjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
1984
|
+
_chunkTYTBAFZEjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
1985
1985
|
]);
|
|
1986
1986
|
if (tree.exists("package.json")) {
|
|
1987
1987
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -1992,7 +1992,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1992
1992
|
description = packageJson.description;
|
|
1993
1993
|
}
|
|
1994
1994
|
}
|
|
1995
|
-
const tsconfigPath =
|
|
1995
|
+
const tsconfigPath = _chunkTYTBAFZEjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
1996
1996
|
if (tree.exists(tsconfigPath)) {
|
|
1997
1997
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
1998
1998
|
json.composite ??= true;
|
|
@@ -2020,7 +2020,7 @@ function getOutputPath(options) {
|
|
|
2020
2020
|
} else {
|
|
2021
2021
|
parts.push(options.projectRoot);
|
|
2022
2022
|
}
|
|
2023
|
-
return
|
|
2023
|
+
return _chunkTYTBAFZEjs.joinPaths.call(void 0, ...parts);
|
|
2024
2024
|
}
|
|
2025
2025
|
function createProjectTsConfigJson(tree, options) {
|
|
2026
2026
|
const tsconfig = {
|
|
@@ -2028,7 +2028,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
2028
2028
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _125 => _125.tsconfigOptions]), () => ( {})),
|
|
2029
2029
|
compilerOptions: {
|
|
2030
2030
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
2031
|
-
outDir:
|
|
2031
|
+
outDir: _chunkTYTBAFZEjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
2032
2032
|
noEmit: true,
|
|
2033
2033
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _126 => _126.tsconfigOptions, 'optionalAccess', _127 => _127.compilerOptions]), () => ( {}))
|
|
2034
2034
|
},
|
|
@@ -2046,7 +2046,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
2046
2046
|
"src/**/*.test.ts"
|
|
2047
2047
|
]
|
|
2048
2048
|
};
|
|
2049
|
-
_devkit.writeJson.call(void 0, tree,
|
|
2049
|
+
_devkit.writeJson.call(void 0, tree, _chunkTYTBAFZEjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
2050
2050
|
}
|
|
2051
2051
|
async function normalizeOptions(tree, options, config) {
|
|
2052
2052
|
let importPath = options.importPath;
|
|
@@ -2111,7 +2111,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
2111
2111
|
|
|
2112
2112
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
2113
2113
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
2114
|
-
const filesDir =
|
|
2114
|
+
const filesDir = _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
2115
2115
|
__dirname,
|
|
2116
2116
|
"src",
|
|
2117
2117
|
"generators",
|
|
@@ -2194,38 +2194,38 @@ var generator_default = withRunGenerator(
|
|
|
2194
2194
|
|
|
2195
2195
|
var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
|
|
2196
2196
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
2197
|
-
|
|
2197
|
+
_chunkTYTBAFZEjs.writeInfo.call(void 0,
|
|
2198
2198
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
2199
2199
|
config
|
|
2200
2200
|
);
|
|
2201
|
-
|
|
2201
|
+
_chunkTYTBAFZEjs.writeTrace.call(void 0,
|
|
2202
2202
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
2203
2203
|
config
|
|
2204
2204
|
);
|
|
2205
|
-
const jsonSchema = z.toJSONSchema(
|
|
2205
|
+
const jsonSchema = z.toJSONSchema(_chunkTYTBAFZEjs.workspaceConfigSchema, {
|
|
2206
2206
|
target: "draft-7",
|
|
2207
|
-
metadata:
|
|
2207
|
+
metadata: _chunkTYTBAFZEjs.schemaRegistry
|
|
2208
2208
|
});
|
|
2209
2209
|
jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
|
|
2210
2210
|
jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
|
|
2211
2211
|
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.";
|
|
2212
|
-
|
|
2212
|
+
_chunkTYTBAFZEjs.writeTrace.call(void 0, jsonSchema, config);
|
|
2213
2213
|
if (!options.outputFile) {
|
|
2214
2214
|
throw new Error(
|
|
2215
2215
|
"The `outputFile` option is required. Please specify the output file path."
|
|
2216
2216
|
);
|
|
2217
2217
|
}
|
|
2218
2218
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
2219
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _136 => _136.workspaceRoot]), () => (
|
|
2219
|
+
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _136 => _136.workspaceRoot]), () => ( _chunkTYTBAFZEjs.findWorkspaceRoot.call(void 0, ))),
|
|
2220
2220
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
2221
2221
|
);
|
|
2222
|
-
|
|
2222
|
+
_chunkTYTBAFZEjs.writeTrace.call(void 0,
|
|
2223
2223
|
`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
|
|
2224
2224
|
config
|
|
2225
2225
|
);
|
|
2226
2226
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
|
|
2227
2227
|
await _devkit.formatFiles.call(void 0, tree);
|
|
2228
|
-
|
|
2228
|
+
_chunkTYTBAFZEjs.writeSuccess.call(void 0,
|
|
2229
2229
|
"\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
|
|
2230
2230
|
config
|
|
2231
2231
|
);
|
|
@@ -2281,7 +2281,7 @@ async function initGenerator(tree, schema) {
|
|
|
2281
2281
|
|
|
2282
2282
|
|
|
2283
2283
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
2284
|
-
const filesDir =
|
|
2284
|
+
const filesDir = _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
2285
2285
|
__dirname,
|
|
2286
2286
|
"src",
|
|
2287
2287
|
"generators",
|
|
@@ -2340,7 +2340,7 @@ var generator_default3 = withRunGenerator(
|
|
|
2340
2340
|
|
|
2341
2341
|
|
|
2342
2342
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
2343
|
-
const filesDir =
|
|
2343
|
+
const filesDir = _chunkTYTBAFZEjs.joinPaths.call(void 0,
|
|
2344
2344
|
__dirname,
|
|
2345
2345
|
"src",
|
|
2346
2346
|
"generators",
|