Closed pftg closed 1 month ago
The pull request introduces several updates across multiple files, primarily focusing on refining the build process for a project using Hugo. Key changes include updating the Hugo version, modifying JavaScript files for improved structure and functionality, adding a new Ruby dependency, and enhancing the package.json
with new tools for building and formatting. Additionally, HTML files have been adjusted to dynamically display counter values and optimize JavaScript loading strategies.
File Path | Change Summary |
---|---|
.github/workflows/hugo.yml |
Updated Hugo version from 0.134.0 to 0.134.2 ; commented out Dart Sass and Node.js steps. |
Brewfile |
Added brew "ruby-build" for Ruby version management. |
package.json |
Added dependencies: esbuild at ^0.23.1 and prettier at ^3.3.3 . |
themes/beaver/assets/js/587.js |
Refactored JavaScript to use DOMContentLoaded ; simplified functions and event listeners. |
themes/beaver/assets/js/bb-theme/pp_advanced_menu.js |
Restructured PPAdvancedMenu class; improved mobile menu handling and event listeners. |
themes/beaver/assets/js/bb-theme/pp_advanced_tabs.js |
Refactored PPAdvancedTabs class for improved readability; streamlined event handling. |
themes/beaver/layouts/page/index.html |
Updated counter display to reflect actual value instead of hardcoded "0". |
themes/beaver/layouts/partials/page/site-scripts.html |
Changed jQuery loading method to defer ; optimized JavaScript resource management. |
.gitattributes |
Added entry to treat .lockb files as binary with a custom diff driver. |
bunfig.toml |
Added [install] section with optional = true and dev = true for dependency management. |
🐰 In a garden of code, we hop and play,
With Hugo's new version, we brighten the day.
Ruby builds added, and JavaScript shines,
Our project now dances, with elegant lines.
So here's to the changes, both big and small,
A leap towards perfection, we celebrate all! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
Release Notes
New Features
ruby-build
dependency for enhanced Ruby version management.esbuild
andprettier
for improved build and formatting capabilities.Improvements
bunfig.toml
to support optional and development dependencies.Bug Fixes