@storm-software/terraform-tools 0.54.71 → 0.54.72
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-IR3INUF5.js → chunk-F4NYTFL6.js} +5 -5
- package/dist/{chunk-XQSTQE3H.mjs → chunk-K27L3WST.mjs} +5 -5
- 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.72](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.72) (2025-04-29)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([f2e5028dd](https://github.com/storm-software/storm-ops/commit/f2e5028dd))
|
|
11
|
+
|
|
5
12
|
## [0.54.71](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.71) (2025-04-29)
|
|
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 -->
|
|
@@ -514,6 +514,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
514
514
|
keepNames: true,
|
|
515
515
|
metafile: false,
|
|
516
516
|
treeshake: true,
|
|
517
|
+
splitting: true,
|
|
517
518
|
shims: false,
|
|
518
519
|
watch: false,
|
|
519
520
|
bundle: true,
|
|
@@ -662,24 +663,23 @@ async function resolveContext(userOptions) {
|
|
|
662
663
|
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
664
|
}
|
|
664
665
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
666
|
+
options.name ??= projectName;
|
|
665
667
|
const packageJsonPath = _chunkFC5AL6FFjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
666
668
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
667
669
|
throw new Error("Cannot find package.json configuration");
|
|
668
670
|
}
|
|
669
671
|
const env = getEnv("esbuild", options);
|
|
672
|
+
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
670
673
|
const resolvedOptions = {
|
|
671
|
-
name: projectName,
|
|
672
674
|
...options,
|
|
673
675
|
tsconfig: _chunkFC5AL6FFjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
674
676
|
metafile: userOptions.mode === "development",
|
|
675
677
|
clean: false,
|
|
676
|
-
splitting: options.format === "iife" ? false : options.treeshake === void 0 ? options.splitting : true,
|
|
677
678
|
env,
|
|
678
679
|
define: {
|
|
679
680
|
STORM_FORMAT: JSON.stringify(options.format),
|
|
680
|
-
...
|
|
681
|
-
|
|
682
|
-
const value = JSON.stringify(env[key]);
|
|
681
|
+
...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
|
|
682
|
+
const value = JSON.stringify(define[key]);
|
|
683
683
|
const safeKey = key.replaceAll("(", "").replaceAll(")", "");
|
|
684
684
|
return {
|
|
685
685
|
...res,
|
|
@@ -515,6 +515,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
515
515
|
keepNames: true,
|
|
516
516
|
metafile: false,
|
|
517
517
|
treeshake: true,
|
|
518
|
+
splitting: true,
|
|
518
519
|
shims: false,
|
|
519
520
|
watch: false,
|
|
520
521
|
bundle: true,
|
|
@@ -663,24 +664,23 @@ async function resolveContext(userOptions) {
|
|
|
663
664
|
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
665
|
}
|
|
665
666
|
const options = defu(userOptions, DEFAULT_BUILD_OPTIONS);
|
|
667
|
+
options.name ??= projectName;
|
|
666
668
|
const packageJsonPath = joinPaths(workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
667
669
|
if (!existsSync3(packageJsonPath)) {
|
|
668
670
|
throw new Error("Cannot find package.json configuration");
|
|
669
671
|
}
|
|
670
672
|
const env = getEnv("esbuild", options);
|
|
673
|
+
const define = defu(options.define ?? {}, env ?? {});
|
|
671
674
|
const resolvedOptions = {
|
|
672
|
-
name: projectName,
|
|
673
675
|
...options,
|
|
674
676
|
tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
675
677
|
metafile: userOptions.mode === "development",
|
|
676
678
|
clean: false,
|
|
677
|
-
splitting: options.format === "iife" ? false : options.treeshake === void 0 ? options.splitting : true,
|
|
678
679
|
env,
|
|
679
680
|
define: {
|
|
680
681
|
STORM_FORMAT: JSON.stringify(options.format),
|
|
681
|
-
...
|
|
682
|
-
|
|
683
|
-
const value = JSON.stringify(env[key]);
|
|
682
|
+
...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
|
|
683
|
+
const value = JSON.stringify(define[key]);
|
|
684
684
|
const safeKey = key.replaceAll("(", "").replaceAll(")", "");
|
|
685
685
|
return {
|
|
686
686
|
...res,
|
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 _chunkF4NYTFL6js = require('./chunk-F4NYTFL6.js');
|
|
5
5
|
require('./chunk-FC5AL6FF.js');
|
|
6
6
|
require('./chunk-3GQAWCBQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGenerator =
|
|
9
|
+
exports.initGenerator = _chunkF4NYTFL6js.initGenerator;
|
package/dist/generators.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ require('./chunk-ESAA5DIO.js');
|
|
|
5
5
|
require('./chunk-N2YKXZ5R.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkF4NYTFL6js = require('./chunk-F4NYTFL6.js');
|
|
9
9
|
require('./chunk-GUQOEBFW.js');
|
|
10
10
|
|
|
11
11
|
|
|
@@ -20,4 +20,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator =
|
|
23
|
+
exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunkF4NYTFL6js.initGenerator; exports.withTerraformExecutor = _chunkZAMME4JXjs.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 _chunkF4NYTFL6js = require('../../../chunk-F4NYTFL6.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 = _chunkF4NYTFL6js.init_default; exports.initGenerator = _chunkF4NYTFL6js.initGenerator;
|