@storm-software/terraform-tools 0.65.6 → 0.65.8
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-YR4DAURN.mjs → chunk-PM57NOJQ.mjs} +362 -11
- package/dist/{chunk-GUTNOMR4.js → chunk-TRX2SHWY.js} +379 -28
- package/dist/{chunk-NMQP6WEB.mjs → chunk-ZNCCVJJM.mjs} +1 -1
- package/dist/executors.mjs +1 -1
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/src/base/base-terraform-executor.untyped.mjs +1 -1
- package/dist/src/base/index.mjs +1 -1
- package/dist/src/base/terraform-executor.mjs +1 -1
- package/dist/src/executors/apply/executor.mjs +1 -1
- package/dist/src/executors/destroy/executor.mjs +1 -1
- package/dist/src/executors/output/executor.mjs +1 -1
- package/dist/src/executors/plan/executor.mjs +1 -1
- package/dist/src/generators/init/init.js +2 -2
- package/dist/src/generators/init/init.mjs +2 -2
- package/dist/tsup.config.d.mts +2 -2
- package/dist/tsup.config.d.ts +2 -2
- package/dist/tsup.config.mjs +1 -1
- 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.65.7](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.65.7) (2025-09-22)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Update workspace package links
|
|
10
|
+
([43374a8da](https://github.com/storm-software/storm-ops/commit/43374a8da))
|
|
11
|
+
|
|
12
|
+
## [0.65.6](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.65.6) (2025-09-21)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Update workspace package links
|
|
17
|
+
([91c9879c3](https://github.com/storm-software/storm-ops/commit/91c9879c3))
|
|
18
|
+
|
|
5
19
|
## [0.65.5](https://github.com/storm-software/storm-ops/releases/tag/terraform-tools%400.65.5) (2025-09-21)
|
|
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 -->
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-PZIOPR2Z.mjs";
|
|
21
21
|
import {
|
|
22
22
|
__dirname
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZNCCVJJM.mjs";
|
|
24
24
|
|
|
25
25
|
// src/generators/init/init.ts
|
|
26
26
|
import { formatFiles as formatFiles9 } from "@nx/devkit";
|
|
@@ -265,6 +265,7 @@ var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
|
265
265
|
*****************************************/
|
|
266
266
|
`;
|
|
267
267
|
var DEFAULT_ENVIRONMENT = "production";
|
|
268
|
+
var DEFAULT_TARGET = "esnext";
|
|
268
269
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
269
270
|
|
|
270
271
|
// ../build-tools/src/plugins/swc.ts
|
|
@@ -284,7 +285,7 @@ import { relative as relative2 } from "path";
|
|
|
284
285
|
import { CopyAssetsHandler } from "@nx/js/src/utils/assets/copy-assets-handler";
|
|
285
286
|
import { glob } from "glob";
|
|
286
287
|
import { readFile, writeFile } from "node:fs/promises";
|
|
287
|
-
var copyAssets = async (config5, assets, outputPath, projectRoot, sourceRoot,
|
|
288
|
+
var copyAssets = async (config5, assets, outputPath, projectRoot, sourceRoot, generatePackageJson3 = true, includeSrc = false, banner, footer) => {
|
|
288
289
|
const pendingAssets = Array.from(assets ?? []);
|
|
289
290
|
pendingAssets.push({
|
|
290
291
|
input: projectRoot,
|
|
@@ -296,7 +297,7 @@ var copyAssets = async (config5, assets, outputPath, projectRoot, sourceRoot, ge
|
|
|
296
297
|
glob: "LICENSE",
|
|
297
298
|
output: "."
|
|
298
299
|
});
|
|
299
|
-
if (
|
|
300
|
+
if (generatePackageJson3 === false) {
|
|
300
301
|
pendingAssets.push({
|
|
301
302
|
input: projectRoot,
|
|
302
303
|
glob: "package.json",
|
|
@@ -502,6 +503,26 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
502
503
|
packageJson.repository.directory ??= projectRoot ? projectRoot : joinPaths("packages", projectName);
|
|
503
504
|
return packageJson;
|
|
504
505
|
};
|
|
506
|
+
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
507
|
+
let entry = file.replaceAll("\\", "/");
|
|
508
|
+
if (sourceRoot) {
|
|
509
|
+
entry = entry.replace(sourceRoot, "");
|
|
510
|
+
}
|
|
511
|
+
return {
|
|
512
|
+
import: {
|
|
513
|
+
types: `./dist/${entry}.d.${type === "module" ? "ts" : "mts"}`,
|
|
514
|
+
default: `./dist/${entry}.${type === "module" ? "js" : "mjs"}`
|
|
515
|
+
},
|
|
516
|
+
require: {
|
|
517
|
+
types: `./dist/${entry}.d.${type === "commonjs" ? "ts" : "cts"}`,
|
|
518
|
+
default: `./dist/${entry}.${type === "commonjs" ? "js" : "cjs"}`
|
|
519
|
+
},
|
|
520
|
+
default: {
|
|
521
|
+
types: `./dist/${entry}.d.${type !== "fixed" ? "ts" : "mts"}`,
|
|
522
|
+
default: `./dist/${entry}.${type !== "fixed" ? "js" : "mjs"}`
|
|
523
|
+
}
|
|
524
|
+
};
|
|
525
|
+
};
|
|
505
526
|
|
|
506
527
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
507
528
|
import { glob as glob2 } from "glob";
|
|
@@ -929,7 +950,7 @@ async function esbuildExecutorFn(options, context, config5) {
|
|
|
929
950
|
name: context.projectName,
|
|
930
951
|
sourceRoot: context.projectsConfigurations.projects?.[context.projectName]?.sourceRoot,
|
|
931
952
|
format: options.format,
|
|
932
|
-
platform: options.
|
|
953
|
+
platform: options.platform
|
|
933
954
|
});
|
|
934
955
|
return {
|
|
935
956
|
success: true
|
|
@@ -1094,6 +1115,336 @@ var executor_default7 = withRunExecutor(
|
|
|
1094
1115
|
}
|
|
1095
1116
|
);
|
|
1096
1117
|
|
|
1118
|
+
// ../tsdown/src/build.ts
|
|
1119
|
+
import {
|
|
1120
|
+
createProjectGraphAsync as createProjectGraphAsync4,
|
|
1121
|
+
readProjectsConfigurationFromProjectGraph as readProjectsConfigurationFromProjectGraph3,
|
|
1122
|
+
writeJsonFile as writeJsonFile2
|
|
1123
|
+
} from "@nx/devkit";
|
|
1124
|
+
import defu2 from "defu";
|
|
1125
|
+
import { existsSync as existsSync8 } from "node:fs";
|
|
1126
|
+
import hf3 from "node:fs/promises";
|
|
1127
|
+
import { build as tsdown } from "tsdown";
|
|
1128
|
+
|
|
1129
|
+
// ../tsdown/src/clean.ts
|
|
1130
|
+
import { rm as rm2 } from "node:fs/promises";
|
|
1131
|
+
async function cleanDirectories2(name = "TSDown", directory, config5) {
|
|
1132
|
+
await rm2(directory, { recursive: true, force: true });
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
// ../tsdown/src/config.ts
|
|
1136
|
+
function getDefaultOptions(config5) {
|
|
1137
|
+
return {
|
|
1138
|
+
entry: ["./src/*.ts"],
|
|
1139
|
+
platform: "node",
|
|
1140
|
+
target: "esnext",
|
|
1141
|
+
mode: "production",
|
|
1142
|
+
dts: true,
|
|
1143
|
+
unused: {
|
|
1144
|
+
level: "error",
|
|
1145
|
+
ignore: ["typescript"]
|
|
1146
|
+
},
|
|
1147
|
+
publint: true,
|
|
1148
|
+
fixedExtension: true,
|
|
1149
|
+
...config5
|
|
1150
|
+
};
|
|
1151
|
+
}
|
|
1152
|
+
function toTSDownFormat(format4) {
|
|
1153
|
+
if (!format4 || Array.isArray(format4) && format4.length === 0) {
|
|
1154
|
+
return ["cjs", "es"];
|
|
1155
|
+
} else if (format4 === "esm") {
|
|
1156
|
+
return "es";
|
|
1157
|
+
} else if (Array.isArray(format4)) {
|
|
1158
|
+
return format4.map((f) => f === "esm" ? "es" : f);
|
|
1159
|
+
}
|
|
1160
|
+
return format4;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
// ../tsdown/src/build.ts
|
|
1164
|
+
var resolveOptions = async (userOptions) => {
|
|
1165
|
+
const options = getDefaultOptions(userOptions);
|
|
1166
|
+
const workspaceRoot3 = findWorkspaceRoot(options.projectRoot);
|
|
1167
|
+
if (!workspaceRoot3) {
|
|
1168
|
+
throw new Error("Cannot find Nx workspace root");
|
|
1169
|
+
}
|
|
1170
|
+
const workspaceConfig = await getWorkspaceConfig(options.debug === true, {
|
|
1171
|
+
workspaceRoot: workspaceRoot3
|
|
1172
|
+
});
|
|
1173
|
+
writeDebug(" \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
1174
|
+
const stopwatch = getStopwatch("Build options resolution");
|
|
1175
|
+
const projectGraph = await createProjectGraphAsync4({
|
|
1176
|
+
exitOnError: true
|
|
1177
|
+
});
|
|
1178
|
+
const projectJsonPath = joinPaths(
|
|
1179
|
+
workspaceRoot3,
|
|
1180
|
+
options.projectRoot,
|
|
1181
|
+
"project.json"
|
|
1182
|
+
);
|
|
1183
|
+
if (!existsSync8(projectJsonPath)) {
|
|
1184
|
+
throw new Error("Cannot find project.json configuration");
|
|
1185
|
+
}
|
|
1186
|
+
const projectJsonFile = await hf3.readFile(projectJsonPath, "utf8");
|
|
1187
|
+
const projectJson = JSON.parse(projectJsonFile);
|
|
1188
|
+
const projectName = projectJson.name;
|
|
1189
|
+
const projectConfigurations = readProjectsConfigurationFromProjectGraph3(projectGraph);
|
|
1190
|
+
if (!projectConfigurations?.projects?.[projectName]) {
|
|
1191
|
+
throw new Error(
|
|
1192
|
+
"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."
|
|
1193
|
+
);
|
|
1194
|
+
}
|
|
1195
|
+
const packageJsonPath = joinPaths(
|
|
1196
|
+
workspaceRoot3,
|
|
1197
|
+
options.projectRoot,
|
|
1198
|
+
"package.json"
|
|
1199
|
+
);
|
|
1200
|
+
if (!existsSync8(packageJsonPath)) {
|
|
1201
|
+
throw new Error("Cannot find package.json configuration");
|
|
1202
|
+
}
|
|
1203
|
+
const debug = options.debug ?? (options.mode || workspaceConfig.mode) === "development";
|
|
1204
|
+
const sourceRoot = projectJson.sourceRoot || joinPaths(options.projectRoot, "src");
|
|
1205
|
+
const result = {
|
|
1206
|
+
name: projectName,
|
|
1207
|
+
mode: "production",
|
|
1208
|
+
target: DEFAULT_TARGET,
|
|
1209
|
+
generatePackageJson: true,
|
|
1210
|
+
outDir: joinPaths("dist", options.projectRoot),
|
|
1211
|
+
minify: !debug,
|
|
1212
|
+
plugins: [],
|
|
1213
|
+
assets: [],
|
|
1214
|
+
dts: true,
|
|
1215
|
+
shims: true,
|
|
1216
|
+
silent: !debug,
|
|
1217
|
+
logLevel: workspaceConfig.logLevel === "success" || workspaceConfig.logLevel === "debug" || workspaceConfig.logLevel === "trace" || workspaceConfig.logLevel === "all" ? "info" : workspaceConfig.logLevel === "fatal" ? "error" : workspaceConfig.logLevel,
|
|
1218
|
+
sourcemap: debug ? "inline" : false,
|
|
1219
|
+
clean: false,
|
|
1220
|
+
fixedExtension: true,
|
|
1221
|
+
nodeProtocol: true,
|
|
1222
|
+
tsconfig: joinPaths(options.projectRoot, "tsconfig.json"),
|
|
1223
|
+
debug,
|
|
1224
|
+
sourceRoot,
|
|
1225
|
+
cwd: workspaceConfig.workspaceRoot,
|
|
1226
|
+
entry: {
|
|
1227
|
+
["index"]: joinPaths(sourceRoot, "index.ts")
|
|
1228
|
+
},
|
|
1229
|
+
workspace: true,
|
|
1230
|
+
...options,
|
|
1231
|
+
treeshake: options.treeShaking !== false,
|
|
1232
|
+
format: toTSDownFormat(options.format),
|
|
1233
|
+
workspaceConfig,
|
|
1234
|
+
projectName,
|
|
1235
|
+
projectGraph,
|
|
1236
|
+
projectConfigurations
|
|
1237
|
+
};
|
|
1238
|
+
result.env = defu2(
|
|
1239
|
+
options.env,
|
|
1240
|
+
getEnv("tsdown", result)
|
|
1241
|
+
);
|
|
1242
|
+
stopwatch();
|
|
1243
|
+
return result;
|
|
1244
|
+
};
|
|
1245
|
+
async function generatePackageJson2(options) {
|
|
1246
|
+
if (options.generatePackageJson !== false && existsSync8(joinPaths(options.projectRoot, "package.json"))) {
|
|
1247
|
+
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
1248
|
+
const stopwatch = getStopwatch("Write package.json file");
|
|
1249
|
+
const packageJsonPath = joinPaths(options.projectRoot, "project.json");
|
|
1250
|
+
if (!existsSync8(packageJsonPath)) {
|
|
1251
|
+
throw new Error("Cannot find package.json configuration");
|
|
1252
|
+
}
|
|
1253
|
+
const packageJsonFile = await hf3.readFile(
|
|
1254
|
+
joinPaths(
|
|
1255
|
+
options.workspaceConfig.workspaceRoot,
|
|
1256
|
+
options.projectRoot,
|
|
1257
|
+
"package.json"
|
|
1258
|
+
),
|
|
1259
|
+
"utf8"
|
|
1260
|
+
);
|
|
1261
|
+
if (!packageJsonFile) {
|
|
1262
|
+
throw new Error("Cannot find package.json configuration file");
|
|
1263
|
+
}
|
|
1264
|
+
let packageJson = JSON.parse(packageJsonFile);
|
|
1265
|
+
packageJson = await addPackageDependencies(
|
|
1266
|
+
options.workspaceConfig.workspaceRoot,
|
|
1267
|
+
options.projectRoot,
|
|
1268
|
+
options.projectName,
|
|
1269
|
+
packageJson
|
|
1270
|
+
);
|
|
1271
|
+
packageJson = await addWorkspacePackageJsonFields(
|
|
1272
|
+
options.workspaceConfig,
|
|
1273
|
+
options.projectRoot,
|
|
1274
|
+
options.sourceRoot,
|
|
1275
|
+
options.projectName,
|
|
1276
|
+
false,
|
|
1277
|
+
packageJson
|
|
1278
|
+
);
|
|
1279
|
+
packageJson.exports ??= {};
|
|
1280
|
+
packageJson.exports["./package.json"] ??= "./package.json";
|
|
1281
|
+
packageJson.exports["."] ??= addPackageJsonExport(
|
|
1282
|
+
"index",
|
|
1283
|
+
packageJson.type,
|
|
1284
|
+
options.sourceRoot
|
|
1285
|
+
);
|
|
1286
|
+
let entry = [{ in: "./src/index.ts", out: "./src/index.ts" }];
|
|
1287
|
+
if (options.entry) {
|
|
1288
|
+
if (Array.isArray(options.entry)) {
|
|
1289
|
+
entry = options.entry.map(
|
|
1290
|
+
(entryPoint) => typeof entryPoint === "string" ? { in: entryPoint, out: entryPoint } : entryPoint
|
|
1291
|
+
);
|
|
1292
|
+
}
|
|
1293
|
+
for (const entryPoint of entry) {
|
|
1294
|
+
const split = entryPoint.out.split(".");
|
|
1295
|
+
split.pop();
|
|
1296
|
+
const entry2 = split.join(".").replaceAll("\\", "/");
|
|
1297
|
+
packageJson.exports[`./${entry2}`] ??= addPackageJsonExport(
|
|
1298
|
+
entry2,
|
|
1299
|
+
options.fixedExtension ? "fixed" : packageJson.type,
|
|
1300
|
+
options.sourceRoot
|
|
1301
|
+
);
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
packageJson.main = !options.fixedExtension && packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
|
|
1305
|
+
packageJson.module = !options.fixedExtension && packageJson.type === "module" ? "./dist/index.js" : "./dist/index.mjs";
|
|
1306
|
+
packageJson.types = `./dist/index.d.${!options.fixedExtension ? "ts" : "mts"}`;
|
|
1307
|
+
packageJson.exports = Object.keys(packageJson.exports).reduce(
|
|
1308
|
+
(ret, key) => {
|
|
1309
|
+
if (key.endsWith("/index") && !ret[key.replace("/index", "")]) {
|
|
1310
|
+
ret[key.replace("/index", "")] = packageJson.exports[key];
|
|
1311
|
+
}
|
|
1312
|
+
return ret;
|
|
1313
|
+
},
|
|
1314
|
+
packageJson.exports
|
|
1315
|
+
);
|
|
1316
|
+
await writeJsonFile2(joinPaths(options.outDir, "package.json"), packageJson);
|
|
1317
|
+
stopwatch();
|
|
1318
|
+
}
|
|
1319
|
+
return options;
|
|
1320
|
+
}
|
|
1321
|
+
async function executeTSDown(options) {
|
|
1322
|
+
writeDebug(` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
1323
|
+
const stopwatch = getStopwatch(`${options.name} build`);
|
|
1324
|
+
await tsdown({
|
|
1325
|
+
...options,
|
|
1326
|
+
entry: options.entry,
|
|
1327
|
+
config: false
|
|
1328
|
+
});
|
|
1329
|
+
stopwatch();
|
|
1330
|
+
return options;
|
|
1331
|
+
}
|
|
1332
|
+
async function copyBuildAssets2(options) {
|
|
1333
|
+
writeDebug(
|
|
1334
|
+
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
1335
|
+
options.workspaceConfig
|
|
1336
|
+
);
|
|
1337
|
+
const stopwatch = getStopwatch(`${options.name} asset copy`);
|
|
1338
|
+
await copyAssets(
|
|
1339
|
+
options.workspaceConfig,
|
|
1340
|
+
options.assets ?? [],
|
|
1341
|
+
options.outDir,
|
|
1342
|
+
options.projectRoot,
|
|
1343
|
+
options.sourceRoot,
|
|
1344
|
+
true,
|
|
1345
|
+
false
|
|
1346
|
+
);
|
|
1347
|
+
stopwatch();
|
|
1348
|
+
return options;
|
|
1349
|
+
}
|
|
1350
|
+
async function reportResults2(options) {
|
|
1351
|
+
writeSuccess(
|
|
1352
|
+
` \u{1F4E6} The ${options.name} build completed successfully`,
|
|
1353
|
+
options.workspaceConfig
|
|
1354
|
+
);
|
|
1355
|
+
}
|
|
1356
|
+
async function cleanOutputPath2(options) {
|
|
1357
|
+
if (options.clean !== false && options.workspaceConfig) {
|
|
1358
|
+
writeDebug(
|
|
1359
|
+
` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
|
|
1360
|
+
options.workspaceConfig
|
|
1361
|
+
);
|
|
1362
|
+
const stopwatch = getStopwatch(`${options.name} output clean`);
|
|
1363
|
+
await cleanDirectories2(
|
|
1364
|
+
options.name,
|
|
1365
|
+
options.outDir,
|
|
1366
|
+
options.workspaceConfig
|
|
1367
|
+
);
|
|
1368
|
+
stopwatch();
|
|
1369
|
+
}
|
|
1370
|
+
return options;
|
|
1371
|
+
}
|
|
1372
|
+
async function build2(options) {
|
|
1373
|
+
writeDebug(` \u26A1 Executing Storm TSDown pipeline`);
|
|
1374
|
+
const stopwatch = getStopwatch("TSDown pipeline");
|
|
1375
|
+
try {
|
|
1376
|
+
const opts = Array.isArray(options) ? options : [options];
|
|
1377
|
+
if (opts.length === 0) {
|
|
1378
|
+
throw new Error("No build options were provided");
|
|
1379
|
+
}
|
|
1380
|
+
const resolved = await Promise.all(
|
|
1381
|
+
opts.map(async (opt) => await resolveOptions(opt))
|
|
1382
|
+
);
|
|
1383
|
+
if (resolved.length > 0) {
|
|
1384
|
+
await cleanOutputPath2(resolved[0]);
|
|
1385
|
+
await generatePackageJson2(resolved[0]);
|
|
1386
|
+
await Promise.all(
|
|
1387
|
+
resolved.map(async (opt) => {
|
|
1388
|
+
await executeTSDown(opt);
|
|
1389
|
+
await copyBuildAssets2(opt);
|
|
1390
|
+
await reportResults2(opt);
|
|
1391
|
+
})
|
|
1392
|
+
);
|
|
1393
|
+
} else {
|
|
1394
|
+
writeWarning(
|
|
1395
|
+
" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
|
|
1396
|
+
);
|
|
1397
|
+
}
|
|
1398
|
+
writeSuccess(" \u{1F3C1} TSDown pipeline build completed successfully");
|
|
1399
|
+
} catch (error) {
|
|
1400
|
+
writeFatal(
|
|
1401
|
+
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
1402
|
+
);
|
|
1403
|
+
throw error;
|
|
1404
|
+
} finally {
|
|
1405
|
+
stopwatch();
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
1410
|
+
async function tsdownExecutorFn(options, context, config5) {
|
|
1411
|
+
writeInfo("\u{1F4E6} Running Storm TSDown executor on the workspace", config5);
|
|
1412
|
+
if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) {
|
|
1413
|
+
throw new Error(
|
|
1414
|
+
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
1415
|
+
);
|
|
1416
|
+
}
|
|
1417
|
+
await build2({
|
|
1418
|
+
...options,
|
|
1419
|
+
projectRoot: (
|
|
1420
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1421
|
+
context.projectsConfigurations.projects?.[context.projectName].root
|
|
1422
|
+
),
|
|
1423
|
+
name: context.projectName,
|
|
1424
|
+
sourceRoot: context.projectsConfigurations.projects?.[context.projectName]?.sourceRoot,
|
|
1425
|
+
format: options.format,
|
|
1426
|
+
platform: options.platform
|
|
1427
|
+
});
|
|
1428
|
+
return {
|
|
1429
|
+
success: true
|
|
1430
|
+
};
|
|
1431
|
+
}
|
|
1432
|
+
var executor_default8 = withRunExecutor(
|
|
1433
|
+
"Storm TSDown build",
|
|
1434
|
+
tsdownExecutorFn,
|
|
1435
|
+
{
|
|
1436
|
+
skipReadingConfig: false,
|
|
1437
|
+
hooks: {
|
|
1438
|
+
applyDefaultOptions: async (options) => {
|
|
1439
|
+
options.entry ??= ["src/index.ts"];
|
|
1440
|
+
options.outputPath ??= "dist/{projectRoot}";
|
|
1441
|
+
options.tsconfig ??= "{projectRoot}/tsconfig.json";
|
|
1442
|
+
return options;
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
);
|
|
1447
|
+
|
|
1097
1448
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
1098
1449
|
import { removeSync } from "fs-extra";
|
|
1099
1450
|
import { TypiaProgrammer } from "typia/lib/programmers/TypiaProgrammer.js";
|
|
@@ -1116,7 +1467,7 @@ async function typiaExecutorFn(options, _, config5) {
|
|
|
1116
1467
|
success: true
|
|
1117
1468
|
};
|
|
1118
1469
|
}
|
|
1119
|
-
var
|
|
1470
|
+
var executor_default9 = withRunExecutor(
|
|
1120
1471
|
"Typia runtime validation generator",
|
|
1121
1472
|
typiaExecutorFn,
|
|
1122
1473
|
{
|
|
@@ -1134,7 +1485,7 @@ var executor_default8 = withRunExecutor(
|
|
|
1134
1485
|
);
|
|
1135
1486
|
|
|
1136
1487
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
1137
|
-
import { defu as
|
|
1488
|
+
import { defu as defu3 } from "defu";
|
|
1138
1489
|
import { createJiti } from "jiti";
|
|
1139
1490
|
async function unbuildExecutorFn(options, context, config5) {
|
|
1140
1491
|
writeInfo("\u{1F4E6} Running Storm Unbuild executor on the workspace", config5);
|
|
@@ -1165,7 +1516,7 @@ async function unbuildExecutorFn(options, context, config5) {
|
|
|
1165
1516
|
jiti.esmResolve("@storm-software/unbuild/build")
|
|
1166
1517
|
);
|
|
1167
1518
|
await stormUnbuild.build(
|
|
1168
|
-
|
|
1519
|
+
defu3(
|
|
1169
1520
|
{
|
|
1170
1521
|
...options,
|
|
1171
1522
|
projectRoot: context.projectsConfigurations.projects[context.projectName].root,
|
|
@@ -1205,7 +1556,7 @@ async function unbuildExecutorFn(options, context, config5) {
|
|
|
1205
1556
|
success: true
|
|
1206
1557
|
};
|
|
1207
1558
|
}
|
|
1208
|
-
var
|
|
1559
|
+
var executor_default10 = withRunExecutor(
|
|
1209
1560
|
"TypeScript Unbuild build",
|
|
1210
1561
|
unbuildExecutorFn,
|
|
1211
1562
|
{
|
|
@@ -2921,7 +3272,7 @@ import {
|
|
|
2921
3272
|
readJsonFile as readJsonFile2,
|
|
2922
3273
|
workspaceRoot as workspaceRoot2
|
|
2923
3274
|
} from "@nx/devkit";
|
|
2924
|
-
import { existsSync as
|
|
3275
|
+
import { existsSync as existsSync9 } from "node:fs";
|
|
2925
3276
|
import { join as join2 } from "node:path";
|
|
2926
3277
|
import {
|
|
2927
3278
|
getNpmLockfileDependencies,
|
|
@@ -2946,8 +3297,8 @@ var PNPM_LOCK_PATH = join2(workspaceRoot2, PNPM_LOCK_FILE);
|
|
|
2946
3297
|
import {
|
|
2947
3298
|
readJsonFile as readJsonFile3
|
|
2948
3299
|
} from "@nx/devkit";
|
|
2949
|
-
import
|
|
2950
|
-
import { existsSync as
|
|
3300
|
+
import defu4 from "defu";
|
|
3301
|
+
import { existsSync as existsSync10 } from "node:fs";
|
|
2951
3302
|
import { dirname as dirname2, join as join3 } from "node:path";
|
|
2952
3303
|
|
|
2953
3304
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
@@ -262,6 +262,7 @@ var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
|
262
262
|
*****************************************/
|
|
263
263
|
`;
|
|
264
264
|
var DEFAULT_ENVIRONMENT = "production";
|
|
265
|
+
var DEFAULT_TARGET = "esnext";
|
|
265
266
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
266
267
|
|
|
267
268
|
// ../build-tools/src/plugins/swc.ts
|
|
@@ -281,7 +282,7 @@ var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_reso
|
|
|
281
282
|
var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
|
|
282
283
|
var _glob = require('glob');
|
|
283
284
|
var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
|
|
284
|
-
var copyAssets = async (config5, assets, outputPath, projectRoot, sourceRoot,
|
|
285
|
+
var copyAssets = async (config5, assets, outputPath, projectRoot, sourceRoot, generatePackageJson3 = true, includeSrc = false, banner, footer) => {
|
|
285
286
|
const pendingAssets = Array.from(_nullishCoalesce(assets, () => ( [])));
|
|
286
287
|
pendingAssets.push({
|
|
287
288
|
input: projectRoot,
|
|
@@ -293,7 +294,7 @@ var copyAssets = async (config5, assets, outputPath, projectRoot, sourceRoot, ge
|
|
|
293
294
|
glob: "LICENSE",
|
|
294
295
|
output: "."
|
|
295
296
|
});
|
|
296
|
-
if (
|
|
297
|
+
if (generatePackageJson3 === false) {
|
|
297
298
|
pendingAssets.push({
|
|
298
299
|
input: projectRoot,
|
|
299
300
|
glob: "package.json",
|
|
@@ -499,6 +500,26 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
499
500
|
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkNNHU5AWLjs.joinPaths.call(void 0, "packages", projectName);
|
|
500
501
|
return packageJson;
|
|
501
502
|
};
|
|
503
|
+
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
504
|
+
let entry = file.replaceAll("\\", "/");
|
|
505
|
+
if (sourceRoot) {
|
|
506
|
+
entry = entry.replace(sourceRoot, "");
|
|
507
|
+
}
|
|
508
|
+
return {
|
|
509
|
+
import: {
|
|
510
|
+
types: `./dist/${entry}.d.${type === "module" ? "ts" : "mts"}`,
|
|
511
|
+
default: `./dist/${entry}.${type === "module" ? "js" : "mjs"}`
|
|
512
|
+
},
|
|
513
|
+
require: {
|
|
514
|
+
types: `./dist/${entry}.d.${type === "commonjs" ? "ts" : "cts"}`,
|
|
515
|
+
default: `./dist/${entry}.${type === "commonjs" ? "js" : "cjs"}`
|
|
516
|
+
},
|
|
517
|
+
default: {
|
|
518
|
+
types: `./dist/${entry}.d.${type !== "fixed" ? "ts" : "mts"}`,
|
|
519
|
+
default: `./dist/${entry}.${type !== "fixed" ? "js" : "mjs"}`
|
|
520
|
+
}
|
|
521
|
+
};
|
|
522
|
+
};
|
|
502
523
|
|
|
503
524
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
504
525
|
|
|
@@ -926,7 +947,7 @@ async function esbuildExecutorFn(options, context, config5) {
|
|
|
926
947
|
name: context.projectName,
|
|
927
948
|
sourceRoot: _optionalChain([context, 'access', _54 => _54.projectsConfigurations, 'access', _55 => _55.projects, 'optionalAccess', _56 => _56[context.projectName], 'optionalAccess', _57 => _57.sourceRoot]),
|
|
928
949
|
format: options.format,
|
|
929
|
-
platform: options.
|
|
950
|
+
platform: options.platform
|
|
930
951
|
});
|
|
931
952
|
return {
|
|
932
953
|
success: true
|
|
@@ -1091,6 +1112,336 @@ var executor_default7 = _chunkNNHU5AWLjs.withRunExecutor.call(void 0,
|
|
|
1091
1112
|
}
|
|
1092
1113
|
);
|
|
1093
1114
|
|
|
1115
|
+
// ../tsdown/src/build.ts
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
|
+
var _tsdown = require('tsdown');
|
|
1125
|
+
|
|
1126
|
+
// ../tsdown/src/clean.ts
|
|
1127
|
+
|
|
1128
|
+
async function cleanDirectories2(name = "TSDown", directory, config5) {
|
|
1129
|
+
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
// ../tsdown/src/config.ts
|
|
1133
|
+
function getDefaultOptions(config5) {
|
|
1134
|
+
return {
|
|
1135
|
+
entry: ["./src/*.ts"],
|
|
1136
|
+
platform: "node",
|
|
1137
|
+
target: "esnext",
|
|
1138
|
+
mode: "production",
|
|
1139
|
+
dts: true,
|
|
1140
|
+
unused: {
|
|
1141
|
+
level: "error",
|
|
1142
|
+
ignore: ["typescript"]
|
|
1143
|
+
},
|
|
1144
|
+
publint: true,
|
|
1145
|
+
fixedExtension: true,
|
|
1146
|
+
...config5
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1149
|
+
function toTSDownFormat(format4) {
|
|
1150
|
+
if (!format4 || Array.isArray(format4) && format4.length === 0) {
|
|
1151
|
+
return ["cjs", "es"];
|
|
1152
|
+
} else if (format4 === "esm") {
|
|
1153
|
+
return "es";
|
|
1154
|
+
} else if (Array.isArray(format4)) {
|
|
1155
|
+
return format4.map((f) => f === "esm" ? "es" : f);
|
|
1156
|
+
}
|
|
1157
|
+
return format4;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
// ../tsdown/src/build.ts
|
|
1161
|
+
var resolveOptions = async (userOptions) => {
|
|
1162
|
+
const options = getDefaultOptions(userOptions);
|
|
1163
|
+
const workspaceRoot3 = _chunkNNHU5AWLjs.findWorkspaceRoot.call(void 0, options.projectRoot);
|
|
1164
|
+
if (!workspaceRoot3) {
|
|
1165
|
+
throw new Error("Cannot find Nx workspace root");
|
|
1166
|
+
}
|
|
1167
|
+
const workspaceConfig = await _chunkNNHU5AWLjs.getWorkspaceConfig.call(void 0, options.debug === true, {
|
|
1168
|
+
workspaceRoot: workspaceRoot3
|
|
1169
|
+
});
|
|
1170
|
+
_chunkNNHU5AWLjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
|
|
1171
|
+
const stopwatch = _chunkNNHU5AWLjs.getStopwatch.call(void 0, "Build options resolution");
|
|
1172
|
+
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
1173
|
+
exitOnError: true
|
|
1174
|
+
});
|
|
1175
|
+
const projectJsonPath = _chunkNNHU5AWLjs.joinPaths.call(void 0,
|
|
1176
|
+
workspaceRoot3,
|
|
1177
|
+
options.projectRoot,
|
|
1178
|
+
"project.json"
|
|
1179
|
+
);
|
|
1180
|
+
if (!_fs.existsSync.call(void 0, projectJsonPath)) {
|
|
1181
|
+
throw new Error("Cannot find project.json configuration");
|
|
1182
|
+
}
|
|
1183
|
+
const projectJsonFile = await _promises2.default.readFile(projectJsonPath, "utf8");
|
|
1184
|
+
const projectJson = JSON.parse(projectJsonFile);
|
|
1185
|
+
const projectName = projectJson.name;
|
|
1186
|
+
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
1187
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _69 => _69.projects, 'optionalAccess', _70 => _70[projectName]])) {
|
|
1188
|
+
throw new Error(
|
|
1189
|
+
"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."
|
|
1190
|
+
);
|
|
1191
|
+
}
|
|
1192
|
+
const packageJsonPath = _chunkNNHU5AWLjs.joinPaths.call(void 0,
|
|
1193
|
+
workspaceRoot3,
|
|
1194
|
+
options.projectRoot,
|
|
1195
|
+
"package.json"
|
|
1196
|
+
);
|
|
1197
|
+
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1198
|
+
throw new Error("Cannot find package.json configuration");
|
|
1199
|
+
}
|
|
1200
|
+
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
1201
|
+
const sourceRoot = projectJson.sourceRoot || _chunkNNHU5AWLjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
1202
|
+
const result = {
|
|
1203
|
+
name: projectName,
|
|
1204
|
+
mode: "production",
|
|
1205
|
+
target: DEFAULT_TARGET,
|
|
1206
|
+
generatePackageJson: true,
|
|
1207
|
+
outDir: _chunkNNHU5AWLjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
1208
|
+
minify: !debug,
|
|
1209
|
+
plugins: [],
|
|
1210
|
+
assets: [],
|
|
1211
|
+
dts: true,
|
|
1212
|
+
shims: true,
|
|
1213
|
+
silent: !debug,
|
|
1214
|
+
logLevel: workspaceConfig.logLevel === "success" || workspaceConfig.logLevel === "debug" || workspaceConfig.logLevel === "trace" || workspaceConfig.logLevel === "all" ? "info" : workspaceConfig.logLevel === "fatal" ? "error" : workspaceConfig.logLevel,
|
|
1215
|
+
sourcemap: debug ? "inline" : false,
|
|
1216
|
+
clean: false,
|
|
1217
|
+
fixedExtension: true,
|
|
1218
|
+
nodeProtocol: true,
|
|
1219
|
+
tsconfig: _chunkNNHU5AWLjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
1220
|
+
debug,
|
|
1221
|
+
sourceRoot,
|
|
1222
|
+
cwd: workspaceConfig.workspaceRoot,
|
|
1223
|
+
entry: {
|
|
1224
|
+
["index"]: _chunkNNHU5AWLjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
1225
|
+
},
|
|
1226
|
+
workspace: true,
|
|
1227
|
+
...options,
|
|
1228
|
+
treeshake: options.treeShaking !== false,
|
|
1229
|
+
format: toTSDownFormat(options.format),
|
|
1230
|
+
workspaceConfig,
|
|
1231
|
+
projectName,
|
|
1232
|
+
projectGraph,
|
|
1233
|
+
projectConfigurations
|
|
1234
|
+
};
|
|
1235
|
+
result.env = _defu2.default.call(void 0,
|
|
1236
|
+
options.env,
|
|
1237
|
+
getEnv("tsdown", result)
|
|
1238
|
+
);
|
|
1239
|
+
stopwatch();
|
|
1240
|
+
return result;
|
|
1241
|
+
};
|
|
1242
|
+
async function generatePackageJson2(options) {
|
|
1243
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkNNHU5AWLjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
1244
|
+
_chunkNNHU5AWLjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
1245
|
+
const stopwatch = _chunkNNHU5AWLjs.getStopwatch.call(void 0, "Write package.json file");
|
|
1246
|
+
const packageJsonPath = _chunkNNHU5AWLjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
1247
|
+
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
1248
|
+
throw new Error("Cannot find package.json configuration");
|
|
1249
|
+
}
|
|
1250
|
+
const packageJsonFile = await _promises2.default.readFile(
|
|
1251
|
+
_chunkNNHU5AWLjs.joinPaths.call(void 0,
|
|
1252
|
+
options.workspaceConfig.workspaceRoot,
|
|
1253
|
+
options.projectRoot,
|
|
1254
|
+
"package.json"
|
|
1255
|
+
),
|
|
1256
|
+
"utf8"
|
|
1257
|
+
);
|
|
1258
|
+
if (!packageJsonFile) {
|
|
1259
|
+
throw new Error("Cannot find package.json configuration file");
|
|
1260
|
+
}
|
|
1261
|
+
let packageJson = JSON.parse(packageJsonFile);
|
|
1262
|
+
packageJson = await addPackageDependencies(
|
|
1263
|
+
options.workspaceConfig.workspaceRoot,
|
|
1264
|
+
options.projectRoot,
|
|
1265
|
+
options.projectName,
|
|
1266
|
+
packageJson
|
|
1267
|
+
);
|
|
1268
|
+
packageJson = await addWorkspacePackageJsonFields(
|
|
1269
|
+
options.workspaceConfig,
|
|
1270
|
+
options.projectRoot,
|
|
1271
|
+
options.sourceRoot,
|
|
1272
|
+
options.projectName,
|
|
1273
|
+
false,
|
|
1274
|
+
packageJson
|
|
1275
|
+
);
|
|
1276
|
+
packageJson.exports ??= {};
|
|
1277
|
+
packageJson.exports["./package.json"] ??= "./package.json";
|
|
1278
|
+
packageJson.exports["."] ??= addPackageJsonExport(
|
|
1279
|
+
"index",
|
|
1280
|
+
packageJson.type,
|
|
1281
|
+
options.sourceRoot
|
|
1282
|
+
);
|
|
1283
|
+
let entry = [{ in: "./src/index.ts", out: "./src/index.ts" }];
|
|
1284
|
+
if (options.entry) {
|
|
1285
|
+
if (Array.isArray(options.entry)) {
|
|
1286
|
+
entry = options.entry.map(
|
|
1287
|
+
(entryPoint) => typeof entryPoint === "string" ? { in: entryPoint, out: entryPoint } : entryPoint
|
|
1288
|
+
);
|
|
1289
|
+
}
|
|
1290
|
+
for (const entryPoint of entry) {
|
|
1291
|
+
const split = entryPoint.out.split(".");
|
|
1292
|
+
split.pop();
|
|
1293
|
+
const entry2 = split.join(".").replaceAll("\\", "/");
|
|
1294
|
+
packageJson.exports[`./${entry2}`] ??= addPackageJsonExport(
|
|
1295
|
+
entry2,
|
|
1296
|
+
options.fixedExtension ? "fixed" : packageJson.type,
|
|
1297
|
+
options.sourceRoot
|
|
1298
|
+
);
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
packageJson.main = !options.fixedExtension && packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
|
|
1302
|
+
packageJson.module = !options.fixedExtension && packageJson.type === "module" ? "./dist/index.js" : "./dist/index.mjs";
|
|
1303
|
+
packageJson.types = `./dist/index.d.${!options.fixedExtension ? "ts" : "mts"}`;
|
|
1304
|
+
packageJson.exports = Object.keys(packageJson.exports).reduce(
|
|
1305
|
+
(ret, key) => {
|
|
1306
|
+
if (key.endsWith("/index") && !ret[key.replace("/index", "")]) {
|
|
1307
|
+
ret[key.replace("/index", "")] = packageJson.exports[key];
|
|
1308
|
+
}
|
|
1309
|
+
return ret;
|
|
1310
|
+
},
|
|
1311
|
+
packageJson.exports
|
|
1312
|
+
);
|
|
1313
|
+
await _devkit.writeJsonFile.call(void 0, _chunkNNHU5AWLjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
1314
|
+
stopwatch();
|
|
1315
|
+
}
|
|
1316
|
+
return options;
|
|
1317
|
+
}
|
|
1318
|
+
async function executeTSDown(options) {
|
|
1319
|
+
_chunkNNHU5AWLjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
|
|
1320
|
+
const stopwatch = _chunkNNHU5AWLjs.getStopwatch.call(void 0, `${options.name} build`);
|
|
1321
|
+
await _tsdown.build.call(void 0, {
|
|
1322
|
+
...options,
|
|
1323
|
+
entry: options.entry,
|
|
1324
|
+
config: false
|
|
1325
|
+
});
|
|
1326
|
+
stopwatch();
|
|
1327
|
+
return options;
|
|
1328
|
+
}
|
|
1329
|
+
async function copyBuildAssets2(options) {
|
|
1330
|
+
_chunkNNHU5AWLjs.writeDebug.call(void 0,
|
|
1331
|
+
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
1332
|
+
options.workspaceConfig
|
|
1333
|
+
);
|
|
1334
|
+
const stopwatch = _chunkNNHU5AWLjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
1335
|
+
await copyAssets(
|
|
1336
|
+
options.workspaceConfig,
|
|
1337
|
+
_nullishCoalesce(options.assets, () => ( [])),
|
|
1338
|
+
options.outDir,
|
|
1339
|
+
options.projectRoot,
|
|
1340
|
+
options.sourceRoot,
|
|
1341
|
+
true,
|
|
1342
|
+
false
|
|
1343
|
+
);
|
|
1344
|
+
stopwatch();
|
|
1345
|
+
return options;
|
|
1346
|
+
}
|
|
1347
|
+
async function reportResults2(options) {
|
|
1348
|
+
_chunkNNHU5AWLjs.writeSuccess.call(void 0,
|
|
1349
|
+
` \u{1F4E6} The ${options.name} build completed successfully`,
|
|
1350
|
+
options.workspaceConfig
|
|
1351
|
+
);
|
|
1352
|
+
}
|
|
1353
|
+
async function cleanOutputPath2(options) {
|
|
1354
|
+
if (options.clean !== false && options.workspaceConfig) {
|
|
1355
|
+
_chunkNNHU5AWLjs.writeDebug.call(void 0,
|
|
1356
|
+
` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
|
|
1357
|
+
options.workspaceConfig
|
|
1358
|
+
);
|
|
1359
|
+
const stopwatch = _chunkNNHU5AWLjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
1360
|
+
await cleanDirectories2(
|
|
1361
|
+
options.name,
|
|
1362
|
+
options.outDir,
|
|
1363
|
+
options.workspaceConfig
|
|
1364
|
+
);
|
|
1365
|
+
stopwatch();
|
|
1366
|
+
}
|
|
1367
|
+
return options;
|
|
1368
|
+
}
|
|
1369
|
+
async function build2(options) {
|
|
1370
|
+
_chunkNNHU5AWLjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
|
|
1371
|
+
const stopwatch = _chunkNNHU5AWLjs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
1372
|
+
try {
|
|
1373
|
+
const opts = Array.isArray(options) ? options : [options];
|
|
1374
|
+
if (opts.length === 0) {
|
|
1375
|
+
throw new Error("No build options were provided");
|
|
1376
|
+
}
|
|
1377
|
+
const resolved = await Promise.all(
|
|
1378
|
+
opts.map(async (opt) => await resolveOptions(opt))
|
|
1379
|
+
);
|
|
1380
|
+
if (resolved.length > 0) {
|
|
1381
|
+
await cleanOutputPath2(resolved[0]);
|
|
1382
|
+
await generatePackageJson2(resolved[0]);
|
|
1383
|
+
await Promise.all(
|
|
1384
|
+
resolved.map(async (opt) => {
|
|
1385
|
+
await executeTSDown(opt);
|
|
1386
|
+
await copyBuildAssets2(opt);
|
|
1387
|
+
await reportResults2(opt);
|
|
1388
|
+
})
|
|
1389
|
+
);
|
|
1390
|
+
} else {
|
|
1391
|
+
_chunkNNHU5AWLjs.writeWarning.call(void 0,
|
|
1392
|
+
" \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
|
|
1393
|
+
);
|
|
1394
|
+
}
|
|
1395
|
+
_chunkNNHU5AWLjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
1396
|
+
} catch (error) {
|
|
1397
|
+
_chunkNNHU5AWLjs.writeFatal.call(void 0,
|
|
1398
|
+
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
1399
|
+
);
|
|
1400
|
+
throw error;
|
|
1401
|
+
} finally {
|
|
1402
|
+
stopwatch();
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
1407
|
+
async function tsdownExecutorFn(options, context, config5) {
|
|
1408
|
+
_chunkNNHU5AWLjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config5);
|
|
1409
|
+
if (!_optionalChain([context, 'access', _71 => _71.projectsConfigurations, 'optionalAccess', _72 => _72.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _73 => _73.projectsConfigurations, 'access', _74 => _74.projects, 'access', _75 => _75[context.projectName], 'optionalAccess', _76 => _76.root])) {
|
|
1410
|
+
throw new Error(
|
|
1411
|
+
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
1412
|
+
);
|
|
1413
|
+
}
|
|
1414
|
+
await build2({
|
|
1415
|
+
...options,
|
|
1416
|
+
projectRoot: (
|
|
1417
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1418
|
+
_optionalChain([context, 'access', _77 => _77.projectsConfigurations, 'access', _78 => _78.projects, 'optionalAccess', _79 => _79[context.projectName], 'access', _80 => _80.root])
|
|
1419
|
+
),
|
|
1420
|
+
name: context.projectName,
|
|
1421
|
+
sourceRoot: _optionalChain([context, 'access', _81 => _81.projectsConfigurations, 'access', _82 => _82.projects, 'optionalAccess', _83 => _83[context.projectName], 'optionalAccess', _84 => _84.sourceRoot]),
|
|
1422
|
+
format: options.format,
|
|
1423
|
+
platform: options.platform
|
|
1424
|
+
});
|
|
1425
|
+
return {
|
|
1426
|
+
success: true
|
|
1427
|
+
};
|
|
1428
|
+
}
|
|
1429
|
+
var executor_default8 = _chunkNNHU5AWLjs.withRunExecutor.call(void 0,
|
|
1430
|
+
"Storm TSDown build",
|
|
1431
|
+
tsdownExecutorFn,
|
|
1432
|
+
{
|
|
1433
|
+
skipReadingConfig: false,
|
|
1434
|
+
hooks: {
|
|
1435
|
+
applyDefaultOptions: async (options) => {
|
|
1436
|
+
options.entry ??= ["src/index.ts"];
|
|
1437
|
+
options.outputPath ??= "dist/{projectRoot}";
|
|
1438
|
+
options.tsconfig ??= "{projectRoot}/tsconfig.json";
|
|
1439
|
+
return options;
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
);
|
|
1444
|
+
|
|
1094
1445
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
1095
1446
|
var _fsextra = require('fs-extra');
|
|
1096
1447
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
@@ -1113,7 +1464,7 @@ async function typiaExecutorFn(options, _, config5) {
|
|
|
1113
1464
|
success: true
|
|
1114
1465
|
};
|
|
1115
1466
|
}
|
|
1116
|
-
var
|
|
1467
|
+
var executor_default9 = _chunkNNHU5AWLjs.withRunExecutor.call(void 0,
|
|
1117
1468
|
"Typia runtime validation generator",
|
|
1118
1469
|
typiaExecutorFn,
|
|
1119
1470
|
{
|
|
@@ -1135,7 +1486,7 @@ var executor_default8 = _chunkNNHU5AWLjs.withRunExecutor.call(void 0,
|
|
|
1135
1486
|
var _jiti = require('jiti');
|
|
1136
1487
|
async function unbuildExecutorFn(options, context, config5) {
|
|
1137
1488
|
_chunkNNHU5AWLjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config5);
|
|
1138
|
-
if (!_optionalChain([context, 'access',
|
|
1489
|
+
if (!_optionalChain([context, 'access', _85 => _85.projectsConfigurations, 'optionalAccess', _86 => _86.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
|
|
1139
1490
|
throw new Error(
|
|
1140
1491
|
"The Build process failed because the context is not valid. Please run this command from a workspace root directory."
|
|
1141
1492
|
);
|
|
@@ -1202,7 +1553,7 @@ async function unbuildExecutorFn(options, context, config5) {
|
|
|
1202
1553
|
success: true
|
|
1203
1554
|
};
|
|
1204
1555
|
}
|
|
1205
|
-
var
|
|
1556
|
+
var executor_default10 = _chunkNNHU5AWLjs.withRunExecutor.call(void 0,
|
|
1206
1557
|
"TypeScript Unbuild build",
|
|
1207
1558
|
unbuildExecutorFn,
|
|
1208
1559
|
{
|
|
@@ -1249,7 +1600,7 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
|
1249
1600
|
);
|
|
1250
1601
|
config5 = await _chunkNNHU5AWLjs.getConfig.call(void 0, workspaceRoot3);
|
|
1251
1602
|
}
|
|
1252
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1603
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _87 => _87.hooks, 'optionalAccess', _88 => _88.applyDefaultOptions])) {
|
|
1253
1604
|
_chunkNNHU5AWLjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config5);
|
|
1254
1605
|
options = await Promise.resolve(
|
|
1255
1606
|
generatorOptions.hooks.applyDefaultOptions(options, config5)
|
|
@@ -1266,7 +1617,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1266
1617
|
{ workspaceRoot: tree.root, config: config5 },
|
|
1267
1618
|
_chunkNNHU5AWLjs.applyWorkspaceBaseTokens
|
|
1268
1619
|
);
|
|
1269
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1620
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _89 => _89.hooks, 'optionalAccess', _90 => _90.preProcess])) {
|
|
1270
1621
|
_chunkNNHU5AWLjs.writeDebug.call(void 0, "Running the preProcess hook...", config5);
|
|
1271
1622
|
await Promise.resolve(
|
|
1272
1623
|
generatorOptions.hooks.preProcess(tokenized, config5)
|
|
@@ -1277,15 +1628,15 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
1277
1628
|
generatorFn(tree, tokenized, config5)
|
|
1278
1629
|
);
|
|
1279
1630
|
if (result) {
|
|
1280
|
-
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess',
|
|
1631
|
+
if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _91 => _91.error, 'optionalAccess', _92 => _92.message]) && typeof _optionalChain([result, 'optionalAccess', _93 => _93.error, 'optionalAccess', _94 => _94.message]) === "string" && _optionalChain([result, 'optionalAccess', _95 => _95.error, 'optionalAccess', _96 => _96.name]) && typeof _optionalChain([result, 'optionalAccess', _97 => _97.error, 'optionalAccess', _98 => _98.name]) === "string") {
|
|
1281
1632
|
throw new Error(`The ${name} generator failed to run`, {
|
|
1282
|
-
cause: _optionalChain([result, 'optionalAccess',
|
|
1633
|
+
cause: _optionalChain([result, 'optionalAccess', _99 => _99.error])
|
|
1283
1634
|
});
|
|
1284
1635
|
} else if (result.success && result.data) {
|
|
1285
1636
|
return result;
|
|
1286
1637
|
}
|
|
1287
1638
|
}
|
|
1288
|
-
if (_optionalChain([generatorOptions, 'optionalAccess',
|
|
1639
|
+
if (_optionalChain([generatorOptions, 'optionalAccess', _100 => _100.hooks, 'optionalAccess', _101 => _101.postProcess])) {
|
|
1289
1640
|
_chunkNNHU5AWLjs.writeDebug.call(void 0, "Running the postProcess hook...", config5);
|
|
1290
1641
|
await Promise.resolve(generatorOptions.hooks.postProcess(config5));
|
|
1291
1642
|
_chunkNNHU5AWLjs.writeDebug.call(void 0, "Completed the postProcess hook", config5);
|
|
@@ -1417,15 +1768,15 @@ async function typeScriptLibraryGeneratorFn(tree, options, config5) {
|
|
|
1417
1768
|
_devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
|
|
1418
1769
|
let repository = {
|
|
1419
1770
|
type: "github",
|
|
1420
|
-
url: _optionalChain([config5, 'optionalAccess',
|
|
1771
|
+
url: _optionalChain([config5, 'optionalAccess', _102 => _102.repository]) || `https://github.com/${(typeof _optionalChain([config5, 'optionalAccess', _103 => _103.organization]) === "string" ? _optionalChain([config5, 'optionalAccess', _104 => _104.organization]) : _optionalChain([config5, 'optionalAccess', _105 => _105.organization, 'optionalAccess', _106 => _106.name])) || "storm-software"}/${_optionalChain([config5, 'optionalAccess', _107 => _107.namespace]) || _optionalChain([config5, 'optionalAccess', _108 => _108.name]) || "repository"}.git`
|
|
1421
1772
|
};
|
|
1422
1773
|
let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
|
|
1423
1774
|
if (tree.exists("package.json")) {
|
|
1424
1775
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1425
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1776
|
+
if (_optionalChain([packageJson, 'optionalAccess', _109 => _109.repository])) {
|
|
1426
1777
|
repository = packageJson.repository;
|
|
1427
1778
|
}
|
|
1428
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1779
|
+
if (_optionalChain([packageJson, 'optionalAccess', _110 => _110.description])) {
|
|
1429
1780
|
description = packageJson.description;
|
|
1430
1781
|
}
|
|
1431
1782
|
}
|
|
@@ -1480,9 +1831,9 @@ async function typeScriptLibraryGeneratorFn(tree, options, config5) {
|
|
|
1480
1831
|
_devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
|
|
1481
1832
|
...json,
|
|
1482
1833
|
pnpm: {
|
|
1483
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1834
|
+
..._optionalChain([json, 'optionalAccess', _111 => _111.pnpm]),
|
|
1484
1835
|
overrides: {
|
|
1485
|
-
..._optionalChain([json, 'optionalAccess',
|
|
1836
|
+
..._optionalChain([json, 'optionalAccess', _112 => _112.pnpm, 'optionalAccess', _113 => _113.overrides]),
|
|
1486
1837
|
[_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
|
|
1487
1838
|
}
|
|
1488
1839
|
}
|
|
@@ -1500,10 +1851,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config5) {
|
|
|
1500
1851
|
]);
|
|
1501
1852
|
if (tree.exists("package.json")) {
|
|
1502
1853
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
1503
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1854
|
+
if (_optionalChain([packageJson, 'optionalAccess', _114 => _114.repository])) {
|
|
1504
1855
|
repository = packageJson.repository;
|
|
1505
1856
|
}
|
|
1506
|
-
if (_optionalChain([packageJson, 'optionalAccess',
|
|
1857
|
+
if (_optionalChain([packageJson, 'optionalAccess', _115 => _115.description])) {
|
|
1507
1858
|
description = packageJson.description;
|
|
1508
1859
|
}
|
|
1509
1860
|
}
|
|
@@ -1540,22 +1891,22 @@ function getOutputPath(options) {
|
|
|
1540
1891
|
function createProjectTsConfigJson(tree, options) {
|
|
1541
1892
|
const tsconfig = {
|
|
1542
1893
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
1543
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1894
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _116 => _116.tsconfigOptions]), () => ( {})),
|
|
1544
1895
|
compilerOptions: {
|
|
1545
1896
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
1546
1897
|
outDir: _chunkNNHU5AWLjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
1547
1898
|
noEmit: true,
|
|
1548
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1899
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _117 => _117.tsconfigOptions, 'optionalAccess', _118 => _118.compilerOptions]), () => ( {}))
|
|
1549
1900
|
},
|
|
1550
|
-
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1901
|
+
files: [..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _119 => _119.tsconfigOptions, 'optionalAccess', _120 => _120.files]), () => ( []))],
|
|
1551
1902
|
include: [
|
|
1552
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1903
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _121 => _121.tsconfigOptions, 'optionalAccess', _122 => _122.include]), () => ( [])),
|
|
1553
1904
|
"src/**/*.ts",
|
|
1554
1905
|
"src/**/*.js",
|
|
1555
1906
|
"bin/**/*"
|
|
1556
1907
|
],
|
|
1557
1908
|
exclude: [
|
|
1558
|
-
..._nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
1909
|
+
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _123 => _123.tsconfigOptions, 'optionalAccess', _124 => _124.exclude]), () => ( [])),
|
|
1559
1910
|
"jest.config.ts",
|
|
1560
1911
|
"src/**/*.spec.ts",
|
|
1561
1912
|
"src/**/*.test.ts"
|
|
@@ -1565,8 +1916,8 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
1565
1916
|
}
|
|
1566
1917
|
async function normalizeOptions(tree, options, config5) {
|
|
1567
1918
|
let importPath = options.importPath;
|
|
1568
|
-
if (!importPath && _optionalChain([config5, 'optionalAccess',
|
|
1569
|
-
importPath = `@${_optionalChain([config5, 'optionalAccess',
|
|
1919
|
+
if (!importPath && _optionalChain([config5, 'optionalAccess', _125 => _125.namespace])) {
|
|
1920
|
+
importPath = `@${_optionalChain([config5, 'optionalAccess', _126 => _126.namespace])}/${options.name}`;
|
|
1570
1921
|
}
|
|
1571
1922
|
if (options.publishable) {
|
|
1572
1923
|
if (!importPath) {
|
|
@@ -1731,7 +2082,7 @@ async function configSchemaGeneratorFn(tree, options, config5) {
|
|
|
1731
2082
|
);
|
|
1732
2083
|
}
|
|
1733
2084
|
const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
|
|
1734
|
-
_nullishCoalesce(_optionalChain([config5, 'optionalAccess',
|
|
2085
|
+
_nullishCoalesce(_optionalChain([config5, 'optionalAccess', _127 => _127.workspaceRoot]), () => ( _chunkNNHU5AWLjs.findWorkspaceRoot.call(void 0, ))),
|
|
1735
2086
|
options.outputFile.startsWith("./") ? "" : "./"
|
|
1736
2087
|
);
|
|
1737
2088
|
_chunkNNHU5AWLjs.writeTrace.call(void 0,
|
|
@@ -2305,8 +2656,8 @@ var CHANGELOG_COMMIT_TYPES_OBJECT = Object.freeze(
|
|
|
2305
2656
|
ret[key] = {
|
|
2306
2657
|
...commitType.changelog,
|
|
2307
2658
|
type: key,
|
|
2308
|
-
section: _optionalChain([commitType, 'access',
|
|
2309
|
-
hidden: _optionalChain([commitType, 'access',
|
|
2659
|
+
section: _optionalChain([commitType, 'access', _128 => _128.changelog, 'optionalAccess', _129 => _129.title]) || commitType.title,
|
|
2660
|
+
hidden: _optionalChain([commitType, 'access', _130 => _130.changelog, 'optionalAccess', _131 => _131.hidden])
|
|
2310
2661
|
};
|
|
2311
2662
|
return ret;
|
|
2312
2663
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
1
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__36e205425e4a551755fc84e115d00745/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import { fileURLToPath } from "url";
|
|
3
3
|
import path from "path";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
package/dist/executors.mjs
CHANGED
package/dist/generators.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-N2YKXZ5R.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkTRX2SHWYjs = require('./chunk-TRX2SHWY.js');
|
|
5
5
|
require('./chunk-NNHU5AWL.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.initGenerator =
|
|
8
|
+
exports.initGenerator = _chunkTRX2SHWYjs.initGenerator;
|
package/dist/generators.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ require('./chunk-K2ZUB3RA.js');
|
|
|
5
5
|
require('./chunk-N2YKXZ5R.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkTRX2SHWYjs = require('./chunk-TRX2SHWY.js');
|
|
9
9
|
require('./chunk-GUQOEBFW.js');
|
|
10
10
|
|
|
11
11
|
|
|
@@ -19,4 +19,4 @@ require('./chunk-NNHU5AWL.js');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator =
|
|
22
|
+
exports.baseTerraformExecutorSchema = _chunkILC773N2js.base_terraform_executor_untyped_default; exports.initGenerator = _chunkTRX2SHWYjs.initGenerator; exports.withTerraformExecutor = _chunkHYXXMLHPjs.withTerraformExecutor;
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import "./chunk-P7MUCUNU.mjs";
|
|
|
5
5
|
import "./chunk-23KFTIT2.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PM57NOJQ.mjs";
|
|
9
9
|
import "./chunk-CA7S5MOH.mjs";
|
|
10
10
|
import {
|
|
11
11
|
base_terraform_executor_untyped_default
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
withTerraformExecutor
|
|
16
16
|
} from "./chunk-2EMQSNR3.mjs";
|
|
17
17
|
import "./chunk-PZIOPR2Z.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ZNCCVJJM.mjs";
|
|
19
19
|
export {
|
|
20
20
|
base_terraform_executor_untyped_default as baseTerraformExecutorSchema,
|
|
21
21
|
initGenerator,
|
package/dist/src/base/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
withTerraformExecutor
|
|
7
7
|
} from "../../chunk-2EMQSNR3.mjs";
|
|
8
8
|
import "../../chunk-PZIOPR2Z.mjs";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-ZNCCVJJM.mjs";
|
|
10
10
|
export {
|
|
11
11
|
base_terraform_executor_untyped_default as baseTerraformExecutorSchema,
|
|
12
12
|
withTerraformExecutor
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkTRX2SHWYjs = require('../../../chunk-TRX2SHWY.js');
|
|
5
5
|
require('../../../chunk-NNHU5AWL.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.default =
|
|
9
|
+
exports.default = _chunkTRX2SHWYjs.init_default; exports.initGenerator = _chunkTRX2SHWYjs.initGenerator;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
initGenerator,
|
|
3
3
|
init_default
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-PM57NOJQ.mjs";
|
|
5
5
|
import "../../../chunk-PZIOPR2Z.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-ZNCCVJJM.mjs";
|
|
7
7
|
export {
|
|
8
8
|
init_default as default,
|
|
9
9
|
initGenerator
|
package/dist/tsup.config.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Options } from 'tsup';
|
|
2
2
|
|
|
3
|
-
declare const _default:
|
|
3
|
+
declare const _default: Options[];
|
|
4
4
|
|
|
5
5
|
export { _default as default };
|
package/dist/tsup.config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Options } from 'tsup';
|
|
2
2
|
|
|
3
|
-
declare const _default:
|
|
3
|
+
declare const _default: Options[];
|
|
4
4
|
|
|
5
5
|
export { _default as default };
|
package/dist/tsup.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/terraform-tools",
|
|
3
|
-
"version": "0.65.
|
|
3
|
+
"version": "0.65.8",
|
|
4
4
|
"description": "Tools for managing Terraform infrastructure within a Nx workspace.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -135,5 +135,5 @@
|
|
|
135
135
|
"publishConfig": { "access": "public" },
|
|
136
136
|
"executors": "./executors.json",
|
|
137
137
|
"generators": "./generators.json",
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "0841267dc509f78180467408b62a1b9f5abd6c43"
|
|
139
139
|
}
|