@ldgerrits/rogen 1.4.3 → 1.4.4
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/dist/build.js +4 -0
- package/dist/bundle.cjs +9 -3
- package/dist/constants.js +1 -1
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -129,6 +129,10 @@ export async function build(targetConfig, baseProjectTree, config, env, sourcePa
|
|
|
129
129
|
if (typeof aliasPath === "string") {
|
|
130
130
|
const parts = aliasPath.split(".");
|
|
131
131
|
let current = rojoTree.tree;
|
|
132
|
+
// Ensure the parent container is created if needed
|
|
133
|
+
if (parts.length > 0 && serviceParents[parts[0]]) {
|
|
134
|
+
current = getOrCreateNode(current, serviceParents[parts[0]]);
|
|
135
|
+
}
|
|
132
136
|
for (const part of parts) {
|
|
133
137
|
current = getOrCreateNode(current, part);
|
|
134
138
|
}
|
package/dist/bundle.cjs
CHANGED
|
@@ -3988,9 +3988,9 @@ var require_is_glob = __commonJS({
|
|
|
3988
3988
|
}
|
|
3989
3989
|
});
|
|
3990
3990
|
|
|
3991
|
-
// node_modules/
|
|
3991
|
+
// node_modules/glob-parent/index.js
|
|
3992
3992
|
var require_glob_parent = __commonJS({
|
|
3993
|
-
"node_modules/
|
|
3993
|
+
"node_modules/glob-parent/index.js"(exports2, module2) {
|
|
3994
3994
|
"use strict";
|
|
3995
3995
|
var isGlob = require_is_glob();
|
|
3996
3996
|
var pathPosixDirname = require("path").posix.dirname;
|
|
@@ -8966,7 +8966,7 @@ var import_fs = __toESM(require("fs"), 1);
|
|
|
8966
8966
|
var import_path = __toESM(require("path"), 1);
|
|
8967
8967
|
|
|
8968
8968
|
// src/constants.ts
|
|
8969
|
-
var version = "1.4.
|
|
8969
|
+
var version = "1.4.4";
|
|
8970
8970
|
var dataExtensions = /* @__PURE__ */ new Set([
|
|
8971
8971
|
".csv",
|
|
8972
8972
|
".txt",
|
|
@@ -10058,6 +10058,12 @@ async function build(targetConfig, baseProjectTree, config, env, sourcePaths, cl
|
|
|
10058
10058
|
if (typeof aliasPath === "string") {
|
|
10059
10059
|
const parts = aliasPath.split(".");
|
|
10060
10060
|
let current = rojoTree.tree;
|
|
10061
|
+
if (parts.length > 0 && serviceParents[parts[0]]) {
|
|
10062
|
+
current = getOrCreateNode(
|
|
10063
|
+
current,
|
|
10064
|
+
serviceParents[parts[0]]
|
|
10065
|
+
);
|
|
10066
|
+
}
|
|
10061
10067
|
for (const part of parts) {
|
|
10062
10068
|
current = getOrCreateNode(current, part);
|
|
10063
10069
|
}
|
package/dist/constants.js
CHANGED