Skip to content

Compatibility fixes #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Compatibility fixes #41

wants to merge 4 commits into from

Conversation

ignaciosy
Copy link
Collaborator

@ignaciosy ignaciosy commented Feb 3, 2025

We currently support only sprockets projects, in this MR I intend to get rid of that dependency and allow other tools such as CSS/JS bundling and importmaps

  • Move Sprockets dependency into development and test environments only.
  • Avoid configuration-collisions for Pagy. Considering to remove the gem as a dependency altogether.

@ignaciosy ignaciosy self-assigned this Feb 3, 2025
@ignaciosy ignaciosy requested a review from a team as a code owner February 3, 2025 17:21
Comment on lines -7 to +9
config.assets.precompile += %w[hotsheet/application.css hotsheet/application.js]
initializer "hotsheet.assets" do |app|
app.config.assets.precompile += %w[hotsheet/application.css hotsheet/application.js]
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would use the "installer" apps to precompile hotsheet assets, instead of the gem having it's own

Copy link
Member

@hunchr hunchr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is still failing

@ignaciosy
Copy link
Collaborator Author

This is still incomplete, sorry I didn't create it as Draft

@ignaciosy ignaciosy marked this pull request as draft February 4, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants