@storm-software/terraform-tools 0.60.39 → 0.60.40
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-7PNDKMV6.mjs → chunk-63M3BBR2.mjs} +1 -1
- package/dist/{chunk-SET5HWVQ.mjs → chunk-C2BXQIJU.mjs} +15 -14
- package/dist/{chunk-V3UBZ6UF.js → chunk-IHDVBRXJ.js} +2 -2
- package/dist/{chunk-XJCRXCA5.js → chunk-JWSB2ZEK.js} +2 -2
- package/dist/{chunk-2CUJGXYC.mjs → chunk-LUYJY6FV.mjs} +1 -1
- package/dist/{chunk-X5OTQLMS.mjs → chunk-P2KQEH6T.mjs} +2 -2
- package/dist/{chunk-G6Z52OQD.js → chunk-PSTOJQZR.js} +2 -2
- package/dist/{chunk-M3WQJ3MW.js → chunk-QHF2DRKB.js} +2 -2
- package/dist/{chunk-JALHLYVF.js → chunk-QX3CJ5NC.js} +108 -108
- package/dist/{chunk-BAT7EH6A.js → chunk-SNEV7JAQ.js} +15 -14
- package/dist/{chunk-CX64APPB.js → chunk-TQBMKDKM.js} +2 -2
- package/dist/{chunk-ZP7LLXH2.mjs → chunk-WGP7FU5M.mjs} +1 -1
- package/dist/{chunk-ZZHYNV7P.mjs → chunk-Z7CR5NAC.mjs} +1 -1
- package/dist/{chunk-PISYVTPL.mjs → chunk-ZRXRLL7W.mjs} +1 -1
- package/dist/executors.js +6 -6
- package/dist/executors.mjs +6 -6
- package/dist/generators.js +3 -3
- package/dist/generators.mjs +2 -2
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/src/base/index.js +3 -3
- package/dist/src/base/index.mjs +2 -2
- package/dist/src/base/terraform-executor.js +3 -3
- package/dist/src/base/terraform-executor.mjs +2 -2
- package/dist/src/executors/apply/executor.js +4 -4
- package/dist/src/executors/apply/executor.mjs +3 -3
- package/dist/src/executors/destroy/executor.js +4 -4
- package/dist/src/executors/destroy/executor.mjs +3 -3
- package/dist/src/executors/output/executor.js +4 -4
- package/dist/src/executors/output/executor.mjs +3 -3
- package/dist/src/executors/plan/executor.js +4 -4
- package/dist/src/executors/plan/executor.mjs +3 -3
- package/dist/src/generators/init/init.js +3 -3
- package/dist/src/generators/init/init.mjs +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Terraform Tools
|
|
4
4
|
|
|
5
|
+
## [0.60.39](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.60.39) (2025-07-10)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate workspace artifacts
|
|
10
|
+
([f45c14e5f](https://github.com/storm-software/storm-ops/commit/f45c14e5f))
|
|
11
|
+
|
|
5
12
|
## [0.60.38](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.60.38) (2025-07-10)
|
|
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 -->
|
|
@@ -48,7 +48,7 @@ If this sounds interesting, and you would like to help us in creating the next g
|
|
|
48
48
|
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
49
49
|
|
|
50
50
|
// ../config/src/schema.ts
|
|
51
|
-
import * as z from "zod
|
|
51
|
+
import * as z from "zod";
|
|
52
52
|
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
53
53
|
var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
54
54
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
|
|
@@ -115,7 +115,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
115
115
|
positive: PositiveColorSchema,
|
|
116
116
|
negative: NegativeColorSchema
|
|
117
117
|
});
|
|
118
|
-
var RegistryUrlConfigSchema = z.
|
|
118
|
+
var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
119
119
|
var RegistryConfigSchema = z.object({
|
|
120
120
|
github: RegistryUrlConfigSchema,
|
|
121
121
|
npm: RegistryUrlConfigSchema,
|
|
@@ -142,7 +142,7 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
142
142
|
name: z.string().trim().default("stormie-bot").describe(
|
|
143
143
|
"The workspace bot user's name (this is the bot that will be used to perform various tasks)"
|
|
144
144
|
),
|
|
145
|
-
email: z.
|
|
145
|
+
email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
146
146
|
}).describe(
|
|
147
147
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
148
148
|
);
|
|
@@ -185,19 +185,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
185
185
|
);
|
|
186
186
|
var errorConfigSchema = z.object({
|
|
187
187
|
codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
188
|
-
url: z.
|
|
188
|
+
url: z.url().optional().describe(
|
|
189
189
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
190
190
|
)
|
|
191
191
|
}).describe("The workspace's error config used during the error process");
|
|
192
192
|
var organizationConfigSchema = z.object({
|
|
193
193
|
name: z.string().trim().describe("The name of the organization"),
|
|
194
194
|
description: z.string().trim().optional().describe("A description of the organization"),
|
|
195
|
-
logo: z.
|
|
196
|
-
icon: z.
|
|
197
|
-
url: z.
|
|
195
|
+
logo: z.url().optional().describe("A URL to the organization's logo image"),
|
|
196
|
+
icon: z.url().optional().describe("A URL to the organization's icon image"),
|
|
197
|
+
url: z.url().optional().describe(
|
|
198
198
|
"A URL to a page that provides more information about the organization"
|
|
199
199
|
)
|
|
200
200
|
}).describe("The workspace's organization details");
|
|
201
|
+
var MODE_OPTIONS = ["development", "staging", "production"];
|
|
201
202
|
var stormWorkspaceConfigSchema = z.object({
|
|
202
203
|
$schema: z.string().trim().default(
|
|
203
204
|
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
@@ -214,12 +215,12 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
214
215
|
),
|
|
215
216
|
repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
216
217
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
217
|
-
homepage: z.
|
|
218
|
-
docs: z.
|
|
219
|
-
portal: z.
|
|
220
|
-
licensing: z.
|
|
221
|
-
contact: z.
|
|
222
|
-
support: z.
|
|
218
|
+
homepage: z.url().optional().describe("The homepage of the workspace"),
|
|
219
|
+
docs: z.url().optional().describe("The documentation site for the workspace"),
|
|
220
|
+
portal: z.url().optional().describe("The development portal site for the workspace"),
|
|
221
|
+
licensing: z.url().optional().describe("The licensing site for the workspace"),
|
|
222
|
+
contact: z.url().optional().describe("The contact site for the workspace"),
|
|
223
|
+
support: z.url().optional().describe(
|
|
223
224
|
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
224
225
|
),
|
|
225
226
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
@@ -229,7 +230,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
229
230
|
release: WorkspaceReleaseConfigSchema,
|
|
230
231
|
socials: WorkspaceSocialsConfigSchema,
|
|
231
232
|
error: errorConfigSchema,
|
|
232
|
-
mode: z.enum(
|
|
233
|
+
mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
|
|
233
234
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
234
235
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
235
236
|
directories: WorkspaceDirectoryConfigSchema,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkSNEV7JAQjs = require('./chunk-SNEV7JAQ.js');
|
|
4
4
|
|
|
5
5
|
// ../config-tools/src/utilities/run.ts
|
|
6
6
|
var _child_process = require('child_process');
|
|
@@ -24,7 +24,7 @@ var run = (config, command, cwd = _nullishCoalesce(config.workspaceRoot, () => (
|
|
|
24
24
|
// src/base/terraform-executor.ts
|
|
25
25
|
var _shelljs = require('shelljs');
|
|
26
26
|
var withTerraformExecutor = (command, executorOptions = {}) => async (_options, context) => {
|
|
27
|
-
return
|
|
27
|
+
return _chunkSNEV7JAQjs.withRunExecutor.call(void 0,
|
|
28
28
|
`Terraform \`${command}\` Command Executor`,
|
|
29
29
|
async (options, context2, config) => {
|
|
30
30
|
if (!_shelljs.which.call(void 0, "tofu") || !_shelljs.which.call(void 0, "terraform")) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkIHDVBRXJjs = require('./chunk-IHDVBRXJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/output/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkIHDVBRXJjs.withTerraformExecutor.call(void 0, "output");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeTrace,
|
|
18
18
|
writeWarning
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-C2BXQIJU.mjs";
|
|
20
20
|
import {
|
|
21
21
|
__dirname,
|
|
22
22
|
__require
|
|
@@ -1806,7 +1806,7 @@ var generator_default = withRunGenerator(
|
|
|
1806
1806
|
|
|
1807
1807
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
1808
1808
|
import { formatFiles as formatFiles3, writeJson as writeJson2 } from "@nx/devkit";
|
|
1809
|
-
import * as z from "zod
|
|
1809
|
+
import * as z from "zod";
|
|
1810
1810
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
1811
1811
|
writeInfo(
|
|
1812
1812
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkIHDVBRXJjs = require('./chunk-IHDVBRXJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/apply/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkIHDVBRXJjs.withTerraformExecutor.call(void 0, "apply");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkIHDVBRXJjs = require('./chunk-IHDVBRXJ.js');
|
|
4
4
|
|
|
5
5
|
// src/executors/plan/executor.ts
|
|
6
|
-
var executor_default =
|
|
6
|
+
var executor_default = _chunkIHDVBRXJjs.withTerraformExecutor.call(void 0, "plan");
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|