Commit b1aef82
Use exact option in package_json gem for installing dependencies
The package_json gem (v0.2.0) now supports an 'exact' parameter in the add
method to install packages with exact versions (no ^ or ~ prefix). This change
updates the add_npm_dependencies helper method to use exact: true when adding
both regular and dev dependencies.
This ensures that React on Rails generators install npm packages with exact
version specifications, consistent with the project's requirement for strict
version matching between the gem and npm packages.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 57fb6bf commit b1aef82
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments