arkormx 0.1.8 → 0.1.9
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/cli.mjs +1831 -21
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -974,7 +974,7 @@ const mergePathConfig = (paths) => {
|
|
|
974
974
|
const defaults = baseConfig.paths ?? {};
|
|
975
975
|
const current = userConfig.paths ?? {};
|
|
976
976
|
const incoming = Object.entries(paths ?? {}).reduce((all, [key, value]) => {
|
|
977
|
-
if (typeof value === "string" && value.trim().length > 0) all[key] = value;
|
|
977
|
+
if (typeof value === "string" && value.trim().length > 0) all[key] = path.default.isAbsolute(value) ? value : path.default.resolve(process.cwd(), value);
|
|
978
978
|
return all;
|
|
979
979
|
}, {});
|
|
980
980
|
return {
|
package/dist/index.mjs
CHANGED
|
@@ -945,7 +945,7 @@ const mergePathConfig = (paths) => {
|
|
|
945
945
|
const defaults = baseConfig.paths ?? {};
|
|
946
946
|
const current = userConfig.paths ?? {};
|
|
947
947
|
const incoming = Object.entries(paths ?? {}).reduce((all, [key, value]) => {
|
|
948
|
-
if (typeof value === "string" && value.trim().length > 0) all[key] = value;
|
|
948
|
+
if (typeof value === "string" && value.trim().length > 0) all[key] = path.isAbsolute(value) ? value : path.resolve(process.cwd(), value);
|
|
949
949
|
return all;
|
|
950
950
|
}, {});
|
|
951
951
|
return {
|