@storm-software/terraform-tools 0.60.38 → 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 +14 -0
- package/README.md +1 -1
- package/dist/{chunk-KNNQJHOH.mjs → chunk-63M3BBR2.mjs} +1 -1
- package/dist/{chunk-PGTHUI34.mjs → chunk-C2BXQIJU.mjs} +22 -18
- package/dist/{chunk-KJQ3JPTX.js → chunk-IHDVBRXJ.js} +2 -2
- package/dist/{chunk-3OW6JMBO.js → chunk-JWSB2ZEK.js} +2 -2
- package/dist/{chunk-SCIVGQ5G.mjs → chunk-LUYJY6FV.mjs} +1 -1
- package/dist/{chunk-LHTFN57X.mjs → chunk-P2KQEH6T.mjs} +2 -2
- package/dist/{chunk-Z6F7BKEF.js → chunk-PSTOJQZR.js} +2 -2
- package/dist/{chunk-RW4FXDXQ.js → chunk-QHF2DRKB.js} +2 -2
- package/dist/{chunk-KD7CUX45.js → chunk-QX3CJ5NC.js} +108 -108
- package/dist/{chunk-FWOTYBYO.js → chunk-SNEV7JAQ.js} +22 -18
- package/dist/{chunk-2O7DQPDC.js → chunk-TQBMKDKM.js} +2 -2
- package/dist/{chunk-VC7G4MO3.mjs → chunk-WGP7FU5M.mjs} +1 -1
- package/dist/{chunk-GH5Q6LZY.mjs → chunk-Z7CR5NAC.mjs} +1 -1
- package/dist/{chunk-PRZKXK4E.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,20 @@
|
|
|
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
|
+
|
|
12
|
+
## [0.60.38](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.60.38) (2025-07-10)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Regenerate README markdown files
|
|
17
|
+
([98723860a](https://github.com/storm-software/storm-ops/commit/98723860a))
|
|
18
|
+
|
|
5
19
|
## [0.60.37](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.60.37) (2025-07-08)
|
|
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 -->
|
|
@@ -32,7 +32,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
32
32
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
33
33
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
34
34
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
35
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
36
35
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
37
36
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
38
37
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -49,7 +48,7 @@ If this sounds interesting, and you would like to help us in creating the next g
|
|
|
49
48
|
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
50
49
|
|
|
51
50
|
// ../config/src/schema.ts
|
|
52
|
-
import * as z from "zod
|
|
51
|
+
import * as z from "zod";
|
|
53
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");
|
|
54
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");
|
|
55
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");
|
|
@@ -116,7 +115,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
116
115
|
positive: PositiveColorSchema,
|
|
117
116
|
negative: NegativeColorSchema
|
|
118
117
|
});
|
|
119
|
-
var RegistryUrlConfigSchema = z.
|
|
118
|
+
var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
120
119
|
var RegistryConfigSchema = z.object({
|
|
121
120
|
github: RegistryUrlConfigSchema,
|
|
122
121
|
npm: RegistryUrlConfigSchema,
|
|
@@ -143,18 +142,18 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
143
142
|
name: z.string().trim().default("stormie-bot").describe(
|
|
144
143
|
"The workspace bot user's name (this is the bot that will be used to perform various tasks)"
|
|
145
144
|
),
|
|
146
|
-
email: z.
|
|
145
|
+
email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
147
146
|
}).describe(
|
|
148
147
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
149
148
|
);
|
|
150
149
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
151
|
-
banner: z.string().trim().
|
|
150
|
+
banner: z.string().trim().optional().describe(
|
|
152
151
|
"A URL to a banner image used to display the workspace's release"
|
|
153
152
|
),
|
|
154
153
|
header: z.string().trim().optional().describe(
|
|
155
154
|
"A header message appended to the start of the workspace's release notes"
|
|
156
155
|
),
|
|
157
|
-
footer: z.string().trim().
|
|
156
|
+
footer: z.string().trim().optional().describe(
|
|
158
157
|
"A footer message appended to the end of the workspace's release notes"
|
|
159
158
|
)
|
|
160
159
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -186,19 +185,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
186
185
|
);
|
|
187
186
|
var errorConfigSchema = z.object({
|
|
188
187
|
codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
189
|
-
url: z.
|
|
188
|
+
url: z.url().optional().describe(
|
|
190
189
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
191
190
|
)
|
|
192
191
|
}).describe("The workspace's error config used during the error process");
|
|
193
192
|
var organizationConfigSchema = z.object({
|
|
194
193
|
name: z.string().trim().describe("The name of the organization"),
|
|
195
194
|
description: z.string().trim().optional().describe("A description of the organization"),
|
|
196
|
-
logo: z.
|
|
197
|
-
icon: z.
|
|
198
|
-
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(
|
|
199
198
|
"A URL to a page that provides more information about the organization"
|
|
200
199
|
)
|
|
201
200
|
}).describe("The workspace's organization details");
|
|
201
|
+
var MODE_OPTIONS = ["development", "staging", "production"];
|
|
202
202
|
var stormWorkspaceConfigSchema = z.object({
|
|
203
203
|
$schema: z.string().trim().default(
|
|
204
204
|
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
@@ -215,12 +215,12 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
215
215
|
),
|
|
216
216
|
repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
217
217
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
218
|
-
homepage: z.
|
|
219
|
-
docs: z.
|
|
220
|
-
portal: z.
|
|
221
|
-
licensing: z.
|
|
222
|
-
contact: z.
|
|
223
|
-
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(
|
|
224
224
|
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
225
225
|
),
|
|
226
226
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
@@ -230,7 +230,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
230
230
|
release: WorkspaceReleaseConfigSchema,
|
|
231
231
|
socials: WorkspaceSocialsConfigSchema,
|
|
232
232
|
error: errorConfigSchema,
|
|
233
|
-
mode: z.enum(
|
|
233
|
+
mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
|
|
234
234
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
235
235
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
236
236
|
directories: WorkspaceDirectoryConfigSchema,
|
|
@@ -1557,7 +1557,11 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
1559
|
const defaultConfig = await getPackageJsonConfig(_workspaceRoot);
|
|
1560
|
-
const configInput = defu2(
|
|
1560
|
+
const configInput = defu2(
|
|
1561
|
+
configEnv,
|
|
1562
|
+
configFile,
|
|
1563
|
+
defaultConfig
|
|
1564
|
+
);
|
|
1561
1565
|
try {
|
|
1562
1566
|
result = applyDefaultConfig(
|
|
1563
1567
|
await stormWorkspaceConfigSchema.parseAsync(configInput)
|
|
@@ -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
|
|