@storm-software/terraform-tools 0.54.71 → 0.54.73
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 +19 -0
- package/README.md +1 -1
- package/dist/{chunk-XQSTQE3H.mjs → chunk-GZQXAEBW.mjs} +175 -117
- package/dist/{chunk-IR3INUF5.js → chunk-QHG4VLHY.js} +197 -139
- package/dist/executors.js +1 -1
- package/dist/executors.mjs +1 -1
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +1 -1
- package/dist/index.js +5 -5
- package/dist/index.mjs +4 -4
- package/dist/src/generators/init/init.js +2 -2
- package/dist/src/generators/init/init.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Terraform Tools
|
|
4
4
|
|
|
5
|
+
## [0.54.73](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.73) (2025-04-29)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **esbuild:** Remove unused modules from package
|
|
10
|
+
([e3dc467c8](https://github.com/storm-software/storm-ops/commit/e3dc467c8))
|
|
11
|
+
|
|
12
|
+
### Miscellaneous
|
|
13
|
+
|
|
14
|
+
- **monorepo:** Regenerate README markdown files
|
|
15
|
+
([c12ea4b7b](https://github.com/storm-software/storm-ops/commit/c12ea4b7b))
|
|
16
|
+
|
|
17
|
+
## [0.54.72](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.72) (2025-04-29)
|
|
18
|
+
|
|
19
|
+
### Miscellaneous
|
|
20
|
+
|
|
21
|
+
- **monorepo:** Regenerate README markdown files
|
|
22
|
+
([f2e5028dd](https://github.com/storm-software/storm-ops/commit/f2e5028dd))
|
|
23
|
+
|
|
5
24
|
## [0.54.71](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.71) (2025-04-29)
|
|
6
25
|
|
|
7
26
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -260,7 +260,8 @@ import { logger } from "@nx/devkit";
|
|
|
260
260
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
261
261
|
|
|
262
262
|
// ../esbuild/src/build.ts
|
|
263
|
-
import
|
|
263
|
+
import * as esbuild from "esbuild";
|
|
264
|
+
import { globbySync } from "globby";
|
|
264
265
|
|
|
265
266
|
// ../build-tools/src/config.ts
|
|
266
267
|
var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
@@ -481,16 +482,17 @@ import { readFile as readFile3 } from "node:fs/promises";
|
|
|
481
482
|
// ../build-tools/src/utilities/task-graph.ts
|
|
482
483
|
import { createTaskGraph, mapTargetDefaultsToDependencies } from "nx/src/tasks-runner/create-task-graph";
|
|
483
484
|
|
|
484
|
-
// ../esbuild/src/
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
485
|
+
// ../esbuild/src/assets.ts
|
|
486
|
+
async function copyBuildAssets(context) {
|
|
487
|
+
if (context.result?.errors.length === 0) {
|
|
488
|
+
writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`, context.workspaceConfig);
|
|
489
|
+
const stopwatch = getStopwatch(`${context.options.name} asset copy`);
|
|
490
|
+
await copyAssets(context.workspaceConfig, context.options.assets ?? [], context.outputPath, context.options.projectRoot, context.sourceRoot, true, false);
|
|
491
|
+
stopwatch();
|
|
492
|
+
}
|
|
493
|
+
return context;
|
|
494
|
+
}
|
|
495
|
+
__name(copyBuildAssets, "copyBuildAssets");
|
|
494
496
|
|
|
495
497
|
// ../esbuild/src/clean.ts
|
|
496
498
|
import { rm } from "node:fs/promises";
|
|
@@ -502,6 +504,13 @@ async function cleanDirectories(directory) {
|
|
|
502
504
|
}
|
|
503
505
|
__name(cleanDirectories, "cleanDirectories");
|
|
504
506
|
|
|
507
|
+
// ../esbuild/src/context.ts
|
|
508
|
+
import { createProjectGraphAsync as createProjectGraphAsync2, readProjectsConfigurationFromProjectGraph as readProjectsConfigurationFromProjectGraph2 } from "@nx/devkit";
|
|
509
|
+
import defu from "defu";
|
|
510
|
+
import { existsSync as existsSync3 } from "node:fs";
|
|
511
|
+
import hf from "node:fs/promises";
|
|
512
|
+
import { findWorkspaceRoot as findWorkspaceRoot2 } from "nx/src/utils/find-workspace-root";
|
|
513
|
+
|
|
505
514
|
// ../esbuild/src/config.ts
|
|
506
515
|
var DEFAULT_BUILD_OPTIONS = {
|
|
507
516
|
assets: [],
|
|
@@ -515,6 +524,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
515
524
|
keepNames: true,
|
|
516
525
|
metafile: false,
|
|
517
526
|
treeshake: true,
|
|
527
|
+
splitting: true,
|
|
518
528
|
shims: false,
|
|
519
529
|
watch: false,
|
|
520
530
|
bundle: true,
|
|
@@ -546,97 +556,51 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
546
556
|
}
|
|
547
557
|
};
|
|
548
558
|
|
|
549
|
-
// ../esbuild/src/plugins/
|
|
550
|
-
import { builtinModules as builtinModules2 } from "node:module";
|
|
559
|
+
// ../esbuild/src/plugins/resolve-paths.ts
|
|
551
560
|
import path2 from "node:path";
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
"buffer"
|
|
575
|
-
];
|
|
576
|
-
var missingIgnore = [
|
|
577
|
-
".prisma",
|
|
578
|
-
"@prisma/client",
|
|
579
|
-
"ts-toolbelt"
|
|
580
|
-
];
|
|
581
|
-
var depsCheckPlugin = /* @__PURE__ */ __name((bundle) => ({
|
|
582
|
-
name: "storm:deps-check",
|
|
561
|
+
function resolvePathsConfig(options, cwd) {
|
|
562
|
+
if (options?.compilerOptions?.paths) {
|
|
563
|
+
const paths = Object.entries(options.compilerOptions.paths);
|
|
564
|
+
const resolvedPaths = paths.map(([key, paths2]) => {
|
|
565
|
+
return [
|
|
566
|
+
key,
|
|
567
|
+
paths2.map((v) => path2.resolve(cwd, v))
|
|
568
|
+
];
|
|
569
|
+
});
|
|
570
|
+
return Object.fromEntries(resolvedPaths);
|
|
571
|
+
}
|
|
572
|
+
if (options.extends) {
|
|
573
|
+
const extendsPath = path2.resolve(cwd, options.extends);
|
|
574
|
+
const extendsDir = path2.dirname(extendsPath);
|
|
575
|
+
const extendsConfig = __require(extendsPath);
|
|
576
|
+
return resolvePathsConfig(extendsConfig, extendsDir);
|
|
577
|
+
}
|
|
578
|
+
return [];
|
|
579
|
+
}
|
|
580
|
+
__name(resolvePathsConfig, "resolvePathsConfig");
|
|
581
|
+
var resolvePathsPlugin = /* @__PURE__ */ __name((context) => ({
|
|
582
|
+
name: "storm:resolve-paths",
|
|
583
583
|
setup(build3) {
|
|
584
|
-
const
|
|
585
|
-
const
|
|
586
|
-
const
|
|
587
|
-
const devDependencies = Object.keys(pkgContents["devDependencies"] ?? {});
|
|
588
|
-
const peerDependencies = Object.keys(pkgContents["peerDependencies"] ?? {});
|
|
589
|
-
const dependencies = [
|
|
590
|
-
...regDependencies,
|
|
591
|
-
...bundle ? devDependencies : []
|
|
592
|
-
];
|
|
593
|
-
const collectedDependencies = /* @__PURE__ */ new Set();
|
|
594
|
-
const onlyPackages = /^[^./](?!:)|^\.[^./]|^\.\.[^/]/;
|
|
584
|
+
const parentTsConfig = build3.initialOptions.tsconfig ? __require(joinPaths(context.workspaceConfig.workspaceRoot, build3.initialOptions.tsconfig)) : __require(joinPaths(context.workspaceConfig.workspaceRoot, "tsconfig.json"));
|
|
585
|
+
const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot);
|
|
586
|
+
const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
|
|
595
587
|
build3.onResolve({
|
|
596
|
-
filter:
|
|
588
|
+
filter: packagesRegex
|
|
597
589
|
}, (args) => {
|
|
598
|
-
if (
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
}
|
|
603
|
-
const [pkg] = args.path.split("/");
|
|
604
|
-
collectedDependencies.add(pkg);
|
|
605
|
-
}
|
|
590
|
+
if (build3.initialOptions.external?.includes(args.path)) {
|
|
591
|
+
return {
|
|
592
|
+
path: args.path,
|
|
593
|
+
external: true
|
|
594
|
+
};
|
|
606
595
|
}
|
|
607
596
|
return {
|
|
608
|
-
|
|
597
|
+
path: `${resolvedTsPaths[args.path][0]}/index.ts`
|
|
609
598
|
};
|
|
610
599
|
});
|
|
611
|
-
build3.onEnd(() => {
|
|
612
|
-
const unusedDependencies = [
|
|
613
|
-
...dependencies
|
|
614
|
-
].filter((dep) => {
|
|
615
|
-
return !collectedDependencies.has(dep) || builtinModules2.includes(dep);
|
|
616
|
-
});
|
|
617
|
-
const missingDependencies = [
|
|
618
|
-
...collectedDependencies
|
|
619
|
-
].filter((dep) => {
|
|
620
|
-
return !dependencies.includes(dep) && !builtinModules2.includes(dep);
|
|
621
|
-
});
|
|
622
|
-
const filteredUnusedDeps = unusedDependencies.filter((dep) => {
|
|
623
|
-
return !unusedIgnore.some((pattern) => dep.match(pattern));
|
|
624
|
-
});
|
|
625
|
-
const filteredMissingDeps = missingDependencies.filter((dep) => {
|
|
626
|
-
return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
|
|
627
|
-
});
|
|
628
|
-
writeWarning(`Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
|
|
629
|
-
writeError(`Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
|
|
630
|
-
if (filteredMissingDeps.length > 0) {
|
|
631
|
-
throw new Error(`Missing dependencies detected - please install them:
|
|
632
|
-
${JSON.stringify(filteredMissingDeps)}
|
|
633
|
-
`);
|
|
634
|
-
}
|
|
635
|
-
});
|
|
636
600
|
}
|
|
637
|
-
}), "
|
|
601
|
+
}), "resolvePathsPlugin");
|
|
638
602
|
|
|
639
|
-
// ../esbuild/src/
|
|
603
|
+
// ../esbuild/src/context.ts
|
|
640
604
|
async function resolveContext(userOptions) {
|
|
641
605
|
const projectRoot = userOptions.projectRoot;
|
|
642
606
|
const workspaceRoot3 = findWorkspaceRoot2(projectRoot);
|
|
@@ -663,24 +627,23 @@ async function resolveContext(userOptions) {
|
|
|
663
627
|
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.");
|
|
664
628
|
}
|
|
665
629
|
const options = defu(userOptions, DEFAULT_BUILD_OPTIONS);
|
|
630
|
+
options.name ??= projectName;
|
|
666
631
|
const packageJsonPath = joinPaths(workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
667
632
|
if (!existsSync3(packageJsonPath)) {
|
|
668
633
|
throw new Error("Cannot find package.json configuration");
|
|
669
634
|
}
|
|
670
635
|
const env = getEnv("esbuild", options);
|
|
636
|
+
const define = defu(options.define ?? {}, env ?? {});
|
|
671
637
|
const resolvedOptions = {
|
|
672
|
-
name: projectName,
|
|
673
638
|
...options,
|
|
674
639
|
tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
675
640
|
metafile: userOptions.mode === "development",
|
|
676
641
|
clean: false,
|
|
677
|
-
splitting: options.format === "iife" ? false : options.treeshake === void 0 ? options.splitting : true,
|
|
678
642
|
env,
|
|
679
643
|
define: {
|
|
680
644
|
STORM_FORMAT: JSON.stringify(options.format),
|
|
681
|
-
...
|
|
682
|
-
|
|
683
|
-
const value = JSON.stringify(env[key]);
|
|
645
|
+
...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
|
|
646
|
+
const value = JSON.stringify(define[key]);
|
|
684
647
|
const safeKey = key.replaceAll("(", "").replaceAll(")", "");
|
|
685
648
|
return {
|
|
686
649
|
...res,
|
|
@@ -691,7 +654,7 @@ async function resolveContext(userOptions) {
|
|
|
691
654
|
}
|
|
692
655
|
};
|
|
693
656
|
stopwatch();
|
|
694
|
-
|
|
657
|
+
const context = {
|
|
695
658
|
options: resolvedOptions,
|
|
696
659
|
clean: userOptions.clean !== false,
|
|
697
660
|
workspaceConfig,
|
|
@@ -702,17 +665,27 @@ async function resolveContext(userOptions) {
|
|
|
702
665
|
outputPath: resolvedOptions.outputPath || joinPaths(workspaceConfig.workspaceRoot, "dist", resolvedOptions.projectRoot),
|
|
703
666
|
minify: resolvedOptions.minify || resolvedOptions.mode === "production"
|
|
704
667
|
};
|
|
668
|
+
context.options.esbuildPlugins = [
|
|
669
|
+
resolvePathsPlugin(context),
|
|
670
|
+
...context.options.esbuildPlugins ?? []
|
|
671
|
+
];
|
|
672
|
+
return context;
|
|
705
673
|
}
|
|
706
674
|
__name(resolveContext, "resolveContext");
|
|
675
|
+
|
|
676
|
+
// ../esbuild/src/package-json.ts
|
|
677
|
+
import { writeJsonFile } from "@nx/devkit";
|
|
678
|
+
import { existsSync as existsSync4 } from "node:fs";
|
|
679
|
+
import hf2 from "node:fs/promises";
|
|
707
680
|
async function generatePackageJson(context) {
|
|
708
|
-
if (context.options.generatePackageJson !== false &&
|
|
681
|
+
if (context.options.generatePackageJson !== false && existsSync4(joinPaths(context.options.projectRoot, "package.json"))) {
|
|
709
682
|
writeDebug(" \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
710
683
|
const stopwatch = getStopwatch("Write package.json file");
|
|
711
684
|
const packageJsonPath = joinPaths(context.options.projectRoot, "project.json");
|
|
712
|
-
if (!
|
|
685
|
+
if (!existsSync4(packageJsonPath)) {
|
|
713
686
|
throw new Error("Cannot find package.json configuration");
|
|
714
687
|
}
|
|
715
|
-
const packageJsonFile = await
|
|
688
|
+
const packageJsonFile = await hf2.readFile(joinPaths(context.workspaceConfig.workspaceRoot, context.options.projectRoot, "package.json"), "utf8");
|
|
716
689
|
let packageJson = JSON.parse(packageJsonFile);
|
|
717
690
|
if (!packageJson) {
|
|
718
691
|
throw new Error("Cannot find package.json configuration file");
|
|
@@ -802,6 +775,99 @@ async function generatePackageJson(context) {
|
|
|
802
775
|
return context;
|
|
803
776
|
}
|
|
804
777
|
__name(generatePackageJson, "generatePackageJson");
|
|
778
|
+
|
|
779
|
+
// ../esbuild/src/plugins/deps-check.ts
|
|
780
|
+
import { builtinModules as builtinModules2 } from "node:module";
|
|
781
|
+
import path3 from "node:path";
|
|
782
|
+
var unusedIgnore = [
|
|
783
|
+
// these are our dev dependencies
|
|
784
|
+
/@types\/.*?/,
|
|
785
|
+
/@typescript-eslint.*?/,
|
|
786
|
+
/eslint.*?/,
|
|
787
|
+
"esbuild",
|
|
788
|
+
"husky",
|
|
789
|
+
"is-ci",
|
|
790
|
+
"lint-staged",
|
|
791
|
+
"prettier",
|
|
792
|
+
"typescript",
|
|
793
|
+
"ts-node",
|
|
794
|
+
"ts-jest",
|
|
795
|
+
"@swc/core",
|
|
796
|
+
"@swc/jest",
|
|
797
|
+
"jest",
|
|
798
|
+
// these are missing 3rd party deps
|
|
799
|
+
"spdx-exceptions",
|
|
800
|
+
"spdx-license-ids",
|
|
801
|
+
// type-only, so it is not detected
|
|
802
|
+
"ts-toolbelt",
|
|
803
|
+
// these are indirectly used by build
|
|
804
|
+
"buffer"
|
|
805
|
+
];
|
|
806
|
+
var missingIgnore = [
|
|
807
|
+
".prisma",
|
|
808
|
+
"@prisma/client",
|
|
809
|
+
"ts-toolbelt"
|
|
810
|
+
];
|
|
811
|
+
var depsCheckPlugin = /* @__PURE__ */ __name((bundle) => ({
|
|
812
|
+
name: "storm:deps-check",
|
|
813
|
+
setup(build3) {
|
|
814
|
+
const pkgJsonPath = path3.join(process.cwd(), "package.json");
|
|
815
|
+
const pkgContents = __require(pkgJsonPath);
|
|
816
|
+
const regDependencies = Object.keys(pkgContents["dependencies"] ?? {});
|
|
817
|
+
const devDependencies = Object.keys(pkgContents["devDependencies"] ?? {});
|
|
818
|
+
const peerDependencies = Object.keys(pkgContents["peerDependencies"] ?? {});
|
|
819
|
+
const dependencies = [
|
|
820
|
+
...regDependencies,
|
|
821
|
+
...bundle ? devDependencies : []
|
|
822
|
+
];
|
|
823
|
+
const collectedDependencies = /* @__PURE__ */ new Set();
|
|
824
|
+
const onlyPackages = /^[^./](?!:)|^\.[^./]|^\.\.[^/]/;
|
|
825
|
+
build3.onResolve({
|
|
826
|
+
filter: onlyPackages
|
|
827
|
+
}, (args) => {
|
|
828
|
+
if (args.importer.includes(process.cwd())) {
|
|
829
|
+
if (args.path[0] === "@") {
|
|
830
|
+
const [org, pkg] = args.path.split("/");
|
|
831
|
+
collectedDependencies.add(`${org}/${pkg}`);
|
|
832
|
+
} else {
|
|
833
|
+
const [pkg] = args.path.split("/");
|
|
834
|
+
collectedDependencies.add(pkg);
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
return {
|
|
838
|
+
external: true
|
|
839
|
+
};
|
|
840
|
+
});
|
|
841
|
+
build3.onEnd(() => {
|
|
842
|
+
const unusedDependencies = [
|
|
843
|
+
...dependencies
|
|
844
|
+
].filter((dep) => {
|
|
845
|
+
return !collectedDependencies.has(dep) || builtinModules2.includes(dep);
|
|
846
|
+
});
|
|
847
|
+
const missingDependencies = [
|
|
848
|
+
...collectedDependencies
|
|
849
|
+
].filter((dep) => {
|
|
850
|
+
return !dependencies.includes(dep) && !builtinModules2.includes(dep);
|
|
851
|
+
});
|
|
852
|
+
const filteredUnusedDeps = unusedDependencies.filter((dep) => {
|
|
853
|
+
return !unusedIgnore.some((pattern) => dep.match(pattern));
|
|
854
|
+
});
|
|
855
|
+
const filteredMissingDeps = missingDependencies.filter((dep) => {
|
|
856
|
+
return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
|
|
857
|
+
});
|
|
858
|
+
writeWarning(`Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
|
|
859
|
+
writeError(`Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
|
|
860
|
+
if (filteredMissingDeps.length > 0) {
|
|
861
|
+
throw new Error(`Missing dependencies detected - please install them:
|
|
862
|
+
${JSON.stringify(filteredMissingDeps)}
|
|
863
|
+
`);
|
|
864
|
+
}
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
}), "depsCheckPlugin");
|
|
868
|
+
|
|
869
|
+
// ../esbuild/src/tsup.ts
|
|
870
|
+
import { build as tsup } from "tsup";
|
|
805
871
|
async function executeTsup(context) {
|
|
806
872
|
writeDebug(` \u{1F680} Running ${context.options.name} build`, context.workspaceConfig);
|
|
807
873
|
const stopwatch = getStopwatch(`${context.options.name} build`);
|
|
@@ -814,16 +880,8 @@ async function executeTsup(context) {
|
|
|
814
880
|
return context;
|
|
815
881
|
}
|
|
816
882
|
__name(executeTsup, "executeTsup");
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`, context.workspaceConfig);
|
|
820
|
-
const stopwatch = getStopwatch(`${context.options.name} asset copy`);
|
|
821
|
-
await copyAssets(context.workspaceConfig, context.options.assets ?? [], context.outputPath, context.options.projectRoot, context.sourceRoot, true, false);
|
|
822
|
-
stopwatch();
|
|
823
|
-
}
|
|
824
|
-
return context;
|
|
825
|
-
}
|
|
826
|
-
__name(copyBuildAssets, "copyBuildAssets");
|
|
883
|
+
|
|
884
|
+
// ../esbuild/src/build.ts
|
|
827
885
|
async function reportResults(context) {
|
|
828
886
|
if (context.result?.errors.length === 0) {
|
|
829
887
|
if (context.result.warnings.length > 0) {
|
|
@@ -943,7 +1001,7 @@ import { execSync as execSync3 } from "node:child_process";
|
|
|
943
1001
|
import { readFile as readFile5 } from "node:fs/promises";
|
|
944
1002
|
|
|
945
1003
|
// ../workspace-tools/src/utils/pnpm-deps-update.ts
|
|
946
|
-
import { existsSync as
|
|
1004
|
+
import { existsSync as existsSync5 } from "node:fs";
|
|
947
1005
|
import { readFile as readFile4, writeFile as writeFile2 } from "node:fs/promises";
|
|
948
1006
|
import { format } from "prettier";
|
|
949
1007
|
import readYamlFile from "read-yaml-file";
|
|
@@ -1727,7 +1785,7 @@ var generator_default4 = withRunGenerator("TypeScript Library Creator (NodeJs Pl
|
|
|
1727
1785
|
|
|
1728
1786
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
1729
1787
|
import { addDependenciesToPackageJson as addDependenciesToPackageJson3, addProjectConfiguration as addProjectConfiguration2, formatFiles as formatFiles7, generateFiles as generateFiles4, joinPathFragments as joinPathFragments4, updateJson as updateJson2 } from "@nx/devkit";
|
|
1730
|
-
import * as
|
|
1788
|
+
import * as path4 from "node:path";
|
|
1731
1789
|
async function presetGeneratorFn(tree, options) {
|
|
1732
1790
|
const projectRoot = ".";
|
|
1733
1791
|
options.description ??= `\u26A1The ${options.namespace ? options.namespace : options.name} monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.`;
|
|
@@ -1875,7 +1933,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
1875
1933
|
};
|
|
1876
1934
|
return json;
|
|
1877
1935
|
});
|
|
1878
|
-
generateFiles4(tree,
|
|
1936
|
+
generateFiles4(tree, path4.join(__dirname, "files"), projectRoot, {
|
|
1879
1937
|
...options,
|
|
1880
1938
|
pnpmVersion,
|
|
1881
1939
|
nodeVersion
|
|
@@ -2583,7 +2641,7 @@ import { retrieveProjectConfigurationsWithoutPluginInference } from "nx/src/proj
|
|
|
2583
2641
|
|
|
2584
2642
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
2585
2643
|
import { output as output2, readJsonFile, workspaceRoot as workspaceRoot2 } from "@nx/devkit";
|
|
2586
|
-
import { existsSync as
|
|
2644
|
+
import { existsSync as existsSync6 } from "node:fs";
|
|
2587
2645
|
import { join as join2 } from "node:path";
|
|
2588
2646
|
import { getNpmLockfileDependencies, getNpmLockfileNodes } from "nx/src/plugins/js/lock-file/npm-parser";
|
|
2589
2647
|
import { getPnpmLockfileDependencies, getPnpmLockfileNodes } from "nx/src/plugins/js/lock-file/pnpm-parser";
|
|
@@ -2597,12 +2655,12 @@ var PNPM_LOCK_PATH = join2(workspaceRoot2, PNPM_LOCK_FILE);
|
|
|
2597
2655
|
|
|
2598
2656
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
2599
2657
|
import { joinPathFragments as joinPathFragments6, readJsonFile as readJsonFile2 } from "@nx/devkit";
|
|
2600
|
-
import { existsSync as
|
|
2658
|
+
import { existsSync as existsSync7 } from "node:fs";
|
|
2601
2659
|
|
|
2602
2660
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
2603
2661
|
import { readJsonFile as readJsonFile3 } from "@nx/devkit";
|
|
2604
2662
|
import defu3 from "defu";
|
|
2605
|
-
import { existsSync as
|
|
2663
|
+
import { existsSync as existsSync8 } from "node:fs";
|
|
2606
2664
|
import { dirname, join as join3 } from "node:path";
|
|
2607
2665
|
|
|
2608
2666
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
@@ -27,7 +27,7 @@ var _devkit = require('@nx/devkit');
|
|
|
27
27
|
// ../workspace-tools/src/utils/cargo.ts
|
|
28
28
|
|
|
29
29
|
var _child_process = require('child_process');
|
|
30
|
-
var _path = require('path'); var
|
|
30
|
+
var _path = require('path'); var path4 = _interopRequireWildcard(_path);
|
|
31
31
|
var INVALID_CARGO_ARGS = [
|
|
32
32
|
"allFeatures",
|
|
33
33
|
"allTargets",
|
|
@@ -259,7 +259,8 @@ var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml
|
|
|
259
259
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
260
260
|
|
|
261
261
|
// ../esbuild/src/build.ts
|
|
262
|
-
|
|
262
|
+
var _esbuild = require('esbuild'); var esbuild = _interopRequireWildcard(_esbuild);
|
|
263
|
+
var _globby = require('globby');
|
|
263
264
|
|
|
264
265
|
// ../build-tools/src/config.ts
|
|
265
266
|
var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
@@ -480,16 +481,17 @@ var getEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (builder, opti
|
|
|
480
481
|
// ../build-tools/src/utilities/task-graph.ts
|
|
481
482
|
var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
482
483
|
|
|
483
|
-
// ../esbuild/src/
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
484
|
+
// ../esbuild/src/assets.ts
|
|
485
|
+
async function copyBuildAssets(context) {
|
|
486
|
+
if (_optionalChain([context, 'access', _28 => _28.result, 'optionalAccess', _29 => _29.errors, 'access', _30 => _30.length]) === 0) {
|
|
487
|
+
_chunkFC5AL6FFjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`, context.workspaceConfig);
|
|
488
|
+
const stopwatch = _chunkFC5AL6FFjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
489
|
+
await copyAssets(context.workspaceConfig, _nullishCoalesce(context.options.assets, () => ( [])), context.outputPath, context.options.projectRoot, context.sourceRoot, true, false);
|
|
490
|
+
stopwatch();
|
|
491
|
+
}
|
|
492
|
+
return context;
|
|
493
|
+
}
|
|
494
|
+
_chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
493
495
|
|
|
494
496
|
// ../esbuild/src/clean.ts
|
|
495
497
|
|
|
@@ -501,6 +503,13 @@ async function cleanDirectories(directory) {
|
|
|
501
503
|
}
|
|
502
504
|
_chunk3GQAWCBQjs.__name.call(void 0, cleanDirectories, "cleanDirectories");
|
|
503
505
|
|
|
506
|
+
// ../esbuild/src/context.ts
|
|
507
|
+
|
|
508
|
+
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
512
|
+
|
|
504
513
|
// ../esbuild/src/config.ts
|
|
505
514
|
var DEFAULT_BUILD_OPTIONS = {
|
|
506
515
|
assets: [],
|
|
@@ -514,6 +523,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
514
523
|
keepNames: true,
|
|
515
524
|
metafile: false,
|
|
516
525
|
treeshake: true,
|
|
526
|
+
splitting: true,
|
|
517
527
|
shims: false,
|
|
518
528
|
watch: false,
|
|
519
529
|
bundle: true,
|
|
@@ -545,97 +555,51 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
545
555
|
}
|
|
546
556
|
};
|
|
547
557
|
|
|
548
|
-
// ../esbuild/src/plugins/
|
|
549
|
-
|
|
558
|
+
// ../esbuild/src/plugins/resolve-paths.ts
|
|
550
559
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
"buffer"
|
|
574
|
-
];
|
|
575
|
-
var missingIgnore = [
|
|
576
|
-
".prisma",
|
|
577
|
-
"@prisma/client",
|
|
578
|
-
"ts-toolbelt"
|
|
579
|
-
];
|
|
580
|
-
var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bundle) => ({
|
|
581
|
-
name: "storm:deps-check",
|
|
560
|
+
function resolvePathsConfig(options, cwd) {
|
|
561
|
+
if (_optionalChain([options, 'optionalAccess', _31 => _31.compilerOptions, 'optionalAccess', _32 => _32.paths])) {
|
|
562
|
+
const paths = Object.entries(options.compilerOptions.paths);
|
|
563
|
+
const resolvedPaths = paths.map(([key, paths2]) => {
|
|
564
|
+
return [
|
|
565
|
+
key,
|
|
566
|
+
paths2.map((v) => path4.default.resolve(cwd, v))
|
|
567
|
+
];
|
|
568
|
+
});
|
|
569
|
+
return Object.fromEntries(resolvedPaths);
|
|
570
|
+
}
|
|
571
|
+
if (options.extends) {
|
|
572
|
+
const extendsPath = path4.default.resolve(cwd, options.extends);
|
|
573
|
+
const extendsDir = path4.default.dirname(extendsPath);
|
|
574
|
+
const extendsConfig = _chunk3GQAWCBQjs.__require.call(void 0, extendsPath);
|
|
575
|
+
return resolvePathsConfig(extendsConfig, extendsDir);
|
|
576
|
+
}
|
|
577
|
+
return [];
|
|
578
|
+
}
|
|
579
|
+
_chunk3GQAWCBQjs.__name.call(void 0, resolvePathsConfig, "resolvePathsConfig");
|
|
580
|
+
var resolvePathsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context) => ({
|
|
581
|
+
name: "storm:resolve-paths",
|
|
582
582
|
setup(build3) {
|
|
583
|
-
const
|
|
584
|
-
const
|
|
585
|
-
const
|
|
586
|
-
const devDependencies = Object.keys(_nullishCoalesce(pkgContents["devDependencies"], () => ( {})));
|
|
587
|
-
const peerDependencies = Object.keys(_nullishCoalesce(pkgContents["peerDependencies"], () => ( {})));
|
|
588
|
-
const dependencies = [
|
|
589
|
-
...regDependencies,
|
|
590
|
-
...bundle ? devDependencies : []
|
|
591
|
-
];
|
|
592
|
-
const collectedDependencies = /* @__PURE__ */ new Set();
|
|
593
|
-
const onlyPackages = /^[^./](?!:)|^\.[^./]|^\.\.[^/]/;
|
|
583
|
+
const parentTsConfig = build3.initialOptions.tsconfig ? _chunk3GQAWCBQjs.__require.call(void 0, _chunkFC5AL6FFjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, build3.initialOptions.tsconfig)) : _chunk3GQAWCBQjs.__require.call(void 0, _chunkFC5AL6FFjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, "tsconfig.json"));
|
|
584
|
+
const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot);
|
|
585
|
+
const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
|
|
594
586
|
build3.onResolve({
|
|
595
|
-
filter:
|
|
587
|
+
filter: packagesRegex
|
|
596
588
|
}, (args) => {
|
|
597
|
-
if (
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
}
|
|
602
|
-
const [pkg] = args.path.split("/");
|
|
603
|
-
collectedDependencies.add(pkg);
|
|
604
|
-
}
|
|
589
|
+
if (_optionalChain([build3, 'access', _33 => _33.initialOptions, 'access', _34 => _34.external, 'optionalAccess', _35 => _35.includes, 'call', _36 => _36(args.path)])) {
|
|
590
|
+
return {
|
|
591
|
+
path: args.path,
|
|
592
|
+
external: true
|
|
593
|
+
};
|
|
605
594
|
}
|
|
606
595
|
return {
|
|
607
|
-
|
|
596
|
+
path: `${resolvedTsPaths[args.path][0]}/index.ts`
|
|
608
597
|
};
|
|
609
598
|
});
|
|
610
|
-
build3.onEnd(() => {
|
|
611
|
-
const unusedDependencies = [
|
|
612
|
-
...dependencies
|
|
613
|
-
].filter((dep) => {
|
|
614
|
-
return !collectedDependencies.has(dep) || _module.builtinModules.includes(dep);
|
|
615
|
-
});
|
|
616
|
-
const missingDependencies = [
|
|
617
|
-
...collectedDependencies
|
|
618
|
-
].filter((dep) => {
|
|
619
|
-
return !dependencies.includes(dep) && !_module.builtinModules.includes(dep);
|
|
620
|
-
});
|
|
621
|
-
const filteredUnusedDeps = unusedDependencies.filter((dep) => {
|
|
622
|
-
return !unusedIgnore.some((pattern) => dep.match(pattern));
|
|
623
|
-
});
|
|
624
|
-
const filteredMissingDeps = missingDependencies.filter((dep) => {
|
|
625
|
-
return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
|
|
626
|
-
});
|
|
627
|
-
_chunkFC5AL6FFjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
|
|
628
|
-
_chunkFC5AL6FFjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
|
|
629
|
-
if (filteredMissingDeps.length > 0) {
|
|
630
|
-
throw new Error(`Missing dependencies detected - please install them:
|
|
631
|
-
${JSON.stringify(filteredMissingDeps)}
|
|
632
|
-
`);
|
|
633
|
-
}
|
|
634
|
-
});
|
|
635
599
|
}
|
|
636
|
-
}), "
|
|
600
|
+
}), "resolvePathsPlugin");
|
|
637
601
|
|
|
638
|
-
// ../esbuild/src/
|
|
602
|
+
// ../esbuild/src/context.ts
|
|
639
603
|
async function resolveContext(userOptions) {
|
|
640
604
|
const projectRoot = userOptions.projectRoot;
|
|
641
605
|
const workspaceRoot3 = _findworkspaceroot.findWorkspaceRoot.call(void 0, projectRoot);
|
|
@@ -658,28 +622,27 @@ async function resolveContext(userOptions) {
|
|
|
658
622
|
const projectJson = JSON.parse(projectJsonFile);
|
|
659
623
|
const projectName = projectJson.name || userOptions.name;
|
|
660
624
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
661
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
625
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _37 => _37.projects, 'optionalAccess', _38 => _38[projectName]])) {
|
|
662
626
|
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.");
|
|
663
627
|
}
|
|
664
628
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
629
|
+
options.name ??= projectName;
|
|
665
630
|
const packageJsonPath = _chunkFC5AL6FFjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
666
631
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
667
632
|
throw new Error("Cannot find package.json configuration");
|
|
668
633
|
}
|
|
669
634
|
const env = getEnv("esbuild", options);
|
|
635
|
+
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
670
636
|
const resolvedOptions = {
|
|
671
|
-
name: projectName,
|
|
672
637
|
...options,
|
|
673
638
|
tsconfig: _chunkFC5AL6FFjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
674
639
|
metafile: userOptions.mode === "development",
|
|
675
640
|
clean: false,
|
|
676
|
-
splitting: options.format === "iife" ? false : options.treeshake === void 0 ? options.splitting : true,
|
|
677
641
|
env,
|
|
678
642
|
define: {
|
|
679
643
|
STORM_FORMAT: JSON.stringify(options.format),
|
|
680
|
-
...
|
|
681
|
-
|
|
682
|
-
const value = JSON.stringify(env[key]);
|
|
644
|
+
...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
|
|
645
|
+
const value = JSON.stringify(define[key]);
|
|
683
646
|
const safeKey = key.replaceAll("(", "").replaceAll(")", "");
|
|
684
647
|
return {
|
|
685
648
|
...res,
|
|
@@ -690,7 +653,7 @@ async function resolveContext(userOptions) {
|
|
|
690
653
|
}
|
|
691
654
|
};
|
|
692
655
|
stopwatch();
|
|
693
|
-
|
|
656
|
+
const context = {
|
|
694
657
|
options: resolvedOptions,
|
|
695
658
|
clean: userOptions.clean !== false,
|
|
696
659
|
workspaceConfig,
|
|
@@ -701,8 +664,18 @@ async function resolveContext(userOptions) {
|
|
|
701
664
|
outputPath: resolvedOptions.outputPath || _chunkFC5AL6FFjs.joinPaths.call(void 0, workspaceConfig.workspaceRoot, "dist", resolvedOptions.projectRoot),
|
|
702
665
|
minify: resolvedOptions.minify || resolvedOptions.mode === "production"
|
|
703
666
|
};
|
|
667
|
+
context.options.esbuildPlugins = [
|
|
668
|
+
resolvePathsPlugin(context),
|
|
669
|
+
..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))
|
|
670
|
+
];
|
|
671
|
+
return context;
|
|
704
672
|
}
|
|
705
673
|
_chunk3GQAWCBQjs.__name.call(void 0, resolveContext, "resolveContext");
|
|
674
|
+
|
|
675
|
+
// ../esbuild/src/package-json.ts
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
|
|
706
679
|
async function generatePackageJson(context) {
|
|
707
680
|
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkFC5AL6FFjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
708
681
|
_chunkFC5AL6FFjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
@@ -801,6 +774,99 @@ async function generatePackageJson(context) {
|
|
|
801
774
|
return context;
|
|
802
775
|
}
|
|
803
776
|
_chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
|
|
777
|
+
|
|
778
|
+
// ../esbuild/src/plugins/deps-check.ts
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
var unusedIgnore = [
|
|
782
|
+
// these are our dev dependencies
|
|
783
|
+
/@types\/.*?/,
|
|
784
|
+
/@typescript-eslint.*?/,
|
|
785
|
+
/eslint.*?/,
|
|
786
|
+
"esbuild",
|
|
787
|
+
"husky",
|
|
788
|
+
"is-ci",
|
|
789
|
+
"lint-staged",
|
|
790
|
+
"prettier",
|
|
791
|
+
"typescript",
|
|
792
|
+
"ts-node",
|
|
793
|
+
"ts-jest",
|
|
794
|
+
"@swc/core",
|
|
795
|
+
"@swc/jest",
|
|
796
|
+
"jest",
|
|
797
|
+
// these are missing 3rd party deps
|
|
798
|
+
"spdx-exceptions",
|
|
799
|
+
"spdx-license-ids",
|
|
800
|
+
// type-only, so it is not detected
|
|
801
|
+
"ts-toolbelt",
|
|
802
|
+
// these are indirectly used by build
|
|
803
|
+
"buffer"
|
|
804
|
+
];
|
|
805
|
+
var missingIgnore = [
|
|
806
|
+
".prisma",
|
|
807
|
+
"@prisma/client",
|
|
808
|
+
"ts-toolbelt"
|
|
809
|
+
];
|
|
810
|
+
var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bundle) => ({
|
|
811
|
+
name: "storm:deps-check",
|
|
812
|
+
setup(build3) {
|
|
813
|
+
const pkgJsonPath = path4.default.join(process.cwd(), "package.json");
|
|
814
|
+
const pkgContents = _chunk3GQAWCBQjs.__require.call(void 0, pkgJsonPath);
|
|
815
|
+
const regDependencies = Object.keys(_nullishCoalesce(pkgContents["dependencies"], () => ( {})));
|
|
816
|
+
const devDependencies = Object.keys(_nullishCoalesce(pkgContents["devDependencies"], () => ( {})));
|
|
817
|
+
const peerDependencies = Object.keys(_nullishCoalesce(pkgContents["peerDependencies"], () => ( {})));
|
|
818
|
+
const dependencies = [
|
|
819
|
+
...regDependencies,
|
|
820
|
+
...bundle ? devDependencies : []
|
|
821
|
+
];
|
|
822
|
+
const collectedDependencies = /* @__PURE__ */ new Set();
|
|
823
|
+
const onlyPackages = /^[^./](?!:)|^\.[^./]|^\.\.[^/]/;
|
|
824
|
+
build3.onResolve({
|
|
825
|
+
filter: onlyPackages
|
|
826
|
+
}, (args) => {
|
|
827
|
+
if (args.importer.includes(process.cwd())) {
|
|
828
|
+
if (args.path[0] === "@") {
|
|
829
|
+
const [org, pkg] = args.path.split("/");
|
|
830
|
+
collectedDependencies.add(`${org}/${pkg}`);
|
|
831
|
+
} else {
|
|
832
|
+
const [pkg] = args.path.split("/");
|
|
833
|
+
collectedDependencies.add(pkg);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
return {
|
|
837
|
+
external: true
|
|
838
|
+
};
|
|
839
|
+
});
|
|
840
|
+
build3.onEnd(() => {
|
|
841
|
+
const unusedDependencies = [
|
|
842
|
+
...dependencies
|
|
843
|
+
].filter((dep) => {
|
|
844
|
+
return !collectedDependencies.has(dep) || _module.builtinModules.includes(dep);
|
|
845
|
+
});
|
|
846
|
+
const missingDependencies = [
|
|
847
|
+
...collectedDependencies
|
|
848
|
+
].filter((dep) => {
|
|
849
|
+
return !dependencies.includes(dep) && !_module.builtinModules.includes(dep);
|
|
850
|
+
});
|
|
851
|
+
const filteredUnusedDeps = unusedDependencies.filter((dep) => {
|
|
852
|
+
return !unusedIgnore.some((pattern) => dep.match(pattern));
|
|
853
|
+
});
|
|
854
|
+
const filteredMissingDeps = missingDependencies.filter((dep) => {
|
|
855
|
+
return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
|
|
856
|
+
});
|
|
857
|
+
_chunkFC5AL6FFjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
|
|
858
|
+
_chunkFC5AL6FFjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
|
|
859
|
+
if (filteredMissingDeps.length > 0) {
|
|
860
|
+
throw new Error(`Missing dependencies detected - please install them:
|
|
861
|
+
${JSON.stringify(filteredMissingDeps)}
|
|
862
|
+
`);
|
|
863
|
+
}
|
|
864
|
+
});
|
|
865
|
+
}
|
|
866
|
+
}), "depsCheckPlugin");
|
|
867
|
+
|
|
868
|
+
// ../esbuild/src/tsup.ts
|
|
869
|
+
var _tsup = require('tsup');
|
|
804
870
|
async function executeTsup(context) {
|
|
805
871
|
_chunkFC5AL6FFjs.writeDebug.call(void 0, ` \u{1F680} Running ${context.options.name} build`, context.workspaceConfig);
|
|
806
872
|
const stopwatch = _chunkFC5AL6FFjs.getStopwatch.call(void 0, `${context.options.name} build`);
|
|
@@ -813,23 +879,15 @@ async function executeTsup(context) {
|
|
|
813
879
|
return context;
|
|
814
880
|
}
|
|
815
881
|
_chunk3GQAWCBQjs.__name.call(void 0, executeTsup, "executeTsup");
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
_chunkFC5AL6FFjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`, context.workspaceConfig);
|
|
819
|
-
const stopwatch = _chunkFC5AL6FFjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
820
|
-
await copyAssets(context.workspaceConfig, _nullishCoalesce(context.options.assets, () => ( [])), context.outputPath, context.options.projectRoot, context.sourceRoot, true, false);
|
|
821
|
-
stopwatch();
|
|
822
|
-
}
|
|
823
|
-
return context;
|
|
824
|
-
}
|
|
825
|
-
_chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
882
|
+
|
|
883
|
+
// ../esbuild/src/build.ts
|
|
826
884
|
async function reportResults(context) {
|
|
827
|
-
if (_optionalChain([context, 'access',
|
|
885
|
+
if (_optionalChain([context, 'access', _39 => _39.result, 'optionalAccess', _40 => _40.errors, 'access', _41 => _41.length]) === 0) {
|
|
828
886
|
if (context.result.warnings.length > 0) {
|
|
829
887
|
_chunkFC5AL6FFjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`, context.workspaceConfig);
|
|
830
888
|
}
|
|
831
889
|
_chunkFC5AL6FFjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context.options.name} build completed successfully`, context.workspaceConfig);
|
|
832
|
-
} else if (_optionalChain([context, 'access',
|
|
890
|
+
} else if (_optionalChain([context, 'access', _42 => _42.result, 'optionalAccess', _43 => _43.errors]) && _optionalChain([context, 'access', _44 => _44.result, 'optionalAccess', _45 => _45.errors, 'access', _46 => _46.length]) > 0) {
|
|
833
891
|
_chunkFC5AL6FFjs.writeError.call(void 0, ` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`, context.workspaceConfig);
|
|
834
892
|
throw new Error(`The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`);
|
|
835
893
|
}
|
|
@@ -907,14 +965,14 @@ _chunk3GQAWCBQjs.__name.call(void 0, build2, "build");
|
|
|
907
965
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
908
966
|
async function esbuildExecutorFn(options, context, config) {
|
|
909
967
|
_chunkFC5AL6FFjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
910
|
-
if (!_optionalChain([context, 'access',
|
|
968
|
+
if (!_optionalChain([context, 'access', _47 => _47.projectsConfigurations, 'optionalAccess', _48 => _48.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _49 => _49.projectsConfigurations, 'access', _50 => _50.projects, 'access', _51 => _51[context.projectName], 'optionalAccess', _52 => _52.root])) {
|
|
911
969
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
912
970
|
}
|
|
913
971
|
await build2({
|
|
914
972
|
...options,
|
|
915
|
-
projectRoot: _optionalChain([context, 'access',
|
|
973
|
+
projectRoot: _optionalChain([context, 'access', _53 => _53.projectsConfigurations, 'access', _54 => _54.projects, 'optionalAccess', _55 => _55[context.projectName], 'access', _56 => _56.root]),
|
|
916
974
|
name: context.projectName,
|
|
917
|
-
sourceRoot: _optionalChain([context, 'access',
|
|
975
|
+
sourceRoot: _optionalChain([context, 'access', _57 => _57.projectsConfigurations, 'access', _58 => _58.projects, 'optionalAccess', _59 => _59[context.projectName], 'optionalAccess', _60 => _60.sourceRoot]),
|
|
918
976
|
format: options.format,
|
|
919
977
|
platform: options.format
|
|
920
978
|
});
|
|
@@ -957,7 +1015,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
957
1015
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
958
1016
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
959
1017
|
async function sizeLimitExecutorFn(options, context, config) {
|
|
960
|
-
if (!_optionalChain([context, 'optionalAccess',
|
|
1018
|
+
if (!_optionalChain([context, 'optionalAccess', _61 => _61.projectName]) || !_optionalChain([context, 'access', _62 => _62.projectsConfigurations, 'optionalAccess', _63 => _63.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
|
|
961
1019
|
throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
|
|
962
1020
|
}
|
|
963
1021
|
_chunkFC5AL6FFjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
@@ -966,7 +1024,7 @@ async function sizeLimitExecutorFn(options, context, config) {
|
|
|
966
1024
|
_esbuild3.default,
|
|
967
1025
|
_esbuildwhy2.default
|
|
968
1026
|
], {
|
|
969
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access',
|
|
1027
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _64 => _64.projectsConfigurations, 'access', _65 => _65.projects, 'access', _66 => _66[context.projectName], 'optionalAccess', _67 => _67.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context, 'access', _68 => _68.projectsConfigurations, 'access', _69 => _69.projects, 'access', _70 => _70[context.projectName], 'optionalAccess', _71 => _71.root]), () => ( "./")), "src")))
|
|
970
1028
|
}).then((result) => {
|
|
971
1029
|
_chunkFC5AL6FFjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
|
|
972
1030
|
});
|
|
@@ -1025,7 +1083,7 @@ var executor_default8 = _chunkFC5AL6FFjs.withRunExecutor.call(void 0, "Typia run
|
|
|
1025
1083
|
var _jiti = require('jiti');
|
|
1026
1084
|
async function unbuildExecutorFn(options, context, config) {
|
|
1027
1085
|
_chunkFC5AL6FFjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1028
|
-
if (!_optionalChain([context, 'access',
|
|
1086
|
+
if (!_optionalChain([context, 'access', _72 => _72.projectsConfigurations, 'optionalAccess', _73 => _73.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1029
1087
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
|
|
1030
1088
|
}
|
|
1031
1089
|
if (!context.projectsConfigurations.projects[context.projectName].root) {
|
|
@@ -1109,7 +1167,7 @@ var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (nam
|
|
|
1109
1167
|
- workspaceRoot: ${workspaceRoot3}`, config);
|
|
1110
1168
|
config = await _chunkFC5AL6FFjs.getConfig.call(void 0, workspaceRoot3);
|
|
1111
1169
|
}
|
|
1112
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1170
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _74 => _74.hooks, 'optionalAccess', _75 => _75.applyDefaultOptions])) {
|
|
1113
1171
|
_chunkFC5AL6FFjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
1114
1172
|
options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
|
|
1115
1173
|
_chunkFC5AL6FFjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
@@ -1120,22 +1178,22 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1120
1178
|
workspaceRoot: tree.root,
|
|
1121
1179
|
config
|
|
1122
1180
|
}, _chunkFC5AL6FFjs.applyWorkspaceBaseTokens);
|
|
1123
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1181
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _76 => _76.hooks, 'optionalAccess', _77 => _77.preProcess])) {
|
|
1124
1182
|
_chunkFC5AL6FFjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
1125
1183
|
await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
|
|
1126
1184
|
_chunkFC5AL6FFjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
1127
1185
|
}
|
|
1128
1186
|
const result = await Promise.resolve(generatorFn(tree, tokenized, config));
|
|
1129
1187
|
if (result) {
|
|
1130
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
1188
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _78 => _78.error, 'optionalAccess', _79 => _79.message]) && typeof _optionalChain([result, 'optionalAccess', _80 => _80.error, 'optionalAccess', _81 => _81.message]) === "string" && _optionalChain([result, 'optionalAccess', _82 => _82.error, 'optionalAccess', _83 => _83.name]) && typeof _optionalChain([result, 'optionalAccess', _84 => _84.error, 'optionalAccess', _85 => _85.name]) === "string") {
|
|
1131
1189
|
throw new Error(`The ${name} generator failed to run`, {
|
|
1132
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
1190
|
+
cause: _optionalChain([result, 'optionalAccess', _86 => _86.error])
|
|
1133
1191
|
});
|
|
1134
1192
|
} else if (result.success && result.data) {
|
|
1135
1193
|
return result;
|
|
1136
1194
|
}
|
|
1137
1195
|
}
|
|
1138
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1196
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _87 => _87.hooks, 'optionalAccess', _88 => _88.postProcess])) {
|
|
1139
1197
|
_chunkFC5AL6FFjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
1140
1198
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
1141
1199
|
_chunkFC5AL6FFjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
@@ -1301,15 +1359,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1301
1359
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
1302
1360
|
let repository = {
|
|
1303
1361
|
type: "github",
|
|
1304
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
1362
|
+
url: _optionalChain([config, 'optionalAccess', _89 => _89.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _90 => _90.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _91 => _91.namespace]) || _optionalChain([config, 'optionalAccess', _92 => _92.name]) || "repository"}.git`
|
|
1305
1363
|
};
|
|
1306
1364
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
1307
1365
|
if (tree.exists("package.json")) {
|
|
1308
1366
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1309
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1367
|
+
if (_optionalChain([packageJson, 'optionalAccess', _93 => _93.repository])) {
|
|
1310
1368
|
repository = packageJson.repository;
|
|
1311
1369
|
}
|
|
1312
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1370
|
+
if (_optionalChain([packageJson, 'optionalAccess', _94 => _94.description])) {
|
|
1313
1371
|
description = packageJson.description;
|
|
1314
1372
|
}
|
|
1315
1373
|
}
|
|
@@ -1364,9 +1422,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1364
1422
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
1365
1423
|
...json,
|
|
1366
1424
|
pnpm: {
|
|
1367
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1425
|
+
..._optionalChain([json, 'optionalAccess', _95 => _95.pnpm]),
|
|
1368
1426
|
overrides: {
|
|
1369
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1427
|
+
..._optionalChain([json, 'optionalAccess', _96 => _96.pnpm, 'optionalAccess', _97 => _97.overrides]),
|
|
1370
1428
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
1371
1429
|
}
|
|
1372
1430
|
}
|
|
@@ -1380,10 +1438,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1380
1438
|
]);
|
|
1381
1439
|
if (tree.exists("package.json")) {
|
|
1382
1440
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1383
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1441
|
+
if (_optionalChain([packageJson, 'optionalAccess', _98 => _98.repository])) {
|
|
1384
1442
|
repository = packageJson.repository;
|
|
1385
1443
|
}
|
|
1386
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1444
|
+
if (_optionalChain([packageJson, 'optionalAccess', _99 => _99.description])) {
|
|
1387
1445
|
description = packageJson.description;
|
|
1388
1446
|
}
|
|
1389
1447
|
}
|
|
@@ -1431,24 +1489,24 @@ _chunk3GQAWCBQjs.__name.call(void 0, getOutputPath, "getOutputPath");
|
|
|
1431
1489
|
function createProjectTsConfigJson(tree, options) {
|
|
1432
1490
|
const tsconfig = {
|
|
1433
1491
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
1434
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1492
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _100 => _100.tsconfigOptions]), () => ( {})),
|
|
1435
1493
|
compilerOptions: {
|
|
1436
1494
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
1437
1495
|
outDir: _chunkFC5AL6FFjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
1438
1496
|
noEmit: true,
|
|
1439
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1497
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _101 => _101.tsconfigOptions, 'optionalAccess', _102 => _102.compilerOptions]), () => ( {}))
|
|
1440
1498
|
},
|
|
1441
1499
|
files: [
|
|
1442
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1500
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _103 => _103.tsconfigOptions, 'optionalAccess', _104 => _104.files]), () => ( []))
|
|
1443
1501
|
],
|
|
1444
1502
|
include: [
|
|
1445
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1503
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _105 => _105.tsconfigOptions, 'optionalAccess', _106 => _106.include]), () => ( [])),
|
|
1446
1504
|
"src/**/*.ts",
|
|
1447
1505
|
"src/**/*.js",
|
|
1448
1506
|
"bin/**/*"
|
|
1449
1507
|
],
|
|
1450
1508
|
exclude: [
|
|
1451
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1509
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _107 => _107.tsconfigOptions, 'optionalAccess', _108 => _108.exclude]), () => ( [])),
|
|
1452
1510
|
"jest.config.ts",
|
|
1453
1511
|
"src/**/*.spec.ts",
|
|
1454
1512
|
"src/**/*.test.ts"
|
|
@@ -1459,8 +1517,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
1459
1517
|
_chunk3GQAWCBQjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
|
|
1460
1518
|
async function normalizeOptions(tree, options, config) {
|
|
1461
1519
|
let importPath = options.importPath;
|
|
1462
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
1463
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
1520
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _109 => _109.namespace])) {
|
|
1521
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _110 => _110.namespace])}/${options.name}`;
|
|
1464
1522
|
}
|
|
1465
1523
|
if (options.publishable) {
|
|
1466
1524
|
if (!importPath) {
|
|
@@ -1592,7 +1650,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
1592
1650
|
name: "StormWorkspaceConfiguration"
|
|
1593
1651
|
});
|
|
1594
1652
|
_chunkFC5AL6FFjs.writeTrace.call(void 0, jsonSchema, config);
|
|
1595
|
-
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
1653
|
+
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _111 => _111.workspaceRoot]), () => ( _chunkFC5AL6FFjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _112 => _112.outputFile, 'optionalAccess', _113 => _113.startsWith, 'call', _114 => _114("./")]) ? "" : "./");
|
|
1596
1654
|
_chunkFC5AL6FFjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
1597
1655
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
|
|
1598
1656
|
spaces: 2
|
|
@@ -1874,7 +1932,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
1874
1932
|
};
|
|
1875
1933
|
return json;
|
|
1876
1934
|
});
|
|
1877
|
-
_devkit.generateFiles.call(void 0, tree,
|
|
1935
|
+
_devkit.generateFiles.call(void 0, tree, path4.join(__dirname, "files"), projectRoot, {
|
|
1878
1936
|
...options,
|
|
1879
1937
|
pnpmVersion,
|
|
1880
1938
|
nodeVersion
|
package/dist/executors.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";require('./chunk-E7SPQEPH.js');
|
|
2
|
+
require('./chunk-YBMM6DDX.js');
|
|
2
3
|
require('./chunk-LXKO7ZLH.js');
|
|
3
4
|
require('./chunk-JPGERIM3.js');
|
|
4
5
|
require('./chunk-ESAA5DIO.js');
|
|
5
|
-
require('./chunk-YBMM6DDX.js');
|
|
6
6
|
require('./chunk-ZAMME4JX.js');
|
|
7
7
|
require('./chunk-FC5AL6FF.js');
|
|
8
8
|
require('./chunk-3GQAWCBQ.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./chunk-HYHKZPRR.mjs";
|
|
2
|
+
import "./chunk-NXSCFV7N.mjs";
|
|
2
3
|
import "./chunk-QBGJTJNT.mjs";
|
|
3
4
|
import "./chunk-O7OJZ72R.mjs";
|
|
4
5
|
import "./chunk-X7DJ4DVD.mjs";
|
|
5
|
-
import "./chunk-NXSCFV7N.mjs";
|
|
6
6
|
import "./chunk-UH5WSHEA.mjs";
|
|
7
7
|
import "./chunk-ACQ7AUDY.mjs";
|
|
8
8
|
import "./chunk-NM2XRTN6.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 _chunkQHG4VLHYjs = require('./chunk-QHG4VLHY.js');
|
|
5
5
|
require('./chunk-FC5AL6FF.js');
|
|
6
6
|
require('./chunk-3GQAWCBQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGenerator =
|
|
9
|
+
exports.initGenerator = _chunkQHG4VLHYjs.initGenerator;
|
package/dist/generators.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-E7SPQEPH.js');
|
|
2
|
+
require('./chunk-YBMM6DDX.js');
|
|
2
3
|
require('./chunk-LXKO7ZLH.js');
|
|
3
4
|
require('./chunk-JPGERIM3.js');
|
|
4
5
|
require('./chunk-ESAA5DIO.js');
|
|
5
6
|
require('./chunk-N2YKXZ5R.js');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkIR3INUF5js = require('./chunk-IR3INUF5.js');
|
|
9
7
|
require('./chunk-GUQOEBFW.js');
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
var _chunkILC773N2js = require('./chunk-ILC773N2.js');
|
|
13
|
-
require('./chunk-YBMM6DDX.js');
|
|
14
11
|
|
|
15
12
|
|
|
16
13
|
var _chunkZAMME4JXjs = require('./chunk-ZAMME4JX.js');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
var _chunkQHG4VLHYjs = require('./chunk-QHG4VLHY.js');
|
|
17
17
|
require('./chunk-FC5AL6FF.js');
|
|
18
18
|
require('./chunk-3GQAWCBQ.js');
|
|
19
19
|
|
|
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 = _chunkQHG4VLHYjs.initGenerator; exports.withTerraformExecutor = _chunkZAMME4JXjs.withTerraformExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "./chunk-HYHKZPRR.mjs";
|
|
2
|
+
import "./chunk-NXSCFV7N.mjs";
|
|
2
3
|
import "./chunk-QBGJTJNT.mjs";
|
|
3
4
|
import "./chunk-O7OJZ72R.mjs";
|
|
4
5
|
import "./chunk-X7DJ4DVD.mjs";
|
|
5
6
|
import "./chunk-23KFTIT2.mjs";
|
|
6
|
-
import {
|
|
7
|
-
initGenerator
|
|
8
|
-
} from "./chunk-XQSTQE3H.mjs";
|
|
9
7
|
import "./chunk-CA7S5MOH.mjs";
|
|
10
8
|
import {
|
|
11
9
|
base_terraform_executor_untyped_default
|
|
12
10
|
} from "./chunk-EL25IDXP.mjs";
|
|
13
|
-
import "./chunk-NXSCFV7N.mjs";
|
|
14
11
|
import {
|
|
15
12
|
withTerraformExecutor
|
|
16
13
|
} from "./chunk-UH5WSHEA.mjs";
|
|
14
|
+
import {
|
|
15
|
+
initGenerator
|
|
16
|
+
} from "./chunk-GZQXAEBW.mjs";
|
|
17
17
|
import "./chunk-ACQ7AUDY.mjs";
|
|
18
18
|
import "./chunk-NM2XRTN6.mjs";
|
|
19
19
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQHG4VLHYjs = require('../../../chunk-QHG4VLHY.js');
|
|
5
5
|
require('../../../chunk-FC5AL6FF.js');
|
|
6
6
|
require('../../../chunk-3GQAWCBQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _chunkQHG4VLHYjs.init_default; exports.initGenerator = _chunkQHG4VLHYjs.initGenerator;
|