Commit c3008ad
Fix knip configuration for new monorepo structure
Updates knip.ts to work with the new react_on_rails/spec/dummy path:
1. Ignore rescript-components.js to avoid unresolved import errors
- ReScript compiles .res files to .res.js at build time
- Knip can't find these files during static analysis
2. Restore all necessary ignoreDependencies for dummy app
- @babel/runtime: Required by @babel/plugin-transform-runtime
- mini-css-extract-plugin: Used in webpack server config
- create-react-class, react-helmet, etc.: Used in dynamically loaded components
- webpack-merge: Transitive dependency of shakapacker
3. Keep SWC packages in root ignoreDependencies
- Used by Shakapacker in dummy apps
- Clarified comment for accuracy
This fixes the knip CI failure introduced by the monorepo restructuring.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 446f6db commit c3008ad
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
189 | | - | |
190 | | - | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
| |||
0 commit comments