@storm-software/terraform-tools 0.54.41 → 0.54.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/dist/{chunk-67G4XZWI.js → chunk-KWRMGGZS.js} +33 -34
- package/dist/{chunk-WGOCJVNM.mjs → chunk-T3CUIOQI.mjs} +5 -6
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- 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,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Terraform Tools
|
|
4
4
|
|
|
5
|
+
## [0.54.42](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.42) (2025-03-18)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([2d7343483](https://github.com/storm-software/storm-ops/commit/2d7343483))
|
|
11
|
+
|
|
5
12
|
## [0.54.41](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.41) (2025-03-17)
|
|
6
13
|
|
|
7
14
|
### 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 -->
|
|
@@ -1277,15 +1277,14 @@ 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 = _defu2.default.call(void 0, result.inject, options.inject);
|
|
1287
1287
|
}
|
|
1288
|
-
_optionalChain([options, 'access', _48 => _48.inject, 'optionalAccess', _49 => _49.filter, 'call', _50 => _50(Boolean)]);
|
|
1289
1288
|
delete result.entry;
|
|
1290
1289
|
delete result.outputPath;
|
|
1291
1290
|
stopwatch();
|
|
@@ -1411,7 +1410,7 @@ ${_chunk7EE3ZWHRjs.formatLogMessage.call(void 0, options)}`, context2.options.co
|
|
|
1411
1410
|
}
|
|
1412
1411
|
_chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
1413
1412
|
async function copyBuildAssets(context2) {
|
|
1414
|
-
if (_optionalChain([context2, 'access',
|
|
1413
|
+
if (_optionalChain([context2, 'access', _48 => _48.result, 'optionalAccess', _49 => _49.errors, 'access', _50 => _50.length]) === 0) {
|
|
1415
1414
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
1416
1415
|
const stopwatch = _chunk7EE3ZWHRjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
1417
1416
|
await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
@@ -1421,7 +1420,7 @@ async function copyBuildAssets(context2) {
|
|
|
1421
1420
|
}
|
|
1422
1421
|
_chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
1423
1422
|
async function reportResults(context2) {
|
|
1424
|
-
if (_optionalChain([context2, 'access',
|
|
1423
|
+
if (_optionalChain([context2, 'access', _51 => _51.result, 'optionalAccess', _52 => _52.errors, 'access', _53 => _53.length]) === 0) {
|
|
1425
1424
|
if (context2.result.warnings.length > 0) {
|
|
1426
1425
|
_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
1426
|
}
|
|
@@ -1522,14 +1521,14 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
|
|
|
1522
1521
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
1523
1522
|
async function esbuildExecutorFn(options, context2, config) {
|
|
1524
1523
|
_chunk7EE3ZWHRjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1525
|
-
if (!_optionalChain([context2, 'access',
|
|
1524
|
+
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
1525
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
1527
1526
|
}
|
|
1528
1527
|
await build3({
|
|
1529
1528
|
...options,
|
|
1530
|
-
projectRoot: _optionalChain([context2, 'access',
|
|
1529
|
+
projectRoot: _optionalChain([context2, 'access', _60 => _60.projectsConfigurations, 'access', _61 => _61.projects, 'optionalAccess', _62 => _62[context2.projectName], 'access', _63 => _63.root]),
|
|
1531
1530
|
projectName: context2.projectName,
|
|
1532
|
-
sourceRoot: _optionalChain([context2, 'access',
|
|
1531
|
+
sourceRoot: _optionalChain([context2, 'access', _64 => _64.projectsConfigurations, 'access', _65 => _65.projects, 'optionalAccess', _66 => _66[context2.projectName], 'optionalAccess', _67 => _67.sourceRoot]),
|
|
1533
1532
|
format: options.format,
|
|
1534
1533
|
platform: options.format
|
|
1535
1534
|
});
|
|
@@ -1572,7 +1571,7 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
|
|
|
1572
1571
|
var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
|
|
1573
1572
|
var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
|
|
1574
1573
|
async function sizeLimitExecutorFn(options, context2, config) {
|
|
1575
|
-
if (!_optionalChain([context2, 'optionalAccess',
|
|
1574
|
+
if (!_optionalChain([context2, 'optionalAccess', _68 => _68.projectName]) || !_optionalChain([context2, 'access', _69 => _69.projectsConfigurations, 'optionalAccess', _70 => _70.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
1576
1575
|
throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
|
|
1577
1576
|
}
|
|
1578
1577
|
_chunk7EE3ZWHRjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
|
|
@@ -1581,7 +1580,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
|
|
|
1581
1580
|
_esbuild3.default,
|
|
1582
1581
|
_esbuildwhy2.default
|
|
1583
1582
|
], {
|
|
1584
|
-
checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access',
|
|
1583
|
+
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
1584
|
}).then((result) => {
|
|
1586
1585
|
_chunk7EE3ZWHRjs.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
|
|
1587
1586
|
});
|
|
@@ -1640,7 +1639,7 @@ var executor_default8 = _chunk7EE3ZWHRjs.withRunExecutor.call(void 0, "Typia run
|
|
|
1640
1639
|
var _jiti = require('jiti');
|
|
1641
1640
|
async function unbuildExecutorFn(options, context2, config) {
|
|
1642
1641
|
_chunk7EE3ZWHRjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
|
|
1643
|
-
if (!_optionalChain([context2, 'access',
|
|
1642
|
+
if (!_optionalChain([context2, 'access', _79 => _79.projectsConfigurations, 'optionalAccess', _80 => _80.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
|
|
1644
1643
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
|
|
1645
1644
|
}
|
|
1646
1645
|
if (!context2.projectsConfigurations.projects[context2.projectName].root) {
|
|
@@ -1723,7 +1722,7 @@ var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (nam
|
|
|
1723
1722
|
- workspaceRoot: ${workspaceRoot3}`, config);
|
|
1724
1723
|
config = await _chunk7EE3ZWHRjs.getConfig.call(void 0, workspaceRoot3);
|
|
1725
1724
|
}
|
|
1726
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1725
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _81 => _81.hooks, 'optionalAccess', _82 => _82.applyDefaultOptions])) {
|
|
1727
1726
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
|
|
1728
1727
|
options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
|
|
1729
1728
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
|
|
@@ -1734,22 +1733,22 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1734
1733
|
workspaceRoot: tree.root,
|
|
1735
1734
|
config
|
|
1736
1735
|
}, _chunk7EE3ZWHRjs.applyWorkspaceBaseTokens);
|
|
1737
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1736
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _83 => _83.hooks, 'optionalAccess', _84 => _84.preProcess])) {
|
|
1738
1737
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
|
|
1739
1738
|
await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
|
|
1740
1739
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
|
|
1741
1740
|
}
|
|
1742
1741
|
const result = await Promise.resolve(generatorFn(tree, tokenized, config));
|
|
1743
1742
|
if (result) {
|
|
1744
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
1743
|
+
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
1744
|
throw new Error(`The ${name} generator failed to run`, {
|
|
1746
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
1745
|
+
cause: _optionalChain([result, 'optionalAccess', _93 => _93.error])
|
|
1747
1746
|
});
|
|
1748
1747
|
} else if (result.success && result.data) {
|
|
1749
1748
|
return result;
|
|
1750
1749
|
}
|
|
1751
1750
|
}
|
|
1752
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1751
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _94 => _94.hooks, 'optionalAccess', _95 => _95.postProcess])) {
|
|
1753
1752
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
|
|
1754
1753
|
await Promise.resolve(generatorOptions.hooks.postProcess(config));
|
|
1755
1754
|
_chunk7EE3ZWHRjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
|
|
@@ -1915,15 +1914,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1915
1914
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
1916
1915
|
let repository = {
|
|
1917
1916
|
type: "github",
|
|
1918
|
-
url: _optionalChain([config, 'optionalAccess',
|
|
1917
|
+
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
1918
|
};
|
|
1920
1919
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
1921
1920
|
if (tree.exists("package.json")) {
|
|
1922
1921
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1923
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1922
|
+
if (_optionalChain([packageJson, 'optionalAccess', _100 => _100.repository])) {
|
|
1924
1923
|
repository = packageJson.repository;
|
|
1925
1924
|
}
|
|
1926
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1925
|
+
if (_optionalChain([packageJson, 'optionalAccess', _101 => _101.description])) {
|
|
1927
1926
|
description = packageJson.description;
|
|
1928
1927
|
}
|
|
1929
1928
|
}
|
|
@@ -1978,9 +1977,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1978
1977
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
1979
1978
|
...json,
|
|
1980
1979
|
pnpm: {
|
|
1981
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1980
|
+
..._optionalChain([json, 'optionalAccess', _102 => _102.pnpm]),
|
|
1982
1981
|
overrides: {
|
|
1983
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1982
|
+
..._optionalChain([json, 'optionalAccess', _103 => _103.pnpm, 'optionalAccess', _104 => _104.overrides]),
|
|
1984
1983
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
1985
1984
|
}
|
|
1986
1985
|
}
|
|
@@ -1994,10 +1993,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1994
1993
|
]);
|
|
1995
1994
|
if (tree.exists("package.json")) {
|
|
1996
1995
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1997
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1996
|
+
if (_optionalChain([packageJson, 'optionalAccess', _105 => _105.repository])) {
|
|
1998
1997
|
repository = packageJson.repository;
|
|
1999
1998
|
}
|
|
2000
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1999
|
+
if (_optionalChain([packageJson, 'optionalAccess', _106 => _106.description])) {
|
|
2001
2000
|
description = packageJson.description;
|
|
2002
2001
|
}
|
|
2003
2002
|
}
|
|
@@ -2045,24 +2044,24 @@ _chunk3GQAWCBQjs.__name.call(void 0, getOutputPath, "getOutputPath");
|
|
|
2045
2044
|
function createProjectTsConfigJson(tree, options) {
|
|
2046
2045
|
const tsconfig = {
|
|
2047
2046
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
2048
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2047
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _107 => _107.tsconfigOptions]), () => ( {})),
|
|
2049
2048
|
compilerOptions: {
|
|
2050
2049
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
2051
2050
|
outDir: _chunk7EE3ZWHRjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
2052
2051
|
noEmit: true,
|
|
2053
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2052
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _108 => _108.tsconfigOptions, 'optionalAccess', _109 => _109.compilerOptions]), () => ( {}))
|
|
2054
2053
|
},
|
|
2055
2054
|
files: [
|
|
2056
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2055
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _110 => _110.tsconfigOptions, 'optionalAccess', _111 => _111.files]), () => ( []))
|
|
2057
2056
|
],
|
|
2058
2057
|
include: [
|
|
2059
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2058
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _112 => _112.tsconfigOptions, 'optionalAccess', _113 => _113.include]), () => ( [])),
|
|
2060
2059
|
"src/**/*.ts",
|
|
2061
2060
|
"src/**/*.js",
|
|
2062
2061
|
"bin/**/*"
|
|
2063
2062
|
],
|
|
2064
2063
|
exclude: [
|
|
2065
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
2064
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _114 => _114.tsconfigOptions, 'optionalAccess', _115 => _115.exclude]), () => ( [])),
|
|
2066
2065
|
"jest.config.ts",
|
|
2067
2066
|
"src/**/*.spec.ts",
|
|
2068
2067
|
"src/**/*.test.ts"
|
|
@@ -2073,8 +2072,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
2073
2072
|
_chunk3GQAWCBQjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
|
|
2074
2073
|
async function normalizeOptions(tree, options, config) {
|
|
2075
2074
|
let importPath = options.importPath;
|
|
2076
|
-
if (!importPath && _optionalChain([config, 'optionalAccess',
|
|
2077
|
-
importPath = `@${_optionalChain([config, 'optionalAccess',
|
|
2075
|
+
if (!importPath && _optionalChain([config, 'optionalAccess', _116 => _116.namespace])) {
|
|
2076
|
+
importPath = `@${_optionalChain([config, 'optionalAccess', _117 => _117.namespace])}/${options.name}`;
|
|
2078
2077
|
}
|
|
2079
2078
|
if (options.publishable) {
|
|
2080
2079
|
if (!importPath) {
|
|
@@ -2206,7 +2205,7 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
2206
2205
|
name: "StormWorkspaceConfiguration"
|
|
2207
2206
|
});
|
|
2208
2207
|
_chunk7EE3ZWHRjs.writeTrace.call(void 0, jsonSchema, config);
|
|
2209
|
-
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
2208
|
+
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
2209
|
_chunk7EE3ZWHRjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
|
|
2211
2210
|
_devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
|
|
2212
2211
|
spaces: 2
|
|
@@ -1278,15 +1278,14 @@ 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 = defu(result.inject, options.inject);
|
|
1288
1288
|
}
|
|
1289
|
-
options.inject?.filter(Boolean);
|
|
1290
1289
|
delete result.entry;
|
|
1291
1290
|
delete result.outputPath;
|
|
1292
1291
|
stopwatch();
|
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 _chunkKWRMGGZSjs = require('./chunk-KWRMGGZS.js');
|
|
5
5
|
require('./chunk-7EE3ZWHR.js');
|
|
6
6
|
require('./chunk-3GQAWCBQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGenerator =
|
|
9
|
+
exports.initGenerator = _chunkKWRMGGZSjs.initGenerator;
|
package/dist/generators.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -13,11 +13,11 @@ var _chunkILC773N2js = require('./chunk-ILC773N2.js');
|
|
|
13
13
|
var _chunk7QES4OFYjs = require('./chunk-7QES4OFY.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkKWRMGGZSjs = require('./chunk-KWRMGGZS.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 = _chunkKWRMGGZSjs.initGenerator; exports.withTerraformExecutor = _chunk7QES4OFYjs.withTerraformExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkKWRMGGZSjs = require('../../../chunk-KWRMGGZS.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 = _chunkKWRMGGZSjs.init_default; exports.initGenerator = _chunkKWRMGGZSjs.initGenerator;
|