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/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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arkormx",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Modern TypeScript-first ORM for Node.js.",
5
5
  "keywords": [
6
6
  "orm",