@storm-software/terraform-tools 0.60.13 → 0.60.15
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 +12 -0
- package/README.md +1 -1
- package/dist/{chunk-LAL5NPJB.mjs → chunk-HJPEB5BP.mjs} +1 -1
- package/dist/{chunk-LD4V5IEW.mjs → chunk-OZ5KGOQP.mjs} +3 -4
- package/dist/{chunk-EXBK3TQE.js → chunk-Y3VDKHSS.js} +33 -34
- package/dist/executors.js +1 -1
- package/dist/executors.mjs +2 -2
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +2 -2
- package/dist/index.js +5 -5
- package/dist/index.mjs +5 -5
- package/dist/src/base/base-terraform-executor.untyped.mjs +1 -1
- package/dist/src/base/index.mjs +1 -1
- package/dist/src/base/terraform-executor.mjs +1 -1
- package/dist/src/executors/apply/executor.mjs +1 -1
- package/dist/src/executors/destroy/executor.mjs +1 -1
- package/dist/src/executors/output/executor.mjs +1 -1
- package/dist/src/executors/plan/executor.mjs +1 -1
- package/dist/src/generators/init/init.js +2 -2
- package/dist/src/generators/init/init.mjs +2 -2
- package/dist/tsup.config.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Terraform Tools
|
|
4
4
|
|
|
5
|
+
## [0.60.14](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.60.14) (2025-06-05)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update workspace packages and README markdown
|
|
10
|
+
|
|
11
|
+
## [0.60.13](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.60.13) (2025-05-29)
|
|
12
|
+
|
|
13
|
+
### Miscellaneous
|
|
14
|
+
|
|
15
|
+
- **monorepo:** Regenerate README markdown files
|
|
16
|
+
|
|
5
17
|
## [0.60.12](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.60.12) (2025-05-28)
|
|
6
18
|
|
|
7
19
|
### 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 -->
|
|
@@ -5,7 +5,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
5
5
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
6
6
|
});
|
|
7
7
|
|
|
8
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
8
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__bfb917e2b8480b4c6bc56e8a9e3bf7af/node_modules/tsup/assets/esm_shims.js
|
|
9
9
|
import { fileURLToPath } from "url";
|
|
10
10
|
import path from "path";
|
|
11
11
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
__dirname,
|
|
22
22
|
__require
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HJPEB5BP.mjs";
|
|
24
24
|
|
|
25
25
|
// src/generators/init/init.ts
|
|
26
26
|
import { formatFiles as formatFiles9 } from "@nx/devkit";
|
|
@@ -535,9 +535,9 @@ import {
|
|
|
535
535
|
|
|
536
536
|
// ../esbuild/src/assets.ts
|
|
537
537
|
async function copyBuildAssets(context) {
|
|
538
|
-
if (context.result?.errors.length
|
|
538
|
+
if (!context.result?.errors.length && context.options.assets?.length) {
|
|
539
539
|
writeDebug(
|
|
540
|
-
` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`,
|
|
540
|
+
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
541
541
|
context.workspaceConfig
|
|
542
542
|
);
|
|
543
543
|
const stopwatch = getStopwatch(`${context.options.name} asset copy`);
|
|
@@ -573,7 +573,6 @@ import { findWorkspaceRoot as findWorkspaceRoot2 } from "nx/src/utils/find-works
|
|
|
573
573
|
|
|
574
574
|
// ../esbuild/src/config.ts
|
|
575
575
|
var DEFAULT_BUILD_OPTIONS = {
|
|
576
|
-
assets: [],
|
|
577
576
|
platform: "node",
|
|
578
577
|
target: "node22",
|
|
579
578
|
format: "esm",
|
|
@@ -534,9 +534,9 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
534
534
|
|
|
535
535
|
// ../esbuild/src/assets.ts
|
|
536
536
|
async function copyBuildAssets(context) {
|
|
537
|
-
if (_optionalChain([context, 'access', _28 => _28.result, 'optionalAccess', _29 => _29.errors, 'access', _30 => _30.length])
|
|
537
|
+
if (!_optionalChain([context, 'access', _28 => _28.result, 'optionalAccess', _29 => _29.errors, 'access', _30 => _30.length]) && _optionalChain([context, 'access', _31 => _31.options, 'access', _32 => _32.assets, 'optionalAccess', _33 => _33.length])) {
|
|
538
538
|
_chunk27OX2IVBjs.writeDebug.call(void 0,
|
|
539
|
-
` \u{1F4CB} Copying asset files to output directory: ${context.outputPath}`,
|
|
539
|
+
` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
|
|
540
540
|
context.workspaceConfig
|
|
541
541
|
);
|
|
542
542
|
const stopwatch = _chunk27OX2IVBjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
|
|
@@ -572,7 +572,6 @@ var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
|
572
572
|
|
|
573
573
|
// ../esbuild/src/config.ts
|
|
574
574
|
var DEFAULT_BUILD_OPTIONS = {
|
|
575
|
-
assets: [],
|
|
576
575
|
platform: "node",
|
|
577
576
|
target: "node22",
|
|
578
577
|
format: "esm",
|
|
@@ -642,7 +641,7 @@ async function resolveContext(userOptions) {
|
|
|
642
641
|
const projectJson = JSON.parse(projectJsonFile);
|
|
643
642
|
const projectName = projectJson.name || userOptions.name;
|
|
644
643
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
645
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
644
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _34 => _34.projects, 'optionalAccess', _35 => _35[projectName]])) {
|
|
646
645
|
throw new Error(
|
|
647
646
|
"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."
|
|
648
647
|
);
|
|
@@ -937,7 +936,7 @@ async function executeTsup(context) {
|
|
|
937
936
|
|
|
938
937
|
// ../esbuild/src/build.ts
|
|
939
938
|
async function reportResults(context) {
|
|
940
|
-
if (_optionalChain([context, 'access',
|
|
939
|
+
if (_optionalChain([context, 'access', _36 => _36.result, 'optionalAccess', _37 => _37.errors, 'access', _38 => _38.length]) === 0) {
|
|
941
940
|
if (context.result.warnings.length > 0) {
|
|
942
941
|
_chunk27OX2IVBjs.writeWarning.call(void 0,
|
|
943
942
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
@@ -948,7 +947,7 @@ async function reportResults(context) {
|
|
|
948
947
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
949
948
|
context.workspaceConfig
|
|
950
949
|
);
|
|
951
|
-
} else if (_optionalChain([context, 'access',
|
|
950
|
+
} else if (_optionalChain([context, 'access', _39 => _39.result, 'optionalAccess', _40 => _40.errors]) && _optionalChain([context, 'access', _41 => _41.result, 'optionalAccess', _42 => _42.errors, 'access', _43 => _43.length]) > 0) {
|
|
952
951
|
_chunk27OX2IVBjs.writeError.call(void 0,
|
|
953
952
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
954
953
|
context.workspaceConfig
|
|
@@ -1027,16 +1026,16 @@ async function build2(options) {
|
|
|
1027
1026
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
1028
1027
|
async function esbuildExecutorFn(options, context, config) {
|
|
1029
1028
|
_chunk27OX2IVBjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1030
|
-
if (!_optionalChain([context, 'access',
|
|
1029
|
+
if (!_optionalChain([context, 'access', _44 => _44.projectsConfigurations, 'optionalAccess', _45 => _45.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _46 => _46.projectsConfigurations, 'access', _47 => _47.projects, 'access', _48 => _48[context.projectName], 'optionalAccess', _49 => _49.root])) {
|
|
1031
1030
|
throw new Error(
|
|
1032
1031
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
1033
1032
|
);
|
|
1034
1033
|
}
|
|
1035
1034
|
await build2({
|
|
1036
1035
|
...options,
|
|
1037
|
-
projectRoot: _optionalChain([context, 'access',
|
|
1036
|
+
projectRoot: _optionalChain([context, 'access', _50 => _50.projectsConfigurations, 'access', _51 => _51.projects, 'optionalAccess', _52 => _52[context.projectName], 'access', _53 => _53.root]),
|
|
1038
1037
|
name: context.projectName,
|
|
1039
|
-
sourceRoot: _optionalChain([context, 'access',
|
|
1038
|
+
sourceRoot: _optionalChain([context, 'access', _54 => _54.projectsConfigurations, 'access', _55 => _55.projects, 'optionalAccess', _56 => _56[context.projectName], 'optionalAccess', _57 => _57.sourceRoot]),
|
|
1040
1039
|
format: options.format,
|
|
1041
1040
|
platform: options.format
|
|
1042
1041
|
});
|
|
@@ -1085,15 +1084,15 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
1085
1084
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
1086
1085
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
1087
1086
|
async function sizeLimitExecutorFn(options, context, config) {
|
|
1088
|
-
if (!_optionalChain([context, 'optionalAccess',
|
|
1087
|
+
if (!_optionalChain([context, 'optionalAccess', _58 => _58.projectName]) || !_optionalChain([context, 'access', _59 => _59.projectsConfigurations, 'optionalAccess', _60 => _60.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1089
1088
|
throw new Error(
|
|
1090
1089
|
"The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
|
|
1091
1090
|
);
|
|
1092
1091
|
}
|
|
1093
1092
|
_chunk27OX2IVBjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
|
|
1094
1093
|
_sizelimit2.default.call(void 0, [_file2.default, _esbuild3.default, _esbuildwhy2.default], {
|
|
1095
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access',
|
|
1096
|
-
_nullishCoalesce(_optionalChain([context, 'access',
|
|
1094
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _61 => _61.projectsConfigurations, 'access', _62 => _62.projects, 'access', _63 => _63[context.projectName], 'optionalAccess', _64 => _64.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
|
|
1095
|
+
_nullishCoalesce(_optionalChain([context, 'access', _65 => _65.projectsConfigurations, 'access', _66 => _66.projects, 'access', _67 => _67[context.projectName], 'optionalAccess', _68 => _68.root]), () => ( "./")),
|
|
1097
1096
|
"src"
|
|
1098
1097
|
)))
|
|
1099
1098
|
}).then((result) => {
|
|
@@ -1163,7 +1162,7 @@ var executor_default8 = _chunk27OX2IVBjs.withRunExecutor.call(void 0,
|
|
|
1163
1162
|
var _jiti = require('jiti');
|
|
1164
1163
|
async function unbuildExecutorFn(options, context, config) {
|
|
1165
1164
|
_chunk27OX2IVBjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1166
|
-
if (!_optionalChain([context, 'access',
|
|
1165
|
+
if (!_optionalChain([context, 'access', _69 => _69.projectsConfigurations, 'optionalAccess', _70 => _70.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1167
1166
|
throw new Error(
|
|
1168
1167
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
1169
1168
|
);
|
|
@@ -1277,7 +1276,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
1277
1276
|
);
|
|
1278
1277
|
config = await _chunk27OX2IVBjs.getConfig.call(void 0, workspaceRoot3);
|
|
1279
1278
|
}
|
|
1280
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1279
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _71 => _71.hooks, 'optionalAccess', _72 => _72.applyDefaultOptions])) {
|
|
1281
1280
|
_chunk27OX2IVBjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
1282
1281
|
options = await Promise.resolve(
|
|
1283
1282
|
generatorOptions.hooks.applyDefaultOptions(options, config)
|
|
@@ -1294,7 +1293,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1294
1293
|
{ workspaceRoot: tree.root, config },
|
|
1295
1294
|
_chunk27OX2IVBjs.applyWorkspaceBaseTokens
|
|
1296
1295
|
);
|
|
1297
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1296
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _73 => _73.hooks, 'optionalAccess', _74 => _74.preProcess])) {
|
|
1298
1297
|
_chunk27OX2IVBjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
1299
1298
|
await Promise.resolve(
|
|
1300
1299
|
generatorOptions.hooks.preProcess(tokenized, config)
|
|
@@ -1305,15 +1304,15 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1305
1304
|
generatorFn(tree, tokenized, config)
|
|
1306
1305
|
);
|
|
1307
1306
|
if (result) {
|
|
1308
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
1307
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _75 => _75.error, 'optionalAccess', _76 => _76.message]) && typeof _optionalChain([result, 'optionalAccess', _77 => _77.error, 'optionalAccess', _78 => _78.message]) === "string" && _optionalChain([result, 'optionalAccess', _79 => _79.error, 'optionalAccess', _80 => _80.name]) && typeof _optionalChain([result, 'optionalAccess', _81 => _81.error, 'optionalAccess', _82 => _82.name]) === "string") {
|
|
1309
1308
|
throw new Error(`The ${name} generator failed to run`, {
|
|
1310
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
1309
|
+
cause: _optionalChain([result, 'optionalAccess', _83 => _83.error])
|
|
1311
1310
|
});
|
|
1312
1311
|
} else if (result.success && result.data) {
|
|
1313
1312
|
return result;
|
|
1314
1313
|
}
|
|
1315
1314
|
}
|
|
1316
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1315
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _84 => _84.hooks, 'optionalAccess', _85 => _85.postProcess])) {
|
|
1317
1316
|
_chunk27OX2IVBjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
1318
1317
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
1319
1318
|
_chunk27OX2IVBjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
@@ -1505,15 +1504,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1505
1504
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
1506
1505
|
let repository = {
|
|
1507
1506
|
type: "github",
|
|
1508
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
1507
|
+
url: _optionalChain([config, 'optionalAccess', _86 => _86.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _87 => _87.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _88 => _88.namespace]) || _optionalChain([config, 'optionalAccess', _89 => _89.name]) || "repository"}.git`
|
|
1509
1508
|
};
|
|
1510
1509
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
1511
1510
|
if (tree.exists("package.json")) {
|
|
1512
1511
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1513
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1512
|
+
if (_optionalChain([packageJson, 'optionalAccess', _90 => _90.repository])) {
|
|
1514
1513
|
repository = packageJson.repository;
|
|
1515
1514
|
}
|
|
1516
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1515
|
+
if (_optionalChain([packageJson, 'optionalAccess', _91 => _91.description])) {
|
|
1517
1516
|
description = packageJson.description;
|
|
1518
1517
|
}
|
|
1519
1518
|
}
|
|
@@ -1568,9 +1567,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1568
1567
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
1569
1568
|
...json,
|
|
1570
1569
|
pnpm: {
|
|
1571
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1570
|
+
..._optionalChain([json, 'optionalAccess', _92 => _92.pnpm]),
|
|
1572
1571
|
overrides: {
|
|
1573
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1572
|
+
..._optionalChain([json, 'optionalAccess', _93 => _93.pnpm, 'optionalAccess', _94 => _94.overrides]),
|
|
1574
1573
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
1575
1574
|
}
|
|
1576
1575
|
}
|
|
@@ -1588,10 +1587,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1588
1587
|
]);
|
|
1589
1588
|
if (tree.exists("package.json")) {
|
|
1590
1589
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1591
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1590
|
+
if (_optionalChain([packageJson, 'optionalAccess', _95 => _95.repository])) {
|
|
1592
1591
|
repository = packageJson.repository;
|
|
1593
1592
|
}
|
|
1594
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1593
|
+
if (_optionalChain([packageJson, 'optionalAccess', _96 => _96.description])) {
|
|
1595
1594
|
description = packageJson.description;
|
|
1596
1595
|
}
|
|
1597
1596
|
}
|
|
@@ -1628,22 +1627,22 @@ function getOutputPath(options) {
|
|
|
1628
1627
|
function createProjectTsConfigJson(tree, options) {
|
|
1629
1628
|
const tsconfig = {
|
|
1630
1629
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
1631
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1630
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _97 => _97.tsconfigOptions]), () => ( {})),
|
|
1632
1631
|
compilerOptions: {
|
|
1633
1632
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
1634
1633
|
outDir: _chunk27OX2IVBjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
1635
1634
|
noEmit: true,
|
|
1636
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1635
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _98 => _98.tsconfigOptions, 'optionalAccess', _99 => _99.compilerOptions]), () => ( {}))
|
|
1637
1636
|
},
|
|
1638
|
-
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1637
|
+
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _100 => _100.tsconfigOptions, 'optionalAccess', _101 => _101.files]), () => ( []))],
|
|
1639
1638
|
include: [
|
|
1640
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1639
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _102 => _102.tsconfigOptions, 'optionalAccess', _103 => _103.include]), () => ( [])),
|
|
1641
1640
|
"src/**/*.ts",
|
|
1642
1641
|
"src/**/*.js",
|
|
1643
1642
|
"bin/**/*"
|
|
1644
1643
|
],
|
|
1645
1644
|
exclude: [
|
|
1646
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1645
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _104 => _104.tsconfigOptions, 'optionalAccess', _105 => _105.exclude]), () => ( [])),
|
|
1647
1646
|
"jest.config.ts",
|
|
1648
1647
|
"src/**/*.spec.ts",
|
|
1649
1648
|
"src/**/*.test.ts"
|
|
@@ -1653,8 +1652,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
1653
1652
|
}
|
|
1654
1653
|
async function normalizeOptions(tree, options, config) {
|
|
1655
1654
|
let importPath = options.importPath;
|
|
1656
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
1657
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
1655
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _106 => _106.namespace])) {
|
|
1656
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _107 => _107.namespace])}/${options.name}`;
|
|
1658
1657
|
}
|
|
1659
1658
|
if (options.publishable) {
|
|
1660
1659
|
if (!importPath) {
|
|
@@ -1810,8 +1809,8 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
1810
1809
|
});
|
|
1811
1810
|
_chunk27OX2IVBjs.writeTrace.call(void 0, jsonSchema, config);
|
|
1812
1811
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
1813
|
-
_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
1814
|
-
_optionalChain([options, 'access',
|
|
1812
|
+
_nullishCoalesce(_optionalChain([config, 'optionalAccess', _108 => _108.workspaceRoot]), () => ( _chunk27OX2IVBjs.findWorkspaceRoot.call(void 0, ))),
|
|
1813
|
+
_optionalChain([options, 'access', _109 => _109.outputFile, 'optionalAccess', _110 => _110.startsWith, 'call', _111 => _111("./")]) ? "" : "./"
|
|
1815
1814
|
);
|
|
1816
1815
|
_chunk27OX2IVBjs.writeTrace.call(void 0,
|
|
1817
1816
|
`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
|
package/dist/executors.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";require('./chunk-E7SPQEPH.js');
|
|
2
|
-
require('./chunk-AS2B5GS7.js');
|
|
3
2
|
require('./chunk-4B5XOSWD.js');
|
|
4
3
|
require('./chunk-EE3AHVP3.js');
|
|
5
4
|
require('./chunk-LT5Z4JUG.js');
|
|
5
|
+
require('./chunk-AS2B5GS7.js');
|
|
6
6
|
require('./chunk-K5VRWNMP.js');
|
|
7
7
|
require('./chunk-27OX2IVB.js');
|
|
8
8
|
require('./chunk-3RG5ZIWI.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./chunk-HYHKZPRR.mjs";
|
|
2
|
-
import "./chunk-DFS4RHJB.mjs";
|
|
3
2
|
import "./chunk-NSR5VU3N.mjs";
|
|
4
3
|
import "./chunk-PXFXKNOL.mjs";
|
|
5
4
|
import "./chunk-27LFUIUZ.mjs";
|
|
5
|
+
import "./chunk-DFS4RHJB.mjs";
|
|
6
6
|
import "./chunk-QNJTHB5H.mjs";
|
|
7
7
|
import "./chunk-CTX4RJC2.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-HJPEB5BP.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 _chunkY3VDKHSSjs = require('./chunk-Y3VDKHSS.js');
|
|
5
5
|
require('./chunk-27OX2IVB.js');
|
|
6
6
|
require('./chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGenerator =
|
|
9
|
+
exports.initGenerator = _chunkY3VDKHSSjs.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-AS2B5GS7.js');
|
|
3
2
|
require('./chunk-4B5XOSWD.js');
|
|
4
3
|
require('./chunk-EE3AHVP3.js');
|
|
5
4
|
require('./chunk-LT5Z4JUG.js');
|
|
6
5
|
require('./chunk-N2YKXZ5R.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkY3VDKHSSjs = require('./chunk-Y3VDKHSS.js');
|
|
7
9
|
require('./chunk-GUQOEBFW.js');
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
var _chunkILC773N2js = require('./chunk-ILC773N2.js');
|
|
13
|
+
require('./chunk-AS2B5GS7.js');
|
|
11
14
|
|
|
12
15
|
|
|
13
16
|
var _chunkK5VRWNMPjs = require('./chunk-K5VRWNMP.js');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var _chunkEXBK3TQEjs = require('./chunk-EXBK3TQE.js');
|
|
17
17
|
require('./chunk-27OX2IVB.js');
|
|
18
18
|
require('./chunk-3RG5ZIWI.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 = _chunkY3VDKHSSjs.initGenerator; exports.withTerraformExecutor = _chunkK5VRWNMPjs.withTerraformExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "./chunk-HYHKZPRR.mjs";
|
|
2
|
-
import "./chunk-DFS4RHJB.mjs";
|
|
3
2
|
import "./chunk-NSR5VU3N.mjs";
|
|
4
3
|
import "./chunk-PXFXKNOL.mjs";
|
|
5
4
|
import "./chunk-27LFUIUZ.mjs";
|
|
6
5
|
import "./chunk-23KFTIT2.mjs";
|
|
6
|
+
import {
|
|
7
|
+
initGenerator
|
|
8
|
+
} from "./chunk-OZ5KGOQP.mjs";
|
|
7
9
|
import "./chunk-CA7S5MOH.mjs";
|
|
8
10
|
import {
|
|
9
11
|
base_terraform_executor_untyped_default
|
|
10
12
|
} from "./chunk-EL25IDXP.mjs";
|
|
13
|
+
import "./chunk-DFS4RHJB.mjs";
|
|
11
14
|
import {
|
|
12
15
|
withTerraformExecutor
|
|
13
16
|
} from "./chunk-QNJTHB5H.mjs";
|
|
14
|
-
import {
|
|
15
|
-
initGenerator
|
|
16
|
-
} from "./chunk-LD4V5IEW.mjs";
|
|
17
17
|
import "./chunk-CTX4RJC2.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-HJPEB5BP.mjs";
|
|
19
19
|
export {
|
|
20
20
|
base_terraform_executor_untyped_default as baseTerraformExecutorSchema,
|
|
21
21
|
initGenerator,
|
package/dist/src/base/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
withTerraformExecutor
|
|
7
7
|
} from "../../chunk-QNJTHB5H.mjs";
|
|
8
8
|
import "../../chunk-CTX4RJC2.mjs";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-HJPEB5BP.mjs";
|
|
10
10
|
export {
|
|
11
11
|
base_terraform_executor_untyped_default as baseTerraformExecutorSchema,
|
|
12
12
|
withTerraformExecutor
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkY3VDKHSSjs = require('../../../chunk-Y3VDKHSS.js');
|
|
5
5
|
require('../../../chunk-27OX2IVB.js');
|
|
6
6
|
require('../../../chunk-3RG5ZIWI.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _chunkY3VDKHSSjs.init_default; exports.initGenerator = _chunkY3VDKHSSjs.initGenerator;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
initGenerator,
|
|
3
3
|
init_default
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-OZ5KGOQP.mjs";
|
|
5
5
|
import "../../../chunk-CTX4RJC2.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-HJPEB5BP.mjs";
|
|
7
7
|
export {
|
|
8
8
|
init_default as default,
|
|
9
9
|
initGenerator
|
package/dist/tsup.config.mjs
CHANGED