@storm-software/terraform-tools 0.54.41 → 0.54.43
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 +14 -0
- package/README.md +1 -1
- package/dist/{chunk-WGOCJVNM.mjs → chunk-T72ETESF.mjs} +14 -6
- package/dist/{chunk-67G4XZWI.js → chunk-VMGNL2KF.js} +42 -34
- 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,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Terraform Tools
|
|
4
4
|
|
|
5
|
+
## [0.54.43](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.43) (2025-03-18)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([4a6eeab3f](https://github.com/storm-software/storm-ops/commit/4a6eeab3f))
|
|
11
|
+
|
|
12
|
+
## [0.54.42](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.42) (2025-03-18)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Regenerate README markdown files
|
|
17
|
+
([2d7343483](https://github.com/storm-software/storm-ops/commit/2d7343483))
|
|
18
|
+
|
|
5
19
|
## [0.54.41](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.41) (2025-03-17)
|
|
6
20
|
|
|
7
21
|
### 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 -->
|
|
@@ -1278,15 +1278,19 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
1278
1278
|
}, {})
|
|
1279
1279
|
},
|
|
1280
1280
|
inject: [
|
|
1281
|
-
options.format === "cjs" && options.injectShims ? joinPaths(__dirname, "../assets/cjs_shims.js") :
|
|
1282
|
-
options.format === "esm" && options.injectShims && options.platform === "node" ? joinPaths(__dirname, "../assets/esm_shims.js") :
|
|
1283
|
-
]
|
|
1281
|
+
options.format === "cjs" && options.injectShims ? joinPaths(__dirname, "../assets/cjs_shims.js") : void 0,
|
|
1282
|
+
options.format === "esm" && options.injectShims && options.platform === "node" ? joinPaths(__dirname, "../assets/esm_shims.js") : void 0
|
|
1283
|
+
].filter(Boolean)
|
|
1284
1284
|
};
|
|
1285
1285
|
result.plugins = userOptions.plugins ?? getDefaultBuildPlugins(userOptions, result);
|
|
1286
|
-
if (options.inject) {
|
|
1287
|
-
|
|
1286
|
+
if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
|
|
1287
|
+
result.inject = options.inject.reduce((ret, inj) => {
|
|
1288
|
+
if (inj && typeof inj === "string" && ret.includes(inj)) {
|
|
1289
|
+
ret.push(inj);
|
|
1290
|
+
}
|
|
1291
|
+
return ret;
|
|
1292
|
+
}, result.inject);
|
|
1288
1293
|
}
|
|
1289
|
-
options.inject?.filter(Boolean);
|
|
1290
1294
|
delete result.entry;
|
|
1291
1295
|
delete result.outputPath;
|
|
1292
1296
|
stopwatch();
|
|
@@ -1378,6 +1382,10 @@ async function executeEsBuild(context2) {
|
|
|
1378
1382
|
...context2.options
|
|
1379
1383
|
};
|
|
1380
1384
|
options.outdir = joinPaths(context2.options.outdir, context2.options.distDir);
|
|
1385
|
+
if (!options.inject || !Array.isArray(options.inject) || options.inject.length === 0 || // eslint-disable-next-line no-constant-binary-expression, @typescript-eslint/no-explicit-any
|
|
1386
|
+
options.inject === {}) {
|
|
1387
|
+
delete options.inject;
|
|
1388
|
+
}
|
|
1381
1389
|
delete options.env;
|
|
1382
1390
|
delete options.name;
|
|
1383
1391
|
delete options.assets;
|
|
@@ -1277,15 +1277,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
1277
1277
|
}, {})
|
|
1278
1278
|
},
|
|
1279
1279
|
inject: [
|
|
1280
|
-
options.format === "cjs" && options.injectShims ? _chunk7EE3ZWHRjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") :
|
|
1281
|
-
options.format === "esm" && options.injectShims && options.platform === "node" ? _chunk7EE3ZWHRjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") :
|
|
1282
|
-
]
|
|
1280
|
+
options.format === "cjs" && options.injectShims ? _chunk7EE3ZWHRjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : void 0,
|
|
1281
|
+
options.format === "esm" && options.injectShims && options.platform === "node" ? _chunk7EE3ZWHRjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : void 0
|
|
1282
|
+
].filter(Boolean)
|
|
1283
1283
|
};
|
|
1284
1284
|
result.plugins = _nullishCoalesce(userOptions.plugins, () => ( getDefaultBuildPlugins(userOptions, result)));
|
|
1285
|
-
if (options.inject) {
|
|
1286
|
-
|
|
1285
|
+
if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
|
|
1286
|
+
result.inject = options.inject.reduce((ret, inj) => {
|
|
1287
|
+
if (inj && typeof inj === "string" && ret.includes(inj)) {
|
|
1288
|
+
ret.push(inj);
|
|
1289
|
+
}
|
|
1290
|
+
return ret;
|
|
1291
|
+
}, result.inject);
|
|
1287
1292
|
}
|
|
1288
|
-
_optionalChain([options, 'access', _48 => _48.inject, 'optionalAccess', _49 => _49.filter, 'call', _50 => _50(Boolean)]);
|
|
1289
1293
|
delete result.entry;
|
|
1290
1294
|
delete result.outputPath;
|
|
1291
1295
|
stopwatch();
|
|
@@ -1377,6 +1381,10 @@ async function executeEsBuild(context2) {
|
|
|
1377
1381
|
...context2.options
|
|
1378
1382
|
};
|
|
1379
1383
|
options.outdir = _chunk7EE3ZWHRjs.joinPaths.call(void 0, context2.options.outdir, context2.options.distDir);
|
|
1384
|
+
if (!options.inject || !Array.isArray(options.inject) || options.inject.length === 0 || // eslint-disable-next-line no-constant-binary-expression, @typescript-eslint/no-explicit-any
|
|
1385
|
+
options.inject === {}) {
|
|
1386
|
+
delete options.inject;
|
|
1387
|
+
}
|
|
1380
1388
|
delete options.env;
|
|
1381
1389
|
delete options.name;
|
|
1382
1390
|
delete options.assets;
|
|
@@ -1411,7 +1419,7 @@ ${_chunk7EE3ZWHRjs.formatLogMessage.call(void 0, options)}`, context2.options.co
|
|
|
1411
1419
|
}
|
|
1412
1420
|
_chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
1413
1421
|
async function copyBuildAssets(context2) {
|
|
1414
|
-
if (_optionalChain([context2, 'access',
|
|
1422
|
+
if (_optionalChain([context2, 'access', _48 => _48.result, 'optionalAccess', _49 => _49.errors, 'access', _50 => _50.length]) === 0) {
|
|
1415
1423
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
1416
1424
|
const stopwatch = _chunk7EE3ZWHRjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
1417
1425
|
await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
@@ -1421,7 +1429,7 @@ async function copyBuildAssets(context2) {
|
|
|
1421
1429
|
}
|
|
1422
1430
|
_chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
1423
1431
|
async function reportResults(context2) {
|
|
1424
|
-
if (_optionalChain([context2, 'access',
|
|
1432
|
+
if (_optionalChain([context2, 'access', _51 => _51.result, 'optionalAccess', _52 => _52.errors, 'access', _53 => _53.length]) === 0) {
|
|
1425
1433
|
if (context2.result.warnings.length > 0) {
|
|
1426
1434
|
_chunk7EE3ZWHRjs.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);
|
|
1427
1435
|
}
|
|
@@ -1522,14 +1530,14 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
|
|
|
1522
1530
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
1523
1531
|
async function esbuildExecutorFn(options, context2, config) {
|
|
1524
1532
|
_chunk7EE3ZWHRjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1525
|
-
if (!_optionalChain([context2, 'access',
|
|
1533
|
+
if (!_optionalChain([context2, 'access', _54 => _54.projectsConfigurations, 'optionalAccess', _55 => _55.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _56 => _56.projectsConfigurations, 'access', _57 => _57.projects, 'access', _58 => _58[context2.projectName], 'optionalAccess', _59 => _59.root])) {
|
|
1526
1534
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
1527
1535
|
}
|
|
1528
1536
|
await build3({
|
|
1529
1537
|
...options,
|
|
1530
|
-
projectRoot: _optionalChain([context2, 'access',
|
|
1538
|
+
projectRoot: _optionalChain([context2, 'access', _60 => _60.projectsConfigurations, 'access', _61 => _61.projects, 'optionalAccess', _62 => _62[context2.projectName], 'access', _63 => _63.root]),
|
|
1531
1539
|
projectName: context2.projectName,
|
|
1532
|
-
sourceRoot: _optionalChain([context2, 'access',
|
|
1540
|
+
sourceRoot: _optionalChain([context2, 'access', _64 => _64.projectsConfigurations, 'access', _65 => _65.projects, 'optionalAccess', _66 => _66[context2.projectName], 'optionalAccess', _67 => _67.sourceRoot]),
|
|
1533
1541
|
format: options.format,
|
|
1534
1542
|
platform: options.format
|
|
1535
1543
|
});
|
|
@@ -1572,7 +1580,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
1572
1580
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
1573
1581
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
1574
1582
|
async function sizeLimitExecutorFn(options, context2, config) {
|
|
1575
|
-
if (!_optionalChain([context2, 'optionalAccess',
|
|
1583
|
+
if (!_optionalChain([context2, 'optionalAccess', _68 => _68.projectName]) || !_optionalChain([context2, 'access', _69 => _69.projectsConfigurations, 'optionalAccess', _70 => _70.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
1576
1584
|
throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
|
|
1577
1585
|
}
|
|
1578
1586
|
_chunk7EE3ZWHRjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
|
|
@@ -1581,7 +1589,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
|
|
|
1581
1589
|
_esbuild3.default,
|
|
1582
1590
|
_esbuildwhy2.default
|
|
1583
1591
|
], {
|
|
1584
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access',
|
|
1592
|
+
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _71 => _71.projectsConfigurations, 'access', _72 => _72.projects, 'access', _73 => _73[context2.projectName], 'optionalAccess', _74 => _74.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _75 => _75.projectsConfigurations, 'access', _76 => _76.projects, 'access', _77 => _77[context2.projectName], 'optionalAccess', _78 => _78.root]), () => ( "./")), "src")))
|
|
1585
1593
|
}).then((result) => {
|
|
1586
1594
|
_chunk7EE3ZWHRjs.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
|
|
1587
1595
|
});
|
|
@@ -1640,7 +1648,7 @@ var executor_default8 = _chunk7EE3ZWHRjs.withRunExecutor.call(void 0, "Typia run
|
|
|
1640
1648
|
var _jiti = require('jiti');
|
|
1641
1649
|
async function unbuildExecutorFn(options, context2, config) {
|
|
1642
1650
|
_chunk7EE3ZWHRjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1643
|
-
if (!_optionalChain([context2, 'access',
|
|
1651
|
+
if (!_optionalChain([context2, 'access', _79 => _79.projectsConfigurations, 'optionalAccess', _80 => _80.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
1644
1652
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
|
|
1645
1653
|
}
|
|
1646
1654
|
if (!context2.projectsConfigurations.projects[context2.projectName].root) {
|
|
@@ -1723,7 +1731,7 @@ var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (nam
|
|
|
1723
1731
|
- workspaceRoot: ${workspaceRoot3}`, config);
|
|
1724
1732
|
config = await _chunk7EE3ZWHRjs.getConfig.call(void 0, workspaceRoot3);
|
|
1725
1733
|
}
|
|
1726
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1734
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _81 => _81.hooks, 'optionalAccess', _82 => _82.applyDefaultOptions])) {
|
|
1727
1735
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
1728
1736
|
options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
|
|
1729
1737
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
@@ -1734,22 +1742,22 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1734
1742
|
workspaceRoot: tree.root,
|
|
1735
1743
|
config
|
|
1736
1744
|
}, _chunk7EE3ZWHRjs.applyWorkspaceBaseTokens);
|
|
1737
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1745
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _83 => _83.hooks, 'optionalAccess', _84 => _84.preProcess])) {
|
|
1738
1746
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
1739
1747
|
await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
|
|
1740
1748
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
1741
1749
|
}
|
|
1742
1750
|
const result = await Promise.resolve(generatorFn(tree, tokenized, config));
|
|
1743
1751
|
if (result) {
|
|
1744
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
1752
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _85 => _85.error, 'optionalAccess', _86 => _86.message]) && typeof _optionalChain([result, 'optionalAccess', _87 => _87.error, 'optionalAccess', _88 => _88.message]) === "string" && _optionalChain([result, 'optionalAccess', _89 => _89.error, 'optionalAccess', _90 => _90.name]) && typeof _optionalChain([result, 'optionalAccess', _91 => _91.error, 'optionalAccess', _92 => _92.name]) === "string") {
|
|
1745
1753
|
throw new Error(`The ${name} generator failed to run`, {
|
|
1746
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
1754
|
+
cause: _optionalChain([result, 'optionalAccess', _93 => _93.error])
|
|
1747
1755
|
});
|
|
1748
1756
|
} else if (result.success && result.data) {
|
|
1749
1757
|
return result;
|
|
1750
1758
|
}
|
|
1751
1759
|
}
|
|
1752
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1760
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _94 => _94.hooks, 'optionalAccess', _95 => _95.postProcess])) {
|
|
1753
1761
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
1754
1762
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
1755
1763
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
@@ -1915,15 +1923,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1915
1923
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
1916
1924
|
let repository = {
|
|
1917
1925
|
type: "github",
|
|
1918
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
1926
|
+
url: _optionalChain([config, 'optionalAccess', _96 => _96.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _97 => _97.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _98 => _98.namespace]) || _optionalChain([config, 'optionalAccess', _99 => _99.name]) || "repository"}.git`
|
|
1919
1927
|
};
|
|
1920
1928
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
1921
1929
|
if (tree.exists("package.json")) {
|
|
1922
1930
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1923
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1931
|
+
if (_optionalChain([packageJson, 'optionalAccess', _100 => _100.repository])) {
|
|
1924
1932
|
repository = packageJson.repository;
|
|
1925
1933
|
}
|
|
1926
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1934
|
+
if (_optionalChain([packageJson, 'optionalAccess', _101 => _101.description])) {
|
|
1927
1935
|
description = packageJson.description;
|
|
1928
1936
|
}
|
|
1929
1937
|
}
|
|
@@ -1978,9 +1986,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1978
1986
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
1979
1987
|
...json,
|
|
1980
1988
|
pnpm: {
|
|
1981
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1989
|
+
..._optionalChain([json, 'optionalAccess', _102 => _102.pnpm]),
|
|
1982
1990
|
overrides: {
|
|
1983
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1991
|
+
..._optionalChain([json, 'optionalAccess', _103 => _103.pnpm, 'optionalAccess', _104 => _104.overrides]),
|
|
1984
1992
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
1985
1993
|
}
|
|
1986
1994
|
}
|
|
@@ -1994,10 +2002,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1994
2002
|
]);
|
|
1995
2003
|
if (tree.exists("package.json")) {
|
|
1996
2004
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1997
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2005
|
+
if (_optionalChain([packageJson, 'optionalAccess', _105 => _105.repository])) {
|
|
1998
2006
|
repository = packageJson.repository;
|
|
1999
2007
|
}
|
|
2000
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
2008
|
+
if (_optionalChain([packageJson, 'optionalAccess', _106 => _106.description])) {
|
|
2001
2009
|
description = packageJson.description;
|
|
2002
2010
|
}
|
|
2003
2011
|
}
|
|
@@ -2045,24 +2053,24 @@ _chunk3GQAWCBQjs.__name.call(void 0, getOutputPath, "getOutputPath");
|
|
|
2045
2053
|
function createProjectTsConfigJson(tree, options) {
|
|
2046
2054
|
const tsconfig = {
|
|
2047
2055
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
2048
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2056
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _107 => _107.tsconfigOptions]), () => ( {})),
|
|
2049
2057
|
compilerOptions: {
|
|
2050
2058
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
2051
2059
|
outDir: _chunk7EE3ZWHRjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
2052
2060
|
noEmit: true,
|
|
2053
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2061
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _108 => _108.tsconfigOptions, 'optionalAccess', _109 => _109.compilerOptions]), () => ( {}))
|
|
2054
2062
|
},
|
|
2055
2063
|
files: [
|
|
2056
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2064
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _110 => _110.tsconfigOptions, 'optionalAccess', _111 => _111.files]), () => ( []))
|
|
2057
2065
|
],
|
|
2058
2066
|
include: [
|
|
2059
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2067
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _112 => _112.tsconfigOptions, 'optionalAccess', _113 => _113.include]), () => ( [])),
|
|
2060
2068
|
"src/**/*.ts",
|
|
2061
2069
|
"src/**/*.js",
|
|
2062
2070
|
"bin/**/*"
|
|
2063
2071
|
],
|
|
2064
2072
|
exclude: [
|
|
2065
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2073
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _114 => _114.tsconfigOptions, 'optionalAccess', _115 => _115.exclude]), () => ( [])),
|
|
2066
2074
|
"jest.config.ts",
|
|
2067
2075
|
"src/**/*.spec.ts",
|
|
2068
2076
|
"src/**/*.test.ts"
|
|
@@ -2073,8 +2081,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
2073
2081
|
_chunk3GQAWCBQjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
|
|
2074
2082
|
async function normalizeOptions(tree, options, config) {
|
|
2075
2083
|
let importPath = options.importPath;
|
|
2076
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
2077
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
2084
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _116 => _116.namespace])) {
|
|
2085
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _117 => _117.namespace])}/${options.name}`;
|
|
2078
2086
|
}
|
|
2079
2087
|
if (options.publishable) {
|
|
2080
2088
|
if (!importPath) {
|
|
@@ -2206,7 +2214,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
2206
2214
|
name: "StormWorkspaceConfiguration"
|
|
2207
2215
|
});
|
|
2208
2216
|
_chunk7EE3ZWHRjs.writeTrace.call(void 0, jsonSchema, config);
|
|
2209
|
-
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2217
|
+
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _118 => _118.workspaceRoot]), () => ( _chunk7EE3ZWHRjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _119 => _119.outputFile, 'optionalAccess', _120 => _120.startsWith, 'call', _121 => _121("./")]) ? "" : "./");
|
|
2210
2218
|
_chunk7EE3ZWHRjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
2211
2219
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
|
|
2212
2220
|
spaces: 2
|
package/dist/executors.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";require('./chunk-E7SPQEPH.js');
|
|
2
|
-
require('./chunk-6JNJXZFJ.js');
|
|
3
2
|
require('./chunk-NYWVLPFT.js');
|
|
4
3
|
require('./chunk-IJO2IHPY.js');
|
|
5
4
|
require('./chunk-MLGQ6TX6.js');
|
|
5
|
+
require('./chunk-6JNJXZFJ.js');
|
|
6
6
|
require('./chunk-7QES4OFY.js');
|
|
7
7
|
require('./chunk-7EE3ZWHR.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-FIYCZYZ5.mjs";
|
|
3
2
|
import "./chunk-TB4YXZBF.mjs";
|
|
4
3
|
import "./chunk-T6WPHTRX.mjs";
|
|
5
4
|
import "./chunk-CU3WSB7P.mjs";
|
|
5
|
+
import "./chunk-FIYCZYZ5.mjs";
|
|
6
6
|
import "./chunk-B73EOUKJ.mjs";
|
|
7
7
|
import "./chunk-NJ3UD3AW.mjs";
|
|
8
8
|
import "./chunk-2BPV2XV2.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 _chunkVMGNL2KFjs = require('./chunk-VMGNL2KF.js');
|
|
5
5
|
require('./chunk-7EE3ZWHR.js');
|
|
6
6
|
require('./chunk-3GQAWCBQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGenerator =
|
|
9
|
+
exports.initGenerator = _chunkVMGNL2KFjs.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-6JNJXZFJ.js');
|
|
3
2
|
require('./chunk-NYWVLPFT.js');
|
|
4
3
|
require('./chunk-IJO2IHPY.js');
|
|
5
4
|
require('./chunk-MLGQ6TX6.js');
|
|
6
5
|
require('./chunk-N2YKXZ5R.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkVMGNL2KFjs = require('./chunk-VMGNL2KF.js');
|
|
7
9
|
require('./chunk-GUQOEBFW.js');
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
var _chunkILC773N2js = require('./chunk-ILC773N2.js');
|
|
13
|
+
require('./chunk-6JNJXZFJ.js');
|
|
11
14
|
|
|
12
15
|
|
|
13
16
|
var _chunk7QES4OFYjs = require('./chunk-7QES4OFY.js');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var _chunk67G4XZWIjs = require('./chunk-67G4XZWI.js');
|
|
17
17
|
require('./chunk-7EE3ZWHR.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 = _chunkVMGNL2KFjs.initGenerator; exports.withTerraformExecutor = _chunk7QES4OFYjs.withTerraformExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "./chunk-HYHKZPRR.mjs";
|
|
2
|
-
import "./chunk-FIYCZYZ5.mjs";
|
|
3
2
|
import "./chunk-TB4YXZBF.mjs";
|
|
4
3
|
import "./chunk-T6WPHTRX.mjs";
|
|
5
4
|
import "./chunk-CU3WSB7P.mjs";
|
|
6
5
|
import "./chunk-23KFTIT2.mjs";
|
|
6
|
+
import {
|
|
7
|
+
initGenerator
|
|
8
|
+
} from "./chunk-T72ETESF.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-FIYCZYZ5.mjs";
|
|
11
14
|
import {
|
|
12
15
|
withTerraformExecutor
|
|
13
16
|
} from "./chunk-B73EOUKJ.mjs";
|
|
14
|
-
import {
|
|
15
|
-
initGenerator
|
|
16
|
-
} from "./chunk-WGOCJVNM.mjs";
|
|
17
17
|
import "./chunk-NJ3UD3AW.mjs";
|
|
18
18
|
import "./chunk-2BPV2XV2.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 _chunkVMGNL2KFjs = require('../../../chunk-VMGNL2KF.js');
|
|
5
5
|
require('../../../chunk-7EE3ZWHR.js');
|
|
6
6
|
require('../../../chunk-3GQAWCBQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _chunkVMGNL2KFjs.init_default; exports.initGenerator = _chunkVMGNL2KFjs.initGenerator;
|