Commit 7818afc
Fix knip unused dependencies and package reference issues
- Fix incorrect devDependency path in node-renderer package.json
- Change from "./packages/react-on-rails" to "file:../react-on-rails"
- Ensures proper workspace resolution
- Add missing dependencies to knip ignoreDependencies for spec/dummy
- @babel/runtime: Required by @babel/plugin-transform-runtime
- mini-css-extract-plugin: Used in webpack server config
- create-react-class, react-helmet, @types/react-helmet, react-redux, react-router-dom: Used in dynamically loaded components
- Fix knip unused export warning for resetRailsContext
- Add src/context.ts as entry point for react-on-rails package
- This export is used by the Pro package
- Remove unnecessary eslint-disable comment in Pro jest.config.js
All changes verified:
- yarn run knip --exclude binaries: passes
- yarn run knip --production --exclude binaries: passes
- bundle exec rubocop: no offenses
- yarn run yalc:publish: all packages publish successfully
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent bb0f90a commit 7818afc
File tree
3 files changed
+17
-3
lines changed- packages
- react-on-rails-pro-node-renderer
- react-on-rails-pro
3 files changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
159 | 164 | | |
160 | 165 | | |
161 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
162 | 171 | | |
163 | 172 | | |
164 | 173 | | |
| |||
173 | 182 | | |
174 | 183 | | |
175 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
176 | 191 | | |
177 | 192 | | |
178 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
0 commit comments