Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contributes to #1250
What did you do?
node-sass
dev dependencysass
version^1.41.0
) dependencycarbon-components
to version^10.43.0
.yarn-offline-mirror
dependenciesWhy did you do it?
Why did I replace node-sass by dart-sass?
Node-sass was deprecated, and also forced Windows developers to install additional dependencies in order to build the project successfully, which was annoying, at minimum. Dart-sass is the recommended replacement.
Why did I update carbon-components?
Previous to version 10.43.0, carbon-components used
/
for division operations in*.scss
files. This feature was deprecated and will stop working in sass 2; This didn't cause any problem, but generated lots of warnings in the terminal at build-time. On version 10.43.0 and newer, the slash symbol was replaced bymath.div
.Why did I update .yarn-offiline-mirror dependencies?
CircleCI was failing to fetch newer versions, because they weren't included in the offline mirror. I added the missing dependencies and also pruned the folder to remove unused dependencies.
How have you tested it?
I built the project. Was able to validate it works on the storybook.
Were docs updated if needed?
I can split this PR into 2 if necessary (one updating carbon-components and another one updating sass)