@boopkit/cli 0.1.12 → 0.1.13

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.
@@ -140,6 +140,12 @@ function listCapabilities() {
140
140
  if (cap.name.startsWith('_'))
141
141
  continue;
142
142
  seen.add(cap.name);
143
+ // Also track the package short name (e.g. "users" from "@boopkit/cap-users")
144
+ // so the node_modules scan doesn't re-add it under its directory name
145
+ if (cap.package) {
146
+ const shortName = cap.package.replace(/^@boopkit\/cap-/, '');
147
+ seen.add(shortName);
148
+ }
143
149
  capabilities.push(cap);
144
150
  }
145
151
  // Secondary: scan node_modules for capabilities not in the catalog
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boopkit/cli",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "CLI tool to scaffold new projects from boop profiles and capabilities",
5
5
  "main": "dist/cli.js",
6
6
  "workspaces": [