@storm-software/terraform-tools 0.54.19 → 0.54.20
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 +6 -0
- package/README.md +1 -1
- package/dist/{chunk-YD6YAH3D.js → chunk-25PTDMW6.js} +72 -58
- package/dist/{chunk-STXHLIEE.mjs → chunk-2ZZJNUXX.mjs} +36 -22
- package/dist/{chunk-PD7DIQ7D.mjs → chunk-BYGHUFW4.mjs} +1 -1
- package/dist/{chunk-K5R7Z4IA.mjs → chunk-GDIPTQU2.mjs} +1 -1
- package/dist/{chunk-W3S56D72.mjs → chunk-KWXOSOKO.mjs} +1 -1
- package/dist/{chunk-ZIPCZI7T.mjs → chunk-MBXPILHI.mjs} +1 -1
- package/dist/{chunk-XUV4U54K.mjs → chunk-R7DU2APC.mjs} +1 -1
- package/dist/{chunk-ZUYMYXE2.mjs → chunk-UQJF73ZV.mjs} +1 -1
- package/dist/{chunk-53LPW54Q.mjs → chunk-VWRPSPA5.mjs} +2 -2
- package/dist/executors.mjs +7 -7
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +3 -3
- package/dist/index.js +2 -2
- package/dist/index.mjs +8 -8
- package/dist/src/base/base-terraform-executor.untyped.mjs +1 -1
- package/dist/src/base/index.mjs +3 -3
- package/dist/src/base/terraform-executor.mjs +3 -3
- package/dist/src/executors/apply/executor.mjs +4 -4
- package/dist/src/executors/destroy/executor.mjs +4 -4
- package/dist/src/executors/output/executor.mjs +4 -4
- package/dist/src/executors/plan/executor.mjs +4 -4
- package/dist/src/generators/init/init.js +2 -2
- package/dist/src/generators/init/init.mjs +3 -3
- package/dist/tsup.config.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -349,7 +349,8 @@ var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
|
349
349
|
|
|
350
350
|
var _projectgraph = require('nx/src/project-graph/project-graph');
|
|
351
351
|
var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot3, projectRoot, projectName, packageJson) => {
|
|
352
|
-
const
|
|
352
|
+
const projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
|
|
353
|
+
const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
|
|
353
354
|
const localPackages = [];
|
|
354
355
|
for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot3)) {
|
|
355
356
|
const projectNode = project.node;
|
|
@@ -366,26 +367,38 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
|
|
|
366
367
|
}
|
|
367
368
|
if (localPackages.length > 0) {
|
|
368
369
|
_chunkGCCFZEDUjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
370
|
+
const projectJsonFile = await _promises.readFile.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
|
|
371
|
+
const projectJson = JSON.parse(projectJsonFile);
|
|
372
|
+
const projectName2 = projectJson.name;
|
|
373
|
+
const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
374
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _5 => _5.projects, 'optionalAccess', _6 => _6[projectName2]])) {
|
|
375
|
+
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
376
|
+
}
|
|
377
|
+
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _7 => _7.projects, 'optionalAccess', _8 => _8[projectName2], 'access', _9 => _9.implicitDependencies, 'optionalAccess', _10 => _10.reduce, 'call', _11 => _11((ret, dep) => {
|
|
378
|
+
if (_optionalChain([projectConfigurations, 'access', _12 => _12.projects, 'optionalAccess', _13 => _13[dep]])) {
|
|
379
|
+
const depPackageJsonPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, workspaceRoot3, projectConfigurations.projects[dep].root, "package.json");
|
|
380
|
+
if (_fs.existsSync.call(void 0, depPackageJsonPath)) {
|
|
381
|
+
const depPackageJsonContent = _fs.readFileSync.call(void 0, depPackageJsonPath, "utf8");
|
|
382
|
+
const depPackageJson = JSON.parse(depPackageJsonContent);
|
|
383
|
+
if (depPackageJson.private !== true && !ret.includes(depPackageJson.name)) {
|
|
384
|
+
ret.push(depPackageJson.name);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
372
387
|
}
|
|
373
388
|
return ret;
|
|
374
|
-
},
|
|
375
|
-
packageJson.
|
|
376
|
-
if (!ret[localPackage.name]) {
|
|
377
|
-
ret[localPackage.name] = {
|
|
378
|
-
optional: false
|
|
379
|
-
};
|
|
389
|
+
}, [])]);
|
|
390
|
+
packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
|
|
391
|
+
if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _14 => _14.includes, 'call', _15 => _15(localPackage.name)])) {
|
|
392
|
+
ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
|
|
380
393
|
}
|
|
381
394
|
return ret;
|
|
382
|
-
}, _nullishCoalesce(packageJson.
|
|
395
|
+
}, _nullishCoalesce(packageJson.dependencies, () => ( {})));
|
|
383
396
|
packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
|
|
384
|
-
if (!ret[localPackage.name]) {
|
|
397
|
+
if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _16 => _16.includes, 'call', _17 => _17(localPackage.name)])) {
|
|
385
398
|
ret[localPackage.name] = localPackage.version || "0.0.1";
|
|
386
399
|
}
|
|
387
400
|
return ret;
|
|
388
|
-
}, _nullishCoalesce(packageJson.
|
|
401
|
+
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
389
402
|
} else {
|
|
390
403
|
_chunkGCCFZEDUjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
391
404
|
}
|
|
@@ -617,15 +630,15 @@ var RendererEngine = class {
|
|
|
617
630
|
if (!relativePath.startsWith("\\\\?\\")) {
|
|
618
631
|
relativePath = relativePath.replace(/\\/g, "/");
|
|
619
632
|
}
|
|
620
|
-
const meta = _optionalChain([metafile, 'optionalAccess',
|
|
633
|
+
const meta = _optionalChain([metafile, 'optionalAccess', _18 => _18.outputs, 'access', _19 => _19[relativePath]]);
|
|
621
634
|
return {
|
|
622
635
|
type: "chunk",
|
|
623
636
|
path: file.path,
|
|
624
637
|
code: file.text,
|
|
625
|
-
map: _optionalChain([outputFiles, 'access',
|
|
626
|
-
entryPoint: _optionalChain([meta, 'optionalAccess',
|
|
627
|
-
exports: _optionalChain([meta, 'optionalAccess',
|
|
628
|
-
imports: _optionalChain([meta, 'optionalAccess',
|
|
638
|
+
map: _optionalChain([outputFiles, 'access', _20 => _20.find, 'call', _21 => _21((f) => f.path === `${file.path}.map`), 'optionalAccess', _22 => _22.text]),
|
|
639
|
+
entryPoint: _optionalChain([meta, 'optionalAccess', _23 => _23.entryPoint]),
|
|
640
|
+
exports: _optionalChain([meta, 'optionalAccess', _24 => _24.exports]),
|
|
641
|
+
imports: _optionalChain([meta, 'optionalAccess', _25 => _25.imports])
|
|
629
642
|
};
|
|
630
643
|
} else {
|
|
631
644
|
return {
|
|
@@ -708,7 +721,7 @@ var esmSplitCodeToCjsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void
|
|
|
708
721
|
name: "storm:esm-split-code-to-cjs",
|
|
709
722
|
setup(build5) {
|
|
710
723
|
build5.onEnd(async (result) => {
|
|
711
|
-
const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access',
|
|
724
|
+
const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _26 => _26.metafile, 'optionalAccess', _27 => _27.outputs]), () => ( {})));
|
|
712
725
|
const jsFiles = outFiles.filter((f) => f.endsWith("js"));
|
|
713
726
|
await esbuild.build({
|
|
714
727
|
outdir: resolvedOptions.outdir,
|
|
@@ -830,7 +843,7 @@ ${result.errors.map((error) => error.text).join("\n")}
|
|
|
830
843
|
// ../esbuild/src/plugins/resolve-paths.ts
|
|
831
844
|
|
|
832
845
|
function resolvePathsConfig(options, cwd) {
|
|
833
|
-
if (_optionalChain([options, 'optionalAccess',
|
|
846
|
+
if (_optionalChain([options, 'optionalAccess', _28 => _28.compilerOptions, 'optionalAccess', _29 => _29.paths])) {
|
|
834
847
|
const paths = Object.entries(options.compilerOptions.paths);
|
|
835
848
|
const resolvedPaths = paths.map(([key, paths2]) => {
|
|
836
849
|
return [
|
|
@@ -858,7 +871,7 @@ var resolvePathsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (o
|
|
|
858
871
|
build5.onResolve({
|
|
859
872
|
filter: packagesRegex
|
|
860
873
|
}, (args) => {
|
|
861
|
-
if (_optionalChain([build5, 'access',
|
|
874
|
+
if (_optionalChain([build5, 'access', _30 => _30.initialOptions, 'access', _31 => _31.external, 'optionalAccess', _32 => _32.includes, 'call', _33 => _33(args.path)])) {
|
|
862
875
|
return {
|
|
863
876
|
path: args.path,
|
|
864
877
|
external: true
|
|
@@ -967,7 +980,7 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
|
|
|
967
980
|
function getTypeDependencyPackageName(npmPackage) {
|
|
968
981
|
if (npmPackage.startsWith("@")) {
|
|
969
982
|
const [scope, name] = npmPackage.split("/");
|
|
970
|
-
return `@types/${_optionalChain([scope, 'optionalAccess',
|
|
983
|
+
return `@types/${_optionalChain([scope, 'optionalAccess', _34 => _34.slice, 'call', _35 => _35(1)])}__${name}`;
|
|
971
984
|
}
|
|
972
985
|
return `@types/${npmPackage}`;
|
|
973
986
|
}
|
|
@@ -1174,7 +1187,7 @@ function pipeSync(fn, ...fns) {
|
|
|
1174
1187
|
return (...args) => {
|
|
1175
1188
|
let result = fn(...args);
|
|
1176
1189
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
1177
|
-
result = _optionalChain([fns, 'access',
|
|
1190
|
+
result = _optionalChain([fns, 'access', _36 => _36[i], 'optionalCall', _37 => _37(result)]);
|
|
1178
1191
|
}
|
|
1179
1192
|
return result;
|
|
1180
1193
|
};
|
|
@@ -1184,7 +1197,7 @@ function pipeAsync(fn, ...fns) {
|
|
|
1184
1197
|
return async (...args) => {
|
|
1185
1198
|
let result = await fn(...args);
|
|
1186
1199
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
1187
|
-
result = await _optionalChain([fns, 'access',
|
|
1200
|
+
result = await _optionalChain([fns, 'access', _38 => _38[i], 'optionalCall', _39 => _39(result)]);
|
|
1188
1201
|
}
|
|
1189
1202
|
return result;
|
|
1190
1203
|
};
|
|
@@ -1214,7 +1227,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
1214
1227
|
const projectJson = JSON.parse(projectJsonFile);
|
|
1215
1228
|
const projectName = projectJson.name;
|
|
1216
1229
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1217
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
1230
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _40 => _40.projects, 'optionalAccess', _41 => _41[projectName]])) {
|
|
1218
1231
|
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
1219
1232
|
}
|
|
1220
1233
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
@@ -1392,7 +1405,7 @@ async function executeEsBuild(context2) {
|
|
|
1392
1405
|
}
|
|
1393
1406
|
_chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
1394
1407
|
async function copyBuildAssets(context2) {
|
|
1395
|
-
if (_optionalChain([context2, 'access',
|
|
1408
|
+
if (_optionalChain([context2, 'access', _42 => _42.result, 'optionalAccess', _43 => _43.errors, 'access', _44 => _44.length]) === 0) {
|
|
1396
1409
|
_chunkGCCFZEDUjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
1397
1410
|
const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
1398
1411
|
await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
@@ -1402,7 +1415,7 @@ async function copyBuildAssets(context2) {
|
|
|
1402
1415
|
}
|
|
1403
1416
|
_chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
1404
1417
|
async function reportResults(context2) {
|
|
1405
|
-
if (_optionalChain([context2, 'access',
|
|
1418
|
+
if (_optionalChain([context2, 'access', _45 => _45.result, 'optionalAccess', _46 => _46.errors, 'access', _47 => _47.length]) === 0) {
|
|
1406
1419
|
if (context2.result.warnings.length > 0) {
|
|
1407
1420
|
_chunkGCCFZEDUjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
|
|
1408
1421
|
}
|
|
@@ -1503,14 +1516,14 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
|
|
|
1503
1516
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
1504
1517
|
async function esbuildExecutorFn(options, context2, config) {
|
|
1505
1518
|
_chunkGCCFZEDUjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1506
|
-
if (!_optionalChain([context2, 'access',
|
|
1519
|
+
if (!_optionalChain([context2, 'access', _48 => _48.projectsConfigurations, 'optionalAccess', _49 => _49.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _50 => _50.projectsConfigurations, 'access', _51 => _51.projects, 'access', _52 => _52[context2.projectName], 'optionalAccess', _53 => _53.root])) {
|
|
1507
1520
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
1508
1521
|
}
|
|
1509
1522
|
await build3({
|
|
1510
1523
|
...options,
|
|
1511
|
-
projectRoot: _optionalChain([context2, 'access',
|
|
1524
|
+
projectRoot: _optionalChain([context2, 'access', _54 => _54.projectsConfigurations, 'access', _55 => _55.projects, 'optionalAccess', _56 => _56[context2.projectName], 'access', _57 => _57.root]),
|
|
1512
1525
|
projectName: context2.projectName,
|
|
1513
|
-
sourceRoot: _optionalChain([context2, 'access',
|
|
1526
|
+
sourceRoot: _optionalChain([context2, 'access', _58 => _58.projectsConfigurations, 'access', _59 => _59.projects, 'optionalAccess', _60 => _60[context2.projectName], 'optionalAccess', _61 => _61.sourceRoot]),
|
|
1514
1527
|
format: options.format,
|
|
1515
1528
|
platform: options.format
|
|
1516
1529
|
});
|
|
@@ -1553,7 +1566,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
1553
1566
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
1554
1567
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
1555
1568
|
async function sizeLimitExecutorFn(options, context2, config) {
|
|
1556
|
-
if (!_optionalChain([context2, 'optionalAccess',
|
|
1569
|
+
if (!_optionalChain([context2, 'optionalAccess', _62 => _62.projectName]) || !_optionalChain([context2, 'access', _63 => _63.projectsConfigurations, 'optionalAccess', _64 => _64.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
1557
1570
|
throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
|
|
1558
1571
|
}
|
|
1559
1572
|
_chunkGCCFZEDUjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
|
|
@@ -1562,7 +1575,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
|
|
|
1562
1575
|
_esbuild3.default,
|
|
1563
1576
|
_esbuildwhy2.default
|
|
1564
1577
|
], {
|
|
1565
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access',
|
|
1578
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _65 => _65.projectsConfigurations, 'access', _66 => _66.projects, 'access', _67 => _67[context2.projectName], 'optionalAccess', _68 => _68.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _69 => _69.projectsConfigurations, 'access', _70 => _70.projects, 'access', _71 => _71[context2.projectName], 'optionalAccess', _72 => _72.root]), () => ( "./")), "src")))
|
|
1566
1579
|
}).then((result) => {
|
|
1567
1580
|
_chunkGCCFZEDUjs.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
|
|
1568
1581
|
});
|
|
@@ -1641,7 +1654,7 @@ var resolveOptions2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
1641
1654
|
const projectJson = JSON.parse(projectJsonFile);
|
|
1642
1655
|
const projectName = projectJson.name;
|
|
1643
1656
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1644
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
1657
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _73 => _73.projects, 'optionalAccess', _74 => _74[projectName]])) {
|
|
1645
1658
|
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
1646
1659
|
}
|
|
1647
1660
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS2);
|
|
@@ -1825,14 +1838,14 @@ _chunk3GQAWCBQjs.__name.call(void 0, build4, "build");
|
|
|
1825
1838
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
1826
1839
|
async function tsdownExecutorFn(options, context2, config) {
|
|
1827
1840
|
_chunkGCCFZEDUjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
|
|
1828
|
-
if (!_optionalChain([context2, 'access',
|
|
1841
|
+
if (!_optionalChain([context2, 'access', _75 => _75.projectsConfigurations, 'optionalAccess', _76 => _76.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _77 => _77.projectsConfigurations, 'access', _78 => _78.projects, 'access', _79 => _79[context2.projectName], 'optionalAccess', _80 => _80.root])) {
|
|
1829
1842
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
1830
1843
|
}
|
|
1831
1844
|
await build4({
|
|
1832
1845
|
...options,
|
|
1833
|
-
projectRoot: _optionalChain([context2, 'access',
|
|
1846
|
+
projectRoot: _optionalChain([context2, 'access', _81 => _81.projectsConfigurations, 'access', _82 => _82.projects, 'optionalAccess', _83 => _83[context2.projectName], 'access', _84 => _84.root]),
|
|
1834
1847
|
projectName: context2.projectName,
|
|
1835
|
-
sourceRoot: _optionalChain([context2, 'access',
|
|
1848
|
+
sourceRoot: _optionalChain([context2, 'access', _85 => _85.projectsConfigurations, 'access', _86 => _86.projects, 'optionalAccess', _87 => _87[context2.projectName], 'optionalAccess', _88 => _88.sourceRoot]),
|
|
1836
1849
|
format: options.format,
|
|
1837
1850
|
platform: options.platform
|
|
1838
1851
|
});
|
|
@@ -1896,7 +1909,7 @@ var executor_default9 = _chunkGCCFZEDUjs.withRunExecutor.call(void 0, "Typia run
|
|
|
1896
1909
|
var _jiti = require('jiti');
|
|
1897
1910
|
async function unbuildExecutorFn(options, context2, config) {
|
|
1898
1911
|
_chunkGCCFZEDUjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1899
|
-
if (!_optionalChain([context2, 'access',
|
|
1912
|
+
if (!_optionalChain([context2, 'access', _89 => _89.projectsConfigurations, 'optionalAccess', _90 => _90.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
1900
1913
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
|
|
1901
1914
|
}
|
|
1902
1915
|
if (!context2.projectsConfigurations.projects[context2.projectName].root) {
|
|
@@ -1979,7 +1992,7 @@ var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (nam
|
|
|
1979
1992
|
- workspaceRoot: ${workspaceRoot3}`, config);
|
|
1980
1993
|
config = await _chunkGCCFZEDUjs.getConfig.call(void 0, workspaceRoot3);
|
|
1981
1994
|
}
|
|
1982
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1995
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _91 => _91.hooks, 'optionalAccess', _92 => _92.applyDefaultOptions])) {
|
|
1983
1996
|
_chunkGCCFZEDUjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
1984
1997
|
options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
|
|
1985
1998
|
_chunkGCCFZEDUjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
@@ -1990,22 +2003,22 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1990
2003
|
workspaceRoot: tree.root,
|
|
1991
2004
|
config
|
|
1992
2005
|
}, _chunkGCCFZEDUjs.applyWorkspaceBaseTokens);
|
|
1993
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
2006
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _93 => _93.hooks, 'optionalAccess', _94 => _94.preProcess])) {
|
|
1994
2007
|
_chunkGCCFZEDUjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
1995
2008
|
await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
|
|
1996
2009
|
_chunkGCCFZEDUjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
1997
2010
|
}
|
|
1998
2011
|
const result = await Promise.resolve(generatorFn(tree, tokenized, config));
|
|
1999
2012
|
if (result) {
|
|
2000
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
2013
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _95 => _95.error, 'optionalAccess', _96 => _96.message]) && typeof _optionalChain([result, 'optionalAccess', _97 => _97.error, 'optionalAccess', _98 => _98.message]) === "string" && _optionalChain([result, 'optionalAccess', _99 => _99.error, 'optionalAccess', _100 => _100.name]) && typeof _optionalChain([result, 'optionalAccess', _101 => _101.error, 'optionalAccess', _102 => _102.name]) === "string") {
|
|
2001
2014
|
throw new Error(`The ${name} generator failed to run`, {
|
|
2002
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
2015
|
+
cause: _optionalChain([result, 'optionalAccess', _103 => _103.error])
|
|
2003
2016
|
});
|
|
2004
2017
|
} else if (result.success && result.data) {
|
|
2005
2018
|
return result;
|
|
2006
2019
|
}
|
|
2007
2020
|
}
|
|
2008
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
2021
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _104 => _104.hooks, 'optionalAccess', _105 => _105.postProcess])) {
|
|
2009
2022
|
_chunkGCCFZEDUjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
2010
2023
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
2011
2024
|
_chunkGCCFZEDUjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
@@ -2171,15 +2184,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2171
2184
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
2172
2185
|
let repository = {
|
|
2173
2186
|
type: "github",
|
|
2174
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
2187
|
+
url: _optionalChain([config, 'optionalAccess', _106 => _106.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _107 => _107.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _108 => _108.namespace]) || _optionalChain([config, 'optionalAccess', _109 => _109.name]) || "repository"}.git`
|
|
2175
2188
|
};
|
|
2176
2189
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
2177
2190
|
if (tree.exists("package.json")) {
|
|
2178
2191
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
2179
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2192
|
+
if (_optionalChain([packageJson, 'optionalAccess', _110 => _110.repository])) {
|
|
2180
2193
|
repository = packageJson.repository;
|
|
2181
2194
|
}
|
|
2182
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2195
|
+
if (_optionalChain([packageJson, 'optionalAccess', _111 => _111.description])) {
|
|
2183
2196
|
description = packageJson.description;
|
|
2184
2197
|
}
|
|
2185
2198
|
}
|
|
@@ -2234,9 +2247,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2234
2247
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
2235
2248
|
...json,
|
|
2236
2249
|
pnpm: {
|
|
2237
|
-
..._optionalChain([json, 'optionalAccess',
|
|
2250
|
+
..._optionalChain([json, 'optionalAccess', _112 => _112.pnpm]),
|
|
2238
2251
|
overrides: {
|
|
2239
|
-
..._optionalChain([json, 'optionalAccess',
|
|
2252
|
+
..._optionalChain([json, 'optionalAccess', _113 => _113.pnpm, 'optionalAccess', _114 => _114.overrides]),
|
|
2240
2253
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
2241
2254
|
}
|
|
2242
2255
|
}
|
|
@@ -2250,10 +2263,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
2250
2263
|
]);
|
|
2251
2264
|
if (tree.exists("package.json")) {
|
|
2252
2265
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
2253
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2266
|
+
if (_optionalChain([packageJson, 'optionalAccess', _115 => _115.repository])) {
|
|
2254
2267
|
repository = packageJson.repository;
|
|
2255
2268
|
}
|
|
2256
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2269
|
+
if (_optionalChain([packageJson, 'optionalAccess', _116 => _116.description])) {
|
|
2257
2270
|
description = packageJson.description;
|
|
2258
2271
|
}
|
|
2259
2272
|
}
|
|
@@ -2301,24 +2314,24 @@ _chunk3GQAWCBQjs.__name.call(void 0, getOutputPath, "getOutputPath");
|
|
|
2301
2314
|
function createProjectTsConfigJson(tree, options) {
|
|
2302
2315
|
const tsconfig = {
|
|
2303
2316
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
2304
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2317
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _117 => _117.tsconfigOptions]), () => ( {})),
|
|
2305
2318
|
compilerOptions: {
|
|
2306
2319
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
2307
2320
|
outDir: _chunkGCCFZEDUjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
2308
2321
|
noEmit: true,
|
|
2309
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2322
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _118 => _118.tsconfigOptions, 'optionalAccess', _119 => _119.compilerOptions]), () => ( {}))
|
|
2310
2323
|
},
|
|
2311
2324
|
files: [
|
|
2312
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2325
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _120 => _120.tsconfigOptions, 'optionalAccess', _121 => _121.files]), () => ( []))
|
|
2313
2326
|
],
|
|
2314
2327
|
include: [
|
|
2315
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2328
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _122 => _122.tsconfigOptions, 'optionalAccess', _123 => _123.include]), () => ( [])),
|
|
2316
2329
|
"src/**/*.ts",
|
|
2317
2330
|
"src/**/*.js",
|
|
2318
2331
|
"bin/**/*"
|
|
2319
2332
|
],
|
|
2320
2333
|
exclude: [
|
|
2321
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2334
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _124 => _124.tsconfigOptions, 'optionalAccess', _125 => _125.exclude]), () => ( [])),
|
|
2322
2335
|
"jest.config.ts",
|
|
2323
2336
|
"src/**/*.spec.ts",
|
|
2324
2337
|
"src/**/*.test.ts"
|
|
@@ -2329,8 +2342,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
2329
2342
|
_chunk3GQAWCBQjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
|
|
2330
2343
|
async function normalizeOptions(tree, options, config) {
|
|
2331
2344
|
let importPath = options.importPath;
|
|
2332
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
2333
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
2345
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _126 => _126.namespace])) {
|
|
2346
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _127 => _127.namespace])}/${options.name}`;
|
|
2334
2347
|
}
|
|
2335
2348
|
if (options.publishable) {
|
|
2336
2349
|
if (!importPath) {
|
|
@@ -2376,7 +2389,8 @@ async function normalizeOptions(tree, options, config) {
|
|
|
2376
2389
|
projectRoot,
|
|
2377
2390
|
parsedTags: options.tags ? options.tags.split(",").map((s) => s.trim()) : [],
|
|
2378
2391
|
importPath: normalizedImportPath,
|
|
2379
|
-
rootProject
|
|
2392
|
+
rootProject,
|
|
2393
|
+
shouldUseSwcJest: false
|
|
2380
2394
|
};
|
|
2381
2395
|
}
|
|
2382
2396
|
_chunk3GQAWCBQjs.__name.call(void 0, normalizeOptions, "normalizeOptions");
|
|
@@ -2461,7 +2475,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
2461
2475
|
name: "StormWorkspaceConfiguration"
|
|
2462
2476
|
});
|
|
2463
2477
|
_chunkGCCFZEDUjs.writeTrace.call(void 0, jsonSchema, config);
|
|
2464
|
-
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2478
|
+
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _128 => _128.workspaceRoot]), () => ( _chunkGCCFZEDUjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _129 => _129.outputFile, 'optionalAccess', _130 => _130.startsWith, 'call', _131 => _131("./")]) ? "" : "./");
|
|
2465
2479
|
_chunkGCCFZEDUjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
2466
2480
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
|
|
2467
2481
|
spaces: 2
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
writeSuccess,
|
|
18
18
|
writeTrace,
|
|
19
19
|
writeWarning
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KWXOSOKO.mjs";
|
|
21
21
|
import {
|
|
22
22
|
__dirname,
|
|
23
23
|
__name,
|
|
24
24
|
__require
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-R7DU2APC.mjs";
|
|
26
26
|
|
|
27
27
|
// src/generators/init/init.ts
|
|
28
28
|
import { formatFiles as formatFiles9 } from "@nx/devkit";
|
|
@@ -262,7 +262,7 @@ import { logger } from "@nx/devkit";
|
|
|
262
262
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
263
263
|
|
|
264
264
|
// ../esbuild/src/build.ts
|
|
265
|
-
import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph, writeJsonFile } from "@nx/devkit";
|
|
265
|
+
import { createProjectGraphAsync, readProjectsConfigurationFromProjectGraph as readProjectsConfigurationFromProjectGraph2, writeJsonFile } from "@nx/devkit";
|
|
266
266
|
|
|
267
267
|
// ../build-tools/src/config.ts
|
|
268
268
|
var DEFAULT_COMPILED_BANNER = `
|
|
@@ -346,11 +346,12 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
346
346
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
347
347
|
import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
|
|
348
348
|
import { Glob } from "glob";
|
|
349
|
-
import { existsSync } from "node:fs";
|
|
349
|
+
import { existsSync, readFileSync as readFileSync2 } from "node:fs";
|
|
350
350
|
import { readFile as readFile2 } from "node:fs/promises";
|
|
351
|
-
import { readCachedProjectGraph } from "nx/src/project-graph/project-graph";
|
|
351
|
+
import { readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
|
|
352
352
|
var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot3, projectRoot, projectName, packageJson) => {
|
|
353
|
-
const
|
|
353
|
+
const projectGraph = readCachedProjectGraph();
|
|
354
|
+
const projectDependencies = calculateProjectBuildableDependencies(void 0, projectGraph, workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
|
|
354
355
|
const localPackages = [];
|
|
355
356
|
for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot3)) {
|
|
356
357
|
const projectNode = project.node;
|
|
@@ -367,26 +368,38 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot3, proje
|
|
|
367
368
|
}
|
|
368
369
|
if (localPackages.length > 0) {
|
|
369
370
|
writeTrace(`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
371
|
+
const projectJsonFile = await readFile2(joinPaths(projectRoot, "project.json"), "utf8");
|
|
372
|
+
const projectJson = JSON.parse(projectJsonFile);
|
|
373
|
+
const projectName2 = projectJson.name;
|
|
374
|
+
const projectConfigurations = readProjectsConfigurationFromProjectGraph(projectGraph);
|
|
375
|
+
if (!projectConfigurations?.projects?.[projectName2]) {
|
|
376
|
+
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
377
|
+
}
|
|
378
|
+
const implicitDependencies = projectConfigurations.projects?.[projectName2].implicitDependencies?.reduce((ret, dep) => {
|
|
379
|
+
if (projectConfigurations.projects?.[dep]) {
|
|
380
|
+
const depPackageJsonPath = joinPaths(workspaceRoot3, projectConfigurations.projects[dep].root, "package.json");
|
|
381
|
+
if (existsSync(depPackageJsonPath)) {
|
|
382
|
+
const depPackageJsonContent = readFileSync2(depPackageJsonPath, "utf8");
|
|
383
|
+
const depPackageJson = JSON.parse(depPackageJsonContent);
|
|
384
|
+
if (depPackageJson.private !== true && !ret.includes(depPackageJson.name)) {
|
|
385
|
+
ret.push(depPackageJson.name);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
373
388
|
}
|
|
374
389
|
return ret;
|
|
375
|
-
},
|
|
376
|
-
packageJson.
|
|
377
|
-
if (!ret[localPackage.name]) {
|
|
378
|
-
ret[localPackage.name] = {
|
|
379
|
-
optional: false
|
|
380
|
-
};
|
|
390
|
+
}, []);
|
|
391
|
+
packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
|
|
392
|
+
if (!ret[localPackage.name] && !implicitDependencies?.includes(localPackage.name)) {
|
|
393
|
+
ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
|
|
381
394
|
}
|
|
382
395
|
return ret;
|
|
383
|
-
}, packageJson.
|
|
396
|
+
}, packageJson.dependencies ?? {});
|
|
384
397
|
packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
|
|
385
|
-
if (!ret[localPackage.name]) {
|
|
398
|
+
if (!ret[localPackage.name] && implicitDependencies?.includes(localPackage.name)) {
|
|
386
399
|
ret[localPackage.name] = localPackage.version || "0.0.1";
|
|
387
400
|
}
|
|
388
401
|
return ret;
|
|
389
|
-
}, packageJson.
|
|
402
|
+
}, packageJson.devDependencies ?? {});
|
|
390
403
|
} else {
|
|
391
404
|
writeTrace("\u{1F4E6} No local packages dependencies to add to package.json");
|
|
392
405
|
}
|
|
@@ -1214,7 +1227,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1214
1227
|
const projectJsonFile = await hf.readFile(projectJsonPath, "utf8");
|
|
1215
1228
|
const projectJson = JSON.parse(projectJsonFile);
|
|
1216
1229
|
const projectName = projectJson.name;
|
|
1217
|
-
const projectConfigurations =
|
|
1230
|
+
const projectConfigurations = readProjectsConfigurationFromProjectGraph2(projectGraph);
|
|
1218
1231
|
if (!projectConfigurations?.projects?.[projectName]) {
|
|
1219
1232
|
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
1220
1233
|
}
|
|
@@ -1582,7 +1595,7 @@ var executor_default7 = withRunExecutor("Size-Limit Performance Test Executor",
|
|
|
1582
1595
|
});
|
|
1583
1596
|
|
|
1584
1597
|
// ../tsdown/src/build.ts
|
|
1585
|
-
import { createProjectGraphAsync as createProjectGraphAsync2, readProjectsConfigurationFromProjectGraph as
|
|
1598
|
+
import { createProjectGraphAsync as createProjectGraphAsync2, readProjectsConfigurationFromProjectGraph as readProjectsConfigurationFromProjectGraph3, writeJsonFile as writeJsonFile2 } from "@nx/devkit";
|
|
1586
1599
|
import defu2 from "defu";
|
|
1587
1600
|
import { existsSync as existsSync6 } from "node:fs";
|
|
1588
1601
|
import hf2 from "node:fs/promises";
|
|
@@ -1641,7 +1654,7 @@ var resolveOptions2 = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1641
1654
|
const projectJsonFile = await hf2.readFile(projectJsonPath, "utf8");
|
|
1642
1655
|
const projectJson = JSON.parse(projectJsonFile);
|
|
1643
1656
|
const projectName = projectJson.name;
|
|
1644
|
-
const projectConfigurations =
|
|
1657
|
+
const projectConfigurations = readProjectsConfigurationFromProjectGraph3(projectGraph);
|
|
1645
1658
|
if (!projectConfigurations?.projects?.[projectName]) {
|
|
1646
1659
|
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
1647
1660
|
}
|
|
@@ -2377,7 +2390,8 @@ async function normalizeOptions(tree, options, config) {
|
|
|
2377
2390
|
projectRoot,
|
|
2378
2391
|
parsedTags: options.tags ? options.tags.split(",").map((s) => s.trim()) : [],
|
|
2379
2392
|
importPath: normalizedImportPath,
|
|
2380
|
-
rootProject
|
|
2393
|
+
rootProject,
|
|
2394
|
+
shouldUseSwcJest: false
|
|
2381
2395
|
};
|
|
2382
2396
|
}
|
|
2383
2397
|
__name(normalizeOptions, "normalizeOptions");
|
|
@@ -7,7 +7,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
7
7
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.
|
|
10
|
+
// ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.2_@types+node@22.13.0__@swc+core@1.7.26_@swc+helpers_kupakjppxzf7wv7pnek6irqjpq/node_modules/tsup/assets/esm_shims.js
|
|
11
11
|
import { fileURLToPath } from "url";
|
|
12
12
|
import path from "path";
|
|
13
13
|
var getFilename = /* @__PURE__ */ __name(() => fileURLToPath(import.meta.url), "getFilename");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run,
|
|
3
3
|
withRunExecutor
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KWXOSOKO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__name
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-R7DU2APC.mjs";
|
|
8
8
|
|
|
9
9
|
// src/base/terraform-executor.ts
|
|
10
10
|
import { which } from "shelljs";
|
package/dist/executors.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./chunk-HYHKZPRR.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-GDIPTQU2.mjs";
|
|
3
|
+
import "./chunk-MBXPILHI.mjs";
|
|
4
|
+
import "./chunk-UQJF73ZV.mjs";
|
|
5
|
+
import "./chunk-BYGHUFW4.mjs";
|
|
6
|
+
import "./chunk-VWRPSPA5.mjs";
|
|
7
|
+
import "./chunk-KWXOSOKO.mjs";
|
|
8
|
+
import "./chunk-R7DU2APC.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk25PTDMW6js = require('./chunk-25PTDMW6.js');
|
|
5
5
|
require('./chunk-GCCFZEDU.js');
|
|
6
6
|
require('./chunk-3GQAWCBQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGenerator =
|
|
9
|
+
exports.initGenerator = _chunk25PTDMW6js.initGenerator;
|
package/dist/generators.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-23KFTIT2.mjs";
|
|
2
2
|
import {
|
|
3
3
|
initGenerator
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-2ZZJNUXX.mjs";
|
|
5
|
+
import "./chunk-KWXOSOKO.mjs";
|
|
6
|
+
import "./chunk-R7DU2APC.mjs";
|
|
7
7
|
export {
|
|
8
8
|
initGenerator
|
|
9
9
|
};
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ require('./chunk-AP4J2N34.js');
|
|
|
5
5
|
require('./chunk-N2YKXZ5R.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk25PTDMW6js = require('./chunk-25PTDMW6.js');
|
|
9
9
|
require('./chunk-GUQOEBFW.js');
|
|
10
10
|
|
|
11
11
|
|
|
@@ -20,4 +20,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator =
|
|
23
|
+
exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunk25PTDMW6js.initGenerator; exports.withTerraformExecutor = _chunkZYPB3WACjs.withTerraformExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "./chunk-HYHKZPRR.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-GDIPTQU2.mjs";
|
|
3
|
+
import "./chunk-MBXPILHI.mjs";
|
|
4
|
+
import "./chunk-UQJF73ZV.mjs";
|
|
5
5
|
import "./chunk-23KFTIT2.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2ZZJNUXX.mjs";
|
|
9
9
|
import "./chunk-CA7S5MOH.mjs";
|
|
10
10
|
import {
|
|
11
11
|
base_terraform_executor_untyped_default
|
|
12
12
|
} from "./chunk-EL25IDXP.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-BYGHUFW4.mjs";
|
|
14
14
|
import {
|
|
15
15
|
withTerraformExecutor
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-VWRPSPA5.mjs";
|
|
17
|
+
import "./chunk-KWXOSOKO.mjs";
|
|
18
|
+
import "./chunk-R7DU2APC.mjs";
|
|
19
19
|
export {
|
|
20
20
|
base_terraform_executor_untyped_default as baseTerraformExecutorSchema,
|
|
21
21
|
initGenerator,
|
package/dist/src/base/index.mjs
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
} from "../../chunk-EL25IDXP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
withTerraformExecutor
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-VWRPSPA5.mjs";
|
|
8
|
+
import "../../chunk-KWXOSOKO.mjs";
|
|
9
|
+
import "../../chunk-R7DU2APC.mjs";
|
|
10
10
|
export {
|
|
11
11
|
base_terraform_executor_untyped_default as baseTerraformExecutorSchema,
|
|
12
12
|
withTerraformExecutor
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withTerraformExecutor
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-VWRPSPA5.mjs";
|
|
4
|
+
import "../../chunk-KWXOSOKO.mjs";
|
|
5
|
+
import "../../chunk-R7DU2APC.mjs";
|
|
6
6
|
export {
|
|
7
7
|
withTerraformExecutor
|
|
8
8
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-BYGHUFW4.mjs";
|
|
4
|
+
import "../../../chunk-VWRPSPA5.mjs";
|
|
5
|
+
import "../../../chunk-KWXOSOKO.mjs";
|
|
6
|
+
import "../../../chunk-R7DU2APC.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-GDIPTQU2.mjs";
|
|
4
|
+
import "../../../chunk-VWRPSPA5.mjs";
|
|
5
|
+
import "../../../chunk-KWXOSOKO.mjs";
|
|
6
|
+
import "../../../chunk-R7DU2APC.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-MBXPILHI.mjs";
|
|
4
|
+
import "../../../chunk-VWRPSPA5.mjs";
|
|
5
|
+
import "../../../chunk-KWXOSOKO.mjs";
|
|
6
|
+
import "../../../chunk-R7DU2APC.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-UQJF73ZV.mjs";
|
|
4
|
+
import "../../../chunk-VWRPSPA5.mjs";
|
|
5
|
+
import "../../../chunk-KWXOSOKO.mjs";
|
|
6
|
+
import "../../../chunk-R7DU2APC.mjs";
|
|
7
7
|
export {
|
|
8
8
|
executor_default as default
|
|
9
9
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk25PTDMW6js = require('../../../chunk-25PTDMW6.js');
|
|
5
5
|
require('../../../chunk-GCCFZEDU.js');
|
|
6
6
|
require('../../../chunk-3GQAWCBQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _chunk25PTDMW6js.init_default; exports.initGenerator = _chunk25PTDMW6js.initGenerator;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
initGenerator,
|
|
3
3
|
init_default
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-2ZZJNUXX.mjs";
|
|
5
|
+
import "../../../chunk-KWXOSOKO.mjs";
|
|
6
|
+
import "../../../chunk-R7DU2APC.mjs";
|
|
7
7
|
export {
|
|
8
8
|
init_default as default,
|
|
9
9
|
initGenerator
|
package/dist/tsup.config.mjs
CHANGED