Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Changes since the last non-beta release.

### Fixed

- Install the latest major version of peer dependencies [PR 576](https://github.com/shakacode/shakapacker/pull/576) by [G-Rath](https://github.com/g-rath).
- Remove duplicate word in comment from generated `shakapacker.yml` config [PR 572](https://github.com/shakacode/shakapacker/pull/572) by [G-Rath](https://github.com/g-rath).

## [v8.3.0] - April 25, 2025
Expand Down
2 changes: 1 addition & 1 deletion lib/install/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def fetch_peer_dependencies
dev_dependencies_to_add = []

peers.each do |(package, version)|
major_version = version.match(/(\d+)/)[1]
major_version = version.split("||").last.match(/(\d+)/)[1]
entry = "#{package}@#{major_version}"

if dev_dependency_packages.include? package
Expand Down