@kimesh/layers 0.2.23 → 0.2.24

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.d.mts CHANGED
@@ -274,6 +274,10 @@ declare function buildViteAliases(merged: MergedLayerConfig): Record<string, str
274
274
  /**
275
275
  * Generate aliases from a ResolvedLayer array
276
276
  * This is a convenience function for kit integration
277
+ *
278
+ * NOTE: Global @ and ~ aliases are NOT added here because they need context-aware
279
+ * resolution handled by the layerAliasPlugin. Each layer's @layerName and ~layerName
280
+ * aliases are still generated.
277
281
  */
278
282
  declare function generateLayerAliasesFromLayers(layers: ResolvedLayer[]): Record<string, string>;
279
283
  /**
package/dist/index.mjs CHANGED
@@ -94,12 +94,14 @@ function buildViteAliases(merged) {
94
94
  /**
95
95
  * Generate aliases from a ResolvedLayer array
96
96
  * This is a convenience function for kit integration
97
+ *
98
+ * NOTE: Global @ and ~ aliases are NOT added here because they need context-aware
99
+ * resolution handled by the layerAliasPlugin. Each layer's @layerName and ~layerName
100
+ * aliases are still generated.
97
101
  */
98
102
  function generateLayerAliasesFromLayers(layers) {
99
103
  const aliases = {};
100
104
  for (const layer of layers) Object.assign(aliases, createLayerAliases(layer.name, layer.path));
101
- const appLayer = layers.find((l) => l.isApp);
102
- if (appLayer) addAppAliases(aliases, appLayer);
103
105
  return aliases;
104
106
  }
105
107
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kimesh/layers",
3
- "version": "0.2.23",
3
+ "version": "0.2.24",
4
4
  "description": "Layer system for Kimesh framework - layer discovery, resolution, and configuration merging",
5
5
  "repository": {
6
6
  "type": "git",