@kimesh/layers 0.2.35 → 0.2.36

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -329,10 +329,10 @@ function normalizeLayerConfig(config, root) {
329
329
  */
330
330
  function resolvePackagePath(packageName, root) {
331
331
  const possiblePaths = [path.join(root, "node_modules", packageName), path.join(root, "..", "node_modules", packageName)];
332
- for (const p of possiblePaths) if (fs.existsSync(p)) return p;
332
+ for (const p of possiblePaths) if (fs.existsSync(p)) return fs.realpathSync(p);
333
333
  try {
334
334
  const resolved = __require.resolve(`${packageName}/package.json`, { paths: [root] });
335
- return path.dirname(resolved);
335
+ return fs.realpathSync(path.dirname(resolved));
336
336
  } catch {
337
337
  return null;
338
338
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kimesh/layers",
3
- "version": "0.2.35",
3
+ "version": "0.2.36",
4
4
  "description": "Layer system for Kimesh framework - layer discovery, resolution, and configuration merging",
5
5
  "repository": {
6
6
  "type": "git",