Commit e296e95
Fix Redux generator creating unnecessary CSS in ror_components directory (#1826)
Pass redux option to base generator to prevent it from creating
HelloWorld/ror_components directory and CSS files when Redux is used.
The base generator now correctly receives the redux option and skips
creating non-Redux component structure when --redux flag is used.
Fixes #1821
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* Add test coverage for Redux generator directory isolation
Add test to verify that Redux installations do not create the
HelloWorld/ror_components directory that should only exist for
non-Redux installations.
This test prevents regression of issue #1821 where Redux generator
was incorrectly creating CSS files in the wrong directory structure.
The test runs in both JavaScript and TypeScript Redux contexts to
ensure complete coverage.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>1 parent 58d7404 commit e296e95
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
0 commit comments