create-claude-workspace 1.1.71 → 1.1.72
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.
|
@@ -47,11 +47,11 @@ nx g @nx/js:library --directory=libs/[domain]/[layer] --no-interactive
|
|
|
47
47
|
|
|
48
48
|
**Creating components:**
|
|
49
49
|
```bash
|
|
50
|
-
#
|
|
51
|
-
nx g @nx/angular:component --path=libs/[domain]/[layer]/src/lib/[name] --no-interactive
|
|
50
|
+
# --path MUST include [name]/[name] — subdirectory + file prefix
|
|
51
|
+
nx g @nx/angular:component --path=libs/[domain]/[layer]/src/lib/[name]/[name] --no-interactive
|
|
52
52
|
|
|
53
53
|
# Example: badge component in shared/ui library
|
|
54
|
-
nx g @nx/angular:component --path=libs/shared/ui/src/lib/badge --no-interactive
|
|
54
|
+
nx g @nx/angular:component --path=libs/shared/ui/src/lib/badge/badge --no-interactive
|
|
55
55
|
# Result: libs/shared/ui/src/lib/badge/badge.ts, badge.html, badge.scss
|
|
56
56
|
```
|
|
57
57
|
**NEVER** omit the component name from `--path`. Without it, all component files land flat in `lib/` — no subdirectory separation.
|