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

Replace node-sass (deprecated) with sass (recommended) #46

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Saeris
Copy link
Contributor

@Saeris Saeris commented Aug 11, 2022

node-sass has been deprecated for a couple of years and it's always had a ton of issues installing correctly in different node environments.

The docs now recommend using dart-sass instead, which is the actively maintained official sass compiler. This PR swaps out one for the other.

I also ran the included format script. Going to let tests run in CI because I think I'm running into weird behavior with directory changing on Windows which is causing the last two tests to fail.

Hopefully this allows people to continue to use fiddly even on the latest versions of node!

Saeris and others added 3 commits March 26, 2020 20:37
`node-sass` has been deprecated for a couple of years and it's always had a ton of issues installing correctly in different node environments.

The docs now recommend using dart-sass instead, which is the actively maintained official sass compiler. This PR swaps out one for the other.

I also ran the included format script. Going to let tests run in CI because I think I'm running into weird behavior with directory changing on Windows which is causing the last two tests to fail.

Hopefully this allows people to continue to use fiddly even on the latest versions of node!
@vercel
Copy link

vercel bot commented Aug 11, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
fiddly ❌ Failed (Inspect) Aug 11, 2022 at 6:02AM (UTC)

@vercel
Copy link

vercel bot commented Aug 11, 2022

Someone is attempting to deploy a commit to a Personal Account owned by @SaraVieira on Vercel.

@SaraVieira first needs to authorize it.

@Saeris
Copy link
Contributor Author

Saeris commented Aug 11, 2022

Ahh, this project is so old now so many things need updating!

Updated additional configs where I could, but I don't think I can get these checks to pass on my own.

Vercel specifically seems to be failing on a more recent JS string API, charCodeAt(), which could be related to this project being on Node v8? I bumped the minimum version in package.json to v12 as it's currently the last in line for LTS.

Added a GitHub Actions test config setup to run against Node 12, 14, 16, and 18 too. Don't think it will run until merged however.

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