@richapps/ong 0.1.5 → 0.1.6

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/config.js +3 -1
  2. package/package.json +1 -1
package/dist/config.js CHANGED
@@ -76,7 +76,9 @@ export function resolveTsconfigPaths(tsconfig, workspaceRoot) {
76
76
  }
77
77
  else {
78
78
  // Exact mapping: "@scope/lib" -> "libs/lib/src/index.ts"
79
- aliases.push({ find: pattern, replacement: resolve(baseDir, target) });
79
+ // Use RegExp with $ anchor so "@scope/lib" doesn't prefix-match "@scope/lib/sub"
80
+ // (Vite string aliases do prefix matching, but tsconfig exact paths should only match exactly)
81
+ aliases.push({ find: new RegExp(`^${escapeRegex(pattern)}$`), replacement: resolve(baseDir, target) });
80
82
  }
81
83
  }
82
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@richapps/ong",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Angular CLI powered by Vite + OXC — blazing fast drop-in replacement for ng serve/build",
5
5
  "keywords": [
6
6
  "angular",