@storm-software/terraform-tools 0.60.25 → 0.60.27
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-6CUSDD6H.mjs → chunk-52NNEPD6.mjs} +48 -5
- package/dist/{chunk-U62DYW3V.js → chunk-B52TP7TD.js} +123 -80
- package/dist/{chunk-Q5IZO3CM.mjs → chunk-FLZTOXM3.mjs} +1 -1
- package/dist/{chunk-M2VQMNHE.js → chunk-FO243SX2.js} +2 -2
- package/dist/{chunk-IRPY3T3M.js → chunk-FUE5K3NR.js} +2 -2
- package/dist/{chunk-FVDHAL26.mjs → chunk-H7RPADEY.mjs} +1 -1
- package/dist/{chunk-YOTJXBSJ.mjs → chunk-HQYKP2ET.mjs} +1 -1
- package/dist/{chunk-TH42KVVI.mjs → chunk-JS3AGKOT.mjs} +1 -1
- package/dist/{chunk-B4CF2SUI.js → chunk-M4JRJR36.js} +2 -2
- package/dist/{chunk-XPFIRYW2.mjs → chunk-NGLPUTTO.mjs} +1 -1
- package/dist/{chunk-GVPB6VDK.js → chunk-NZHLKIHQ.js} +2 -2
- package/dist/{chunk-EKJUYTCC.js → chunk-ON72XGOJ.js} +2 -2
- package/dist/{chunk-T3A62NN6.mjs → chunk-S3HIWWZD.mjs} +10 -7
- package/dist/{chunk-T44LGI4Q.js → chunk-UA4HNENY.js} +127 -124
- 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 +10 -10
- package/dist/index.mjs +9 -9
- 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 +1 -1
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeTrace,
|
|
18
18
|
writeWarning
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-52NNEPD6.mjs";
|
|
20
20
|
import {
|
|
21
21
|
__dirname,
|
|
22
22
|
__require
|
|
@@ -1504,7 +1504,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
1504
1504
|
addProjectConfiguration(tree, normalized.name, projectConfig);
|
|
1505
1505
|
let repository = {
|
|
1506
1506
|
type: "github",
|
|
1507
|
-
url: config?.repository || `https://github.com/${config?.organization || "storm-software"}/${config?.namespace || config?.name || "repository"}.git`
|
|
1507
|
+
url: config?.repository || `https://github.com/${(typeof config?.organization === "string" ? config?.organization : config?.organization?.name) || "storm-software"}/${config?.namespace || config?.name || "repository"}.git`
|
|
1508
1508
|
};
|
|
1509
1509
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
1510
1510
|
if (tree.exists("package.json")) {
|
|
@@ -1794,7 +1794,7 @@ var generator_default = withRunGenerator(
|
|
|
1794
1794
|
|
|
1795
1795
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
1796
1796
|
import { formatFiles as formatFiles3, writeJson as writeJson2 } from "@nx/devkit";
|
|
1797
|
-
import
|
|
1797
|
+
import * as z from "zod/v4";
|
|
1798
1798
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
1799
1799
|
writeInfo(
|
|
1800
1800
|
"\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
|
|
@@ -1804,13 +1804,16 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
1804
1804
|
`Determining the Storm Workspace Configuration JSON Schema...`,
|
|
1805
1805
|
config
|
|
1806
1806
|
);
|
|
1807
|
-
const jsonSchema =
|
|
1808
|
-
name: "StormWorkspaceConfiguration"
|
|
1809
|
-
});
|
|
1807
|
+
const jsonSchema = z.toJSONSchema(stormWorkspaceConfigSchema);
|
|
1810
1808
|
writeTrace(jsonSchema, config);
|
|
1809
|
+
if (!options.outputFile) {
|
|
1810
|
+
throw new Error(
|
|
1811
|
+
"The `outputFile` option is required. Please specify the output file path."
|
|
1812
|
+
);
|
|
1813
|
+
}
|
|
1811
1814
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
1812
1815
|
config?.workspaceRoot ?? findWorkspaceRoot(),
|
|
1813
|
-
options.outputFile
|
|
1816
|
+
options.outputFile.startsWith("./") ? "" : "./"
|
|
1814
1817
|
);
|
|
1815
1818
|
writeTrace(
|
|
1816
1819
|
`\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
|