create-claude-workspace 1.1.70 → 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,8 +47,14 @@ nx g @nx/js:library --directory=libs/[domain]/[layer] --no-interactive
47
47
 
48
48
  **Creating components:**
49
49
  ```bash
50
- 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
+
53
+ # Example: badge component in shared/ui library
54
+ nx g @nx/angular:component --path=libs/shared/ui/src/lib/badge/badge --no-interactive
55
+ # Result: libs/shared/ui/src/lib/badge/badge.ts, badge.html, badge.scss
51
56
  ```
57
+ **NEVER** omit the component name from `--path`. Without it, all component files land flat in `lib/` — no subdirectory separation.
52
58
 
53
59
  **Bundler rule:** Omit `--bundler` for internal monorepo libs (no bundler needed). Only add `--bundler=esbuild|tsc|swc` for **publishable/buildable** libraries (npm packages, standalone deploys).
54
60
 
@@ -390,7 +396,8 @@ describe('CardBadge', () => {
390
396
 
391
397
  When reviewing Angular code, check:
392
398
  - Signal usage: signal/computed/input/output/model correctly used
393
- - Forms: SignalFormBuilder used (no legacy FormControl/FormGroup/FormBuilder)
399
+ - Forms: signal forms API used (no legacy FormControl/FormGroup/FormBuilder)
400
+ - Component file organization: each component in its own subdirectory (not flat in lib/)
394
401
  - ZERO method calls in templates — all derived state in computed()
395
402
  - Feature vs dumb separation — no inject() in ui/ components
396
403
  - Content projection (composite pattern) over deep @Input trees
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-claude-workspace",
3
- "version": "1.1.70",
3
+ "version": "1.1.72",
4
4
  "description": "Scaffold a project with Claude Code agents for autonomous AI-driven development",
5
5
  "type": "module",
6
6
  "bin": {