Skip to content
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

Upgrade sass to support Node 16+ #677

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

hussam-i-am
Copy link
Collaborator

@hussam-i-am hussam-i-am commented Oct 2, 2023

This pull request to the frontend package updates dependencies and package versions, and uses the sass:math module to update variable and property calculations in various SCSS files.

  • frontend/package.json: Updated dependencies and package version. (Update dependencies and package version in frontend/package.json)
  • frontend/app/styles/bitters/_variables.scss: Updated calculation for $small-spacing using the sass:math module. (Update variable calculation, Import module)
  • frontend/app/styles/bitters/_forms.scss: Imported and used the math module to update property calculations for padding, margin-right, and margin-bottom in various selectors. (Import and use math module to update property calculations in _forms.scss)

@hussam-i-am hussam-i-am self-assigned this Oct 2, 2023
@hussam-i-am hussam-i-am changed the title Upgrade node-sass to support Node 16+ Upgrade sass to support Node 16+ Oct 2, 2023
@hussam-i-am hussam-i-am force-pushed the hussam-i-am/node-sass-upgrade branch from 750664c to ce345af Compare October 3, 2023 19:20
@hussam-i-am hussam-i-am marked this pull request as ready for review October 3, 2023 22:36
@hussam-i-am hussam-i-am requested a review from Tonkpils October 3, 2023 22:36
@Tonkpils
Copy link
Collaborator

Tonkpils commented Oct 4, 2023

✨ this looks straight forward although I'm not super familiar with the upgrade process for sass. It looks like there's some deprecation notices in the CI run https://github.com/rubyforgood/Flaredown/actions/runs/6397479951/job/17365494297?pr=677#step:6:33

Would you mind addressing those?

It's encouraging that all tests seems to pass now for all the node versions. I'll give this a spin locally and in staging to see if things are working as expected and get back to you when I do 🙇

@hussam-i-am
Copy link
Collaborator Author

@Tonkpils I believe the notices are for usages from within bower_components for bourbon/neat. I tried upgrading/porting those to npm but didnt have much luck. Will try again as a followup PR, but figured to leave this as is so it could move ahead independently

Copy link
Collaborator

@Tonkpils Tonkpils left a comment

Choose a reason for hiding this comment

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

👍 Things seem to be working fine locally! Merge away ✨

@hussam-i-am hussam-i-am merged commit 95821cf into master Oct 5, 2023
9 checks passed
@hussam-i-am hussam-i-am deleted the hussam-i-am/node-sass-upgrade branch October 5, 2023 15:03
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