@storm-software/terraform-tools 0.54.81 → 0.54.83
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 +24 -0
- package/README.md +1 -1
- package/dist/{chunk-ZYAWT4DC.mjs → chunk-IAPFYWM7.mjs} +3 -3
- package/dist/{chunk-OTV7WWVR.js → chunk-SR7JIQJV.js} +3 -3
- 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,30 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Terraform Tools
|
|
4
4
|
|
|
5
|
+
## [0.54.83](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.83) (2025-04-30)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **esbuild:** Resolve issue finding parent tsconfig path
|
|
10
|
+
([d0276f4cd](https://github.com/storm-software/storm-ops/commit/d0276f4cd))
|
|
11
|
+
|
|
12
|
+
### Miscellaneous
|
|
13
|
+
|
|
14
|
+
- **monorepo:** Regenerate README markdown files
|
|
15
|
+
([746468efe](https://github.com/storm-software/storm-ops/commit/746468efe))
|
|
16
|
+
|
|
17
|
+
## [0.54.82](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.82) (2025-04-30)
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
- **monorepo:** Resolve issue with tsconfig path in tsup
|
|
22
|
+
([98ca0489a](https://github.com/storm-software/storm-ops/commit/98ca0489a))
|
|
23
|
+
|
|
24
|
+
### Miscellaneous
|
|
25
|
+
|
|
26
|
+
- **monorepo:** Regenerate README markdown files
|
|
27
|
+
([34e5b9e9f](https://github.com/storm-software/storm-ops/commit/34e5b9e9f))
|
|
28
|
+
|
|
5
29
|
## [0.54.81](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.54.81) (2025-04-30)
|
|
6
30
|
|
|
7
31
|
### Bug Fixes
|
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 -->
|
|
@@ -558,7 +558,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
558
558
|
|
|
559
559
|
// ../esbuild/src/plugins/resolve-paths.ts
|
|
560
560
|
import path2 from "node:path";
|
|
561
|
-
function resolvePathsConfig(options, cwd) {
|
|
561
|
+
function resolvePathsConfig(options, cwd, projectRoot) {
|
|
562
562
|
if (options?.compilerOptions?.paths) {
|
|
563
563
|
const paths = Object.entries(options.compilerOptions.paths);
|
|
564
564
|
const resolvedPaths = paths.map(([key, paths2]) => {
|
|
@@ -570,7 +570,7 @@ function resolvePathsConfig(options, cwd) {
|
|
|
570
570
|
return Object.fromEntries(resolvedPaths);
|
|
571
571
|
}
|
|
572
572
|
if (options.extends) {
|
|
573
|
-
const extendsPath = path2.resolve(cwd, options.extends);
|
|
573
|
+
const extendsPath = path2.resolve(projectRoot ? joinPaths(cwd, projectRoot, options.extends) : joinPaths(cwd, options.extends));
|
|
574
574
|
const extendsDir = path2.dirname(extendsPath);
|
|
575
575
|
const extendsConfig = __require(extendsPath);
|
|
576
576
|
return resolvePathsConfig(extendsConfig, extendsDir);
|
|
@@ -582,7 +582,7 @@ var resolvePathsPlugin = /* @__PURE__ */ __name((context) => ({
|
|
|
582
582
|
name: "storm:resolve-paths",
|
|
583
583
|
setup(build3) {
|
|
584
584
|
const parentTsConfig = build3.initialOptions.tsconfig ? __require(joinPaths(context.workspaceConfig.workspaceRoot, build3.initialOptions.tsconfig.replace(context.workspaceConfig.workspaceRoot, ""))) : __require(joinPaths(context.workspaceConfig.workspaceRoot, "tsconfig.json"));
|
|
585
|
-
const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot);
|
|
585
|
+
const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot, context.options.projectRoot);
|
|
586
586
|
const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
|
|
587
587
|
build3.onResolve({
|
|
588
588
|
filter: packagesRegex
|
|
@@ -557,7 +557,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
557
557
|
|
|
558
558
|
// ../esbuild/src/plugins/resolve-paths.ts
|
|
559
559
|
|
|
560
|
-
function resolvePathsConfig(options, cwd) {
|
|
560
|
+
function resolvePathsConfig(options, cwd, projectRoot) {
|
|
561
561
|
if (_optionalChain([options, 'optionalAccess', _31 => _31.compilerOptions, 'optionalAccess', _32 => _32.paths])) {
|
|
562
562
|
const paths = Object.entries(options.compilerOptions.paths);
|
|
563
563
|
const resolvedPaths = paths.map(([key, paths2]) => {
|
|
@@ -569,7 +569,7 @@ function resolvePathsConfig(options, cwd) {
|
|
|
569
569
|
return Object.fromEntries(resolvedPaths);
|
|
570
570
|
}
|
|
571
571
|
if (options.extends) {
|
|
572
|
-
const extendsPath = path4.default.resolve(cwd, options.extends);
|
|
572
|
+
const extendsPath = path4.default.resolve(projectRoot ? _chunkFC5AL6FFjs.joinPaths.call(void 0, cwd, projectRoot, options.extends) : _chunkFC5AL6FFjs.joinPaths.call(void 0, cwd, options.extends));
|
|
573
573
|
const extendsDir = path4.default.dirname(extendsPath);
|
|
574
574
|
const extendsConfig = _chunk3GQAWCBQjs.__require.call(void 0, extendsPath);
|
|
575
575
|
return resolvePathsConfig(extendsConfig, extendsDir);
|
|
@@ -581,7 +581,7 @@ var resolvePathsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (c
|
|
|
581
581
|
name: "storm:resolve-paths",
|
|
582
582
|
setup(build3) {
|
|
583
583
|
const parentTsConfig = build3.initialOptions.tsconfig ? _chunk3GQAWCBQjs.__require.call(void 0, _chunkFC5AL6FFjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, build3.initialOptions.tsconfig.replace(context.workspaceConfig.workspaceRoot, ""))) : _chunk3GQAWCBQjs.__require.call(void 0, _chunkFC5AL6FFjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, "tsconfig.json"));
|
|
584
|
-
const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot);
|
|
584
|
+
const resolvedTsPaths = resolvePathsConfig(parentTsConfig, context.workspaceConfig.workspaceRoot, context.options.projectRoot);
|
|
585
585
|
const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
|
|
586
586
|
build3.onResolve({
|
|
587
587
|
filter: packagesRegex
|
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 _chunkSR7JIQJVjs = require('./chunk-SR7JIQJV.js');
|
|
5
5
|
require('./chunk-FC5AL6FF.js');
|
|
6
6
|
require('./chunk-3GQAWCBQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGenerator =
|
|
9
|
+
exports.initGenerator = _chunkSR7JIQJVjs.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 _chunkSR7JIQJVjs = require('./chunk-SR7JIQJV.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 = _chunkSR7JIQJVjs.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 _chunkSR7JIQJVjs = require('../../../chunk-SR7JIQJV.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 = _chunkSR7JIQJVjs.init_default; exports.initGenerator = _chunkSR7JIQJVjs.initGenerator;
|